*{
    margin: 0;
    padding: 0;

    font-family: sans-serif;
    font-style: normal;
    font-weight: bolder;

    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    height: 100vh;
    width: 100vw;

    overflow: hidden;

    background-color: #ccd4ff;
}

body.inGame{
    background-color: white;
}
h2.inGame{
    font-size: 200%;
}

nav{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;

    width: 100px;
    height: 90vh;

    transform: translateY(-3px);

    z-index: 1;
}

h1.title{
    position: absolute;

    font-size: 400%;
    color: #97a7ff;

    transform: rotate( -90deg);

    bottom: 200px;
    right: -160px;

    transition-duration: 0.1s;
}

@media screen and (max-height: 750px){
    h1.title{
        font-size: 200%;
        bottom: 90px;
        right: -80px;
    }
}

h1.title:hover{
    animation: rainbowBlink 2s linear infinite, blink 0.2s linear infinite;
    cursor: grab;
}

main{
    width: 80vw;
    height: 90vh;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    overflow: hidden;

    border: 3px solid black;
    background-color: #97a7ff;

    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
}

#settingsContainer{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;

    height: 50px;
    width: 70vw;

    margin: 20px 20px 0 20px;
    padding: 0 50px 0 0;

}

#settings{
    height: 100%;
    width: auto;

    cursor: pointer;

    transition-duration: 0.8s;
}

#settings:hover{
    transform: rotate(90deg);
}

#gameContainer{
    height: 80vh;
    width: 70vw;

    margin: 20px;

    border: 3px solid black;
    border-radius: 25px;

    overflow: hidden;

    background-color: white;
}

.listedGame{
    background-color: #ccd4ff;
    color: black;

    width: 100%;
    height: 50px;
    line-height: 50px;

    border: 3px solid black;
    border-bottom-left-radius: 25px;
    border-top-left-radius: 25px;

    text-align: center;

    position: absolute;
    left: -3px;

    cursor: pointer;

    transition-duration: 0.1s;
}

#game{
    height: 100%;
    width: 100%;

    border: none;
}

#footer{
    position: absolute;
    bottom: 2px;
    right: 5px;

    color: #97a7ff;
    text-decoration: none;

    font-size: 2vh;
}

@keyframes rainbowBlink {
    0% { color: red; }
    16.67% { color: orange; }
    33.33% { color: yellow; }
    50% { color: green; }
    66.67% { color: blue; }
    83.33% { color: indigo; }
    100% { color: violet; }
}

@keyframes blink {
    50% { opacity: 0.5; }
}

