@import url("/Source/App/Frontend/Css/root.css");

body {
    overflow-y: hidden;
    margin-bottom: 40px;
}

.main {
    z-index: 11;
    position: relative;
    height: 85vh;
    max-height: 870px;
}

.main .main__container {
    margin-top: 200px;
    display: flex;
    flex-direction: row;
}

.main .social__group {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.main .content .title {
    font-size: var(--over-big-font-size);
    font-weight: var(--body-font-weight);
    line-height: 77px;
    letter-spacing: 2px;
    text-align: left;
    width: 600px;
}

.promo__code__container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    padding: 30px;
    background-color: #121f30;
    border: 2px solid #3370e630;
    z-index: 1030;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text.a {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.text.b span {
    font-size: 18px;
    font-weight: 600;
    color: #5b93ff;
}

.promos {
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: linear-gradient(225deg, rgb(51 114 235) 0%, rgb(49 82 147) 100%);
    border-radius: 10px;
    will-change: transform;
    backface-visibility: hidden;
}

.close__button {
    background-color: transparent;
    border: none;
    font-size: 1.6em;
    font-weight: 200;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

.close__button:focus {
    outline: none;
}

.main .content .description {
    font-size: var(--default-font-size);
    line-height: 29px;
    letter-spacing: 2px;
    text-align: left;
    width: 500px;
}

.main .content .content__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main .social {
    padding: 99px 50px 25px 0px;
}

.main .btn__secondary {
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 25px;
    gap: 10px;
    font-size: var(--default-font-size);
    font-weight: var(--default-font-weight);
    line-height: 29px;
    letter-spacing: 2px;
    text-align: left;
    color: var(--default-font-color-hover);
}

.main .content .content__button {
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.main .content .content__button .windows {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    width: 220px;
}

.main .content .content__button .windows img,
.main .content .content__button .windows p {
    opacity: 0.7;
}

.main .content .content__button .windows p {
    font-size: 15px;
    width: 160px;
}

.main .content .content__button .windows img {
    width: 35px;
}

.image__container {
    position: absolute; 
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    height: 80vh;
    z-index: 1;
    max-height: 870px;
}

.image__container img {
    animation: rocking 2s ease-in-out infinite;
    width: 624px;
}

@keyframes rocking {
    0% {
        transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.main .monitoring__container {
    margin-top: 220px;
    display: flex;
    flex-direction: row;
    gap: 95px;
    position: absolute; 
    display: flex;
    align-items: center;
    bottom: 0;
}

.main .monitoring__container .server {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main .monitoring__container .server__name {
    width: auto;
}

.main .monitoring__container .server .server__online {
    font-size: var(--over-small-font-size);
}

.progress {
    height: 10px; 
    width: 300px; 
    background-color: var(--block-background); 
}

#Survival .progress {
    box-shadow: 0px 4px 25px 0px rgb(69 69 180 / 40%);
}

#Survival .progress-bar {
    background-color: var(--progress-bar-color-1);
}

#Combat .progress {
    box-shadow: 0px 4px 25px 0px rgb(186 185 185 / 40%);
}

#Combat .progress-bar {
    background-color: var(--progress-bar-color-2);
}

@media (max-width: 1180px){
    .image__container {
        display: none;
    }

    body {
        overflow-y: auto;
    }

}

@media (max-width: 740px){
    .main .social {
        display: none;
    }

    .main .monitoring__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        position: relative;
    }

    .main .monitoring__container .server {
        width: 100%;
    }

    .progress {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .main .content .title {
        width: 100%;
        font-size: var(--mobail-title-font-size);
        line-height: 40px;
    }

    .main .content .description {
        width: 100%;
        font-size: var(--mobail-description-font-size);
        line-height: 20px;
    }

    .main .content .content__button {
        flex-direction: column;
        gap: 20px;
    }

    .main .btn__secondary {
        width: 100%;
        height: 50px;
        font-size: var(--mobail-description-font-size);
    }

    .main .main__container {
        margin-top: 100px;
    }

    .main .monitoring__container {
        margin-top: 100px;
    }

    .main .content .content__button .windows img {
        width: 25px;
    }

    .main .content .content__button .windows p {
        font-size: var(--mobail-description-font-size);
        width: 205px;
    }

    .main .content .content__button .windows {
        width: 260px;
    }

    .promo__code__container {
        width: 100%;
        right: 0;
        bottom: 30px;
    }

    .text.a, .text.b {
        font-size: 4vw;
        text-align: center;
    }
}