*{
    box-sizing: border-box;
}

body{
    background-color: black;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    margin:0;
    overflow: hidden;
}

h1{
    display: flex;
    justify-content: center;
    text-decoration:underline;
    letter-spacing: 0.5vh;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h3{
    display: flex;
    justify-content: center;
    font-size: 16px;

}

header{
    width: 50vh;
    height: 10rem;
    padding: 1rem;
    border-radius: 10px;
    background-color: purple;
}

.game-container{
    padding: 20px 30px;
    position:relative;
    margin:auto;
    height: 350px;
    width: 450px;
}

.figure-container{
    fill: transparent;
    stroke: #fff;
    stroke-width: 4px;
    stroke-linecap: round;
}

.figure-part{
    display: none;
}

.wrong-letters-container{
    position: absolute;
    top:20px;
    right:20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    
    padding: 1rem;
    border-radius: 10px;
    
    color:#fff;
    


}

.wrong-letters-container p{
    margin: 0 0 5px;
    color:#fff;
    
    

}


.wrong-letters-container span{
    font-size: 14px;
   color: #fff;
   
}

.word{
    display: flex;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.letter{
    border-bottom: 3px solid  #fff;
    display: inline-flex;
    font-size: 30px;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    height: 50px;
    width: 20px;
}

.popup-container{
    background-color:black;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup{
    background-color: black;
    border-radius: 5px;
    box-shadow: 0 15px 10px 3px;
    padding: 20px;
    text-align: center;
    height:30vh;
    font-size: 20px;
}

.popup button{
    cursor: pointer;
    background-color: #fff;
    border: 0;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 20px;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.411);
    height: 8vh;
}

.popup button:active{
    transform: scale(0.80);

}

.popup button:focus{
    outline: 0;
}

.notification-container{
    background-color: rgba(0,0,0,0,3);
    border-radius: 10px 10px 0 0;
    padding: 20px 20px;
    position: absolute;
    bottom: -50px;
    transition: transform 0.3s ease-in-out;
}

.notification-container p{
    margin: 0;
}

.notification-container.show{
 transform: translateY(-50px);
}

.body{
    position: relative;
    top:50rem;
}

@media only screen and (max-width: 704px){ /*tablet */ 


    header{
        height:8rem;
        padding:5px;
        position: relative;
                
    }


   
    .wrong-letters-container{
        position: absolute;
        left: 13rem;
        
    }

    svg{
        width: 180px;
        height: 230px;
    
    }

    .word.word{
        height: 80px;
        color:#fff;
    }
    
   

    h1{
        font-size: 25px;
        text-align: center;
        position: relative;
        bottom:10px;
    }
    h3{
        font-size: 15px;
        text-align: center;
        position: relative;
        top:10px;
         

    }

    .popup{
       width: 20rem;
       height: 20rem;
        font-size: 20px;
        
        
        
    }

    .popup button{
        cursor: pointer;
        background-color: #fff;
        color: black;
        border:0;
        margin-top: 20px;
        padding: 10px 35px;
        font-size: 20px;
        border-radius: 20px;
        box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.304);
    }

    .notification-container.show{
        transform: translateY(-100px);
    }   
    
}

@media only screen and (max-width: 420px){ 
.word{
    width:30vh;
  
    

}

.letter{
    font-size:16px;
    border-bottom:3.2px solid  #fff;
    height:28px;
    
}

.popup{
    height:55vh;
    width:40vh;
    box-shadow: 5px 2px 20px 10px rgba(255, 255, 255, 0.6);
    padding: 40px;
    font-size:17px;
}

.notification-container.show{
    transform:translateY(-180px);
    
}

.notification-container{
    font-size: 12px;
   
}

header{
    width: 30vh;
    
}



}