header {
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    width: 100%;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(17, 17, 17, 0) 100%);
    z-index: 10;
}

.header__conrainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 80px;
    width: 12%;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 1px;
    background-color: var(--dark-white);
    transition: all 0.3s linear;
}

.burger-line:nth-of-type(1) {
    transform-origin: left center;
    transform: scaleX(0.75);
}

.burger-line:nth-of-type(2) {
    margin: auto;
    transform-origin: right center;
    transform: scaleX(1);
}

.burger-line:nth-of-type(3) {
    transform-origin: left center;
    transform: scaleX(0.75);
}

.header__burger:hover .burger-line {
    background-color: var(--white);
    transform: scaleX(1);
}

.header__dropdown {
    width: 28%;
    position: relative;
}

.dropdown__btn {
    font-weight: normal;
    font-size: 18px;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown__btn:hover {
    color: var(--white);
}

.dropdown__image {
    margin-left: 5px;
}

.dropdown__image__icon {
    width: 15px;
    height: 15px;
    fill: var(--dark-white);
}

.dropdown__image__icon_active {
    rotate: 270deg;
}

.dropdown__btn:hover .dropdown__image__icon {
    fill: var(--white);
}

.dropdown__list_active {
    display: block;
    margin-top: 5px;
    position: absolute;
    border-radius: 0px 0px 5px 5px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.dropdown__item {
    padding: 20px 15px 12px 15px;
    text-decoration: none;
}

.dropdown__item:not(:last-child) {
    border-bottom: 1px solid;
}

.dropdown__item a {
    transition: all 0.3s ease;
}

.dropdown__item:hover a {
    color: var(--white);
}

.dropdown__item__link {
    color: var(--dark-white);
    font-size: 16px;
    line-height: 18px;
}

.header__logo {
    margin-left: auto;
    margin-right: auto;
}

.header__logo__image {
    height: 100px;
}

.header__contacts {
    display: flex;
    align-items: center;
    justify-content: end;
    position: relative;
    width: 40%;
}

.contacts__social {
    margin-right: 50px;
    position: relative;
    top: 1px;
}

.contacts__social__link:not(:last-child) {
    margin-right: 15px;
}

.contacts__social__image {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

.contacts__social__image_vk {
    fill: var(--dark-white);
}

.contacts__social__image_inst path {
    stroke: var(--dark-white);
}

.contacts__social__image_vk:hover {
    fill: var(--white);
}

.contacts__social__image_inst:hover path {
    stroke: var(--white);
}

.contacts__phone {
    font-weight: normal;
    font-size: 18px;
    line-height: 16px;
    transition: all 0.3s ease;
}

.contacts__phone:hover {
    color: var(--white);
}

.sidenav {
    display: flex;
    align-items: center;
    padding-top: 60px;
    position: relative;
    height: 100%;
    width: 100vw;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -100vw;
    background-color: var(--background-color);
    text-align:center;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: all 0.5s ease;
}

.sidenav__closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    transition: all 0.5s ease;
}

.sidenav__closebtn:hover {
    color: var(--white);
}

.sidenav__image {
    width: 100%;
    height: 100%;
    background-image: url(../../LogoFM.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: -1;
    opacity: 0.025;
}

.sidenav__container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 60%;
}

.sidenav__section:not(:last-child) {
    margin-bottom: 60px;
}

.sidenav__list {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.sidenav__item {
    transition: all 0.8s ease;
    text-align: start;
}

.sidenav__item:not(:last-child) {
    margin-bottom: 30px;
}

.sidenav__item:hover:not(:first-child) {
    transform: translateX(15px);
}

.sidenav__title {
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: var(--dark-white);
}

.sidenav__item__link {
    font-family: 'Cormorant';
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0.05rem;
    transition: all 0.5s ease;
    color: var(--white);
}

.sidenav__dropdown__image__icon {
    width: 15px;
    height: 15px;
    fill: var(--dark-white);
}


.sidenav__dropdown__image__icon_active {
    rotate: 270deg;
}

#sidenav__item__dropdown:hover .sidenav__dropdown__image__icon {
    fill: var(--white);
}

.sidenav__dropdown__list_active {
    display: block;
    border-radius: 0px 0px 5px 5px;
}

.sidenav__dropdown__item {
    margin-top: 20px;
    margin-left: 10px;
}


.sidenav__social {
    display: flex;
}

.sidenav__social__link:not(:last-child) {
    margin-right: 50px;
}

.sidenav__social__image {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}


/* @media (max-width: 1400px) */

@media (max-width: 1400px) {
    .sidenav__item__link {
        font-size: 30px;
    }
}

/* @media (max-width: 1200px) */

@media (max-width: 1200px) {
    .header__burger {
        width: 13%;
    }

    .header__dropdown {
        width: 27%;
    }

    .dropdown__btn {
        font-size: 16px;
        line-height: 16px;
    }

    .dropdown__item {
        padding: 10px 7px 6px 7px;
    }

    .dropdown__item__link {
        color: var(--dark-white);
        font-size: 14px;
        line-height: 16px;
    }

    .header__logo__image {
        height: 95px;
    }

    .contacts__phone {
        font-size: 16px;
    }

    .sidenav__container {
        height: 65%;
    }

    .sidenav__item__link {
        font-size: 28px;
    }

}

/* @media (max-width: 992px) */

@media (max-width: 992px) {
    .header__burger {
        padding-right: 25px;
    }

    .header__dropdown {
        display: none;
    }

    .header__contacts {
        width: 13%;
    }

    .contacts__social {
        margin-right: 0px;
    }

    .contacts__social__image {
        width: 29px;
        height: 29px;
    }

    .contacts__phone {
        display: none;
    }

    .sidenav__container {
        flex-direction: column;
        height: auto;
    }

    .sidenav__dropdown__item {
        margin-top: 12px;
        margin-left: 10px;
    }

    .sidenav__dropdown__item__link {
        font-size: 15px;
    }

    .sidenav__section:not(:last-child) {
        margin-bottom: 15px;
    }

    .sidenav__left {
        margin-bottom: 25px;
    }

    .sidenav__title {
        margin-bottom: 25px;
        font-size: 12px;
    }

    .sidenav__item:not(:last-child) {
        margin-bottom: 25px;
    }

    .sidenav__item__link {
        font-size: 26px;
    }

    .sidenav__social__image {
        width: 40px;
        height: 40px;
    }
}

/* @media (max-width: 768px) */

@media (max-width: 768px) {
    .header__burger {
        width: 18%;
    }

    .header__logo__image {
        height: 85px;
    }

    .header__contacts {
        width: 18%;
    }

    .sidenav {
        align-items: start;
    }

}

/* @media (max-width: 576px) */

@media (max-width: 576px) {
    header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header__burger {
        width: 25%;
    }

    .header__logo__image {
        height: 80px;
    }

    .header__contacts {
        width: 25%;
    }

    .sidenav {
        padding-top: 40px;
    }

    .sidenav__title {
        margin-bottom: 15px;
    }

    .sidenav__item:not(:last-child) {
        margin-bottom: 20px;
    }

    .sidenav__title {
        font-size: 10px;
    }

    .sidenav__item__link {
        font-size: 20px;
    }

    .sidenav__social__link:not(:last-child) {
        margin-right: 25px;
    }

}