@media (max-width: 767px) {


    #container-alphabet {
        position: absolute;
        display: flex;
        flex-wrap: wrap; 
        width: 300px;
        height: auto;
        top: 550px;
        justify-content: center; 
        align-items: center;
        margin-top: -200px;
        text-align: center;
        
    }
      #alphabet {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 1%;
        height: 5%;
        text-align: center;
      }
    
      #alphabet button {
        width: 30px;
        font-size: 10px;
        text-align: center;
      }
      
      #containerpendu {
        position: absolute; 
        top: 35%;   
        left: 50%;    
        transform: translate(-50%, -50%); 
        width: 300px;
        height: 300px;
        background-color: rgba(214, 228, 223, 0.355);
        border-radius: 30px;
      }

      #createlocation {
        display: grid;
        color: black;
        width: 30%;
        height: 70px;
        text-align: center;
      }

      #affichagemot {
        position: absolute;
        font-size: 12px;
        top: 120px;
        left: 45px;
        text-align: center;
        display: flex; 
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 300px;
    }
    
      #recommencer {
        display: none;
        margin: 50px;
        width: 26%;
        font-size: 12px;

      }

      #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: 40px; 
        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: 40px; 
        text-align: center;
        line-height: 100vh; 
        z-index: 9999; 
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
      }
      
      #gagne.show {
        display: block;
        opacity: 1;
      }
    }
    





