
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}
body {
    padding: 0px;
    margin: 0px;
    background: #F4F1F1;
    font-family: 'Nunito Sans', sans-serif;
}

div#bmrcalc {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

form {
    width: 300px;
    background: white;
    padding: 20px;
    border: 1px solid #ffc5c5;
    box-shadow: 0 1px 9px #cdb3b3;
    border-radius: 5px;
}

h2 {
    margin: 0px;
    text-align: center;
    font-size: 21px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.inputwrap {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.inputwrap label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4px;
}

input[type="text"] {
    width: 100%;
    font-family: 'Nunito Sans', sans-serif;
    padding: 6px 10px;

}

input[type="number"] {
    width: 100%;
    font-family: 'Nunito Sans', sans-serif;
    padding: 6px 10px;

}

input[type="button"] {
    width: 100%;
    display: block;
    background: black;
    color: white;
    text-transform: uppercase;
    padding: 10px 0px;
    border:2px solid white;
    border-radius: 10px;
}


div#result {
    background: red;
    color: white;
    text-align: center;
    padding: 10px 0px;
    font-weight: bold;
    display: none;
    
}

input[type="button"]:hover{
    background-color: red;
    cursor: pointer;
    border:2px solid white;
    border-radius: 20px;
}

.bd{border: 2px solid red;
background-color:#F5B7B1;}
.nbd{border: 2px solid green;
background-color: #A9DFBF ;}