@import "css/global.css";

@import "css/global.css";

/*Header*/
#header {
    background: url("../images/background.png") no-repeat fixed center;
    min-width: 100%;
    min-height: 400px;
    text-align: center;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#header .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 150px;
    width: 100%;
}

#header .content .info {
    display: flex;
    flex-direction: column;
}

#header .content .info .minecraft-server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

#header .content .info .title {
    color: var(--white-color);
    font-family: 'Mont', sans-serif;
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 900;
}

#header .content .info .title span {
    color: var(--main-color);
    font-family: 'Mont', sans-serif;
}

#header .content .description {
    color: var(--description-color);
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

/*staff*/
#staff .content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#staff .group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#staff .group .rank-title {
    font-size: 30px;
    font-family: 'Mont', sans-serif;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#staff .group .rank-title::before {
    content: "";
    position: absolute;
    font-family: 'Nunito', sans-serif;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
    font-family: 'Nunito', sans-serif;
}

#staff .group .rank-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    font-family: 'Mont', sans-serif;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

#staff .group .users {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
}

#staff .group .users .user {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#staff .group .users .user img {
    max-width: 150px;
}

#staff .group .users .user .name {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}

#staff .group .users .user .rank {
    color: var(--white-color);
    font-size: 17px;
    width: fit-content;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
}

.rank {
    background: var(--default-rank-color);
}

/*Footer*/
#footer {
    background: var(--stats-background);
    font-family: Nunito, sans-serif;
}

/*Responsive*/
/*Header*/
@media screen and (max-width: 1625px) {
    #header .content {
        padding: 150px 90px;
    }
}

@media screen and (max-width: 1361px) {
    #header .content {
        flex-direction: column;
        padding: 120px 90px;
    }
}

@media screen and (max-width: 819px) {
    #header .content {
        padding: 150px 30px;
    }

    #header .content .info .minecraft-server-ip {
        font-size: 15px;

    }

    #header .content .info .title {
        font-size: 40px;
        font-family: 'Mont', sans-serif;
    }

    #header .content .info .description {
        font-size: 16px;
    }
}

@media screen and (max-width: 530px) {
    #header .content {
        justify-content: start;
        align-items: start;
    }

    #header .content .info .title {
        font-size: 30px;
        font-family: 'Mont', sans-serif;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #100f10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loaderr {
    border: 4px solid #191819;
    border-top: 4px solid #fe3e3e;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}

h1 {
    padding: 20px;
    font-size: 24px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    background-color: #585858;
    border: 2px solid #696969;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    margin-left: 20px;
    box-shadow: 0 4px 6px rgba(70, 70, 70, 0.274);
    text-align: center;
    width: 300px;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.box:hover {
    transform: scale(1.02);
}

.box img {
    max-width: 50%;
    border-radius: 10px;
}

.box h2 {
    font-size: 25px;
    margin-top: 5px;
}

.titolo h1 {
    font-family: 'Mont', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: rgb(255, 255, 255);

}

.logo {
    width: 100%;
    size: 150;
    font-family: Nunito, sans-serif;
}

.titolobox h1 {
    font-family: 'Mont', sans-serif;
    font-weight: 900;
    font-size: 23px;
    color: #d2d0d0;
}

.sottotitolobox h1 {
    font-family: 'Mont', sans-serif;
    font-weight: 1000;
    font-size: 25px;
    color: #19da68;
}

.sottotitolobox h2 {
    font-family: 'Mont', sans-serif;
    font-weight: 1000;
    text-decoration: line-through;
    font-size: 22px;
    padding-top: 20px;
    color: #d12424;
}

.sottotitolobox2 h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #d2d0d0;
}

span {
    color: var(--main-color);
    font-family: 'Mont', sans-serif;
}

.description1 {
    color: var(--description-color);
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    align-items: center;
    align-self: center;
    max-width: 700px;
    line-height: 1.6;
}

.description-premesse {
    color: var(--description-color);
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;

    text-align: center;
    align-items: center;
    align-self: center;
    align-content: center;
    text-align-last: center;
    margin-right: 30px;
    margin-top: -50px;
}

.description2 {
    color: var(--main-color);
    font-family: Nunito, sans-serif;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}

#discord {
    background: url("../images/background.png") no-repeat fixed center;
    min-width: 100%;
    font-family: Nunito, sans-serif;
    height: 100%;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#discord .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

#discord .content .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--main-color);
    position: relative;
    text-align: center;
}

#discord .content .section-title span {
    font-family: Nunito, sans-serif;
    color: var(--main-color);
}

#discord .content .join-discord {
    font-family: Nunito, sans-serif;
    background: var(--copy-ip-button-background);
    border: 2px solid var(--main-color);
    border-radius: 3px;
    padding: 10px 30px;
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#discord .content .join-discord:hover {
    opacity: 0.8;
}

#discord .content .join-discord a {
    text-decoration: none;
    color: var(--white-color);
}



