/*Стили хедера*/

.header-placeholder {
    height: 66px;
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    background: #151516;
    z-index: 999;
    box-shadow: 0 2px 4px 0.5px rgba(0, 0, 0, 0.45);
}

.header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    height: 66px;
    padding: 0 10px 0 10px;
}

.navigation__list {
    padding-left: 30px;
    display: flex;
    gap: 20px;
}

.navigation__item a {
    position: relative;
    font-size: 15px;
    line-height: 15px;
    color: #fff;
    font-weight: 400;
    display: inline-block;
    transition: 0.25s ease-in-out;
    padding: 5px;
}

.navigation__item a:after {
    position: absolute;
    display: block;
    content: "";
    height: 2px;
    width: 0%;
    left: 0;
    margin-top: 8px;
    background-color:
        #f1e999;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}

.navigation__item svg {
    vertical-align: middle;
    width: 18px;
}

.navigation__item a:hover .fill-000000 {
    fill: #f1e999;
}

.navigation__item a:hover:after,
.navigation__item a:focus:after {
    width: 100%;
}

.navigation__item a:hover,
.navigation__item a:focus {
    color: #f1e999;
}

.navigation__dropdown {
    padding: 10px 0 3px 10px;
    display: none;
    position: absolute;
    background-color: #151516;
    top: 22px;
    left: 0;
    height: auto;
    width: 120%;
    box-shadow: 0 2px 4px 0.5px rgba(0, 0, 0, 0.45);
}

#drop-on {
    position: relative;
}

.dropdown__item {
    margin-bottom: 5px;
    width: 100%;
}

.dropdown__item a {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    width: 100%;
}

.dropdown__item a:hover {
    color: #fff;
    opacity: 70%;
}

.dropdown__item a::after {
    display: none;
}

.dropdown__item a:hover {
    transform: translateX(5px);
}

.dropdown__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown__social a {
    padding: 5px;
    height: auto;
    width: 35px;
}

.header__hamburger {
    display: none;
    width: 50px;
    height: 38px;
    position: relative;
}

.header__hamburger span {
    display: block;
    position: absolute;
    border-radius: 25px;
    height: 3px;
    width: 100%;
    background: #fff;
    transition: 0.3s ease-in-out;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 18px;
    width: 50%;
}

.header__hamburger span:nth-child(3) {
    top: 35px;
}

.header__hamburger_active span:nth-child(1) {
    transform: rotateZ(45deg) translate(9px, 15px);
}

.header__hamburger_active span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.header__hamburger_active span:nth-child(3) {
    transform: rotateZ(-45deg) translate(10px, -15px);
}

.header-button {
    padding: 10px 20px 10px 20px;
    font-size: 15px;
}

/*===========================*/

/*Футер*/

footer {
    width: 100%;
    height: auto;
    background: #333;
}

.footer-container {
    font-family: 'Open Sans';
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 300;
    color: #b4b4b4;
    padding-top: 15px;
    padding-bottom: 15px;
}

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

.footer__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__block p {
    letter-spacing: 0.5px;
}

.footer__block p,
.footer__social a,
.footer-nav a,
.footer__documents a {
    opacity: 60%;
}

.footer__social a:hover,
.footer-nav a:hover,
.footer__documents a:hover {
    opacity: 100%;
}

.footer__block .h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.8px;
    font-weight: bold;
    opacity: 100%;
}

.footer__logo {
    width: 100px;
    height: 50px;
    transition: 0.2s ease-in-out;
}

.footer__logo a {
    opacity: 100%;
}

.footer__about {
    max-width: 300px;
    font-size: 10px;
}

.footer__documents a {
    letter-spacing: 0.4px;
    color: #fff;
    transition: 0.2s ease-in-out;
    text-decoration: underline;
    font-size: 12px;
    font-weight: 600;
}

.footer__contacts {
    font-weight: 600;
    font-size: 13px;
}

.footer__contacts a {
    letter-spacing: 0.4px;
    color: #fff;
    transition: 0.2s ease-in-out;
}

.footer__contacts p {
    font-size: 10px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.footer-nav .navigation__list {
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.footer-nav .navigation__item a {
    font-size: 12px;
    padding-left: 0;
}

.footer-nav .navigation__item a:hover {
    color: #fff;
}

.footer-nav .navigation__item a::after {
    display: none;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__social a {
    display: flex;
    align-items: center;
    height: 30px;
    transition: 0.2s ease-in-out;
    color: #fff;
    font-size: 12px;
}

.footer__social a img {
    width: 30px;
    height: auto;
    margin-right: 5px;
}

.footer-container hr {
    background: #fff;
    width: 100%;
    height: 1px;
    margin: 20px 0 10px 0;
    opacity: 40%;
}

.footer__copyright {
    width: 100%;
    text-align: center;
    font-weight: 500;
}


/*========================*/

/*Мобильная версия*/

.mobile-line {
    display: none;
}

.mobile__menu {
    transform: translateX(-4000px);
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding-top: 50px;
    background: #151516;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
    overflow: auto;
}

.mobile__menu_active {
    transform: translateX(0px);
}

.menu-active {
    overflow: hidden;
}

.mobile__navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile__list {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mobile__item a {
    font-family: 'Open Sans';
    font-size: 26px;
    color: #fff;
}

.mobile__social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile__social a {
    padding: 5px;
    height: 50px;
    width: 50px;
}

.mobile__social a:last-child {
    width: 50px;
    height: auto;
}

.m-dropdown {
    display: none;
    padding: 10px 0 0 12px;
}

.m-dropdown__item:not(:last-child) {
    margin-bottom: 10px;
}

.m-dropdown__item a {
    font-size: 18px;
}

.m-opened {
    display: block;
}

@media (max-width: 1199.98px) {

    .header-container {
        padding: 0 20px 0 20px;
    }

    .header__logo img {
        width: 90px;
    }

    .header__navigation {
        display: none;
    }

    .header-button {
        display: none;
    }

    .header__hamburger {
        display: block;
    }

    .header__number {
        font-size: 14px;
    }

    .hero__bg-video {
        display: none;
    }

    .hero__bg-image {
        display: block;
    }

    .hero__links__container {
        margin: 30px auto 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile__menu {
        display: block;
    }
    
    .footer-container {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .footer-container__blocks {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .footer__logo {
        display: none;
    }

    .footer__block {
        gap: 20px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }

    .footer__block h3 {
        display: none;
    }

    .footer__about {
        display: none;
    }

    .footer__social {
        flex-direction: row;
        align-items: center;
    }
    
    .footer-nav {
        margin: 10px 0 10px 0;
    }
    
    .footer-nav .navigation__item a {
        font-size: 16px;
    }
    
    .footer__contacts p,
    .footer__contacts a {
        font-size: 14px;
    }
    
    .adress,
    .numbers {
        font-size: 12px;
    }
    
    .footer__documents {
        margin-top: 20px;
    }
    
    .footer__documents a {
        font-size: 14px;
    }
    
    .footer__container hr {
        margin: 2px 0 2px 0;
    }
    
    .footer__copyright {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 34px;
    }
}

/*========================*/