@import url('https://fonts.googleapis.com/css?family=Bitter|Arvo|Open+Sans:300,400');
/*
  font-family: 'Open Sans', sans-serif;
  font-family: 'Bitter', sans-serif;
  font-family: 'Arvo', serif;
*/


body,html{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Open Sans', sans-serif;
}

.flexbox{
  display: flex;
}

.carat{
  vertical-align:middle;
  font-size: 0.2em;
}

.text-center{
  text-align: center;
}

.smaller{
  font-size: 0.8em;
  font-weight: 300;
}

.larger{
  font-size: 1.5em;
}

.container{
  padding-top: 1em;
  width: 90%;
  margin: 0 auto;
}

.section {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 2em;
  padding: 0.5em 0;
  text-align: center;
}

.card{
  border: 1px solid #EEE;
}
.card-padding{
  padding: 0.5em;
}

.width-50, .weather-cat, .weather-info{
  width: 100%;
}
.gas-container{
  text-align: center;
}

.gas-container table{
  margin: 0 auto;
}

.services .flexbox, .weather-info{
  flex-direction: column;
}

table{
  box-sizing: border-box;
  border: 2px dashed #DDD;
}
td{
  padding: 1em;
}
th{
  padding: 0.5em;
}

.weather-flex{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.weather-cat{
  text-align: center;
  font-size: 2em;
}
.weather-info{
  display: flex;
}
.weather-info div{
  padding: 0 0.5em;
  margin: 0 auto;
}
.hidden-on-mobile{
  display: none;
}

/* Hero Panel*/

.hero{
  height: 50vh;
  color: #FFF;
  position: relative;
  background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("../img/hero.jpg");
  background-position:bottom;
  background-size: cover;
  font-family: 'Arvo', sans-serif;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  text-shadow: 2px 2px #000;
}
.hero .flexbox{
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  height: 100%;
}

#weather{
  vertical-align:middle;
  margin-top: 3em;
  font-size: 1.5em;
}

.hero-title{
  text-align: center;
  font-size: 3.5em;
}

.plane {
  display: block;
  position: absolute;
  bottom: 0;
  width: 20vw;
  max-width: 126px;
  max-height: 43px;
  left: -50vw;
  animation: flight 5s ease-in;
}
.plane svg{
  position: absolute;
  bottom: 0;
}

.smoke1 {
  animation: smoke 1s infinite;
}

.smoke2 {
  animation: smoke 1s infinite;
  animation-delay: 0.4s;
}

.smoke3 {
  animation: smoke 1s infinite;
  animation-delay: 0.2s;
}

.smoke4 {
  animation: smoke 1s infinite;
  animation-delay: 0.7s;
}

.path {
  animation: draw 0.2s linear infinite;
}

 @keyframes draw {
  50% {
    stroke-dashoffset: 0;
  }
}

@keyframes smoke {
  0% {
    transform: translateX(100%);
  }

  70% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes flight {
  0% {
    transform: translateX(0);
  }
  50% {
    /*transform: rotate(0);*/
    bottom: 0;
  }
  100% {
    bottom: 15vh;
    transform: translateX(200vw) rotate(-10deg);;
  }
}

/* End of Hero Panel*/

@media only screen and (min-width : 850px){
  .hero{
    height: 80vh;
  }
  .hero-title{
    margin-top: 1em;
  }
  .width-50{
    width: 50%;
  }
  .weather-cat{
    width: 20%;
  }
  .weather-info{
    width: 70%;
  }
  .weather-info div{
    margin: 0;
  }
  .services .flexbox, .weather-flex, .weather-info{
    flex-direction: row;
  }
  .services .width-50{
    padding: 1em;
  }
  .services .flex-slider{
    width: 90%;
    margin: 0 auto;
  }
  td{
    padding: 1.5em;
  }
  .hidden-on-desktop{
    display: none;
  }
  .hidden-on-mobile{
    display: flex;
  }
}
