html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.menu{
    position: sticky;
    top: 0;
    z-index: 10;
    height: 8dvh;
    width: 100dvw;
    background-color: #f2f7ff;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu img{
    height: 100%;
    width: auto;
    margin-left: 2%;
}

.menu .centered{
    position: absolute;
    margin-left: 10%;
    height: 100%;
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ff4b36;
}

.menu a{
    position: relative;
    color: #08104d;
    text-decoration: none;
    margin-right: 2dvw;
}

.menu a span{
    font-size: .9em;
    line-height: 23px;
    letter-spacing: 0;
}

.menu .centered .arrow{
    position: absolute;
    left: -1.5dvw;
    top: calc(50% - 5px);
    width: 15px;
    height: 10px;
    fill: currentColor;
}

@keyframes arrowAnim {
    0%{
        transform: translateX(-5px);
    }
    100%{
        transform: translateX(0px);
    }
}

.menu #selected{
    position: relative;
    color: #ff4b36;
    text-decoration: none;
}

.menu #unselected .arrow{
    display: none;
}

.menu #unselected:hover{
    position: relative;
    color: #ff4b36;
    
}

.menu #unselected:hover .arrow{
    animation: arrowAnim .2s forwards;
    display: block;
}

.container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.container a{
    text-decoration: none;
    color: #08104d;
}

.game{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5dvh;
    margin-bottom: 5dvh;
    margin-left: 1dvw;
    margin-right: 1dvw;
    width: 47dvw;
    height: 47dvh;
}

.game .anchor{
    display: block;
    position: relative;
    top: -10dvh;
    visibility: hidden;
}

.game img{
    pointer-events : none;
    width: 100%;
    height: 100%;
    border-style: solid;
    border-color: black;
    border-radius: 2dvw;
}

.game h3{
    margin: .4dvw;
    width: 42dvw;
    text-align: center;
    text-decoration: none;
}

.material-symbols-outlined {
    display: none;
    visibility: hidden;
}

/* make responsive with drop down + resize img view port by full width */
@media (max-width: 480px) {
    .menu .centered{
        display: inline-block !important;
        position: absolute;
        width: 25%;
        right: 0;
        bottom: -100%;
    }
    .menu .nav{ 
        display: none;
        background-color: #f2f7ff;
        margin-right: 0;
    }
    .menu a svg{
        display: none;
    }
    .material-symbols-outlined {
        visibility: visible;
        font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
    }
    .dropdown{
        position: absolute;
        z-index: 5;
        right: 5dvw;
        cursor: pointer;
        font-size: 10dvw !important;
    }
    .container{
        grid-template-columns: repeat(1,1fr);
    }
    .game{
        justify-self: center;
        margin-top: 2dvh;
        margin-bottom: 2dvh;
        width: 90dvw;
        height: 25dvh;
    }
}