/* FIRST SECTION */

.header {
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_links {
    display: flex;
    gap: 12px;

    & .btn-primary.yellow {
        display: none;
    }
}

.header_logo img{
    width: 50px;
    height: 50px;
}

.select_language .link.inactive,
.select_language span {
    color: #A6A6A6;
}

.hero_section {
    background: no-repeat center center/cover;
    background-image: url(../../img/hero-bg.png);
    padding-bottom: 133px;
}

.heading_primary-box {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 52px;
}

.heading_primary {
    font-family: 'Impact Cyr';
    font-weight: normal;
    background: url(../../img/heading-bg.png) center center/cover;
    background-size: 80%; 
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: -0.03em;
    line-height: normal;
    font-size: 350px;
}

.hero_subheading {
    color: var(--primary-yellow);
    font-family: 'Impact Cyr';
    font-weight: normal;
    line-height: 100%;;
    font-size: 60px;
    max-width: 342px;
}

.hero_caption {
    color: var(--white);
    font-size: 20px;
    font-family: 'Helvetica Neue Light';
    margin-top: 20px;
}

.hero_subheading-box {
    display: flex;
    gap: 26px;
}

.hero_section-blocks {
    display: flex;
    margin-bottom: 133px;
}

.hero_section-left, 
.hero_section-right {
    flex-grow: 1;
    width: 50%; 
}

.hero_section-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}

.hero_section-right {
    display: flex;
    justify-content: flex-end;
}

.hero_description {
    background-color: var(--black);
    width: 448px;
    padding: 106px 53px;
}

.hero_description-text {
    color: var(--white);
    font-size: 20px;
    line-height: 31px;
    font-family: 'Impact Cyr';
}

.hero_section .header-buttons {
    margin-right: 120px;
}

.burger-btn,
.fullscreen-nav {
    display: none;
}

.social_link {
    display: flex;
    gap: 20px;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-family: 'Impact Cyr';
    font-weight: normal;
    font-size: 20px;
    line-height: 8.5px;
    text-transform: uppercase;
}

.social_link img {
    width: 20px;
    height: 20px;
}

.header_buttons {
    display: flex;
    gap: 7px;
}

/* ADAPTIVE */

