@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');
*{
  font-family: 'Comic Neue', cursive;
}
body {
  font-family: 'Comic Neue', cursive;
  background-color: #e0e5ec;
  color: #333;
  font-weight: 300;
  margin: 0;
  background-image: url("/assets/paper-texture.jpg");
}

#container-alphabet {
  display: flex;
  gap: 20px;
  background-color: #f1f6f9;
  border-radius: 25px;
  margin: 0;
  padding: 30px;
  width: 90vw;
  max-width: 1300px;
  box-shadow: 6px 6px 10px rgba(155, 155, 155, 0.2), -6px -6px 10px rgba(255, 255, 255, 0.7);
  position: fixed; 
  bottom: 0;
  left: 50%; 
  transform: translateX(-50%);
}

#alphabet {
  margin: 0 auto;
  padding: 20px;
  margin-top: 30px;
}


button {
  background-color: #d77868;
  color: #040404;
  border: none;
  cursor: pointer;
  border-radius: 15px;
  font-size: 18px;
  padding: 10px;
  box-shadow: 6px 6px 10px rgba(155, 155, 155, 0.3), -6px -6px 10px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

button:hover {
  background-color: #78c4d4;
  transform: translateY(-2px);
  box-shadow: 6px 6px 15px rgba(155, 155, 155, 0.3), -6px -6px 15px rgba(255, 255, 255, 0.7);
}

button:active {
  transform: translateY(2px);
  box-shadow: inset 6px 6px 10px rgba(155, 155, 155, 0.3), inset -6px -6px 10px rgba(255, 255, 255, 0.7);
}

#createlocation {
  display: grid;
  color: black;
}

#affichagemot {
  background-color: #87584871;
  display: flex;
  color: #000000bc;
  border-radius: 12px;
  font-size: 50px;
  float: right;
  margin-right: 50px;
  margin-top: -90px;
}

#recommencer {
  display: flex;
  margin: 50px;
}

img {
  width: 400px;
  opacity: 70%;
  display: block;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

.ombre{
  opacity: 20%;
}

#containerpendu {
  position: absolute; 
  top: 50%;   
  left: 50%;    
  transform: translate(-50%, -50%); 
  width: 500px;
  height: 500px;
  background-color: rgba(214, 228, 223, 0.355);
  border-radius: 30px;
}

#containerpendu img {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;        
  z-index: 1;  
}

#perdu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.7); 
  color: white; 
  font-size: 5rem; 
  text-align: center;
  line-height: 100vh; 
  z-index: 9999; 
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#perdu.show {
  display: block;
  opacity: 1;
}

#gagne {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.7); 
  color: white; 
  font-size: 5rem; 
  text-align: center;
  line-height: 100vh; 
  z-index: 9999; 
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#gagne.show {
  display: block;
  opacity: 1;
}

