/* CSS Document */   
@font-face {
  font-family: ChaparralLight;
  src: url(../fonts/Chaparral-Pro-Light.otf);
}
@font-face {
  font-family: ChaparralBold;
  src: url(../fonts/Chaparral-Pro-Bold.otf);
}
@font-face {
  font-family: JohnSansLight;
  src: url(../fonts/JohnSans-Lite.ttf);
}
@font-face {
  font-family: JohnSansBold;
  src: url(../fonts/JohnSans-Heavy.ttf);
}
body{
  margin: 0;
  position: absolute;
  height: 100vh;
  width: 100%;
}
h1{
  color: #000000;  
  font-size: 67px;
  position: relative;
  padding-bottom: 25px;
  font-family: ChaparralLight;
  font-weight: lighter;
  margin-bottom: 0;
  line-height: 80px;
  margin-top: 0px;
}

h1:after{
  content: "";
  display: block;
  width: 40px;
  height: 6px;
  background: #9e8e66;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  
}
h1 span{
  color: #9e8e66;
  font-weight: bold;
  font-family: ChaparralBold;
}
h2{
  font-size: 25px;
  margin-top: 0;
  font-family: JohnSansBold;
}
p{
  font-size: 18px;
  margin-bottom: 0;
  line-height: 24px;
}
.top{
  text-align: center;
  width: 100%;
  height: calc(100vh - 268px);
  display: flex;
  align-items: center;
}
.bottom{
  text-align: center;
  color: #FFF;
  background: brown;
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 268px;
  box-sizing: border-box;
  background: url('../img/bottom-bg.jpg');
  font-family: JohnSansLight;
}

.bottom span{
  font-family: JohnSansBold;
}

.container{
  width: 736px;
  margin: auto;
}

@media screen and (min-width: 769px) and (max-height: 670px) {
  body{
    height: auto;
    min-hight: 100vh;
  }
  .top{
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .bottom{
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .container{
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  h1{
    font-size: 40px;
    line-height: 44px;
    margin-top: 0;
  }
  h1 span{
    display: block;
  }
  h2{
    font-size: 16px;
  }
  p{
    font-size: 13px;
    line-height: 18px;
  }
  .bottom{
    height: 222px;
    position: fixed;
  }
  .top{
    height: 346px;
    padding: 0;
  }
  body{
    height: auto;
    position: static;
  }
}
