body{
    margin:0;
    font-family: 'Rubik', sans-serif;
    background-color:  #111;
}

*{
    box-sizing: border-box;
}

h1, h3{font-weight: 400;}

.app{
    color:#fff;
    min-height: 100vh;
    background-image: url(/images/day/day_cloudy.avif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    transition: 500ms;
}

.app::before{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index:0
}

.section-block{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding:4em;
}

.section-block h1{
    display: inline;
}

.section-block h3,a{
    color:#ccc
}

.section-block a{
    text-decoration: none;
    
}

.section-block a:hover{
    transition: .3s;
    color: #fff
}

.section-block .city-weather {
    display: flex;
    justify-content: center;
    align-items: center;
}

.city-weather .name{
    margin: 0;
    margin-bottom: 0.4em;
    font-size: 3em;
}

.city-weather .condition{
    margin-right: .5em;
}

.temp, .weather{
    margin:0 1em
}

.temp{    
    margin: 0;
    font-size: 7em;
}

.weather img{
    display: block;
    margin:0,5em 0;
}

.panel{
    padding:  2em;
    position: absolute;
    width: 40%;
    height: 100%;
    top:0;
    right: 0;
    opacity: 0;
    right: -100%;
    transition: opacity 0.3s ease-in-out, right 1s ease-in-out;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    background: rgba(110, 110, 110, 0.20);
    backdrop-filter: blur(10px);
    border:1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    z-index:1;
    overflow-y: scroll;
}

.panel.show{
    opacity: 1;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

/* .panel form{margin-bottom: 3em;} */

.submit{
    padding: 1em;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    outline: none;
    border: none;
    background-color: #1a2d5b;
    color:#fff;
    cursor: pointer;
    font-size: 1.2em;
    transition: 0.4s;
}

.search{
    padding: 0 1em 0.5em 0;
    border: none;
    border-bottom:  1px #ccc solid;
    background: none;
    font-size: 1.1em;
    color:#fff
}

.search:focus{outline: none; }

.search::placeholder{color: #ccc;}

.panel ul{
    border-bottom: 1px #ccc solid;
    padding: 0 0 3em 0;
    /* margin: 2em 0; */
}

.panel ul li{
    margin: 2em 0;
    color: #ccc;
}

.panel ul h4{margin: 3em 0;}


.city{
    display: block;
    cursor: pointer;
}

.city:hover{color: #fff;transition: .3s}

.details li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text p{
    text-align: center;
    font-size: .8em;
    margin: 0 0 .5rem 0;
}

@media screen and (max-width:1200px){
    .panel, .section-block{
        position: relative;
        top: initial;
        width: 100%;
        padding:  2em;
    }
}

@media screen and (max-width:700px){
    html{
        font-size: 14px;
    }
    .temp{font-size: 3em;}
    .icon{width: 40px; height: 40px;}
}

@media screen and (max-width:300px){
    .app{
        min-height: 40em;
    }
}