@media (max-width: 1919px) {
    .heading_primary {
        font-size: 240px;
    }

    .hero_description {
        padding: 79.5px 40px;
        width: 344px;
    }

    .hero_description-text {
        font-size: 15px;
        line-height: 23.3px;
    }

    .hero_subheading {
        font-size: 48px;
        max-width: 144px;
        margin-right: 64px;
    }

    .hero_section .btn-primary {
        margin-right: 0px;
    }

    .hero_caption {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 1280px) {
    .heading_primary {
        font-size: 140px; 
        margin-bottom: 22px;
    }

    .hero_section {
        background-image: url(../../img/hero-bg-tab.png);
    }

    .fullscreen-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../../img/nav-bg.png) no-repeat center center/cover;
        z-index: 10;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        display: flex; 
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s;
    }
    
    .fullscreen-nav.active {
        opacity: 1;
        pointer-events: all;
    }

    .mobile_links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 24px;
        margin: 0 auto;
    }

    .mobile_links .link {
        font-size: 48px;
        line-height: 100%;
        font-family: 'Impact Cyr';
        text-transform: uppercase;
    }

    .nav_socials {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .nav_socials-box {
        background-color: var(--black);
        padding: 36px;
        max-width: 428px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 24px;
        flex-direction: column;
        gap: 24px;

        & .navmenu_buttons {
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: center;

            & .btn-primary {
                padding: 10.5px 10px;
                font-size: 12px;
                font-weight: normal;
                text-align: center;
                align-items: center;

                & svg path {
                    width: 10px;
                    height: 10px;
                }
            }
        }
    }

    .heading_primary-box {
        gap: 10px;
        margin-top: 45px;
    }

    .hero_section {
        padding-bottom: 72px;
    }
    
    .hero_section-blocks {
       flex-direction: column;
       gap: 60px;
       margin-bottom: 0px;
    }

    .hero_section-left,
    .hero_section-right {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .hero_section-left {
       gap: 29px;
    }

    .hero_subheading {
        font-size: 34px;
        margin-right: 47px;
        max-width: 161px;
    }

    .hero_description {
        padding: 43px 16px;
        width: 383px;
    }

    .hero_description-text {
        text-align: center;
        font-size: 16px;
        line-height: 26px;
    }

    .header .select_language,
    .close-icon {
        display: none;
    }

    .header_links {
        display: none;
        background-color: var(--black);
        padding: 6px;
        border-radius: 100px;
        backdrop-filter: blur(40px);
        max-width: 100%;;
        overflow-x: auto;
        margin-left: 20px;
        margin-right: 20px;
        border: 0.5px solid #242424;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header_links::-webkit-scrollbar {
        display: none; 
    }

    .header {
        top: -100px;
        transition: top 0.5s ease-in-out;

        & > .btn-primary.yellow {
            display: none;
        }

        & .btn-primary.yellow {
            font-weight: normal;
            font-size: 12px;
            
            padding: 9px 10px;
    
            & svg {
                height: 10px;
            }
        }
    }

    .header.visible {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        max-width: 100%;
        transition: top 0.5s ease-in-out; 
    }

    .header.visible .header_links {
        display: flex;

        & .btn-primary.yellow {
            display: block;
        }
    }

    .header.visible .burger-btn,
    .header.visible .header_logo {
        display: none;
    }

    .header_links .link {
        padding: 9px 10px;
        color: #D4D4D4;
        text-wrap: nowrap;
    }

    .header_links .link.active {
        background-color: #242424;
        border-radius: 100px;
    }

    .select_language span,
    .select_language .link {
        font-size: 32px;
        font-family: 'Helvetica Neue';
    }

    .burger-btn {
        display: block;
        padding: 16px;
        border-radius: 50%;
        border: 1px solid var(--dark-grey);
        background: none;
        position: relative;
        z-index: 9999;
        width: 51px;
        height: 51px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .header_buttons {
        display: none;
    }
}

@media (max-width: 900px) {
    .header.visible .header_links {

        & .btn-primary.yellow {
            display: none;
        }
    }

    .header.visible {
        flex-wrap: wrap;
        & > .header_buttons {
            display: flex;
            order: 1;
            margin-right: 25px;
            gap: 4px;

            & .btn-primary {
                padding: 10.5px 13px;
                font-size: 12px;
                font-weight: normal;
                align-items: center;
                gap: 4px;

                & svg {
                    width: 12px;
                    height: 12px;
                }
            }
        }
        
        & > .header_logo {
            display: block;
            margin-left: 25px;
        }
    }

    .header_links {
        order: 2;  
    }

    .nav_socials-box {
        & .navmenu_buttons {
            display: none;
        }
    }
}

@media (max-width: 767px) {
    .heading_primary {
        font-size: 100px; 
    }
    
    .nav_socials-box {
        max-width: 334px;
    }

    .heading_primary-box {
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 12px;
    }

    .heading_primary:first-child {
        margin-bottom: -40px;
    }

    .hero_subheading {
        font-size: 24px;
        margin-right: 0px;
        max-width: 126px;
        align-self: center;
    }

    .hero_caption {
        font-size: 12px;
    }

    .hero_section {
        padding-bottom: 153px;
    }

    .hero_section-blocks {
        gap: 13px;
    }

    .hero_section .btn-primary {
        margin-left: 0px;
        align-self: flex-end;
    }

    .header.visible > .btn-primary.yellow {
        align-self: center;
    }

    .mobile_links {
        gap: 20px;
    }

    .mobile_links .link {
        font-size: 24px;
    }
}

@media (max-width: 360px) {
    .header.visible {
        & > .header_logo {
            margin-left: 5px;
        }

        & > .header_buttons {
            margin-right: 5px;
        }
    }
}