@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #5372F0;
}
.container{
    width: 450px;
    border-radius: 7px;
    background: #fff;
}
.container h2{
    font-size: 25px;
    font-weight: 500;
    padding: 18px 25px;
    border-bottom: 1px solid #ccc;
}
.container .content{
    margin: 25px 20px 35px;
}
.container .word{
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 24px;
    margin-right: -24px;
    text-transform: uppercase;
}
.content .details{
    margin: 25px 0 20px;
}
.details p{
    font-size: 18px;
    margin-bottom: 10px;
}
.details p b{
    font-weight: 500;
}
.content input{
    width: 100%;
    height: 60px;
    outline: none;
    padding: 0 16px;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 18px;
}
.content .buttons{
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}
.buttons button{
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    padding: 15px 0;
    font-size: 17px;
    border-radius: 5px;
    width: calc(100% / 2 - 8px);
}
.buttons .refresh-word{
    background: #6c757d;
}
.buttons .check-word{
    background: #5372F0;
}

@media (max-width: 496px){
    .container{
        width: 90%;
        padding: 20px;
    }
    
    .container .word{
        font-size: 24px;
        letter-spacing: 12px;
    }
    
    .content .details p{
        font-size: 14px;
    }
    
    .content input{
        height: 45px;
        font-size: 14px;
    }
    
    .buttons button{
        font-size: 14px;
        padding: 10px 0;
    }
}
