@font-face {
    font-family: 'Unown';
    src: url('Unown.ttf') format('truetype');
   
}

@font-face {
     font-family: 'Hangmon';
    src: url('Save Lemon.ttf') format('truetype');
}

/* ACORDARME DE PONERLE SMOL POKEBALLS QUE NO INFRINJAN COPYRIGHT
EN LOS BORDES DE LOS TEXTBOXES*/

body {
    
    font-family: 'Arial', sans-serif;
    background-color: #26271e;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;

    background-image: url('bg.png');
    background-position: center;
    background-repeat: repeat;
    text-align: center;
    /* padding: 20px; */
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* .game-container {
    background-image: url('bg.png');
    background-position: center;
    background-repeat: repeat;
    text-align: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

#word-display {
    font-size: 24px;
    /* letter-spacing: 5px; */
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* max-width:100%; */
}

#word-display .letter {
    border-bottom: 3px solid #352b2b;
    display: inline-block;

    width: 80px;
    /* min-width: 30px; */
    height: 80px;
    /* max-height: 50px; */

    text-align: center;
    font-family: 'Unown', sans-serif; 
    line-height: 70px;

    /* font-size: 60px; for normal letters */
    font-size: 90px; /*for unown letters*/
    /* padding: 20px;  */
    
    /* padding-right: 40px;  */
    /*for unown letters*/
    /* cambia que tan grande es el coso del centro */
    border-style:solid;
    /* border-color: rgba(0, 0, 0, 0.589); */

    background-image: url('emptyslate2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    text-shadow: 0 0 5px rgb(255, 254, 254);
}

#text-bg{
    font-family: 'Hangmon', sans-serif; 
    font-size: 30px;
    background-color: rgba(143, 143, 142, 0.808);
    box-shadow: black;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.589);
    padding: 10px;
    /* width: fit-content; */
    display: inline-block;
}

#text-bg2{
    font-family: 'Times New Roman', Times, sans-serif; 
    font-size: 20px;
    background-color: rgba(143, 143, 142, 0.808);
    box-shadow: black;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.589);
    padding: 7px;
    /* width: fit-content; */
    display: inline-block;
}

.text-container{
    align-items: center;
}

#incorrect-guesses {
    margin-top: 60px;
    color: black;
    font-family: 'Arial', sans-serif; 
    font-size: 20px;
}

#wrong-letters {
    margin-top: 20px;
    color: rgb(17, 2, 83);
    font-family: 'Unown', sans-serif;
    font-size: 60px;
    border-style: dashed;
    /* padding: 30px; */
    height: 70px;
    max-height: 70px;
    background-color: rgba(143, 143, 142, 0.712);
}

.notification-container {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #555;
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#final-message {
    display: none;
    font-size: 24px;
    font-family: 'Hangmon', Arial, sans-serif;
    color: #000000;
    background: rgba(189, 187, 147, 0.6);
    margin-inline: auto;
    width: fit-content;
    padding:  10px;
    border-radius: 5px;
    margin-bottom: -10px;
    
}



input[type="text"] {
    padding: 10px;
    font-size: 18px;
    /* margin-top: 20px; */
    margin-top: 20px;
    background-color: #ffffffb9;
    border-radius: 20px;
    border-color: #26271e;
    border-width: 3px;
    /* box-shadow: aqua; */
    
    
}

.figure-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: -5px;
    margin-bottom: -30px;
}

.figure-part {
    display: none;
    stroke: #000000;
    stroke-width: 4px;
}

.cross {
    stroke: rgb(0, 0, 0);
    stroke-width: 4px;
}

#head {
    fill: none; /* No fill for the outer circle */
    stroke: black;
    stroke-width: 4;
}

#head::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgb(0, 0, 0); 
    border-radius: 50%;
    position: relative;
    top: -25px;
    left: 15px;
}

#disclaimer {
    margin-top: 20px;
    font-family:'Courier New', Courier, monospace;
    font-size: 16px;
    color: #f8f8f8;
    /* width: 400px; */
    background-color: #00000028;
}

#gen-list{
    /* font-weight: bold; */
    font-family:'Times New Roman', Times, serif;
    margin-top: 20px;
    border-style: dashed;
    border-width: 2px;
    border-color: #000; /* Black border */
    padding: 10px;
    /* width: 300px;  */
    background-color: rgba(143, 143, 142, 0.808);; /* Light gray background */
}



/* Style for checked checkboxes */
input[type="checkbox"]:checked {
    /* Change the tick color */
    accent-color: #adaf4c; /* Green color */
}

/* Style for disabled checkboxes */
input[type="checkbox"]:disabled {
    /* Change the disabled tick color */
    accent-color: #808080; /* Gray color */
}

a:visited {
    color: #ffffff;
    background-color: transparent;
    text-decoration: none;
  }

  a:link {
    color: #e0dede;
    background-color: transparent;
    text-decoration: none;
  }

  a:hover {
    color: #c4c3c3;
    background-color: transparent;
    text-decoration: underline;
  }
  
  a:active {
    color: #ffffff;
    background-color: transparent;
    text-decoration: underline;
  }

  @media screen and (max-width: 768px) {
    .game-container {
      overflow-y: scroll;
      max-height: calc(100vh - 50px); /* probar el keyboard en mobile */
    }

    #word-display{
        gap: 1px;
        
    }

    #word-display .letter{
        width: 40px;
        height: 40px;
        font-size: 40px;
        line-height: 35px;
    }

    
  }

