
/* DEBUG */

/* *{border: solid red 1px;} */

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

    background-color: #331017;
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* overflow: hidden; */
    overflow-x: hidden;

    background-position: center;
}

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

@media (max-width: 1024px) {
    main
    {
            width: 95%;
            background-color: #331017;
    }
        body
    {
        background-image: none;
    }
}
@media (max-width: 640px) {
    main
    {
            width: 100%;
    }
    body
    {
        background-image: none;
    }
}


header
{
    /* background-image: url(parlax_bg.png); */
    background-image: url(/imgs/parlax_bg.jpg);
    max-width: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #331017;
    background-size: cover;

    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;

    overflow: hidden;
    color: var(--header_text_color);
    
    position: relative;
    box-shadow: 0px 15px 5px #331017;
}

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

    width: 100%;
    height: 100%;
    /* position: relative; */
    /* overflow: auto; */
    top: auto;
    filter: drop-shadow(0px 0px 25px rgba(0, 0, 0, 0.15));
	transform: scale(1.12);
}

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


    /* padding: 1.5rem; no adaptive */

    flex-direction: row;

    padding-left: 1.5rem;
    padding-right: 1.5rem;
    
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    
    gap: 2rem;

    z-index: 3;
}


@media (max-width: 640px) {
    #header-content
    {

        padding-left: 0.25rem   !important;
        padding-right: 0.25rem  !important;
        padding-top: 1rem    !important;
        padding-bottom: 1rem !important;
        /* flex-direction: column; */
        gap: 0.5rem !important;
        flex-direction: column;
    }
}

#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);
}

@media (max-width: 1024px) {
    #header-content h1 {
        text-align: center;
    }
}

#header-content #nav-header {
    z-index: 2;
    font-family: 'FuturaDemiC';
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* gap: 4px; */
    /* gap: 170px; */
    gap: clamp(10.625rem, -5.5592rem + 13.4868vw, 23.4375rem);
    font-size: clamp(1rem, 0.6731rem + 0.8974vw, 2.75rem) !important;
    /* font-size: 28px;  no adaptive*/
}

@media (max-width: 1920px) {
    #header-content #nav-header {
        gap: clamp(3.875rem, -3.8393rem + 12.0536vw, 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; */
    }
}

#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;
}

@media (max-width: 1024px) {
    #header-content::before {
        left: -21% !important;
        right: -21% !important;
          background: linear-gradient(
    to right,
    #e3342f 0%,
    #e3342f 45%,
    #e3342f 45%,
    #e3342f 60%,
    #e3342f 60%,
    #e3342f 80%,
    #e3342f 80%,
    #e3342f 100%
  ) !important;

    }
}

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

    /* padding-top: 25px; */
    padding-top: 25px;
    padding-bottom: clamp(0.3125rem, 0.024rem + 1.2821vw, 1.5625rem);
    display: flex;
    justify-content: center;
    flex-direction: row;
    overflow: visible;
    font-family: 'FuturaDemiC';
    align-items: center;
    justify-content: space-evenly;
    font-size: 24px;
    flex-wrap: wrap;
    gap: 1rem;
}

#mobbuttonss
{
    display: none;
}

@media (max-width: 640px) {
    .social_buttons {
        flex-direction: column;
        /* gap: 1.5rem; */
        position: absolute;
        display: none;
    }
    #mobbuttonss
    {
        display: flex;
        position: relative;
        flex-direction: row !important;
        /* min-width: 20px; */
    }
}



.button-big
{
    box-shadow: 3px 3px 0px #E6332A;
    border-radius: 0px 25px 0px 25px;
    font-size: clamp(1.2rem, 0.2308rem + 2.3077vw, 3.9rem);
    /* font-size: 48px; no adaptive */
    padding: 20px;
    display: block;
    text-align: center;
    min-width: clamp(5rem, 1.8269rem + 14.1026vw, 22.75rem);
}

@media (max-width: 1920px) {
    .button-big {
        padding: 15px;
        min-width: clamp(5rem, 1.8269rem + 14.1026vw, 18.75rem);
        font-size: clamp(1.2rem, 0.2308rem + 2.3077vw, 2.9rem);
    }
}

@media (max-width: 640px) {
    .button-big {
        width: 80%;
        max-width: 128px;
    }
}

#servers
{
    padding-top: 25px;
    padding-bottom: 30px;
    color: wheat;
    overflow: visible;
}

.newsbuttons
{
    font-family: "AKONY";
    color: #541414;
    font-size: clamp(1.25rem, 0.7308rem + 2.3077vw, 5.2rem);
    /* font-size: 56px; no adaptive */
    text-shadow: 2px 2px 0px #BE1622, 4px 4px 0px #FF3300 ;
    position: relative;
    /* text-align: center; */
    margin-bottom: 2rem;
    place-self: center;
}


.newsbuttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80px; /* подогнать */
    width: 80px;
    display: none;
    height: 100%;
    background-image: linear-gradient(to right, #ba2c2c00, #541414);
    /* z-index: -1; */
    pointer-events: none;
}

@media (max-width: 1920px) {
    .newsbuttons::before {
        display: block;
    }
    .newsbuttons
    {
        font-size: clamp(1.25rem, 0.7308rem + 2.3077vw, 3.5rem);
        place-self: unset;
    }
}

