html, body, p {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(205, 205, 205);
}

* {
    font-family: Arial, sans-serif;
    font-size: 3vh;
    box-sizing: border-box;
}

#boitier {
    width: 100vw;
    max-width: 1000px;

    min-height: 100vh;
    height: 100%;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: rgb(250, 250, 250);
}

#screen {
    position: relative;
    width: 100%;
    height: 20vh;
    background-color: rgb(220, 220, 220);
    padding: 2vh;
    margin-bottom: 3vh;
}

#input {
    text-align: center;
    margin-top: 2vh;
    margin-bottom: 2vh;
    font-size: 7vh;
}

#navigation {
    width: 100%;
    text-align: center;
    margin-bottom: 3vh;
}

#set_error_background {
    margin: 2vh 0;
    width: fit-content;
    padding: 0.5vh 2vh;
    border-radius: 50px;
    background-color: rgb(210, 210, 210);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-content: center;
    align-items: center;
    gap: 1vh;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.1s ease-out, background-color 0.1s ease-out, color 0.1s ease-out;
    cursor: pointer;
}

#set_error_background > * {
    pointer-events: none;
    font-size: 3.5vh;
}

#set_error_background:active {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0);
    background-color: rgb(170, 170, 170);
}

button {
    touch-action: manipulation;
    color: rgb(5, 5, 5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgb(210, 210, 210);
    border-radius: 100px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.1s ease-out, background-color 0.1s ease-out, color 0.1s ease-out;
}

button:active {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0);
    background-color: rgb(170, 170, 170);
}

button:disabled {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0);
    opacity: 0.8;
}

#next, #previous {
    box-sizing: content-box;
    min-width: 3.5vh;
    width: fit-content;
    padding: 2vh;
    height: 3.5vh;
    font-size: 3vh;
    margin: 0 2vh;
}

#error_count {
    font-size: 4vh;
}

#buttons {
    display: flex;
    flex-direction: column;
    gap: 1.75vh;
    max-width: 35vh;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 3vh;
}

#buttons > * {
    padding: 1.5vh;
    font-size: 4vh;
}

#cancel {
    background-color: rgb(199, 59, 59);
    color: white;
}

#cancel:active {
    background-color: rgb(169, 29, 29);
}

#confirm {
    background-color: rgb(59, 199, 59);
    color: white;
}

#confirm:active {
    background-color: rgb(29, 169, 29);
}