body {
    margin: 0px;
    font-size: 1.5rem;
    font-family: "Exo 2", sans-serif;
    background-color: #1b2838;
    color: #ffffff;
}

.body-container {
    margin: 2rem 0px;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    width: 100%;
}

.hero-banner {
    background-image: url("../resources/steak_banner.png");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: auto 100%; /* Resize the background image to cover the entire container */
    text-align: center;
    width: 100%;
    height: 50vh;
}


.section-box {
    background-color: #16202d;
}

.filter-box {
    width: 100%;
}

.game-box {
    width: 60%;
    min-width: 35rem;
    max-width: 77rem;
}

.section-header {
    padding: 1rem;
    background-color: #223d5a;
}

.section-header > h2 {
    margin: 0;
}

#sortFilter {
    width: 100%;
    font-size: 1.75rem;
    background-color: #101721;
    color: white;
    border-radius: 0.5rem;
}

.sticky-container {
    width: 15%;
    min-width: 15rem;
    max-width: 40rem;
}

.sticky {
    position: fixed;
    width: inherit;
    top: 10rem;
    min-width: 15rem;
}

@keyframes float {
    from {
        box-shadow: 0 0 6px #ffffff;
        scale: 100%;
    }
    to {
        box-shadow: 0 0 10px #ffffff;
        scale: 103%;
    }
}

.game-grid {
    display: grid;
    gap: 1rem 1rem;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    grid-template-rows: auto;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: #141414;
    box-shadow: 0 0 6px #ffffff;
    border-radius: 1rem;
    position: relative;
}

.game-status {
    display: none;
    position: absolute;
    width: 50%;
    margin: 0px;
    background-color: rgba(17, 98, 218, 0.794);
    border-radius: 1rem 0;
    text-align: center;
}

.game-card:hover {
    box-shadow: 0 0 10px #ffffff;
    animation: 150ms float ease-out;
    scale: 103%;
}

.game-img {
    width: 100%;
    height: auto;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    aspect-ratio: 160/127;
}

.game-info {
    margin: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-name {
    margin: 0;
}

.buy-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

@keyframes buy-lighten {
    from {
        filter: brightness(100%);
        box-shadow: none;
    }
    to {
        filter: brightness(130%);
        box-shadow: 0 0 10px white;
    }
}

.buy-btn {
    height: 4rem;
    width: 4rem;
    background: linear-gradient(to right, #4fc82f 0%, #19b14e 50%);
    border: none;
    border-radius: 2px;
    filter: brightness(120%);
    box-shadow: 0 0 1px white;
}

.buy-btn:hover:enabled {
    filter: brightness(130%);
    box-shadow: 0 0 10px white;
    animation: 150ms buy-lighten ease-out;
}

.buy-btn:active:enabled {
    filter: brightness(75%);
    box-shadow: 0 0 1px white;
}

.buy-btn:disabled {
    filter: brightness(50%);
}

@keyframes show {
    100% {
        opacity: 1;
        transform: none;
    }
}

.errorBox {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f74641;
    border: #9e0b0b 5px solid;
    border-radius: 1rem;
    height: 3rem;
    margin-top: 1rem;
    animation: show 600ms 100ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
    opacity: 0;
    transform: rotateX(-90deg);
    transform-origin: top center;
}

#loginErrorMessage {
    display: none;
    justify-content: center;
    align-items: center;
}

#signupErrorMessage {
    display: none;
    justify-content: center;
    align-items: center;
}

.section-content {
    padding: 1rem 1rem;
}

.section-title {
    text-align: center;
}


.setting-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-text {
    display: flex;
    align-items: center;
}

.setting-text > p {
    min-width: 10rem;
}

.input-field > input {
    width:100%;
    font-size: 2rem;
    color: #ffffff;
    background-color: #101721;
    border-color: #020304;
    border-right:0px;
    border-bottom: 0px;
    
}

.setting-bio > textarea {
    resize: vertical;
    width: 100%;
    font-size: 2rem;
    height: 10rem;
    color: #ffffff;
    background-color: #101721;
    border-color: #020304;
    border-right:0px;
    border-bottom: 0px;
}

.setting-bio > button {
    margin-left: auto;
}

.submit-btn {
    display: block;
    margin: 1rem auto;
    padding: 0.5rem 3rem;
    font-size: 1.5rem;
    color: #ffffff;
    border: none;
    background: linear-gradient(to right, #47bfff 0%, #1a44c2 60%);
    background-position: 25%;
    background-size: 330% 100%;
    min-width: 10rem;
}

@keyframes lighten {
    from {
        filter: brightness(100%);
        box-shadow: none;
    }
    to {
        filter: brightness(130%);
        box-shadow: 5px 5px 5px black;
    }
}

.submit-btn:hover {
    filter: brightness(130%);
    box-shadow: 5px 5px 5px black;
    animation: 150ms lighten ease-out;
}

.submit-btn:active {
    filter: brightness(75%);
    box-shadow: 1px 1px 5px black;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}