@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;
}

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

/* 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*/

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

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


@media only screen and (min-width : 850px){
  .hero{
    height: 80vh;
  }
  .hero-title{
    margin-top: 1em;
  }
}
