/* HUMBURGER
==============================================*/

.header-page__toggle {
  position: absolute;
  top: 16px;
  left: 20px;
  display: block;
  width: 30px;
  height: 30px;
  background-color: transparent;
  cursor: pointer;
  border: none;
}

.header-page__toggle::before,
.header-page__toggle::after {
  position: absolute;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgb(237, 20, 61);
  background-color: white;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

.header-page__toggle::before {
    top: 0.2rem;
    -webkit-box-shadow: 0 0.75rem 0 0.1px rgb(237, 20, 61);
            box-shadow: 0 0.75rem 0 0.1px rgb(237, 20, 61);
    -webkit-box-shadow: 0 0.75rem 0 0.1px white;
            box-shadow: 0 0.75rem 0 0.1px white;
  }

.header-page__toggle::after {
    top: 1.7rem;
  }

@media all and (min-width: 480px) {
  .header-page__toggle {
      display: none
  }
}

.nav--opened .header-page__toggle::before {
  top: 1rem;
  -webkit-box-shadow: none;
          box-shadow: none;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.nav--opened .header-page__toggle::after {
  top: 1rem;
  background-color: #fff;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.nav--closed .header-page__list {
  display: none;
  list-style: none;
}

@media all and (min-width: 480px) {
  .nav--closed .header-page__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
  }
}

.nav--opened .header-page__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: 20px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  list-style: none;
}

.header-page__nav {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  width: 100%;
}

@media all and (min-width: 480px) {
  .header-page__nav {
      -webkit-box-ordinal-group: 1;
          -ms-flex-order: 0;
              order: 0;
  }
}

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

@media all and (min-width: 480px) {
  .header-page__item:not(:last-child) {
      margin-right: 20px;
  }
}

.header-page__link {
  color: #fff;
  font-size: 18px;
  font-family: 'Exo2-Regular';
  line-height: 50px;
  text-transform: uppercase;
  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease;
}

.header-page__link:hover,
.header-page__link.active {
  color: #AD7B44;
}

@media all and (min-width: 480px) {
  .header-page__link {
    font-size: 14px;
    text-transform: initial;
  }
}

/* styles */

.header-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  height: auto;
  padding: 18px 0;
}

@media all and (min-width: 1200px) {
  .header-page {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 14px 0;
  }
}

.header__logo {
  display: none;
}

@media all and (min-width: 480px) {
  .header__logo {
    display: block;
    width: 100%;
  }
}

@media all and (min-width: 1200px) {
  .header__logo {
    min-width: 27%;
    width: 27%;
  }
}

.logo__img {
  display: block;
  background-image: url(../imgs/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 271px;
  height: 43px;
}

@media all and (min-width: 480px) {
  .logo__img {
    margin: 0 auto;
  }
}

.hedaer__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media all and (min-width: 480px) {
  .hedaer__contact {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
}

@media all and (min-width: 1200px) {
  .hedaer__contact {
    min-width: 27%;
    width: 27%;
  }
}

.header__phone {
  font-family: 'Exo2-Medium';
  color: #AD7B44;
  font-size: 22px;
  padding-right: 16px;
}

@media all and (min-width: 480px) {
  .header__phone {
    font-size: 16px;
  }
}

.hedaer__button {
  display: none;
}

@media all and (min-width: 480px) {
  .hedaer__button {
    display: block;
    padding: 5px 25px;
    font-size: 14px;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  .hedaer__button:hover {
    background-color: #9f7a49;
    color: #fff;
  }
}

@media all and (min-width: 1200px) {
  .hedaer__button {
    padding: 10px 25px;
  }
}

/*----------------------- Preloader -----------------------*/
/* .preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  height: 100%;
  width: 100%;
  background: black;
  transition: 1s all;
  opacity: 1;
  visibility: visible;
}

.done {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  border: 5px solid white;
  border-radius: 50%;
  border-top-color: crimson;

  animation: 2s spin infinite linear;;
}


@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
} */