* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    
}
/* -------------------Body--------------------- */
.body {
    /* height: 100vh; */
    /* width: 100vw; */
}

/* ------------------Heading------------------- */
.heading {
    text-align: center;
    background-color: #273c75;
    color: #fff;
    height: 80px;padding-top: 10px;    
}
h1 {
    font-size: 50px;
    font-weight: 100;
}

/* --------------------Main--------------------- */
.main {
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
}

/* ---------------topBox Section---------------- */

/* -----Search Box------ */
.searchSection {
    width: 30%;
    /* height: 100%; */
    background-color: #273c75;
    color: #fff;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.searchBox {
    width: 100%;
}
.searchTitle {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}
 #searchInput {
    height: 45px;
    width: 100%;
    text-align: center;
    border: none;
    border-radius: 4px;
 }
 #searchInput:focus {
     border: none;
 }
 #searchBtn {
    margin: 15px;
    padding: 5px;
    width: 100%;
    height: 30px;
    border-radius: 4px;
    border: none;
    background-color: #40739e;
    color: #fff;
 }
 #searchBtn:hover {
     background-color: #487eb0;
     color: #fff;
 }

 /* -----History Box----- */
 .history {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: solid 2px #000;
}
 ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    width: 100%;
    align-items: center;
}
 li {
    text-align: center;
    height: 50px;
    width: 100%;
    border-radius: 4px;
    margin: 10px 0px;
    padding: 12px;
    font-size: 20px;
    background-color: #192a56;
 }
 .list:hover {
     cursor: pointer;
     background-color: #192a56f;
}

 /* -----Present Weather Section----- */
 .topBox {
    display: flex;
    width: 100%;
    height: 65vh;
 }

 .present {
    height: auto;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 10px 25px;
    text-align: center;
    color: #fff;
    z-index: 10;
 }

 div.present::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -10;
}

#cityBox{
    margin-top: 40px;
}

 #city {
    font-size: 50px;
}
 .present p {
text-align: center;
font-size: 20px;
line-height: 2rem;
 }
 #icon {
    text-align: center;
}
#description {
    text-align: center;
    margin-bottom: 50px;
}
#uv {
    background-color: green;
    border-radius: 5px;
    color: #000;
}
 /* ---------------------5-Day Forecast-------------------  */

.future {
    padding: 10px;
    text-align: center;
    background-color: #273c75;
}
 .futureBox {
    display: flex;
    justify-content: space-around;
 }
 #futureHeading {
    font-size: 35px;
    color: #fff;
 }
 .forecast {
    margin-top: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 18%;
    height: 300px;
    background-color: #192a56;
    color: #fff;
 }
img {
     width: 100px;
     height: 100px;  
     z-index: 100;
}
 h3 {
     font-weight: lighter;
 }
/* -----Media Queries---------------------------------- */
 @media(max-width: 1024px){
     .main{
         height: 100%;
         display: ;
         flex-direction: column;
         justify-content: space-between;
         overflow:scroll;
     }
     
     .futureBox{
         flex-direction: column;
         align-items: center;
         height: auto;
     }

     .forecast{
         width: 80%;
         height: auto;
     }

     .topBox{
         display: block;
     }

     .searchSection{
         width: 100%;
     }

     .list {
         margin: 5px 0 0 0;
         height: 40px;
     }

     #description{
         margin: 0;
     }
}
@media(max-width: 768px){
    .future{
        position: relative;
        top: 220px; 
    }
}
@media(max-width: 450px){
    .future{
        top: 390px; 
    }
    h1{
        font-size: 35px;
    }
}
@media(max-height: 900px){
    .future{
        top: 300px; 
    }
}
@media(max-height: 823px){
    .future{
        top: 358px; 
    }
}
@media(max-height: 812px){
    .future{
        top: 390px; 
    }
}
@media(max-height: 736px){
    .future{
        top: 410px; 
    }
}
@media(max-height: 667px){
    .future{
        top: 490px; 
    }
}
@media(max-height: 568px){
    .future{
        top: 550px; 
    }
}