@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body{
    background-color: #F1C40F;
}

img{
    width: 250px;
}

.hangman-photo{
    width: fit-content;
    margin: 0 auto;
}

.letters div{
    width: 32px;
    height: 32px;
    border-bottom: 2px solid black;
    margin-right: 16px;
    padding-bottom: 32px;
}

.letters div span{
    font-size: 32px;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.letters{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.main{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.letter-buttons{
    margin-top: 32px;
}


.letter-button {  
    width: 48px;        
    height: 48px;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);  
    background-color: #2C3E50;
    color: #ecf0f1;  
    transition: background-color .3s;
    margin-bottom: 16px;
    margin-right: 4px;
    cursor: pointer;
  }
  
  .letter-button:hover{
    background-color: #566573;
  }

    .letter-button:active{
        background-color: #566573;
        transform: translateY(2px);
    }

.modal{
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url("https://images.genius.com/9e0d7b73d606228219b90fa1261e075b.500x500x1.jpg"); 
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    border-radius: 4px;
    border: 2px solid black;
    opacity: 0;
    pointer-events: none;
}

.modal-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    height: 100%;   
    color: white;
}

.modal-content h1{
    margin-bottom: 16px;
}

#modal-button{  
    width: 100px;        
    height: 48px;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);  
    background-color: #27AE60;
    color: #ecf0f1;  
    transition: background-color .3s;
    cursor: pointer;
  }
  
  #modal-button:hover{
    background-color: #229853 ;
  }

    #modal-button:active{
        background-color: #229853 ;
        transform: translateY(2px);
    }

#modal-title{
    background-color:rgba(0, 0, 0, .3931);
}

.footer{
    background-color: rgba(0, 0, 0, .8);
    color: white;
    width: 100vw;
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 16px;
}

a{
    text-decoration: none;
    color: #ff1d58;
}