body{
    background-image: url("Images and Icons/light_bgImg.jpg");
    transition-delay: 0ms;
}
h1{
    color: blue;
    font-weight: bolder;
}
h1:hover{
    cursor: default;
}
.menu{
    display: flex;
    position: absolute;
    top: 21%;
    left: 7%;
    height: 20px;
    width: auto;
}
.box{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30%;
    left: 6%;
    padding: 20px;
    width: 85%;
    background-color: floralwhite;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0.5,0,0,0.5);
    opacity: .8;
}
.subBox{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.subbox1,.subbox2{
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 200px;
}
button{
    margin-right: 15px;
    height: 45px;
    width: 11vw;
    border-radius: 7px;
    border-color: white;
    border-width: 0;
    font-weight: bold;
    font-size: large;
    color: white;
    background-color: #0541d8;
    outline: none;
    transition: transform 0.15s;
}
button:hover{
    transform: scale(1.1);
    cursor: pointer;
    transition:transition 400ms;
}
#length{
    background-color: floralwhite;
    color: blue;
    box-shadow: none;
}
label{
    font-weight: bold;
    font-size: x-large;
}
#label1{
}
#label2{
}
input{
    block-size: 40px;
    width:20vw;
    padding-left: 10px;
    font-weight: bold;
    font-size: x-large;
    border-radius: 10px;
    border-color: #080808;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-width: 2px;
}
#from{
}
#from::placeholder{
    color: lightgrey;
    font-size: x-large;
}
#to{
}
#to:hover{
    cursor: none;
}
#from:hover{
    cursor: text;
}
select{
    block-size: 38px;
    padding-left: 10px;
    font-weight: bold;
    font-size: large;
    border-radius: 10px;
    color: red;
    border-color: #080808;
    border-width: 1px;
    width: 14vw;
}
#choice1{
}
#choice2{
}
option {
    background-color: #fff;
    color: #333;
    font-size: 16px;
    border-radius: 12px;
    border-color: white;
    mso-border-shadow: no;
}
select option:hover {
    transform: scale(1.1);
    cursor: pointer;
}
h2{
    display:flex;
    justify-content: center;
    margin-top: 80px;
}
#result{
    display: none;
    color: black;
    font-size: 90%;
    background-color: springgreen;
    padding: 15px;
    border-radius: 7px;
}
.imageContainer{
    display: flex;
    justify-content: center;
}
.arrow {
    position: absolute;
    margin-top: 70px;
    width: 37px;
    height: 30px;
}
.arrow:hover{
    transform: scale(1.1);
    transition: transform 200ms;
    cursor: pointer;
}
p{
    margin-top: -52px;
    margin-left: 90%;
}
.themeIcon{
    width: 24px;
    height: 24px;
}
.themeIcon:hover, #sun:hover, #moon:hover{
    transform: scale(0.9);
    transition: transform 200ms;
    cursor: pointer;
    stroke: blue;
}
#sun{
    display: none;
}
#moon{
    display: block;
}
@media (min-width: 650px) and (max-width: 1200px){
    .menu{
        position: absolute;
        top: 115px;
    }
    button{
        width: 13vw;
        font-size: 100%;
        margin-right: 8px;
    }
    #temp{
        width: 18%;
    }
    @media (max-width: 700px){
        #temp{
            width: 110px;
        }
    }
    .box{
        position: absolute;
        top: 175px;
        padding-top: 40px;
    }
    .subbox1,.subbox2{
        height: 190px;
    }
    #choice1, #choice2{
        font-size: 100%;
        width: auto;
        max-width: 160px;
    }
    h2{
        position: relative;
        margin-top: 90px;
    }

}
@media (max-width: 650px){
    h1{
        font-size: 30px;
    }
    .subBox{
        flex-direction: column;
    }
    .menu{
        margin: 0;
        width: auto;
        padding-right: 0;
    }
    button{
        width: 14vw;
        margin-right: 4px;
        font-size: 90%;
    }
    #temp{
        width: 104px;
    }
    #weight{
        width: 16vw;
    }
    #volume{
        display: none;
    }
    .arrow {
        position: absolute;
        margin-top: 0;
    }
    .subbox1,.subbox2{
    }
    .menu{
        position: absolute;
        top: 111px;
    }
    .box{
        position: absolute;
        top: 165px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        height: auto;
    }
    #label1{
        position: absolute;
        top: 82px;
        left: 11vw;
        font-size: 125%;
    }
    #label2{
        position: absolute;
        top: 268px;
        left: 15vw;
        font-size: 125%;
    }
    #from{
        position: absolute;
        top: 75px;
        left: 29vw;
        width: 50vw;
        font-size: large;
    }
    #to{
        position: absolute;
        top: 263px;
        left: 29vw;
        width: 50vw;
        font-size: large;
    }
    #choice1{
        position: absolute;
        top: 135px;
        left: 32vw;
        width: auto;
        font-size: medium;
    }
    #choice2{
        position: absolute;
        top: 323px;
        left: 32vw;
        width: auto;
        font-size: medium;
    }
    .arrow{
        position: absolute;
        top: 205px;
        transform: rotate(90deg);
    }
    h2{
        position: relative;
        margin-top: -15px;
        width: 100%;
    }
    #result{
        font-size: medium;
    }
    p{
        margin-top: -50px;
        margin-left: 91%;
    }
    .themeIcon{
        width: 22px;
        height: 22px;
    }
    @media (max-width:391px){
        h1{
            font-size: 8vw;
        }
        button{
            font-size: 3.5vw;
        }
        p{
            margin-top: -48px;
            margin-left: 91%;
        }
    }
}
