html{
    overflow-x: hidden;
}
body{
    overflow-x: hidden;
}
.page {
    overflow-x: hidden;
    display: grid;
    grid-template-areas:
        "landing landing"
        "gm news"
        "staff staff";
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media screen and (max-width: 1400px){
    .page{
        margin-top: 94px;
    }
}

@media screen and (max-width: 1800px) {
    .page {
        grid-template-areas:
            "landing"
            "gm"
            "news"
            "staff";
        grid-template-columns: 1fr; /* <-- una colonna */
    }
    .page .gamemodes .gameGrid{
        display: grid;
        grid-template-areas: 
        "gm gm gm"
        "gm gm gm" !important;
    }
    .page .news{
        max-width: 100vw !important;
    }
}
@media screen and (max-width: 1550px){
    .page .landing .meliusChan{
        height: 300px !important;
        width: 300px !important;
        filter: brightness(0.5) !important;
    }
    .page .landing .lore p{
        display: none;
    }
}
@media screen and (max-width: 850px){
    .page .gamemodes .gameGrid{
        grid-template-areas: 
        "gm gm"
        "gm gm"
        "gm gm" !important;
    }
}
@media screen and (max-width: 590px){
    .page .gamemodes .gameGrid{
        grid-template-areas: 
        "gm"
        "gm"
        "gm"
        "gm"
        "gm"
        "gm" !important;
    }
}
/* LANDING */
.page .landing {
    grid-area: landing;
    height: 50vh;
    position: relative;
}
.page .socials{
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    z-index: 7000;
}
.page .socials a{
    transition: .2s ease;
}
.page .socials a:hover{
    scale: 1.2;
}
.page .socials a svg{
    height: 40px;
    width: 40px;
    filter: brightness(1.0);
    fill: #fff;
    transition: .2s ease;
}
.page .socials a#discord:hover svg{
    fill: #5865f2 !important;
}
.page .socials a#tiktok:hover svg{
    fill: url(#tikTokGradient) !important;
}
.page .socials a#instagram:hover svg{
    fill: url(#instaGradient) !important;
}
.page .socials a#youtube:hover svg{
    fill: #ff0000 !important;
}
.page .landing .cover{
    height: 100%;
    width: 100%;
    content: " ";
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: absolute;
    top: 0px;
    left: 0px;
}
.page .landing .meliusChan{
    height: 20vw;
    width: 20vw;
    position: absolute;
    right: 10vw;
    top: 50%;
    transform: translateY(-50%);
    filter: brightness(1.0);
}
.page .landing img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.page .landing .lore{
    position: absolute;
    left: 10vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding-right: 10vw;
}
.page .landing .lore h1{
    font-family: var(--font-minecraft-bold);
    line-height: 1.5;
    margin-bottom: 30px;
}
.page .landing .lore p{
    font-size: 18px;
    font-weight: 600;
    color: #dddddd;
}
/* GAMEMODES */
.page .gamemodes {
    grid-area: gm;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page .gamemodes h1 {
    font-family: var(--font-minecraft-bold);
    font-size: 25px;
    text-align: center;
}

.page .gamemodes .gameGrid {
    display: grid;
    grid-template-areas: 
        "div div div"
        "div div div";
    gap: 10px;
}

.page .gamemodes .gameGrid .gm {
    position: relative;
    width: 256px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.page .gamemodes .gameGrid .gm .info {
    position: absolute;
    top: 0;
    left: 260px;
    width: 340px;
    height: auto;
    background-color: var(--background-color);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius-medium);
    color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px #00000066;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.page .gamemodes .gameGrid .gm:hover .info {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.page .gamemodes .gameGrid .gm:nth-child(2) .info,
.page .gamemodes .gameGrid .gm:nth-child(3) .info,
.page .gamemodes .gameGrid .gm:nth-child(5) .info,
.page .gamemodes .gameGrid .gm:nth-child(6) .info {
    left: auto;
    right: 260px !important;
}
@media screen and (max-width: 1800px){
    .page .gamemodes .gameGrid .gm .info{
        left: 260px !important;
    }
    .page .gamemodes .gameGrid .gm:nth-child(2) .info,
    .page .gamemodes .gameGrid .gm:nth-child(3) .info,
    .page .gamemodes .gameGrid .gm:nth-child(5) .info,
    .page .gamemodes .gameGrid .gm:nth-child(6) .info {
        left: auto !important;
        right: 260px !important;
    }
}
.page .gamemodes .gameGrid .gm .info h1 {
    font-size: 22px;
    font-family: var(--font-minecraft-bold);
    margin-bottom: 10px;
    margin-top: -16px;
    color: var(--accent-color);
}

.page .gamemodes .gameGrid .gm .info .version {
    background-color: #ff4e4e;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: var(--border-radius-medium);
    display: inline-block;
    margin-bottom: 10px;
}

.page .gamemodes .gameGrid .gm .info .desc p {
    font-size: 16px;
    font-family: var(--font-default);
    line-height: 1.4;
    margin-bottom: 10px;
}

.page .gamemodes .gameGrid .gm .info .online h2 {
    font-size: 16px;
    font-weight: bold;
}

.page .gamemodes .gameGrid .gm .info .online span {
    background-color: var(--accent-color);
    padding: 4px 12px;
    border-radius: var(--border-radius-medium);
    margin-left: 6px;
    color: #fff;
}

/* Version Tag */
.page .gamemodes .gameGrid .gm .info .version {
    background-color: #ff4e4e;
    border-radius: var(--border-radius-medium);
    font-size: 20px;
    font-family: var(--font-default);
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    margin-bottom: 10px;
}
/* NEWS */
.page .news {
    grid-area: news;
    height: auto;
    width: 100%;
    max-width: calc(50vw - 10px);
    display: flex;
    flex-direction: column;
    align-items: initial;
    justify-content: center;
    gap: 30px;
    padding: 20px 30px;
}
.newsList::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}
.newsList::-webkit-scrollbar-track{
    background: transparent;
}
.newsList::-webkit-scrollbar-thumb{
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.page .news h1{
    font-family: var(--font-minecraft-bold);
    font-size: 25px;
    text-align: center;
}
.page .news .newsList{
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll !important;
    padding: 20px 5vw 20px 10px;
    gap: 20px;
}
.page .news .newsList .newsCard{
    height: 100%;
    width: 350px;
    padding: 5px;
}
.page .news .newsList .newsCard .title{
    margin-bottom: 10px;
}
.page .news .newsList .newsCard img{
    width: 340px !important;
    height: 128px !important;
    object-fit: cover;
    border-radius: var(--border-radius-big);
}
.page .news .newsList .newsCard .body{
    font-size: 18px;
    text-align: justify;
    font-weight: bold;
    line-height: 1.6;
}
.page .news .newsList .newsCard .more{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.page .news .newsList .newsCard .more p{
    color: #707070;
    font-weight: bold;
    font-size: 18px;
}
.page .news .newsList .newsCard h1{
    font-size: 20px;
}
/* STAFF */
@media screen and (max-width: 1800px){
    .page .staff .container .staffList{
        width: 80vw !important;
    }
    .page .staff .container .stafferInfo{
        width: 80vw !important;
    }
    .page .staff .container .staffList img{
        height: 82px !important;
        width: 82px !important;
    }
    .page .staff .container{
        flex-direction: column !important;
    }
}
.page .staff {
    grid-area: staff;
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.page .staff h1{
    font-family: var(--font-minecraft-bold);
    font-size: 25px;
    text-align: center;
}
.page .staff .container{
    width: 100vw;
    height: 100%;
    padding: 20px 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.page .staff .container .staffList{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 500px;
    gap: 20px;
    row-gap: 40px;
    padding: 30px 0px;
}
.page .staff .container .staffList img{
    height: 100px;
    width: 100px;
    border-radius: var(--border-radius-small);
    filter: brightness(0.2);
}
.page .staff .container .staffList img.selected{
    filter: brightness(1.0);
}
.page .staff .container .stafferInfo{
    width: 30vw;
    padding: 30px 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px
}
.page .staff .container .stafferInfo img{
    height: 300px;
    width: auto;
}
@media screen and (max-width: 720px) {
    .page .staff .container .stafferInfo img{
        visibility: hidden !important;
        width: 0px;
    }
}
.page .staff .container .stafferInfo h1{
    font-family: var(--font-default);
}
.page .staff .container .stafferInfo h1 span{
    padding: 5px 10px;
    border-radius: var(--border-radius-small);
    background-color: #dddddd;
    margin-left: 20px;
}
.page .staff .container .stafferInfo h1 span[meta-role="owner"]{
    background-color: #d524c0;
}
.page .staff .container .stafferInfo h1 span[meta-role="graphicdesigner"]{
    background-color: #247ad5;
}
.page .staff .container .stafferInfo h1 span[meta-role="helper"]{
    background-color: #2adf3f;
}
.page .staff .container .stafferInfo h1 span[meta-role="mod"]{
    background-color: #572adf;
}
.page .staff .container .stafferInfo h1 span[meta-role="Admin"]{
    background-color: #dfa02a;
}
.page .staff .container .stafferInfo .description{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.page .staff .container .stafferInfo .description p{
    font-size: 18px;
    font-weight: bold;
    text-align: justify;
}