body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E7E3DF;
    color: #48464C;
}

.container {
    text-align: center;
    padding: 20px;
}

input[type="text"], input[type="number"], input[type="radio"], label {
    margin: 5px;
    font-size: 16px;
}

button {
    margin: 10px;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    background-color: #BFBAB5;
    color: #48464C;
}

#nickname {
    width: 100px;
}

#age {
    width: 50px;
}

#occupation, #origin {
    width: 160px;
    height: 26px;
    margin: 10px;
    font-size: 16px;
}

#header {
    font-family: serif;
    font-size: 1em;
    line-height: -16px;
    background-color: #48464C;
    color: #E7E3DF;
    height: 3vh;
    width: 100ve;
    padding: 10px;
}

#question {
    font-family: serif;
    border: 1px solid #48464C;
    text-align: left;
    margin: 20px;
    padding: 5px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.navigation button {
    padding: 10px 12px;
    font-size: 14px;
    margin: 0 2px;
}

.answer-buttons {
    text-align: center;
    padding: 20px;
    width: calc(100% - 54px);
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    position: fixed;
    bottom: 20px;
}

#start-Exam {
    padding: 20px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    right: calc(50% - 100px);
    position: fixed;
    bottom: 20px;
}

#results-text {
    width: calc(100% - 20px);
    margin: 0 auto;
    background-color: #eee;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.6em;
    padding: 10px;
    text-align: justify;
    border-top: solid 1px #48464C;
    border-right: solid 1px #48464C;
    border-bottom: solid 1px #fcfcfc;
    border-left: solid 1px #fcfcfc;
}

@media (max-width: 600px) {
    body {
        font-size: 1.6em;
    }
    .container {
        padding: 5px;
    }

    button {
        width: 45%;
        margin: 5px;
    }

    .navigation {
        flex-direction: row;
        justify-content: space-between;
    }

    .navigation button {
        width: 10%;
        padding: 10px 10px;
        margin: 0 1px;
    }

    .answer-buttons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .answer-buttons button {
        width: 48%;
    }

    #Exam-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 100%;
    }

    .mailto-button {
        display: block;
        margin: auto;
        position: fixed;
        bottom: 20px;
        width: 40vw;
        left: calc(50vw - 20vw);
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background-color: #BFBAB5;
        color: #48464C;
    }
}


.reset-link {
    float: right;
    font-size: 0.6em;
    line-height: -1.2em;
    text-decoration: underline; /* ????? */
    cursor: pointer; /* ?????????????? */
}
