:root{
  --primary-text: #434343;
  --secondary-text: #888888;
  --tertiary-text: #BABABA;

  --primary-background: #FFFFFF;
  --secondary-background: #e8e8e8;
  
  --loop-green: #31A05F;

  --border: #BABABA;

}
@keyframes slidein{
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes expand{
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}
.clearfix::after {
  display: block;
  content: "";
  clear: both;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--secondary-background);
  color: #434343;
}
h1, h2, h3, h4{
  font-weight: 900;
}
.hero-img{
  background: url(../img/hero.jpg) no-repeat left top fixed; 
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}

.logo {
  height: 42px;
  margin-right: 20px;
  margin-top: 20px;
}

.logo img{
  float: right;
  width: 160px;
}
.content-wrapper{
  margin-top: 100px;
  margin-bottom: 450px;
  max-width: 70%;
}
.tagline{
  font-weight: 900;
  margin-bottom: 30px;
}
.infographic{
  margin: 30px 0;
}
.current-message{
  display: table-cell;
  font-size: 28px;
  height: 150px;
  vertical-align: middle;
}
.current-message p {
  animation: slidein 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  display: inline-block;
  float: left;
  width: 70%;
}
.current-message img{
  animation: slidein 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  display: inline-block;
  float: right;
  width: 100px;
}
.steps{
  margin-bottom: 40px;
}
.steps a{
  display: inline-block;
  float: left;
  font-weight: bold;
  line-height: 2;
  text-align: center;
  width: 33%;
}
.steps a:hover{
  text-decoration: none;
}
.steps a span{
  background: var(--loop-green);
  display: inline-block;
  height: 5px;
  text-align: left;
}
.steps a.active span{
  animation: expand 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
label{
  color: var(--tertiary-text);
  font-size: 14px;
}
.text-muted{
  color: var(--tertiary-text) !important;
}
.email-input, .email-input:invalid{
  background: none;
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px;
}
.email-input:active, .email-input:focus{
  border-color: var(--loop-green);
}
.submit-button{
  background-color: var(--loop-green);
  color: #FFFFFF;
  float: right;
  font-weight: 400;
  margin-top: 15px;
  text-transform: uppercase;
}
.submit-button:hover, .submit-button:active{
  background-color: var(--loop-green);
  color: white;
}
.restaurant-form{
  width: 100%;
}
.restaurant-form input{
  margin-bottom: 40px;
}
.tag-button{
  background-color: var(--secondary-background);
  margin-bottom: 20px;
  margin-right: 20px;
}
.site-footer{
  border-top: 1px solid var(--border);
  bottom: 20px;
  color: var(--tertiary-text);
  padding: 20px;
  position: absolute;
  text-align: right;
  width: 90%;
}
@media(max-width: 812px){
  .hero-img{
    display: none;
  }
  .logo img {
    width: 120px;
  }
  .tagline{
    margin-top: 20px;
  }
  .content-wrapper{
    margin-bottom: 0;
    margin-top: 20px;
    max-width: 100%;
  }
  .main-content{
    margin-bottom: 20px;
  }
  .current-message{
    font-size: 22px;
  }
  .site-footer{
    bottom: 0;
  }
}