@font-face{
  font-family:'old';
  src:url("IowanOldStyleBT-Roman.otf");
}
@font-face{
  font-family:'ginger';
  src:url("ginger-brand.otf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-image: url(assets/042.jpg);
  background-size: cover;
  background-attachment: fixed;
}
h1{
  font-family:'ginger';
  font-size: 10vh;
  letter-spacing:1px;
  color:#faf3dd;
}
p{
  font-family:'old';
  font-size: 3vh;
  color:#faf3dd;
}
h3{
  font-family:'ginger';
  font-size: 4vh;
  color:#faf3dd;
}
h4{
  font-family:'old';
  font-size: 2.5vh;
  color:#faf3dd;
  margin:0;
}

.navbar{
  overflow: hidden;
  margin-top: 10px;
  margin-left: 10px;
}
.nav-link{
  margin-right: 16px;
}
.nav-item a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-family: 'old';
  font-size:3vh;
}
.nav-item a:hover {
  background-color: #faf3dd;
  color: #ad5f87;
}

.title{
  padding-bottom: 10px;
  display: flex;
  justify-content: center; 
  align-items: center;
  flex-direction: column;
}
.line{
  display: flex;
  flex-direction: row;
  padding-top: 3vh;
  margin-bottom: 8vh;
}
.line2{
  display: flex;
  flex-direction: row;
  margin: 5px;
}
.eyes{
  position: relative;
  top: 20px;
  display: flex;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: -20px;
}
.eyes .eye{
  position: relative;
  width: 80px;
  height: 80px;
  display: block;
  background: #fffae9;
  margin: 0px;
  border-radius: 50%
}
.eyes .eye::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color:#000;
  border-radius: 50%
}
.title {
  padding-top: 30px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.line,.line2 {
  display: flex;
  align-items: center; 
  justify-content: center; 
}
.card:hover {
  box-shadow: 0 16px 32px 0 rgba(48, 55, 66, 0.15);
  transform: translate(0,-15px);
  transition-delay: 0s !important;
}
.box-shadow {
  -webkit-box-shadow: 0 0.25rem 1rem rgba(48, 55, 66, 0.15);
  box-shadow: 0 4px 16px rgba(48, 55, 66, 0.15);
}
.card-header {
  font-family:'old';
  font-size: 1em;
  text-align: center;
  color: #faf3dd;
  position: absolute;
  left: 10%; 
  bottom: 15%; 
}
.card-body{
  font-family:'old';
  font-size: 0.8em;
  text-align: left;
  color: #faf3dd;
  position: absolute;
  left: 10%; 
  bottom: 5%; 
}

.footer{
  height: 100px;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  position: relative;
  cursor: pointer;
}
.footer .scroll{
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border:2px solid #faf3dd;
  position: absolute;
  left: 5%;
  top: -25px;
  z-index: 10;
  animation: scrollA infinite 20s linear alternate;
}
@keyframes scrollA {
  0% {left: 5%;transform: rotate(180deg);};
  10% {left: 5%;transform: rotate(270deg);}
  20% {left: 5%;transform: rotate(450deg);}
  25% {left: 10%;transform: rotate(540deg);}
  30% {left: 20%;transform: rotate(720deg);}
  35% {left: 30%;transform: rotate(900deg);}
  40% {left: 40%;transform: rotate(1080deg);}
  45% {left: 50%;transform: rotate(1260deg);}
  50% {left: 60%;transform: rotate(1440deg);}
  55% {left: 70%;transform: rotate(1620deg);}
  60% {left: 80%;transform: rotate(1800deg);}
  80% {left: 90%;transform: rotate(2610deg);}
  90% {left: 90%;transform: rotate(2340deg);}
  100% {left: 90%;transform: rotate(2520deg);}
}

.footer .container {
  display: flex;
  justify-content: space-between; 
}
.column {
  flex: 1; 
  padding: 10px; 
}
ul{
  padding-left: 0px;
  margin:0px;
  margin-left: 10px;
  font-size:15px;
  -webkit-transition: .5s all ease;
  -moz-transition: .5s all ease;
  transition: .5s all ease;
}
ul.social li:hover a i {
  font-size:20px;
  margin-top:-10px;
}
ul.social li a{
  color:#ffffff;
}
ul.social li a:hover{
  color:#eeeeee;
}
.column h4, .column ul {
  margin: 5px;
  align-self: flex-start; 
}
.column h4, .lord-icon {
  margin: 0; 
  align-self: flex-start;
}

/* media */
@media screen and (min-width: 769px) {
  .line-mobile {
  display: none; 
  }
}
.cards {
  display: flex;
  justify-content: center;
  margin-top: -20px;
}
.card {
  width: 350px;
  height: 300px;
  box-sizing: border-box;
  font-size: 1em;
  margin: 50px;
  border: none;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media screen and (max-width: 768px) {
.line {
  display: none;
  }
.line-mobile {
  display: block;
  width:80%;
  font-size: 9vh;
  }
.line2 {
  display: block; 
  width:80%;
  font-size: 9vh;
}
.cards {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card {
  width: 250px;
  height: 200px;
  margin: 20px 8%; 
  }
  .footer .container {
  flex-direction: column; 
  align-items: center; 
  }
  .column {
  width: 100%; 
  text-align: left; 
  margin-bottom: 20px;   
  }
}