*{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;

}


@media (max-width: 1920px) {
    #header-content #nav-header {
        gap: clamp(3.875rem, -3.8393rem + 12.0536vw, 10.625rem) !important;
    }
}

@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; */
    }
    #bg_line
    {
        display: 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: none;
    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; }
}