@import url('https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&display=swap');
* {
    box-sizing: border-box;
}

p, h1, h2, h3, a, span, small {
    font-family: Cascadia Code;
}

html, body {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    background-image: url(assets/backgrounds/backgroundgames.gif);
    background-color: rgba(0, 0, 0, .3);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.mainheader, .mainheader-short {
    background-image: linear-gradient(rgba(0, 31, 18, 0.9), rgba(0, 0, 0, 0));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header {
    display: flex;
    max-width: fit-content;
    margin-inline: auto;
}

.header-short {
    display: flex;
    width: 100%;
    max-width: 100vw;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
}

.logo, .logo-short {
    width: 22rem;
    height: auto;
    padding: 1rem;
    display: block;
    margin: auto;
    opacity: .8;

    transition-duration: 0.1s;
}

.logo-short {
    width: clamp(10rem, 40vw, 40rem);
    padding: .5rem;
    margin-top: .5rem;
}

.logo:hover, .logo-short:hover {
    opacity: 1;
    scale: 105%;
    filter: drop-shadow(0 10px 20px rgb(0, 58, 19));
}
.logo:active, .logo-short:active {
    scale: 100%;
    opacity: .9;
    filter: drop-shadow(0 0px 20px rgb(0, 58, 19));
}

.leftnav, .rightnav {
    font-size: 1.5em;
    font-weight: bolder;
}

.leftnav ul, .rightnav ul {
    margin-top: 2.5em;
    padding: 0em;
}

.leftnav li, .rightnav li {
    display: inline;
    color: rgba(228, 228, 228, .8);
    padding: 1em;

    transition-duration: 0.05s;
}

.leftnav li:hover, .rightnav li:hover {
    color: white;
    text-shadow: 0 10px 20px rgb(8, 0, 36);
}

.leftnav li:active, .rightnav li:active {
    color: rgba(255, 255, 255, .5);
    text-shadow: 0 0 15px rgb(8, 0, 36);
}

.leftnav a, .rightnav a {
    text-decoration: none;
}

.leftnav-short ul, .rightnav-short ul {
    display: flex;
    margin-top: clamp(2rem, 5vw, 5rem);
    padding: 0;
    gap: clamp(0.5rem, 2vw, 2rem);
    list-style-type: none;
}

.leftnav-short li, .rightnav-short li {
    display: inline;
    padding: 0;
    margin-right: clamp(.25rem, .5vw, 1.5rem);
    margin-left: clamp(.25rem, .5vw, 1.5rem)
}

.headericon {
    width: clamp(1.75rem, 5vw, 5rem);
    height: auto;
    filter: brightness(0) saturate(100%) invert(82%) sepia(56%) saturate(70%) hue-rotate(84deg) brightness(97%) contrast(89%);
    opacity: 0.8;

    transition-duration: 0.05s;
}
.headericon:hover {
    filter: brightness(100%) saturate(0%) sepia(0%);
    filter: drop-shadow(0 10px 20px rgb(8, 0, 36));
    opacity: 1;
    scale: 105%;
}
.headericon:active {
    scale: 95%;
    opacity: 0.5;
    filter: drop-shadow(0 0 15px rgb(8, 0, 36));
}

.emptyspace {
    height: 164px;
    width: auto;
}

@media screen and (min-width: 903px)
{
    .mainheader-short {
        display: none;
    }
}
@media screen and (max-width: 902px) {
    .mainheader {
        display: none;
    }
}

/* start of section */

h1 {
    color: rgb(0, 211, 88);
    text-align: left;
    font-weight: bolder;
    font-size: clamp(2rem, 4vw, 3rem);
    padding-left: 1rem;
    filter: drop-shadow(0 0 20px rgb(0, 255, 106));
    z-index: 2;
}

.bio {
    color: rgb(200, 226, 207);
    text-align: left;
    padding-left: 2rem;
    margin-left: 5%;
    margin-right: 20%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}
@media screen and (max-width: 600px) {
    .bio {
        padding: 0;
        margin: 1rem;
    }
}

.portintro {
    color: rgb(200, 226, 207);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
}
@media screen and (max-width: 600px) {
    .portintro {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

.itchtextbox {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itchlink {
    font-family: "Cascadia Code", monospace;
    padding: 0;
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    text-align: center;
    background: linear-gradient(to right, rgb(0, 170, 71), rgb(25, 243, 123), rgb(0, 170, 71));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgb(0, 196, 81);
    animation: gradientAnimation 1s linear infinite;
    background-size: 200%;
}
@keyframes gradientAnimation {
    0% {
        background-position: 200% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

small {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgb(118, 158, 129);
}

a {
    text-decoration: none;
}

.yearandgames {
    display: flex;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.year {
    display: inline-block;
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgb(0, 211, 88);
    filter: drop-shadow(0 0 20px rgb(0, 255, 106));
    padding-left: 30%;
    margin-top: 0;
    vertical-align: text-top;
}
@media screen and (max-width: 900px) {
    .year {
        padding-left: 15%;
    }
}

.singlegame {
    display: block;
    width: clamp(20rem, 40vw, 40rem);
}

.singlegame img {
    width: clamp(20rem, 40vw, 40rem);
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    box-shadow: 0 0 50px 0px black;
}

.singlegame h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgb(200, 226, 207);
    filter: drop-shadow(0 0 20px rgb(189, 238, 210));
    text-decoration: underline;
    text-decoration-thickness: .2rem;
}

.singlegame p {
    color: rgb(200, 226, 207);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.gamegroup {
    translate: 0rem -3rem;
    padding-left: 4rem;
}

.singlegame a, .bio a {
    color: rgb(200, 226, 207);
    text-decoration: underline;
    text-decoration-thickness: .2rem;
}
@media screen and (max-width: 600px) {
    .singlegame a, .bio a {
        text-decoration-thickness: .1rem;
    }
}

.emptyspace {
    height: 9rem;
    width: auto;
}

@media screen and (max-width: 600px) {
    .singlegame {
        width: 100%;
    }
    .singlegame h3 {
        margin-bottom: 1rem;
        padding-bottom: 0;
    }
    .yearandgames {
        display: block;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .gamegroup {
        padding-left: 0;
    }
    .singlegame img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-right: 1rem;
    }
    .year {
        display: block;
        width: 100%;
        margin: auto;
        padding-left: 0;
        text-align: center;
        font-size: 3rem;
        padding-bottom: 2rem;
    }
}

/* end of section */

.gamescreen {
    width: 18%;
    aspect-ratio: 1 / 1;
    translate: 228% 57%;
    z-index: 1;
    background-color: rgb(0, 5, 2);
    border-radius: 12px;

    position: absolute;
}

.player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 30%;
    height: 30%;
    background-color: rgb(0, 214, 89);
    box-shadow: 0 0 40px rgb(0, 196, 81);
    border-radius: 5px;

    transition: .1s linear;
}

.screenerror {
    display: none;
    image-rendering: pixelated;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 40px rgb(0, 196, 81));
}

@media screen and (max-width: 600px) {
    .player {
        display: none;
    }
    .screenerror {
        display: block;

    }
}

.playbuttonanimation {
    animation: playButton 1s linear;
}
@keyframes playButton {
    0% {
        translate: 5% 5%;
        scale: 113%;
    }
    100% {
        translate: -38% 70%;
        scale: 25%;
    }
}

.introtext {
    position: absolute;
    left: 0;
    right: 0;
    top: 2.5vw;
    padding: 5%;
    text-align: center;
    font-size: 1.5vw;
    color: rgba(0, 214, 89, .8);
    text-shadow: 0 0 40px rgb(0, 196, 81);
}

.gamescore {
    position: absolute;
    color: rgba(0, 214, 89, .8);
    text-shadow: 0 0 40px rgb(0, 196, 81);
    margin: 0;
    padding: 0;
    font-size: 2.5vw;
    z-index: 11;
    font-style: italic;
}

.endtextparent {
    position: absolute;
    padding: 15%;
    text-align: center;
    font-size: 1.5vw;
    color: rgba(0, 214, 89, 1);
    text-shadow: 0 0 40px rgb(0, 196, 81);
}

.youkilled, .enemies, .calltoaction {
    color: rgba(0, 214, 89, .8);
}

.number {
    color: rgb(0, 214, 89);
}