
h1{
  
    text-align: center;
    width: 100%;
    color: #060204;
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
    word-spacing: 14px;
    text-shadow: 2px 2px 2px #ffffff;
    margin-top: 10px;
    font-size: 80px;
   
  }
  #thought{
    width: 450px;
    height: 450px;
    background-image: url(public_html/web3/Vector5.png);
    background-size: contain;
    background-repeat: no-repeat;
    justify-content: center;
    justify-self: center;
    align-content: center;
    
}


  #grille {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    margin: auto; 
    place-items: center; 
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    animation: dropIn 0.4s ease forwards;
  }
  
  @keyframes dropIn {
    0% { transform: translateY(-50px) scale(0.5); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
  }


#grille .case {
  width: 120px;
  height: 120px;
  border: 3px solid black;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: rgb(163, 212, 243);
  background-repeat: no-repeat ;
  background-size: contain;
  background-position: center;


}

#grille img {
  max-width: 70%;   
  max-height: 70%;
  object-fit: contain;
}

#grille .case:hover {
  transform: scale(1.05);
  box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.3);
}



#message img {
  animation: pulse 1s infinite alternate;
  max-width: 50px;
  max-height: 50px;
  transform: translate(-50%, -50%);
  position: fixed;
  top: 5%;
  left: 50%;
  right: 50%;
}

@keyframes pulse {
  from { transform: scale(1); box-shadow: 0 0 10px gold; }
  to { transform: scale(1.1); box-shadow: 0 0 20px gold; }
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    margin: 0;
   background-color: antiquewhite; 
   
}
#replay {
  display: block;
  margin: 20px auto;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: bold;
  color: antiquewhite;
  background: linear-gradient(135deg, rgb(13, 1, 59), #32000d);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

#replay:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #26000a, rgb(0, 1, 37));
}

#replay:active {
  transform: scale(0.95);
}