
body{
    display: flex;
    flex-direction: column;
    align-items: center;
 
    font-family: 'Afacad', sans-serif;
}
select{
    width: 140px;
    height: 20px;
    border: none;
    border-radius: 10px;
    background-color: rgb(165, 163, 163);
    margin-top: 1px;
    font-size: 0.8rem;
}
p{
    margin: 0;
    margin-top: 3px;
    font-size: 0.8rem;
}
.calculator{
    width: 210vw;
    max-width: 300px;
    height: 400px;
    background-color: #008170;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    justify-content: space-evenly;
}
.type{
    display: flex;
    justify-content: space-between;
    margin-left: 6%;
    margin-top: 2%;
}
h2{
    font-size: 1rem;
    text-shadow: 0 0 30px gray, 0 0 20px gray;
    color: black;
}
input{
    width: 180px;
    height: 20px;
    margin-top: 3px;
    border: none;
    border-radius: 10px;
    background-color: rgb(255, 255, 255,0.8)
}

.principle{
    margin-left: 20px;
}

button{
    margin-left: 30px;
}

.values{
    margin-left: 30px;
    line-height: 5px;
}

h4{
    font-size: 0.8rem;
}

#ctype{
    width: 100px;
    height: 20px;
    border: none;
    border-radius: 10px;
    background-color: rgb(165, 163, 163);
    margin-top: 1px;
    font-size: 0.8rem;
}
.compound{
    display: none;
}

#final{
    width: 80px;
    padding: 3px;
    border: none;
    border-radius: 20px;
    font-size: 0.7rem;
    background-color: rgb(165, 163, 163);
}

#final:hover{
    background-color: #FFCD4B;
}

select:hover{
    background-color: #FFCD4B;
}