body {
  background: #fafafa;
  color: #333;
}
/*****************************

  Header Styles
  Includes animation for I am: 

******************************/

/* Main Styles */
header {
  padding-top: 150px;
  height: 400px;
  width: 100%;
  text-align: center;
  padding-bottom: 450px;
}

/* Style for animated text. Left, right, and width allow it to be centerd, z index keeps it from being hidden */
.i-am-text1,
.i-am-text2,
.i-am-text3{
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 20 auto;
  display: block;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Animation names */
.i-am-text1 {
  animation-name: anim-1;
}

.i-am-text2 {
  animation-name: anim-2;
}

.i-am-text3 {
  animation-name: anim-3;
}

/* Main animations */
@keyframes anim-1 {
  0% { 
    opacity: 0;
  }
  11%, 22% {
    opacity: 1;
  }
  33%, 100% {
    opacity: 0;
  }
}

@keyframes anim-2 {
  0%, 33% { 
    opacity: 0;
  }
  44%, 55% {
    opacity: 1;
  }
  66%, 100% {
    opacity: 0;
  }
}

@keyframes anim-3 {
  0%, 66% { 
    opacity: 0;
  }
  77%, 89% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*****************************

Font Awesome:

******************************/

.fas {
  font-size: 90px;
  padding: 50px 0;
}

/*****************************

Cards

******************************/
.card {
  margin-bottom: 3em;
  background: #fafafa;
}

.card-container {
    padding: 100px 20px 80px 20px;
  }

  .card-row {
    max-width: 1000px;
  }
@media only screen and (min-width: 993px) {
  .card-content {
    min-height: 250px;
  }

  .card-container {
    padding: 120px 60px 80px 60px;
  }
}

/*****************************

Forms

******************************/

#form-container {
  margin: 100px auto;
}

/* input and label color style*/
input[type=text], input[type=email], textarea, label {
  color: #444 !important; 
  font-size: 18px !important;
}

/* input field focus */
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-bottom: 1px solid #311b92 !important;
  box-shadow: 0 1px 0 0 #9575cd !important;
  color: #111 !important;
}

/* label focus color */
.input-field input[type=text]:focus+label, .input-field input[type=email]:focus + label, .input-field textarea:focus + label {
  color: #311b92 !important;
}

#submit {
  width: 100%;
}
/* To get rid of autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 50px white inset !important;
  box-shadow: 0 0 0 50px white inset !important;
}

/*****************************

Social styling

 ****************************/

.contact h2 {
  margin-bottom: 20px;
}

.fab {
  font-size: 32px;
}

@media screen and (min-width: 375px) {
  .fab {
    font-size: 40px;
  }
}

@media screen and (min-width: 768px) {
  .fab {
    font-size: 54px;
  }
}

#social-container {
  padding-bottom: 100px;
}

.fa-github-square {
  color: #000;
}

.fa-facebook {
  color: #4867AD;
}

.fa-linkedin {
  color: #3D91BA;
}

.fa-twitter-square {
  color: #48A0EC;
}

.fa-medium {
  color: #68DE7D;
}

.fa-free-code-camp {
  color: #2A6118;
}

.fa-instagram {
  color: #B93D80;
}

.fa-youtube {
  color: #EB3324;
}

/*****************************

Footer Styles

******************************/

#footer-links {
  padding: 50px;
}

.footer-link {
  font-size: 16px;
  text-decoration: none;
  padding: 10px 10px;
  border-bottom: solid 1px white;
  display: block;
  width: 50%;
  margin: 0 auto;
}

.footer-link:nth-last-of-type(1) {
  border: none;
}

@media screen and (min-width: 769px) {
  #footer-links {
    padding: 100px;
  }

  .footer-link {
    display: inline;
    padding: 0 10px;
    border-right: solid 1px white;
    border-bottom: none;
  }

  .footer-link:nth-last-of-type(1) {
    border: none;
  }
}