.box2 {
    background-color: #585858;
    border: 2px solid #696969;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    margin-left: 20px;
    text-align: center;
    width: 300px;
    cursor: pointer;
    animation: double-bounce 10s infinite;
    position: relative;
}

.best-seller-badge {
    position: absolute;
    top: 10px;
    font-family: Nunito, sans-serif;
    left: 10px;
    background-color: #e22626;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.box2:hover {
    transform: scale(1.02);
}

.box2 img {
    max-width: 50%;
    border-radius: 10px;
}

.box2 h2 {
    font-size: 25px;
    margin-top: 5px;
}

.box2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 4px 6px #e226269a;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

@keyframes double-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    10%,
    30% {
        transform: translateY(-20px);
        box-shadow: 0 4px 6px #e226269a;
    }

    25%,
    55%,
    75% {
        transform: translateY(-10px);
    }

    40%,
    60% {
        transform: translateY(-5px);
    }
}

.box2:hover::before {
    opacity: 0.5;
}

#about .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#about .content .left {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 40px;
}

#about .content .left .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#about .content .left .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#about .content .left .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}


#about .content .left .about-us {
    color: var(--description-color);
    font-family: Nunito, sans-serif;
    font-size: 18px;
    max-width: 80%;
    line-height: 1.6;
}

#about .content .right {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    position: relative;
    width: 100%;
}

#about .content .right img {
    width: auto;
    max-height: 250px;
    position: right;
    z-index: 1;
    right: 100px;
}

#about .content .right .img-background {
    position: absolute;
    width: 210px;
    height: calc(100% - 40px);
    border-radius: 40px 3px;
    box-shadow: 5px 5px #501313;
    background: #c22d2d;
    z-index: 0;
    bottom: 5px;

}

#about .content .right .img-background2 {
    position: absolute;
    width: 250px;
    height: calc(100% - 40px);
    border-radius: 40px 3px;
    box-shadow: 5px 5px #134150;
    background: #2d9ac2;
    z-index: 0;
    bottom: 5px;
}

#about .content .right .img-background3 {
    position: absolute;
    width: 250px;
    height: calc(100% - 40px);
    border-radius: 40px 3px;
    box-shadow: 5px 5px #3e2900;
    background: #fca800;
    z-index: 0;
    bottom: 5px;
}

/*Mini games*/
#minigames {
    background: var(--stats-background);
}

#minigames .content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

#minigames .content .game {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

#minigames .content .game:nth-child(even) img {
    order: 1;
}

#minigames .content .game:nth-child(even) img:hover {
    transform: rotate(2deg);
}

#minigames .content .game img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 40px 3px;
    transition: 0.2s;
}

#minigames .content .game img:hover {
    transform: rotate(-1deg);
}

#minigames .content .game .info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#minigames .content .game .info .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#minigames .content .game .info .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#minigames .content .game .info .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

#minigames .content .game .info .game-description {
    color: var(--description-color);
    font-size: 17px;
    line-height: 1.6;
}

#minigames .content .game .info .game-description ul {
    padding: 10px 0 0 40px;
}

/*Discord*/
#discord {
    background: url("../images/background.png") no-repeat fixed center;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#discord .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

#discord .content .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
    text-align: center;
}

#discord .content .section-title span {
    color: var(--main-color);
}

#discord .content .join-discord {
    background: var(--copy-ip-button-background);
    border: 2px solid var(--main-color);
    border-radius: 3px;
    padding: 10px 30px;
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#discord .content .join-discord:hover {
    opacity: 0.8;
}

#discord .content .join-discord a {
    text-decoration: none;
    color: var(--white-color);
}

/*Vote*/
#vote .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#vote .content .info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

#vote .content .info .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#vote .content .info .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#vote .content .info .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}


#vote .content .info .section-description {
    color: var(--description-color);
    font-size: 17px;
    max-width: 80%;
    line-height: 1.6;
}

#vote .content .links {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

#vote .content .links .url {
    text-decoration: none;
}

#vote .content .links .url:hover .link .link-description .icon {
    transform: scale(1.1);
}

#vote .content .links .link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--stats-background);
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
}

#vote .content .links .link h5 {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}

#vote .content .links .link .link-description {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

#vote .content .links .link .link-description .description {
    color: var(--description-color);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

#vote .content .links .link .link-description .icon {
    border-radius: 5px;
    background: var(--stat-icon-background-2);
    padding: 10px;
    transition: 0.2s ease-in-out;
}

#vote .content .links .link .link-description .icon i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 5px;
}

/*FAQ*/

#faq .content {
    font-family: 'Nunito', sans-serif;
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 20px;
}

#faq .content .info {
    font-family: 'Nunito', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#faq .content .info .section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#faq .content .info .section-title::before {
    font-family: 'Nunito', sans-serif;
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#faq .content .info .section-title::after {
    font-family: 'Nunito', sans-serif;
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

#faq .content .info .section-title span {
    font-family: 'Nunito', sans-serif;
    color: var(--main-color);
}

