
body {
    background-color: #0088FF;
    font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
    color: aliceblue;
    background-color: #1700abe6;
    border: 3px solid rgb(0, 191, 255);
    margin-left: 60px;
    margin-right: 60px;
}

a {
    text-decoration: none;
    color: rgb(252, 252, 252);
    font-size: 1.5rem;
    margin: 0 1rem;
    grid: center;
}



#grille {
    width: calc(60vmin + 12px);
    height: calc(60vmin + 12px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: solid rgb(149, 253, 255) 3px;
    margin: 0 auto;
}

#grille .case {
    border: solid rgb(161, 255, 252) 2.5px;
    display: grid;
    place-items: center;
    height: 20vmin;
    width: 20vmin;
    margin: 1px;
}

#grille .case:hover {
    background: rgb(255, 255, 255);
}

#lapin-show {
    width: 20%;
    height: auto;
    object-position: 50px 80px;
}

nav {
    margin-top: 1em;
}

#message {
    text-align: center;
    font-size: 1.5rem;
    color: white;
}

button {
    text-align: center;
    font-size: 1.5rem;
    background-color: white;
    border: 1px solid black;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#button-replay {
    font-size: 1.5rem;
    background-color: white;
    border: 1px solid black;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#button-replay:hover {
    background-color: rgb(65, 233, 255);
    color: #e9f3f4;
    border-color: white;
}

.lapin-blanc {
    width: 90%;
    animation: lapin-blanc 2.5s;
   
}

.lapin-vert {
    width: 90%;
    animation: lapin-vert 2.5s;
   
}

@keyframes lapin-blanc {
   0% {
    transform: scale(1);
   }

   25% {
    transform: scaleY(1.3) scaleX(0.8);
   }

   50% {
    transform: scaleY(0.8) scaleX(1.2);
   }

   75% {
    transform: scaleY(1.3) scaleX(0.8);
   }
    
   100% {
     transform: scale(1);
    }
}

@keyframes lapin-vert {
   0% {
    transform: scale(1);
   }

   25% {
    transform: scaleY(1.3) scaleX(0.8);
   }

   50% {
    transform: scaleY(0.8) scaleX(1.2);
   }

   75% {
    transform: scaleY(1.3) scaleX(0.8);
   }
    
   100% {
     transform: scale(1);
    }
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1700abe6;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 2px;
    font-size: 3rem;
    flex-direction: column;
    border: 3.5px solid rgb(109, 178, 242);
    animation: modal 1.7s;
}

@keyframes modal {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
