﻿header{
    height: 5rem;
    width: 100%;
    position: sticky;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 400;
}
.divider{
    height: 4rem;
    border-left: 3px solid rgb(255, 255, 255);
}
.logo{
    height: 4rem;
    width: 5.268rem;
    position: relative;
    left: 50%;
    top: -50%;
    transform: translate(-50%, 50%);
}
.logo-2{
    height: 100%;
    position: relative;
    top: 50%;
    left: 35%;
    transform: translateY(-50%) scale(1.7);
    /*margin-top: -20px;*/
    
}
.logo-link{
    height: 4rem;
    width: 5.268rem;
    margin-left: 8px;
    margin-right: 10px;
}
.logo-link-2{
    height: 4rem;
    filter: invert(100);
    position: relative;
    width:fit-content;
}
body{
    margin: 0px;
    width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
    background: linear-gradient(90deg, #cfd9df 0%, #e2ebf0 100%);
    min-height: 100vh;
    position: relative;
}
.game-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.game-card{
    background-color: rgb(153, 153, 153);
    width: 150px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    height: min-content;
}
.game-card:hover{
    background-color: rgb(140, 140, 140);
}
.game-card h2{
    font-family: Arial, fantasy;
    margin-bottom: 5px;
    margin-top: 10px;
    text-align: center;
    user-select: none;
}
.game-card h4{
    font-family: Arial, fantasy;
    margin-top: 5px;
}

.game-card p{
    font-family: Arial, fantasy;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-bottom: 1px;
    margin-left: 5px;
    color:rgb(42, 42, 42);
    font-size: 80%;
}
.game-card img{
    margin-top: 5px;
    z-index: 10;
    aspect-ratio: 1/1;
    max-width: 128px;
    max-height: 128px;
    border-radius: 10px;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-drag: none;
}
.game-card div.placeholder-img{
    margin-top: 5px;
    z-index: 10;
    aspect-ratio: 1/1;
    max-width: 128px;
    max-height: 128px;
    border-radius: 10px;
    width: 128px;
    background-color: rgb(126, 126, 126);
}
.game-card h2.placeholder-txt{
    background-color: rgb(126, 126, 126);
    width: 70%;
    height: 2rem;
    border-radius: 10px;
}
.game-card p.placeholder-ver{
    background-color: rgb(126, 126, 126);
    width: 23%;
    height: 1rem;
    border-radius: 10px;
}
footer{
    background-color: #2c3338;
    height: 5rem;
    width: 100vw;
    position: absolute;
    bottom: 0;
}
body::after {
    content: '';
    display: block;
    height: 5rem; /* Set same as footer's height */
}
.banner-container{
    height: 40vh;
    width: 100%;
    position: relative; 
}
.banner{
    background: url("assets/banner.png");
    z-index: 10;
    width: 100%;
    height: 100%;
    background-position: center;
    position: absolute;
    background-size: cover;
}
.banner-container img{
    width: 90%;
    max-width: 700px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}
.blur{
    display: none;
    position: absolute;
    margin-top: 10px;
    filter: blur(10px);
    z-index: 0 !important;
    opacity: 0.5;
}
@media (max-width: 540px) {
    .banner-container{
        height: 20vh;
    }
}
.sectionHeader{
    font-family: 'Arial', fantasy;
    margin-left: 20px;
}

/* DARK CLASSES*/

@media (prefers-color-scheme: dark) {
    .game-card{
        border-image: linear-gradient(-130deg, #c0392b 0%, #8e44ad 100%) 1;
        border-width: 4px;
        border-style: solid;
        background-color: rgb(57, 57, 57);
    }
    .game-card:hover{
        background-color: rgb(50, 50, 50);
    }
    p, h2{
        color: white !important;
    }
    body{
        background: rgb(36, 36, 36);
    }
    .sectionHeader{
        color: white;
    }
    .blur{
        display: inherit !important;
    }
}