.header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 99;
}

.header::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    background-color: var(--SECONDARY_MINOR_COLOR);
}

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

.header__logo-holder {
    display: inline-block;
    height: 40px;
}

.header__logo-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.6s linear 0s;
    transform: translateY(-150%);
}

.header__nav.active {
    transform: translateY(0);
}

@media (min-width: 992px) {
    .header__nav {
        position: static;
        transform: none;
        width: auto;
    }
}

.header__nav .menu-main-menu-container {
    padding: 20px;
}

@media (min-width: 992px) {
    .header__nav .menu-main-menu-container {
        padding: 0;
    }
}

.header__nav .menu-main-menu-container ul {
    text-align: right;
}

@media (min-width: 992px) {
    .header__nav .menu-main-menu-container ul {
        display: flex;
        margin: 0 -20px;
    }
}

.header__nav .menu-main-menu-container ul li {
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .header__nav .menu-main-menu-container ul li {
        margin-bottom: 0px;
        padding: 0 20px;
    }
}

.header__nav .menu-main-menu-container ul li:last-child {
    margin: 0;
}

.header__nav .menu-main-menu-container ul li a {
    color: var(--SECONDARY_MAJOR_COLOR);
    font-size: 18px;
    line-height: 130%;
}

@media (min-width: 992px) {
    .header__nav .menu-main-menu-container ul li a {
        transition: all 0.3s ease 0s;
    }
    .header__nav .menu-main-menu-container ul li a:hover {
        color: var(--EXTRA_COLOR);
    }
}

.header__nav::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    background-color: var(--SECONDARY_MINOR_COLOR);
}

@media (min-width: 992px) {
    .header__nav::before {
        display: none;
    }
}

.header__mobile-button-wrapper {
    padding: 5px 20px;
}

@media (min-width: 576px) {
    .header__mobile-button-wrapper {
        display: flex;
        justify-content: flex-end;
    }
}

@media (min-width: 992px) {
    .header__mobile-button-wrapper {
        display: none;
    }
}

.header__mobile-button {
    background-color: var(--PRIMARY_MAJOR_COLOR);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

@media (min-width: 576px) {
    .header__mobile-button {
        padding: 10px 90px;
    }
}

.header__mobile-button span {
    color: inherit;
    color: var(--PRIMARY_MINOR_COLOR);
}

.header__burger {
    position: relative;
    z-index: 100;
    width: 30px;
    height: 10px;
    transition: all 0.3s ease 0s;
}

@media (min-width: 992px) {
    .header__burger {
        display: none;
    }
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--PRIMARY_MAJOR_COLOR);
    position: absolute;
    transition: all 0.3s ease 0s;
}

.header__burger span:first-child {
    top: 0;
    left: 0;
}

.header__burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header__burger span:last-child {
    bottom: 0;
    left: 0;
}

.header__burger.active {
    transform: rotate(-180deg);
}

.header__burger.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:last-child {
    transform: translateY(50%) rotate(-45deg);
    bottom: 50%;
}

.header__button-block {
    display: none;
}

@media (min-width: 992px) {
    .header__button-block {
        display: block;
    }
}

.header__button {
    display: flex;
    background-color: var(--PRIMARY_MAJOR_COLOR);
    padding: 10px 30px;
    transition: all 0.3s ease 0s;
    color: var(--PRIMARY_MINOR_COLOR);
}

@media (min-width: 992px) {
    .header__button:hover {
        background-color: var(--PRIMARY_MINOR_COLOR);
        color: var(--PRIMARY_MAJOR_COLOR);
    }
}

.hero {
    height: 100vh;
}

.hero__slider {
    height: 100%;
    overflow: visible;
    position: relative;
}

.hero__button {
    display: none;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 50;
}

.hero__button::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
    background-color: var(--PRIMARY_MAJOR_COLOR);
}

@media (min-width: 992px) {
    .hero__button {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.hero__button_prev {
    bottom: 0;
    left: 0;
}

.hero__button_next {
    bottom: 0;
    right: 0;
}

.hero__slide {
    position: relative;
}

.hero__slider-pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slider-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 840px;
    padding: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero__text {
        padding-top: 0;
        padding-bottom: 0;
        transform: translate(-50%, 50%);
    }
}

.hero__text p {
    padding: 10px;
    font-weight: bold;
    font-size: 20px;
    line-height: 140%;
    background-color: var(--SECONDARY_MAJOR_COLOR);
    box-shadow: 0px 0px 25px rgba(6, 40, 69, 0.15);
    color: var(--SECONDARY_MINOR_COLOR);
}

@media (min-width: 768px) {
    .hero__text p {
        font-size: 36px;
    }
}
