body
{
    display: grid;
    grid-template-rows: 90px [content-start] auto [content-end] 30px;
    grid-template-columns: [content-full-start] 5% [content-start] 90% [content-end] 5% [content-full-end];
    background-image: var(--page-background, #FFFFFF);
    background-repeat: no-repeat;
    background-size: 150%;
    background-position: center top;
    background-color: #5C8FFF;
    font-family: Arial, Helvetica, sans-serif;
}

@media (min-width: 1000px) 
{
    body
    {
        display: grid;
        grid-template-rows: 120px [content-start] auto [content-end] 30px;
        grid-template-columns: [content-full-start] 20% [content-start] 60% [content-end] 20% [content-full-end];
        background-image: var(--page-background, #FFFFFF);
        background-repeat: no-repeat;
        background-size: 150%;
        background-position: center top;
        background-color: #5C8FFF;
        font-family: Arial, Helvetica, sans-serif;
    }
}

button, input.submit
{
    background-color: #FFFFFF;
    color: #666666;
    transition: all 0.1s ease;
    border: none;
}

button:hover, input.submit:hover
{
    background-color: #666666;
    color: #FFFFFF;
    transition: all 0.1s ease;
}

nav
{
    display: grid;
    grid-template-columns: 20% [nav-start] 60% [nav-end] 20%;
    grid-template-rows: 60px 250px;
    justify-content: center;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 60px;
    background-color: #FFFFFF;
    z-index: 1000;
}

nav img.nav-logo
{
    grid-row: 1;
    grid-column: 1;
    position: fixed;
    left: 7em;
    top: 0px;
    width: 8em;
    height: auto;
}

nav img.hamburger
{
    grid-row: 1;
    grid-column: 1;
    position: relative;
    left: 8px;
    top: 8px;
    width: 3em;
    height: 3em;
}

nav div.links
{
    grid-row: 2;
    grid-column: 1 / -1;
    display: none;
    height: 100%;
    background-color: #FFFFFF;
}

nav div.links > a
{
    padding: 0.7em 0.8em;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    transition: all 0.25s;
}

nav div.links > a:hover
{
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    background-color: #000000;
    color: #FFFFFF;
    transition: all 0.25s;
}

nav div.links > a.active
{
    text-decoration-style: solid;
    text-decoration-line: underline;
    text-decoration-thickness: 4px;
    background-color: #888888;
    color: #000000;
    transition: all 0.25s;
}

nav div.links > a.active:hover
{
    background-color: #000000;
    color: #FFFFFF;
    transition: all 0.25s;
}

.show
{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

@media (min-width: 1000px) 
{
    nav
    {
        display: grid;
        grid-template-columns: 20% [nav-start] 60% [nav-end] 20%;
        grid-template-rows: auto;
        justify-content: center;
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 80px;
        overflow: hidden;
        background-color: #FFFFFF;
        z-index: 1000;
    }

    nav img.nav-logo
    {
        grid-row: 1;
        position: relative;
        left: 5em;
        width: 10em;
        height: auto;
    }

    nav img.hamburger
    {
        grid-row: 1;
        grid-column: 1;
        display: none;
        position: fixed;
        left: 0px;
        top: 0px;
        width: 1em;
        height: 1em;
    }

    nav div.links
    {
        grid-row: 1;
        grid-column: nav-start / nav-end;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        height: 100%;
    }

    nav div.links > a
    {
        padding: 0.7em 0.8em;
        font-size: 32px;
        font-weight: bold;
        text-decoration: none;
        color: #000000;
        transition: all 0.25s;
    }

    nav div.links > a:hover
    {
        font-size: 32px;
        font-weight: bold;
        text-decoration: none;
        background-color: #000000;
        color: #FFFFFF;
        transition: all 0.25s;
    }

    nav div.links > a.active
    {
        text-decoration-style: solid;
        text-decoration-line: underline;
        text-decoration-thickness: 4px;
        background-color: #888888;
        color: #000000;
        transition: all 0.25s;
    }

    nav div.links > a.active:hover
    {
        background-color: #000000;
        color: #FFFFFF;
        transition: all 0.25s;
    }    
}

.content
{
    grid-row: content-start / content-end;
    grid-column: content-start / content-end;
}

.hero
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    left: 0px;
    top: 0px;
}

.hero-image
{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/Image/vector-assault-2-ss-01.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 1000px) 
{
    .hero-image
    {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/Image/vector-assault-2-ss-01.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }    
}

.hero-elements
{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0em;
    bottom: 0em;
    width: 100%;
    height: 100%;
}

.hero-logo
{
    position: relative;
    width: 60%;
    height: auto;
}

.hero-button
{
    position: relative;
    width: 70%;
    height: 15%;
    font-size: clamp(1rem, 5vw, 2.5rem);
    font-weight: bolder;
    margin: 3%
}

@media (min-width: 1000px) 
{
    .hero
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: 50em;
        margin: 1em auto;
    }

    .hero-logo
    {
        position: absolute;
        left: 11em;
        top: 4em;
        width: 30em;
        height: auto;
    }

    .hero-button
    {
        position: absolute;
        left: 7em;
        top: 9em;
        width: 400px;
        height: 50px;
        font-size: 30px;
        font-weight: bolder;
    }    
}

div, section, footer
{
    text-align: center;
}

.discord
{
    text-align: center;
    width: 100%;
}

@media (min-width: 1000px) 
{
    .discord
    {
        text-align: center;
        width: 75%;
    }    
}

.game-grid
{
    display: grid;
    grid-template-columns: 47% 47%;
}

.game-grid-header
{
    grid-column: 1 / -1;
    font-size: 26px;
}

.game-grid-header div
{
    width: 100%;
}

.slideshow
{
    position: relative;
    width: 100%;
    max-width: 20em;
    height: 8em;
    margin: 0px auto;
    overflow: hidden;
}

.slide
{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: translateX(100%);
    
}

.slide.active
{
    transform: translateX(0%);
    transition: transform 1s ease-in-out;
}

/* Slide that is leaving */
.slide.previous
{
    transform: translateX(-100%);
    transition: transform 1s ease-in-out;
}

.slide > a
{
    position: relative;
}

.slide > a >.game-banner
{
    width: 97%;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
}

.slide > a > .game-logo
{
    position: absolute;
    left: 2%;
    top: 20%;
    width: 6em;
    height: 2em;
    padding: 0.5em;
    transform: translate(0%, -100%);
    background-color: rgba(0, 0, 0, 0.7);
}

.game-grid-item
{
    display: flex;
    flex-direction: column;
    align-content: space-between;
    margin: 8px;
}

.game-grid-item a
{
    margin-top: auto;
}

.logo
{
    width: 9em;
    height: auto;
    margin: 10px auto;
}

.display
{
    width: 95%;
    height: auto;
}

@media (min-width: 1000px) 
{
    .game-grid
    {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .game-grid-header
    {
        grid-column: 1 / -1;
        font-size: 30px;
    }

    .game-grid-header div
    {
        width: 100%;
    }

    .slideshow
    {
        position: relative;
        width: 100%;
        max-width: 800px;
        height: 450px;
        overflow: hidden;
    }

    .slide
    {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;

        transform: translateX(100%);
        
    }

    .slide.active
    {
        transform: translateX(0%);
        transition: transform 1s ease-in-out;
    }

    .slide.previous
    {
        transform: translateX(-100%);
        transition: transform 1s ease-in-out;
    }

    .slide > a
    {
        position: relative;
    }

    .slide > a >.game-banner
    {
        width: 99%;
        border-style: solid;
        border-color: white;
        border-radius: 15px;
    }

    .slide > a > .game-logo
    {
        position: absolute;
        left: 2%;
        top: 20%;
        width: 9em;
        height: 3em;
        padding: 0.5em;
        transform: translate(0%, -100%);
        background-color: rgba(0, 0, 0, 0.7);
    }

    .game-grid-item
    {
        display: flex;
        flex-direction: column;
        align-content: space-between;
        margin: 8px;
    }

    .game-grid-item a
    {
        margin-top: auto;
    }

    .logo
    {
        width: 12em;
        height: auto;
        margin: 10px auto;
    }

    .display
    {
        width: 95%;
        height: auto;
    }    
}

.game-page-header
{
    text-align: center;
}

.game-page-header img
{
    width: 15em;
    height: auto;
}

@media (min-width: 1000px) 
{
    .game-page-header img
    {
        width: 500px;
        height: auto;
    }    
}

.game-page-content
{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90vw;
    margin-left: calc(50% - 45vw) !important;
    margin-top: 12px;
}

@media (min-width: 1000px) 
{
    .game-page-content
    {
        position: relative;
        display: grid;
        grid-template-columns: 50% 50%;
        width: 90vw;
        margin-left: calc(50% - 45vw) !important;
        margin-top: 32px;
    }    
}

.game-page-content p
{
    font-size: 20px;
    font-weight: bold;
}

.info, .media
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 12px;
}

.media img
{
    width: 100%;
    height: auto;
}

.nintendo
{
    width: 90%;
    height: auto;
}

.steam-widget
{
    width: 100%;
    height: 190px;
    border: none;
}

.press-button
{
    width: 10em;
    height: 2em;
    margin: 0.5em;
    font-size: 30px;
    font-weight: bold;
}

.youtube
{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 8px;
    border: none;
}

.screenshot
{
    position: relative;
    margin: 4px;
}

.screenshot .screenshot-overlay
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 15px;
    transition: all 0.5s;
}

.screenshot:hover .screenshot-overlay
{
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.5s;
}

.bordered
{
    border-style: solid;
    border-color: #FFFFFF;
    border-radius: 15px;
}

p.text
{
    width: 80%;
    margin: 20px auto;
    font-size: 20px;
    font-weight: bold;
}

form
{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}

form > input
{
    height: 30px;
    margin: 8px;
    font-size: 20px;
    font-weight: bold;
}

form > textarea
{
    height: 150px;
    margin: 8px;
    font-size: 20px;
    font-weight: bold;
    resize: none;
}

form input.website
{
    position: relative;
    left: -9001;
    display: none;
}

form > input.submit
{
    height: 50px;
    font-size: 30px !important;
}

.big-header
{
    font-size: 56px;
}

.small-header
{
    font-size: 30px;
}