/*____________________M E N U_____________________*/
.page {
  padding: 90px 0px 30px 0px;
}

.page__section {
  padding: 30px;
  max-width: 1200px;
  margin: 0px auto;
}

.page__section_1 {
  background-color: #794f45;
}

.page__section_2 {
  background-color: #77608d;
}

.page__section_3 {
  background-color: #7a956b;
}

.page__title {
  font-size: 40px;
  margin: 0px 0px 20px 0px;
}

.page__text {
  font-size: 16px;
  line-height: 150%;
}

.page__text p {
  margin: 0px 0px 20px 0px;
}

.page__sub-title {
  font-size: 30px;
  margin: 0px 0px 20px 0px;
}

.header {
  background-color: rgb(86, 0, 0);
  top: 0;
  left: 0;
  width: 98.6%;
  z-index: 10;
}

.header__container {
  max-width: 1540px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  padding: 0;
}

.header__menu {
  padding: 0;
}

.menu {
  padding: 2px;
  margin-left: 12px;
}

.menu__icon {
  display: none;
}

.menu__body {
  padding: 0;
}

.menu__list {
  padding: 0;
}

.menu__list > li {
  position: relative;
  margin: 0px 0px 0px 20px;
}

.menu__link {
  color: #ede5e5;
  font-size: 18px;
  text-transform: uppercase;
  font-family: "Charis SIL", serif;
}

.menu__link:hover {
  text-decoration: underline;
}

.menu__sub-list {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(86, 0, 0, 0.88);
  padding: 15px;
  min-width: 192px;
}

.menu__sub-list li {
  margin: 0px 0px 16px 0px;
  text-align: center;
}

.menu__sub-list li:last-child {
  margin: 0;
}

.menu__sub-link {
  color: #fff;
  font-size: 20px;
}

.menu__sub-link:hover {
  text-decoration: underline;
}

.menu__arrow {
  display: none;
}

/* ----------------------- */
body._pc .menu__list > li:hover .menu__sub-list {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}

body._touch .menu__list > li {
  display: flex;
  align-items: center;
}

body._touch .menu__link {
  flex: 0.1 0 auto;
}

body._touch .menu__arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 0px 0px 0px 19px;
  transition: transform 0.3s ease 0s;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
}

body._touch .menu__list > li._active .menu__sub-list {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}

body._touch .menu__list > li._active .menu__arrow {
  transform: rotate(-180deg);
}

/* ----------------------- */
@media (max-width: 991px) {
  .header {
    background-color: rgb(86, 0, 0);
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
}
@media (max-width: 767px) {
  .header {
    background-color: rgb(44 60 41);
    top: 4px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: -5px;
    z-index: 10;
    position: absolute;
    max-width: 50px 50px;
    width: 59px;
    border-radius: 0 8px 0px;
  }
}
@media (min-width: 767px) {
  .menu__list {
    display: flex;
    align-items: center;
  }

  .menu__list > li {
    padding: 10px 0;
  }

  .menu__sub-list {
    transform: translate(0px, 10%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease 0s;
  }
}
@media (max-width: 767px) {
  .menu__icon {
    z-index: 5;
    display: block;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
  }

  .menu__icon span,
.menu__icon::before,
.menu__icon::after {
    left: 0;
    position: absolute;
    height: 10%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background-color: #fff;
  }

  .menu__icon::before,
.menu__icon::after {
    content: "";
  }

  .menu__icon::before {
    top: 0;
  }

  .menu__icon::after {
    bottom: 0;
    padding: 1px;
  }

  .menu__icon span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }

  .menu__icon._active span {
    transform: scale(0) translate(0px, -50%);
  }

  .menu__icon._active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }

  .menu__icon._active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }

  .menu__body {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 100px 30px 30px 30px;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }

  .menu__body._active {
    left: 0;
    z-index: 3;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 70px;
    z-index: 2;
  }

  .menu__list > li {
    flex-wrap: wrap;
    margin: 0px 0px 30px 0px;
  }

  .menu__list > li:last-child {
    margin-bottom: 0;
  }

  .menu__list > li._active .menu__sub-list {
    display: block;
  }

  .menu__link {
    font-size: 24px;
  }

  .menu__sub-list {
    position: relative;
    background-color: rgba(3, 4, 5, 0.8392156863);
    flex: 1 1 100%;
    margin: 20px 0px 0px 0px;
    display: none;
  }

  .menu__sub-link {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
  }
}