*{
    box-sizing: border-box;
}
body{
    font-family:'Rubik',Helvetica, sans-serif ;
    margin: 0;
    color: white;
    background-image: url("./img/nightCloud.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: 1s;
    height: 100vh;
}
.brand{
    background-color: rgba(0, 0, 0, 0.126);
    -webkit-text-stroke: 1px black;
    padding: 0.4em;
    border-radius: 20px;
    font-size: 2.2rem;
    letter-spacing: 5px;
}
.brand img{
    height: 40px;
    width: 40px;
}
.weather-app{
    min-height: 100vh;
    position: relative;
    transition: 500ms;
    opacity: 1;
}
.weather-app::before{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.container{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding: 2em 3em 4em 3em;
}
#infoAll{
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}
.city-time,
.temp,
.weather{
    margin: 0 1em;
    -webkit-text-stroke: 0.5px black;
}
city-time h1{
    -webkit-text-stroke: 5px black;
    margin: 0;
    margin-bottom: 0.2em;
    font-size: 3em;
}
.name{
    -webkit-text-stroke: 1px black;
}
.countryMsg{
    font-size: 0.7em;
    margin-bottom: -1em;
    font-weight: 900;
    width: 120%;
    -webkit-text-stroke: 0.5px black;
}
.temp{
    font-size: 6em;
    -webkit-text-stroke: 2px black;
    margin: 0;
}
.weather img{
    display: block;
    margin: 0.5em 0;
}
.panel{
    position: absolute;
    width: 35%;
    height: 100%;
    top: 0;
    right: 0;
    color: #e9e8e8;
    background-color: rgba(110, 110, 110, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 225, 225, 0.18);
    z-index: 1;
    padding: 3em 2em;
}
.panel form{
    margin-bottom: 3em;
}
.submit{
    position: absolute;
    top: 40px;
    right: 40px;
    border: none;
    background:none;
    cursor: pointer;
    font-size: 1.5em;
    transition: 0.4s;
    font-weight: 500;
}
.submit:hover{
    color: #000;
    font-weight: 900;
    font-size: 1.8em;
}
.search{
    background: none;
    border: none;
    border-bottom:1px solid #e9e8e8;
    color: #e9e8e8;
    padding: 0 1em 0.5em 0;
    width: 80%;
    font-size: 1.1em;
}
.search:focus{
    outline: none;
}
.panel ul{
    padding: 0 0 1em 0;
    border-bottom: 1px solid #e9e8e8;
}
.panel ul li{
    color: #e9e8e8;
    margin: 2.5em 0;
}
.panel ul h3{
    font-size: 1.5em;
    margin: 2.4em 3em;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-align: center;
}
.details li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media(max-width:800px){
    .brand{
        background-color: rgba(255, 255, 255, 0.133);
        padding: 0.5em 1em;
        border-radius: 10px;
        font-size: 1rem;
        letter-spacing: 0px;
        -webkit-text-stroke: 0px black;
    }
    .brand img{
        height: 20px;
        width: 20px;
    }
    .weather-app{
        height: 40vh;
    }
    .container{
        top: 1vh;
        height: 30vh;
        padding:0;
    }
    #infoAll{
        padding: 0.5em 0 0.5em 0.5em;
        margin-left: 1.5em;
        width: 90%;
    }
    .city-time,
    .temp,
    .weather{
        margin: 0.5 0;
        -webkit-text-stroke: 0px black;
    }
    city-time h1{
        margin: 0;
        margin-bottom: 0em;
        font-size: 1em;
        -webkit-text-stroke: 0px black;
    }
    .countryMsg{
        font-size: 0.7em;
        margin-left: 0%;
        -webkit-text-stroke: 0px black;
    }
    .name{
        font-size:1.5em;
        margin-bottom:0em;
        -webkit-text-stroke: 0px black;
    }
    .temp{
        font-size: 3em;
        margin: 0;
        -webkit-text-stroke: 0px black;
    }
    .time-date{
        font-size: 0.7em;
    }
    .weather img{
        display: block;
        margin: 0em 0;
    }
    .weather{
        margin-left: 0;
        font-size:0.7em;
    }
    .panel{
        position: absolute;
        width: 100%;
        height: 60vh;
        top: 40vh;
        padding:2em;
    }
    .panel form{
        margin-bottom: 2em;
    }
    .submit{
        right: 30px;
    }
    .search{
        padding: 0;
        width: 85%;
        font-size: 1.5em;
    }
    .panel ul{
        padding: 0;
    }
    .panel ul li{
        margin: 1.4em 0;
    }
    .panel ul h3{
        font-size: 1.5em;
        margin: 1.2em 1.2em;
        letter-spacing: 1px;
    }
}