@media (max-width: 1024px) {
    .newsbuttons::before {
        display: none;
    }
    .newsbuttons
    {
        place-self: center;
    }
    #servers
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

#servers-content
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.server-card
{
    width: 100%;
    max-width: clamp(42.1875rem, 19.7452rem + 6.4103vw, 54.4375rem);
    min-height: clamp(72.4375rem, 34.9952rem + 6.4103vw, 84.6875rem);

    /* width: 100%;
    max-width: 439px;
    min-height: 683px;
    height: 684px; */
    
    background-color: #331017;
    background-position: center;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 52px;
    --card-bg: url(/imgs/servers/default.png);
    border: solid #ff3300 5px;
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0;

    /* background-image: url("image 3.png"); */
    background-image: var(--card-bg);
    background-position: 50% 0%;
    background-size: contain;
    mask-image: url('Vector1623.png');
    mask-size: cover;
    mask-repeat: no-repeat;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    background-color: #331017;
    border-radius: 44px;
}

.info_severCard
{
    /* font-size: 23px; */
    font-size: clamp(2.3rem, 1.2067rem + 0.1923vw, 11.4375rem);
}

@media (max-width: 1920px) {
    .info_severCard
    {
        /* font-size: 23px; */
        font-size: clamp(1.25rem, 1.2067rem + 0.1923vw, 1.4375rem);
        padding-top: 5px;
        /* padding-bottom: 5px; */
        height: 100%;
    }
    .server-card {
        width: 100%;
        max-width: clamp(21.1875rem, 19.7452rem + 6.4103vw, 27.4375rem);
        min-height: clamp(36.4375rem, 34.9952rem + 6.4103vw, 42.6875rem);
    }
}

@media (max-width: 1024px) {
    .server-card {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .server-card {
        height: 300px;
        padding: 0.5rem;
    }
    #servers-content
    {
        justify-content: center;
    }
}

.server_online_count
{
    padding-top: 10px;
    padding-left: 15px;
    font-size: clamp(1.5rem, 0.5rem + 2vw, 3rem);
    text-shadow: 0px 1px 20px rgba(0, 0, 0, 0.5), 0px -1px 20px rgba(0, 0, 0, 0.5), 1px 0px 20px rgba(0, 0, 0, 0.5), -1px 0px 20px rgba(0, 0, 0, 0.5);
}

.server_txt_container
{
    font-size: clamp(1.8rem, 0.75rem + 2vw, 3.625rem);
    padding: 2px;
    height: 50%;
}

@media (max-width: 1920px) {
    .server_online_count
    {
        padding-top: 10px;
        padding-left: 15px;
        font-size: clamp(1.5rem, 0.5rem + 2vw, 2rem);
        text-shadow: 0px 1px 20px rgba(0, 0, 0, 0.5), 0px -1px 20px rgba(0, 0, 0, 0.5), 1px 0px 20px rgba(0, 0, 0, 0.5), -1px 0px 20px rgba(0, 0, 0, 0.5);
    }

    .server_txt_container
    {
        font-size: clamp(1.8rem, 0.75rem + 2vw, 2.625rem);
        padding: 2px;
        height: 50%;
    }
}

@media (max-width: 390px) {
    .server_txt_container
    {
        height: 55%;
    }
}

.server_online_count,
.server_txt_container {
    position: relative;
    z-index: 2;
}

.joinb {
    display: inline-block;

    margin-top: -60%;
    
    position: relative;
    z-index: 3;
    background-color: rgba(255, 51, 0, 0.8);
    border-radius: 15px;
    
    text-align: center;
    place-self: center;

    padding-top: 20px;
    padding-bottom: 20px;
    /* padding-left: 55px;
    padding-right: 55px; */
    width: 45%;
    font-size: clamp(0.9rem, 0.5rem + 1.5vw, 2.5rem);
}

.joinb:hover
{
    transform: scale(1.05);
}

@media (max-width: 1920px){
    .joinb {
        font-size: clamp(0.9rem, 0.5rem + 1.5vw, 1.5rem);
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
    }
}


@media (max-width: 480px){
    .joinb
    {
        display: none;
    }

}


#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;
}

#bars2
{
    /* border: solid red 2px; */

    padding-top: 20px;
    display: flex;
    flex-direction: row;
    height: 50%;
    justify-content: center;
    gap: 2rem;
}

@media (max-width: 1024px) {
    #bars2 {
        flex-direction: column;
        /* height: auto; */
        align-items: center;
    }
}

#yt_bar
{
    /* border: solid red; */
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1024px) {
    #yt_bar {
        width: 80%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    #yt_bar {
        width: 95%;
    }
}

#yt_bar img
{
    /* width: 256px; */
    padding-bottom: 5px;
    max-width: 256px;
    width: 100%;
    /* height: auto; */
}

#life_bar
{
    /* border: solid red; */
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1024px) {
    #life_bar {
        width: 80%;
    }
}

@media (max-width: 640px) {
    #life_bar {
        width: 95%;
    }
}

#life_bar img
{
    /* width: 256px; */
    padding-bottom: 5px;
    max-width: 256px;
    width: 100%;
    height: auto;
}

.bar_content
{
    overflow-x: hidden;
    overflow-y: visible;

    width: 60%;
    /* max-height: 80%; */
    /* min-height: 78%; */
    /* height: 680px; */
    min-height: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    flex-direction: column;

    background-color: #331017;

    border: solid #FF3300 9px;
    border-radius: 25px;

}

.bar_content::-webkit-scrollbar-track
{
    background-color: transparent;
}

@media (max-width: 1920px) {
    .bar_content {
        width: 80%;
        min-height: 65%;
        max-height: 65%;
    }
}

@media (max-width: 640px) {
    .bar_content {
        height: 500px;
        width: 90%;
    }
}

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: left;
    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;
    }

}

.life-c
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: wheat;
    width: 80%;
    padding: 15px;
    font-size: 18px;
}

.life-c img
{
    filter: blur(20px);
}

.life-c img:hover
{
    filter: blur(0px);
}
