*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    background-color: whitesmoke;
    font-family: Arial, Helvetica, sans-serif;
}
.container{
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 15px #0000004d;
    border-radius: 10px;
    text-transform: capitalize;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
}
header{
    background-color: blueviolet;
    padding: 10px;
    color: white;
    text-align: center;
  
}
section{
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}
input[type=number]{
    width: 100%;
    height: 40px;
    border: 2px solid;
    border-radius: 7px;
    margin-top: 5px;
    padding-left: 7px;
    font-weight: 600;
    font-size: 1.35rem;
    text-align: center;
    outline: none;
    
}
input[type=radio]{
    margin-right: 7px;
    accent-color: blueviolet;
}
.degree{
    display: flex;
    flex-direction: column;
    gap :10px;
}
button{
    width:50% ;
    height: 40px;
    background-color: blueviolet;
    color: white;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    margin-left:80px ;
    box-shadow: 0 5px 15px rgb(0, 0, 0, 0.3);

}
button:hover{
    background-color: rgb(53, 4, 99);
}
span{
    text-transform: capitalize;
    color: red;
    margin-top: 10px;
    font-size: 14px;
    
}
#result{
    text-align: center;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}