@import url('https://fonts.googleapis.com/css?family=Oswald');
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body{
  margin: 0px;
}
.wrapper {
  overflow: hidden;
  margin: 0 auto;
  min-height: 100%;
  width: 100%;
  position: relative;
}

@media (max-width: 767px) {
  .wrapper:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease,
    visibility 0.3s ease;
    -o-transition: opacity 0.3s ease,
    visibility 0.3s ease;
    transition: opacity 0.3s ease,
    visibility 0.3s ease;
  }
}

.page-wrapper {
  background: #fff;
  margin: 0 auto;
  overflow: hidden;
}

.navBurger {
  position: fixed;
  right: 20px;
  top: 20px;
  cursor: pointer;
  background: #f0c55b;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-clip: content-box;
  width: 30px;
  height: 24px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  z-index: 2;
}
.navBurger:before, .navBurger:after {
  content: "";
  position: absolute;
  background: #f0c55b;
  height: 2px;
  width: 100%;
  right: 0;
  will-change: rotate;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.navBurger:before {
  top: -10px;
}
.navBurger:after {
  bottom: -10px;
  width: 90%;
}
.navBurger.active {
  background: transparent;
  background-clip: content-box;
}
.navBurger.active:before {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  top: 0;
  background: #f0c55b;
  width: 110%;
}
.navBurger.active:after {
  bottom: 0;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  background: #f0c55b;
  width: 110%;
}

.overlay {
  position: fixed;
  background: rgba(0, 0, 0, .4);
  top: 0;
  right: 0;
  width: 100%;
  height: 50%;
  opacity: 0;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  visibility: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  z-index: 1;
}
@media (max-width: 900px){
  .overlay{
    width: 100%;
    height: 70%;
  }
}
@media (max-width: 900px) and (orientation:landscape){
  .overlay{
    width: 60%;
    height: 100%;
  }
}
.overlay.open {
  opacity: 0.99;
  visibility: visible;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.overlay.open li {
  display: block;
  -webkit-animation: fadeInRight 0.4s cubic-bezier(0.42, 0.83, 0.7, 1.5) forwards;
  animation: fadeInRight 0.4s cubic-bezier(0.42, 0.83, 0.7, 1.5) forwards;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  -webkit-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  transform-origin: right bottom;
  display: flex;
  justify-content: center;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.overlayMenu {
  position: relative;
  text-align: right;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 900px){
  .overlayMenu{
    right: 0%;
  }
}
.overlayMenu ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  flex-direction: column;
}
.overlayMenu ul li {
  display: block;
  position: relative;
  opacity: 0;
  width: 100%;
}
.overlayMenu ul li a {
  display: inline-block;
  border: 1px solid rgba(255, 194, 115, .1);
  color: #f0c55b;
  text-decoration: none;
  font-size: 30px;
  padding: 10px 40px 10px 40px;
  margin: 5px 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  font-family: 'Oswald', sans-serif;
}
.overlayMenu ul li a:hover, .overlayMenu ul li a:active, .overlayMenu ul li a:focus {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
  padding: 10px 80px;
  outline: 1px solid rgba(255, 194, 115, .2);
  background: rgba(255, 194, 115,.2);
  color: #f0c55b;
}
@media (max-width: 900px){
  .overlayMenu ul li a:hover, .overlayMenu ul li a:active, .overlayMenu ul li a:focus{
    padding: 10px 10px;
  }
  .overlayMenu ul li a{
    padding: 10px;
  }
}

.locked {
  overflow: hidden;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}


.container {
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.section-main{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background-image: url(../images/fon.jpg);
  background-size: cover;
  background-position: 50% 100%;
}

.logo{
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  pointer-events: visible!important;
}

.img1{
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  opacity: 1;
  position: absolute;
  width: 580px;
}
.img2{
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  opacity: 0;
  position: absolute;
  width: 580px;
}
.images{
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 400px;
  height: 200px;
  margin-bottom: 20px;
}
@media (max-width: 900px){
  .images{
    width: 200px;
    height: 100px;
  }
}
@media (max-width: 900px) {
  .img1, .img2{
    width: 200px;
  }
}
.animate .images:hover .img1{
  opacity: 0;
}
.animate .images:hover .img2{
  opacity: 1;
}
.subtitle{
  font-size: 30px;
  text-align: center;
  color: #fff;
  max-width: 750px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}
.content{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media (max-width: 900px){
  .subtitle{
    font-size: 20px;
  }
}