#faq .content .info .section-description {
    font-family: 'Nunito', sans-serif;
    color: var(--description-color);
    font-size: 17px;
    line-height: 1.6;
    max-width: 70%;
}

#faq .content .accordion {
    font-family: 'Nunito', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#faq .content .accordion .accordion-item {
    font-family: 'Nunito', sans-serif;
    background: var(--stats-background);
    border-radius: 5px;
}

#faq .content .accordion .accordion-item .accordion-item-header {
    font-family: 'Nunito', sans-serif;
    padding: 20px 50px 20px 20px;
    line-height: 1.6;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    color: var(--main-color);
    font-size: 17px;
}

#faq .content .accordion .accordion-item .accordion-item-header::after {
    font-family: 'Nunito', sans-serif;
    content: "\002B";
    font-size: 20px;
    position: absolute;
    right: 20px;
}

#faq .content .accordion .accordion-item .accordion-item-header.active::after {
    font-family: 'Nunito', sans-serif;
    content: "\2212";
}

#faq .content .accordion .accordion-item .accordion-item-body {
    font-family: 'Nunito', sans-serif;
    max-height: 0;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

#faq .content .accordion .accordion-item .accordion-item-body .accordion-item-body-content {
    font-family: 'Nunito', sans-serif;
    padding: 20px;
    line-height: 1.6;
    border-top: 1px solid var(--stats-background);
    color: var(--description-color);
}

/*Animations*/
@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}

/*Responsive*/
/*Header*/
@media screen and (max-width: 1625px) {
    #header .content {
        padding: 150px 90px;
        align-items: start;
        justify-content: center;
    }
}

@media screen and (max-width: 1361px) {
    #header .content {
        flex-direction: column;
        padding: 120px 90px;
        height: 100%;
        gap: 60px;
    }

    #header .content .left {
        gap: 30px;
        justify-content: left;
    }

    #header .content .right .stats {
        width: fit-content;
    }

    #header .content .right .logo-img {
        display: none;
    }

    @media screen and (min-height: 745px) {
        #header .content {
            justify-content: center;
        }

        #header .content .left {
            height: fit-content;
            justify-content: center;
            gap: 30px;
        }

        #header .content .right {
            height: fit-content;
            justify-content: center;
            gap: 30px;
        }
    }
}

@media screen and (max-width: 819px) {
    #header .content {
        padding: 150px 30px;
    }

    #header .content .left .server-name p {
        font-size: 15px;
        font-family: 'Mont', sans-serif;
    }

    #header .content .left .server-name h1 {
        font-size: 40px;
        font-family: 'Mont', sans-serif;
    }

    #header .content .left .server-description {
        font-size: 16px;
    }

    #header .content .right {
        width: 100%;
    }

    #header .content .right .stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 621px) {
    #header .content .right .stats {
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
    }

    #header .content .right .stats .stat:hover .icon {
        transform: scale(1);
    }
}

@media screen and (max-width: 447px) {
    #header .content .left .server-name h1 {
        font-size: 30px;
        font-family: 'Mont', sans-serif;
    }
}

@media screen and (max-width: 383px) {
    #header .content .left .buttons {
        flex-direction: column;
    }
}

/*About us*/
@media screen and (max-width: 1551px) {
    #about .content .left .about-us {
        max-width: 90%;
    }
}

@media screen and (max-width: 1183px) {
    #about .content {
        flex-direction: column;
        gap: 40px;
    }

    #about .content .left .about-us {
        max-width: 100%;
    }

    #about .content .right img {
        margin: auto;
        right: 0;
    }

    #about .content .right .img-background {
        width: 100%;
    }

    #about .content .right .img-background2 {
        width: 100%;
    }
}

/*Mini games*/
@media screen and (max-width: 1141px) {
    #minigames .content .game {
        flex-direction: column;
        gap: 40px;
    }

    #minigames .content .game:nth-child(even) img {
        order: 0;
    }
}

/*Vote*/
@media screen and (max-width: 1313px) {
    #vote .content .links {
        flex-direction: column;
    }
}

@media screen and (max-width: 909px) {
    #vote .content .links {
        flex-wrap: wrap;
        flex-direction: row;
    }

    #vote .content .links .link {
        max-width: 300px;
    }

    #vote .content {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 690px) {
    #vote .content .links .link {
        max-width: 100%;
    }
}

/*FAQ*/
@media screen and (max-width: 6729px) {
    #faq .content .info .section-description {
        font-family: 'Nunito', sans-serif;
        max-width: 100%;
    }
}

#faq .content .faqds {
    font-family: 'Nunito', sans-serif;
    border-radius: 3px;
    text-decoration: none !important;
    color: var(--main-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #100f10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: bounce 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
        fadeOut 1s 2s forwards;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #fe3e3e;
    word-spacing: 20;
    font-size: 15px;
    font-weight: 400;
    justify-content: normal;
    align-items: normal;
    max-width: 500px;
    line-height: 11.2;
    margin-left: -5pc;
    height: 100px;

}