html {
    background-color: black;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: black;
    color: white;
}

#game-code-val{
    position: absolute;
    top: 1vh;
    left: 1vw;
    color: rgb(170, 170, 170);
    opacity: 0.7;
    z-index: 3;
}

.red {
    color: rgb(237, 38, 26);
}

.blue {
    color: rgb(10, 159, 255);
}

.hidden {
    display: none;
}

#start-panel {
    text-align: center;
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15%;
    padding: 5%;
}

.options {
    text-align: justify;
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
}

.grid-size {
    margin-right: 1vw;
}

.game-mode {
    margin-left: 1vw;
}

#woah-panel {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#game-board {
    display: grid;
    grid-template-columns: repeat(var(--grid-size), 1fr);
    grid-template-rows: repeat(var(--grid-size), 1fr);
    column-gap: min(1vh, 1vw);
    row-gap: min(1vh, 1vw);
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    background-color: rgb(0, 0, 0);
    opacity: 0;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/NeitherSquare.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.animateCell {
    animation: cellExpand 1s ease-in-out;
}

@keyframes cellExpand {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.cell img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#scoreboard {
    color: white;
    background-color: rgb(0, 0, 0, 0.3);
    z-index: 2;
    text-align: center;
    border-bottom-left-radius: 15%;
    border-bottom-right-radius: 15%;
}

footer{
    border-top: min(1vh, 1vw) solid rgb(159, 21, 255);
    position: fixed;
    bottom: 0;
    width: 100vw;
    text-align: center;
    background-color: black;
    z-index: 2;
}

@keyframes moveAnimation {
    0% {
        transform: translateX(-60vw);
    }
    100% {
        transform: translateX(100vw);
    }
}

.animatedImage {
    position: fixed;
    animation: moveAnimation linear infinite;
}