body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

#status {
    margin-top: 2vh;
    margin-top: 2vh;
    width: 95%;
}

#title {
    width: 100%;
    text-align: center;
    background-color: #333;
    font-size: 4vh;
    font-weight: bold;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

#word {
    display: flex;
    height: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    font-size: calc(100vw / 7);
}

#donereject_div {
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page {
    display: none;
    width: 100%;
    height: calc(100% - 60px); /* Adjust for title height */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page.active {
    display: flex;
}

.button {
    font-size: 24px;
    padding: 20px;
    margin: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5vmin;
}

.level_button {
    font-size: 24px;
    margin-top: 5vh;
    margin-bottom: 5vh;

    cursor: pointer;

    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5vmin;
    flex-grow: 1;
    width: 80%;
    height: 80%;
    margin: 5vmin;
}

#button_reject {
    cursor: pointer;

    margin-top: 5vh;
    margin-bottom: 5vh;
    border-radius: 5vmin;
    border: none;
    background-color: #d22;
    color: #fff;
    padding: 10px;
    margin-left: 10px;
    flex-shrink: 0;
}

#button_reject:hover {
    background-color: #a33;
}

#button_done {
    flex-grow: 1;
}

.button:hover {
    background-color: #0056b3;
}

#div_levels {
    display: flex;
    justify-content: space-around;

    flex-direction: row;
}

@media (max-aspect-ratio: 1/1) {
    #div_levels {
        flex-direction: column;
    }
}
