* {
    margin: 0;
    padding: 0;
    transition: all 0.3s;
    user-select: none;
}

/* АКУРАТНО ГОВНО КОД!!! */

html,
head {
    width: 100vw;
    height: 100%;
    scroll-behavior: smooth;
}


a {
    color: wheat;
    text-decoration: none;
}

/* a:hover
{
        font-size: 32px;
} */

:root {
    --header_text_color: #FFF0A6;

}

@font-face {
    font-family: 'AKONY';
    src: URL('/akony.ttf') format('truetype');
}

@font-face {
    font-family: 'FuturaDemiC';
    src: URL('/FuturaDemiC Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Druk';
    src: URL('/Druk Wide Cyr Medium.otf') format('truetype');
}

@font-face {
    font-family: 'Monstserrat';
    src: URL('/Montserrat-Medium.ttf') format('truetype');
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: #FF3300;

}

*::-webkit-scrollbar-thumb {
    background-color: #FFF0A6;
    border-radius: 6px;
    border: 3px solid #fff0a6a9;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #fff0a6a9;
}


footer {
    margin-top: auto;
    padding: 2rem 0;
    background-color: #E6332A;
    /* min-height: 300px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    /* padding-top: 25px; */
    justify-content: center;
    align-items: center;
}



#socials_footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

/* #socials_footer img {
    max-width: 100px;
    height: auto;
} */

#info_footer {
    width: 30%;
    text-align: center;
    color: wheat;
    flex-direction: row;
    font-family: 'FuturaDemiC';
    text-align: center;
    font-size: clamp(0.875rem, 0.8462rem + 0.1282vw, 1rem);
}

#socials_footer {
    font-family: "DRUK";
    width: 30%;
    /* border: solid red; */
    color: wheat;
    gap: 2rem;
    height: 100%;
}

#socials_footer img {
    width: 100px;
}


.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-icon:hover {
    cursor: pointer;
}

@media (max-width: 640px) {
    footer {
        min-height: 200px;
        padding: 1rem 0;
        flex-direction: column;
        flex-wrap: wrap;
    }

    #info_footer,
    #socials_footer {
        width: 90%;
        flex-wrap: wrap;
    }

}


body {
    display: flex;
    align-items: center;
    flex-direction: column;

    background-color: #331017;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url(/imgs/pattern1.png);
    animation: fall 5s linear infinite;

}

@media (max-width: 640px) {
    body {
        background-image: none;
        animation: none;
    }
}

main {
    width: 75%;
    min-height: max-content;
    padding-bottom: 168px;
    overflow: visible;
    font-family: 'FuturaDemiC';
    flex: 1;
    color: wheat;
    background-color: #331017ea;
    box-shadow: 0px 0px 25px #331017;
}

@media (max-width: 1024px) {
    main {
        width: 95%;
    }
}

@media (max-width: 640px) {
    main {
        width: 100%;
    }
}


header {
    /* background-image: url(parlax_bg.png); */
    /* background-image: url(картинка.png); */
    max-width: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;


    overflow: hidden;
    color: var(--header_text_color);

    position: relative;

}

#parlax_fr_id {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    position: relative;
    top: auto;
    filter: drop-shadow(0px 0px 25px rgba(0, 0, 0, 0.15));
}

#header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* padding: 1.5rem; no adaptive */

    padding-left: 1.5rem;
    padding-right: 1.5rem;

    padding-top: 1.5rem;
    padding-bottom: 1.5rem;

    gap: 2rem;

    z-index: 3;
}


#header-content h1 {
    z-index: 2;
    font-family: 'AKONY';
    width: fit-content;
    overflow: visible;
    /* font-size: 42px; no adaptive */
    font-size: clamp(1.5rem, 0.3173rem + 1.9231vw, 2.625rem);
}


#header-content #nav-header {
    z-index: 2;
    font-family: 'FuturaDemiC';
    /* width: 100%; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: clamp(1rem, 0.6731rem + 0.8974vw, 2.75rem) !important;
}

/* 
@media (min-width: 2560px) {
    #nav-header {
        gap: calc(238px + (600 - 238) * ((100vw - 2560px) / (7680 - 2560)));
        padding-right: calc(48px + (120 - 48) * ((100vw - 2560px) / (7680 - 2560)));
    }
} */

@media (max-width: 640px) {
    #nav-header {
        justify-content: space-around;
        gap: 1rem !important;
    }

    #bg_line {
        display: none;
    }
}

@media (max-width: 6720px) {
    #header-content #nav-header {
        gap: clamp(27.1875rem, -15.7292rem + 17.8819vw, 59.375rem);
        margin-right: 15px;
    }
}

@media (max-width: 3840px) {
    #header-content #nav-header {
        gap: clamp(16.25rem, -5.625rem + 13.6719vw, 27.1875rem);
    }
}

@media (max-width: 2560px) {
    #header-content #nav-header {
        gap: clamp(10.625rem, -6.25rem + 14.0625vw, 16.25rem);
    }
}

@media (max-width: 1920px) {
    #header-content #nav-header {
        gap: clamp(3.75rem, -4.1071rem + 12.2768vw, 10.625rem);
    }
}

@media (max-width: 1024px) {
    #header-content #nav-header {
        justify-content: space-around !important;
    }
}

@media (max-width: 640px) {
    #header-content #nav-header {
        justify-content: space-around !important;
        /* gap: 1rem !important; */
    }
}

#nav-header {
    list-style-type: none;
}

#social_buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;

    padding-top: 25px;
    padding-bottom: 25px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    overflow: visible;
    font-family: 'FuturaDemiC';
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
}

#header-content::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6%;
    right: -6%;
    background: linear-gradient(to right,
            #e3342f 0%,
            #e3342f 45%,
            #8e3a84 45%,
            #8e3a84 60%,
            #4a1717 60%,
            #4a1717 80%,
            #ff3c00 80%,
            #ff3c00 100%);
    transform: skewX(60deg);
    transform-origin: left;
}

#bg_line {
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}


.animb {
    transform: scale(1);
}

.animb:hover {
    transform: scale(1.05);
    /* color: red !important; */
}


@keyframes fall {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 1000px;
    }
}