*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, sans-serif;
    background-image: url("medical-desk.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
h1{
    margin-bottom: 20px;
}
form{
    background: rgb(255, 255, 255, 0.5);
    width: 340px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
label{
    display: block;
    margin-bottom: 5px;
}
input{
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button{
    background: #333;
    color: white;
    font-weight: bold;
    border: none;
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}
button:hover{
    background: #5e5e5e;
}
.get_result{
    position: absolute;
    left: 540px;
    margin-top: 20px;
    padding: 0 10px;
    border-radius: 4px;
}
.u_weight{
   margin-left: -30px;
    text-align: center;
    width: 250px;
    padding: 10px;
    border-radius: 4px;
    background-color: #ddd311;
    color: #000000;
}
.n_weight{
    margin-left: -30px;
    text-align: center;
    width: 250px;
    padding: 10px;
    border-radius: 4px;
    background-color: #5cb85c;
    color: #ffffff;
}
.o_weight{
    margin-left: -30px;
    text-align: center;
    width: 250px;
    padding: 10px;
    border-radius: 4px;
    background-color: crimson;
    color: #ffffff;
}
.get_result p{
    margin: 5px 0;
}

form:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease-in-out;
    transform: scale(1.05) translateY(-4px);
}