.overflow-hidden {
    overflow: hidden;
}

.wrapper {
    min-height: 100vh;
    width: 100%;
    font-family: Inter, sans-serif;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    color: #000000;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition-duration: .3s;
    z-index: 1;
}

.overlay--open {
    transition-duration: .4s;
    visibility: visible;
    opacity: 1;
}

.title {
    color: #C36675;
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.button {
    display: block;
    color: #fff;
    background-color: #ABC998;
    padding: 12px 0;
    border-radius: 5px;
    transition-duration: .4s;
    text-align: center;
}

.button:hover {
    transform: scale(1.03);
    filter: contrast(130%);
}

.socials {
    display: flex;
    margin-right: 25px;
}

.socials__item {
    margin-right: 20px;
}

.socials__item:last-child {
    margin-right: 0;
}

/*---------------------------------------HEADER---------------------------------------*/
/*---------------------------------------HEADER---------------------------------------*/

.header {
    padding: 6px 0;
    box-shadow: 0 4px 2px -2.5px #dddddd;
    width: 100%;
    position: fixed;
    background: #fff;
    z-index: 1;
}

.header__inner {
    display: flex;
    align-items: center;
}

.header__logo {
    width: 50px;
    height: 50px;
    margin-right: 40px;
    flex-shrink: 0;
}

.header__logo img {
    width: 100%;
    height: 100%;
}

.header__content {
    display: flex;
    width: 100%;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-item {
    margin-right: 55px;
    position: relative;
    display: flex;
    justify-content: center;
}

.header__nav-item:last-child {
    margin-right: 0;
}

.header__nav-item--content .header__nav-link::after {
    content: "";
    background: url("../images/icons/arrow-down2.svg");
    width: 6px;
    height: 4px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    transition-duration: 1s;
}

.header__nav-link {
    position: relative;
    padding-right: 9px;
    transition-duration: .2s;
}

.header__nav-link:hover {
    color: #C36675;
    transition-duration: .4s;
}

.header__nav-content {
    visibility: hidden;
    position: absolute;
    top: 42px;
    min-width: 160px;
    padding: 9px;
    box-shadow: 0 0 1px 2px #dddddd;
    border-radius: 5px;
    background: #fff;
}

body:not(.loaded) .header__nav-content {
    transition: none !important;
}

.header__content-item {
    margin-bottom: 9px;
}

.header__content-item:hover {
    color: #C36675;
}

.header__content-item:last-child {
    margin-bottom: 0;
}

.header__content-link {
    display: block;
}

.header__contacts {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.header__socials {
    display: flex;
}

.header__tel {
    font-weight: 400;
}

/*---------------------------------------MAIN---------------------------------------*/
/*---------------------------------------MAIN---------------------------------------*/

.main {
    opacity: 0;
    transform: translateY(50px);
}

body.loaded .main {
    transition: all 0.8s ease-out;
    opacity: 1;
    transform: none;
}

/*---------------------------------------FOOTER---------------------------------------*/
/*---------------------------------------FOOTER---------------------------------------*/

.footer {
    background: #F9F1ED;
    margin-top: auto;
}

.footer__inner {
    padding: 40px 0;
}

.footer__list {
    display: flex;
    justify-content: space-between;
}

.footer__item-name {
    margin-bottom: 25px;
    font-weight: 500;
}

.footer__item-item {
    margin-bottom: 10px;
}

.footer__item-item:last-child {
    margin-bottom: 0;
}

.footer__contacts .footer__item-item {
    margin-bottom: 25px;
}

.footer__contacts .footer__item-item:last-child {
    margin-bottom: 25px;
}

/* ---------------------------------------MEDIA-------------------------------------- */
/* ---------------------------------------MEDIA-------------------------------------- */

/* ---------------------------------------1200-------------------------------------- */

@media (max-width: 1200px) {
    .container {
        margin: 0 20px;
    }
}

/* ---------------------------------------1150-------------------------------------- */

@media (max-width: 1150px) {
    
}

/* ---------------------------------------1100-------------------------------------- */

@media (min-width: 1100px) {
    .header__nav-item--content:hover .header__nav-link::after {
        transform: translate(50%, -50%) rotate(180deg);
        transition-duration: .4s;
    }
    
    .header__nav-content {
        transition-duration: .4s;
    }
    
    .header__nav-item--content:hover .header__nav-content {
        visibility: visible;
    }
}

@media (max-width: 1100px) {
    .burger {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 3;
        width: 60px;
        height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition-duration: .3s;
    }

    .burger span,
    .burger::before,
    .burger::after {
        display: block;
        width: 30px;
        height: 2.5px;
        background-color: #1E212C;
        border-radius: 4px;
        transition-duration: .4s;
    }

    .burger span {
        margin: 5px 0;
    }

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

    .burger--open span {
        opacity: 0;
        transition-duration: 0s;
    }

    .burger--open::after,
    .burger--open::before {
        position: absolute;
    }

    .burger--open::before {
        transform: rotate(45deg);
    }

    .burger--open::after {
        transform: rotate(-45deg);
    }

    .header__content {
        position: fixed;
        top: 0;
        right: 0;
        background-color: #fff;
        height: 100%;
        z-index: 2;
        width: 320px;
        transform: translateX(100%);
        transition-duration: .4s;
        padding: 30px 0;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .header__content--open {
        transform: translateX(0%);
    }

    .header__nav {
        flex-direction: column;
    }

    .header__nav-item {
        margin: 0 0 20px;
        flex-direction: column;
        align-items: center;
    }

    .header__nav-item--open .header__nav-link::after {
        transform: translate(50%, -50%) rotate(180deg);
        transition-duration: .4s;
    }
    
    .header__nav-item--open .header__nav-content {
        top: 10px;
        transition-duration: .4s;
        visibility: visible;
        position: relative;
    }

    .header__contacts {
        margin-left: 0;
        flex-direction: column;
        justify-content: center;
    }

    .header__socials {
        margin: 0 0 15px;
    }
}

/* ---------------------------------------1050-------------------------------------- */

@media (max-width: 1050px) {
    
}

/* ---------------------------------------1000-------------------------------------- */

@media (max-width: 1000px) {
    
}

/* ---------------------------------------950-------------------------------------- */

@media (max-width: 950px) {
    .footer__list {
        flex-wrap: wrap;
        gap: 40px;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer__item {
        flex: 0 0 calc(50% - 20px);
    }
}

/* ---------------------------------------700-------------------------------------- */

@media (max-width: 700px) {

}

/* ---------------------------------------650-------------------------------------- */

@media (max-width: 650px) {
    .title {
        font-size: 34px;
    }
}

/* ---------------------------------------600-------------------------------------- */

@media (max-width: 600px) {
    .container {
        padding: 0 10px;
    }
}

/* ---------------------------------------550-------------------------------------- */

@media (max-width: 550px) {

}

/* ---------------------------------------500-------------------------------------- */

@media (max-width: 500px) {
    
}

/* ---------------------------------------470-------------------------------------- */

@media (max-width: 470px) {
    .header__content {
        width: 100%;
    }

    .footer__item {
        flex: 0 0 100%;
    }
}

/* ---------------------------------------430-------------------------------------- */

@media (max-width: 430px) {
    
}
