/* Fix this line at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Poppins", sans-serif;
    list-style-type:none;
}

.container {
    width: 100vw;
    height: 100vh;
    overflow:scroll;
    background: linear-gradient(to bottom left, #280028, #800080);
    background:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSyp_JmCrrQwaV0vMzhaPRdGvHI3fLgLon8ug&usqp=CAU);
    background-size: cover;
}
.header{
    width: 100vw;
    height: 60px;
    padding: 10px;
    padding-right: 0px;
    background: rgba(255, 255, 255, .4);
    position: fixed;
    font-size: 20px;
    backdrop-filter: blur(5px);
    color: #fff;
    top:0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
}
.set_c {
    font-size: 25px;
    position: absolute;
    right: 0;
    padding: 10px 20px;
    cursor: pointer;
}
.set_c:active{
    scale: .9;
    text-shadow: 2px 2px 3px rgba(0,0,0,0);
}

.header h2 {
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
    flex: 2;
    margin-left: 10px;
}

.w_cont {
    width: 90%;
    height: auto;
    background: rgba(255,255, 255, .2);
    border-radius: 20px;
    box-shadow: 4px 4px 10px rgba(0,0,0,.15),-4px -4px 10px rgba(0,0,0,.15);
    margin: 0 auto;
    margin-top: 100px;
    backdrop-filter: blur(5px);
    border: 3px solid rgba(255, 255, 255, .15);
    padding: 10px 10px 16px 10px;
    animation: pop 800ms ease-in-out 1;
    transition: 1s;
    cursor: pointer;
}
@keyframes pop{
    0%{scale: 0;opacity: 0;}
    100%{scale:1;opacity: 1;}
}

.search_div{
    width: 95%;
    height: auto;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: 0 auto;
    margin-top: 12px;
    cursor: pointer;

}

.search_div input {
    margin: 0 5px 0px 0px;
    min-height: 90%;
    padding: 8px 15px;
    font-size: 16.5px;
    border-radius: 50px;
    background: rgba(0,0,0,.3);
    color: #fff;
    border: none;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.search_div input::placeholder{
    color: #ececee;
    opacity:.8;
}

i.fa-search{
    padding: 12px;
    font-size: 20px;
    background-color:rgba(0,0,0,.3);
    border-radius: 50px;
    color: #fff;
}

i.fa-search:active {
    scale: 1.1;
    background: rgba(0,0,0,.1);
}

.weather_in {
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    margin: 20px 10px 10px 20px;
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
}

.temp {
    width: auto;
    height: auto;
    padding: 0px 10px;
    font-size: 35px;
    font-weight:bold ;
    color: #fff;
    margin: 0px 0px 5px 20px ;
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
}
.icon{
    width: 80px;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    scale: 1.2;
    flex: 1;
    margin: -15px 0px 0px 25px;
}
.conditions {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 6px 0px 8px 0px;
    border-radius: 50px;
    margin-bottom: 5px;
}

.condition {
    color: #fff;
    padding: 5px;
    font-weight: 600;
    flex: 3;
    margin: -1px 0px -5px -10px;
}
.humidity{
    width: 100%;
    height: auto;
    background: rgba(0,0,0,.2);
    padding: 6px 15px 8px 15px;
    border-radius: 50px;
    margin-bottom: 5px;
    color: #fff;
    transition: .3s;
}
.humidity:active{
    scale: .9;
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}

.humidity i.fa {
    font-size: 22px;
    padding: 3px;
    margin-right: 3px;

} 
.flag {
    padding: 3px;
    font-size: 20px;
    margin: 3px;
}

.country_flag {
    width: 45px;
    height: 25px;
    margin-bottom: -7px;
    margin-right: 3px;
}
.loader {
    width: 280px;
    height: 200px;
    background: transparent;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud {
    width: 290px;
    height: 180px;
    background:url(https://www.nicepng.com/png/full/1-18174_vector-free-stock-clouds-svg-white-cloud-svg.png);
    background-size: cover;
    background-clip: center center;
    scale: 8;
    position: absolute;
    z-index: 100;
}

.cloud:after {
    content: "";
    width: 120px;
    height: 120px;
   background: url(https://icon-library.com/images/sun-icon-png/sun-icon-png-27.jpg);
    background-size: cover;
    position: absolute;
    border-radius: 50px;
    z-index:-50px;
    animation: round 3s linear infinite;

}

@keyframes round {
    0%{
        rotate: 0deg;
    }
    100% {
        rotate: 360deg;
    }
}

.time_c {
    width: 90%;
    height: auto;
    background: rgba(255,255, 255, .2);
    border-radius: 20px;
    box-shadow: 4px 4px 10px rgba(0,0,0,.15),-4px -4px 10px rgba(0,0,0,.15);
    margin: 0 auto;
    margin-top: 150px;
    backdrop-filter: blur(5px);
    border: 3px solid rgba(255, 255, 255, .15);
    padding: 10px 10px 16px 10px ;
    animation: pop 800ms ease-in-out;
    transition: 1s;
    margin-bottom: 20px;
}

.loader:nth-child(2){
    scale: .5;
}

.loader2 {
    width: 280px;
    height: 110px;
    background: transparent;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    scale:.5;
}

.hu2:active{
    scale: 1;
    box-shadow: -5px 5px 5px rgba(0,0,0,0);

}

.setting_cont{
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 999;
    color: #fff;
}

.set_div{
    width: 90%;
    height: auto;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(7px);
    margin: 0 auto;
    border-radius: 10px;
}

.s_header {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,.3);
    display: flex;
    justify-content: center;
    font-size: 19px;
    font-weight: bold;
    border-radius: 10px 10px 0px 0px;
}

.body {
    margin: 15px;
}

.themes {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0;
    text-align: center;
}

.t{
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50px;
    border: 5px solid rgba(255, 255, 255, .4);
    box-shadow: inset 5px 5px 5px rgba(0,0,0,.3);
}

.t:active{
    scale: 1.1;

}

.t:nth-child(2){
    background: purple;
}

.t:nth-child(3)
{
    background: blue;
}

.t:nth-child(4){
    background: lime;
}

.close_s {
    background: rgba(255, 0, 0, .8);
    font-size:16px ;
    box-sizing: inset -5px 5px 5px rgba(0,0,o,.3);
    width: 60%;
    margin: 0 auto;
    margin-top: 5px;
}

.close_s:active{
    scale: .9;
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}

.modes {
    padding: 5px;
    font-size: 20px;
}
.modes i.fa {
    background: rgba(255, 255, 255, .3);
    border-radius: 50%;
    padding: 6px 8px;
}

.modes:active {
    scale: 1.1;
}

.all {
    display: none;
}

.country_flag {
    display: none;
}

.setting_cont {
    display: none;
}

.modes i.fa-sun {
    display: none;
}
