/** @format */

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-family: -apple-system, sans-serif;
    letter-spacing: -0.5px;
    box-sizing: border-box;

    user-select: none;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8fafc;
    max-width: 1200px;
    margin: auto;
}

#afficheurLettre {
    height: 50%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20vw;
    font-weight: bold;
    overflow: visible;
    text-wrap: nowrap;
}

#clavier {
    height: 30%;
    width: 100%;

    display: flex;
    flex-wrap: wrap; /* permet de passer sur plusieurs lignes */
    justify-content: center; /* centre sur l'axe horizontal */
    align-items: center; /* aligne sur l'axe vertical */
    gap: 0.75%;
}

#clavier > * {
    width: 14%;
    margin-top: 0.75vw;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 10%;
    font-size: 4vw;
    cursor: pointer;
}

#clavier > *:active {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
}

#boutonValider {
    height: 20%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

#boutonValider > div {
    height: 70%;
    width: 90%;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(207, 100%, 62%);
    border-radius: 20px;

    color: #ffffff;
    font-size: 3vw;
    font-weight: bold;
}
