@import url('https://fonts.googleapis.com/css2?family=Varela&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    height: 100vh;
    font-family: 'Varela', sans serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1{
    text-align: center;
}

.container{
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 500px;
    box-shadow: 0 3px 10px 1px rgba(0,0,0,0.5),
                1px 1px 2px 0 rgba(0,0,0,0.5)
    ;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.container > h1{
    padding-bottom: 15px;
}

.first-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.second-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.first-box, .second-box{
    background: rgb(238, 238, 238);
    width: 60%;
    height: 180px;
    box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.5),
                inset 1px 1px 2px 1px rgba(0,0,0,0.5)
    ;
}

.btn{
    color: rgb(197, 187, 187);
    background: rgb(39, 38, 38);
    border-radius: 2px;
    width: 7rem;
    height: 2rem;
    text-transform: uppercase;
    box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.5);
}

.result{
    text-align: center;
    border: 0;
    border-radius: 2px;
    width: 100px;
    height: 25px;
    box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.5);
    outline: none;
}

.result:focus{
    border: 2px solid black;
}

.numberbox{
    width: 100px;
    height: 1.5rem;
    border: 0;
    border-radius: 2px;
    box-shadow: px 1px 1px 0 rgba(0,0,0,0.5);
    outline: none;
}

.numberbox:focus{
    border: 2px solid black;
}

.first-box h3, .second-box h3{
    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.5));
    padding-right: 5rem;
}

.first-box h2, .second-box h2{
    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.5));
}

.copyright{
    font-size: 11px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

@media only screen and (max-width:600px){
    .first-box h2, .second-box h2{
        padding: 0 20px 0 20px;
    }

    .container{
        width: 95%;
        height: 85vh;
    }

    .first-box, .second-box{
        width: 95%;
        height: 30%;
    }

    .first-box h3, .second-box h3{
        padding-left: 2rem;
    }
}