body{
    overflow-y: hidden;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}
#foobar { 
    display: none 
}

h1,h3{
    margin: 0;
    font-weight: 400;
}
.top-left-info,.bottom-left-info{
    padding: 2em;
}
.weather-app{
    min-height: 100vh;
    background-image: url(./img/day/cloudy.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
    transition: 1000ms;
}

/* add background overlay */
.modal-box{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(66, 65, 65, 0.733);
    z-index: 1;
}
.modal{
    height: 10vh;
    display: inline-block;
    text-align: center;
    background-color: rgba(134, 133, 133, 0.548);
    border:1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    padding: 1.5em 2em;
    border-radius: 15px;
    color: #fff;
}
.modal a{
    text-decoration: none;
    padding: 0.5em;
    background-color: #fa6d1bf6;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    margin-left: 5px;
}

.weather-app::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 0;
}

.container{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.container > div{
    display: flex;
    flex-direction: column;
}
.date{
    line-height: 1.5;
}
.condition{
    font-size: 35px;
    line-height: 2;
}

.temp{
    font-size: 4em;
    margin: 0;
}

.panel{
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background-color: rgba(110, 110, 110, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255,0.18);
    z-index: 1;
    padding: 3em 2em;
    overflow-y: scroll;
}
.panel form{
    margin-bottom: 3em;
}

.submit{
    padding: 0.5em;
    border: none;
    background-color: #fa6d1b;
    color: #fff;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
    font-size: 1.2em;
    transition: 0.4s;
}
.submit:hover{
    background-color: #ff8b48 ;
}
.search{
    background: none;
    border: none;
    border-bottom: 1px #dddddd solid;
    padding: 0 1em 0.5em 0;
    width: 70%;
    color: #fff;
    font-size: 1.1em;
}

.search:focus{
    outline: none;
}
.search::placeholder{
    color: #dddddd;
}
.panel ul{
    padding: 0 0 1em 0;
    margin: 2em 0;
}
.panel ul li{
    color: #dddddd;
    margin: 2.5em 0;
}
.panel ul h4{
    margin: 3em 0;
}
.city{
    display: block;
    cursor: pointer;
}
.city:hover{
    color: #fff;
}
.details li{
display: flex;
justify-content: space-between;
align-items: center;
}
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: #ffffff;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}




/* responsive design */
@media screen and (max-width:800px) {
    .container{
        text-align: center;
    } 
    body{
        overflow-y: scroll;
    }
    .panel ,.container{
        position: relative;
        top: 20px;
    }  
}
@media screen and (max-width:500px) {

    html{
        font-size: 12px;
    }   
}
