body {
    margin: 0;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}

body > *, header > * {
    box-sizing: border-box;
}

header {
    position: relative;
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

h1 {
    font-size: 8vh;
    margin: 0;
    padding: 0;
}

#score {
    position: absolute;
    right: 2%;
    font-size: 4vh;
    background: #ACDB1B;
    padding: 0 2vw;
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 1rem;
}

#jouer {
    display: flex;
    position: absolute;
    left: 2%;
    font-size: 4vh;
    background: #ACDB1B;
    padding: 0 2vw;
    height: 8vh;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 1rem;
}

#boutonClassement {
    display: flex;
    position: absolute;
    right: calc(2% + 15vh);
    font-size: 4vh;
    background: #ACDB1B;
    padding: 0 2vw;
    height: 8vh;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    color: black;
    border-radius: 1rem;
}

#labelInputNbWabbits {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: calc(5% + 15vh);
    font-size: 4vh;
    background: #ACDB1B;
    padding: 0 2vw;
    height: 8vh;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    color: black;
    border-radius: 1rem;
}

#inputNbWabbits {
    text-align: center;
    font-size: 1rem;
    background: none;
    border: 0;
}

#plateau {
    height: 88vh;
    position: relative;
    background-image: url(../img/fieldrice.svg);
    background-size: 110%;
    background-position: 10%;
    padding: 2%;
    z-index: 1;
    overflow: hidden;
}

.wabbit {
    height: 100%;
    width: 10%;
    border-radius: 100px 100px 0 0;
    position: absolute;
    top: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 10px;
    cursor: url(../img/maillet.png), pointer;
    transition-duration: 5s;
    transition-timing-function: linear;
    display: flex;
    flex-direction: column;
}

.wabbit_head {
    width: 100%;
    height: auto;
}

.wabbit_body {
    background-color: #744C35;
    height: 100%;
}

.up {
    top: 0;
}

/**** FORM ****/

#conteneur_form_score {
    position: absolute;
    bottom: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
}

#conteneur_form_score form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#conteneur_form_score label, #conteneur_form_score input {
    text-align: center;
    width: 200px;
    max-width: 100vw;
    margin: 5px 0;
}

#conteneur_form_score button {
    padding: 15px;
    border-radius: 5px;
    width: 200px;
    max-width: 100vw;
    margin: auto;
}

.hide {
    display: none;
}

.flex {
    display: flex;
}

/**** Afficher score ****/

#affichage_score {
    position: absolute;
    top: 10%;
    margin: 2rem;
    background: red;
    z-index: 1000;
    border-radius: 1.5rem;
    padding: 0 3rem;
}

#croix {
    cursor: pointer;
    position: absolute;
    right: 5%;
    top: 5%;
}

/**** CLASSEMENT ****/

#classement {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.joueur td {
    border: 1px solid black;
    padding: 20px;
}