@font-face {
    font-family: 'Valera';
    src: url('../font/VarelaRound-Regular.ttf');
}
*{
    padding: 0;
    margin: 0;
}
body {
    background-color: #F4F4F4;
    font-family: 'Valera', sans-serif;
}
h2{
    font-size: 18px;
}
span {
    font-weight: bold;
    font-size: 50px;
}
#modal{display: none;}
#game {
    background-color: white;
    max-width: 1200px;
    margin: 10rem auto;
    border-radius: 50px;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.element{
    width: 33.33%;
}
#game .arena {
    padding: 3rem 0;
    display: flex;
    justify-content: space-center;
    align-items: center;
    width: 90%;
}
#game .arena .computer-side{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#game .arena .player-side{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.buttons {
    display: flex;
    gap: 1rem;
}
button {
    padding: 1rem 2rem ;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
button:hover{
    box-shadow: none;
}
#feu {
    background-color: #FA8039;
    border: 1px solid #FA8039;
    
}
#feu:hover{
    background-color: #F4F4F4;
    color: #FA8039;
}
#eau{
    background-color: #71A1FF;
    border: 1px solid #71A1FF;
}
#eau:hover{
    background-color: #F4F4F4;
    color: #71A1FF;
}
#terre {
    background-color: #91CD31;
    border: 1px solid #91CD31;
}
#terre:hover{
    background-color: #F4F4F4;
    color: #91CD31;
}

#modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}
#modal .box {
    background-color: white;
    width: 500px;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    border-radius: 15px;
}
#modal .box button {
    background-color: #91CD31;
    border: 1px solid #91CD31;
}
#modal .box button:hover {
    background-color: #F4F4F4;
    color: #91CD31;
}