body {
    margin: 0px;
}

#mainBox {
    background-color: rgb(30, 30, 30);
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    font-family: sans-serif;
}
#mainBoxStart {
    background-color: rgb(30, 30, 30);
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 95vh;
    font-family: sans-serif;
}

footer {
    background-color: rgb(35, 35, 35);
    height: 5vh;
    text-align: center;
    color: dimgray;
}

#grid {
    --cols: 5;
    --rows: 4;

    background-color: rgb(50, 50, 50);
    display: flex;
    flex-wrap: wrap;

    aspect-ratio: calc(var(--cols) / var(--rows));

    width: min(95vw, calc(95vh * (var(--cols) / var(--rows))));
}

#grid div {
    width: calc(100% / var(--cols));
    aspect-ratio: 1 / 1;
    border: 2px solid black;
    box-sizing: border-box;
}

#grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

#counter{
    position: absolute;
    right: 10px;
    font-size: 4vw;
    color: skyblue;
    top: 10px;
}

#hela{
    position: relative;
    background-color: rgb(50, 50, 50);
    width: 50%;
    height: 50%;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
}
#hela header{
    font-size: 5vw;
    color: dimgray;
    text-align: center;
}
#difficultyBox{
    align-items: center;
    display: flex;
    margin-top: 10%;
}

#difficultyBox a{
    text-decoration: none;
    color: black;
    height: 100%;
    width: 25%;
    margin: auto;
    text-align: center;
    font-size: 2vw;
}

#easy{
    background-color: green;
}
#hard{
    background-color: darkred;
}

#aboutMe{
    text-decoration: none;
    color: black;
    position: absolute;
    background-color: white;
    font-size: 1.5vw;
    bottom: 5px;
    width: 15%;
    height: 7%;
    right: 5px;
    text-align: center;
}

#goBack{
    background-color: white;
}

#OmMigTextRuta{
    color: dimgray;
    font-size: 1.7vw;
    height: 20%;
    padding: 2%;
}

@media (max-width: 1100px){
    #difficultyBox {
        gap: 10vw;
    }
    #difficultyBox{
        margin: auto;
    }
    #difficultyBox a{
        height: 4.5vw;
        width: 16vw;
        font-size: 4vw;
    }
    #aboutMe{
        font-size: 2.5vw;
        width: 25%;
    }
    #OmMigTextRuta{
        font-size: 2.5vw;
    }
}
@media (max-width: 700px){
    #difficultyBox {
        flex-direction: column;
        gap: 10vw;
    }
    #difficultyBox a{
        height: 8vw;
        width: 25vw;
        font-size: 6vw;
    }
    #aboutMe{
        font-size: 4vw;
        bottom: 5px;
        width: 50%;
        height: 7%;
        right: 5px;
    }
    #OmMigTextRuta{
        font-size: 3vw;
    }
}