*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#F9F8F3;

    padding:20px;
}

.bmi-box{

    width:100%;
    max-width:400px;

    background:#fff;

    padding:30px;

    border-radius:20px;

    border:2px solid #DDE8B5;

    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

h2{

    text-align:center;

    margin-bottom:25px;

    color:#222;
}

input{

    width:100%;

    padding:15px;

    margin-bottom:18px;

    border:2px solid #DDE8B5;

    border-radius:10px;

    outline:none;

    font-size:16px;
}

input:focus{

    border-color:#92B83C;
}

button{

    width:100%;

    padding:14px;

    margin-top:10px;

    border:none;

    border-radius:10px;

    background:#92B83C;

    color:white;

    font-size:18px;

    cursor:pointer;

    transition:.3s;
}

button:hover{

    transform:translateY(-4px);

    background:#7DA52C;
}

button:active{

    transform:translateY(2px);
}

#resetBtn{

    background:#222;
}

#resetBtn:hover{

    background:#444;
}

#result{

    margin-top:20px;

    padding:18px;

    border:2px solid #DDE8B5;

    background:#F3FAD8;

    border-radius:10px;

    text-align:center;

    font-size:18px;

    color:#222;

    font-weight:600;
}

@media(max-width:480px){

    .bmi-box{

        padding:20px;
    }

    h2{

        font-size:24px;
    }

    button{

        font-size:16px;
    }
}