
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

section{
    background-image: url(Assets/tree-desert-white-clouds-daytime_395237-190.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container{
    width: 750px;
    height: 400px;
    background-color: #201e1e;
    border-radius: 10px;
    display: flex;
    opacity: 0.6;
}
.first-child{
    width: 330px;
    background-color: #020b06;
    border-radius: 10px;
    border: 3px solid white;
    display: block;
    text-align: center;
    opacity: 0.9;
    
    /* padding: 10px; */
   
    
    /* flex-wrap: wrap; */
    
}
.first-child h1,h4,p{
    color: #fff;
    font-family: "Oleo Script", serif;
    font-weight: 400;
}
.first-child h1{
    font-size: 55px;
}
.fa-cloud-sun{
    /* font-size: 80px; */
    padding: 30px;
    line-height: 2;
}
.first-child p{
    font-size: 30px;
}
.first-child h4{
    line-height: 2;
}

.second-child{
    padding: auto;
    background-color: #201e1e;
    
}
.input-container{
    padding-bottom: 25px;
    
}
.input-container input{
    border: 1.5px solid #fff;
    border-radius: 5px;
    padding: 10px;
    margin-left: 45px;
    margin-top: 30px;
    background-color: #5e5a5a;
    color: #fff;
    width: 250px;
    /* opacity: 0.4; */
}
#search-btn{
    padding: 10px;
    border-radius: 5px;
    background-color: rgb(16, 146, 212);
    color: #fff;
    border: none;
    margin-left: 10px;
    width: 80px;
    
}
.deg-param ul{
    display: flex;
    color: #fff;
    list-style: none;
    font-family: "Oleo Script", serif;
    font-weight: 400;
    justify-content: space-between;
    line-height: 2;
    
}
.deg-param{
    padding-bottom: 25px;
}
#max{
   padding-left: 45px;
}

#deg-one{
    color: #fff;
    padding: 15px;
    width: 80px;
    background-color: orange;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    opacity: 4;
    margin-left: 58px;
}
#deg-two{
    color: #fff;
    padding: 15px;
    width: 80px;
    background-color: aqua;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    opacity: 0.9;
    margin-left: 15px;
}

#city-name{
    padding-bottom: 25px;
    font-size: 20px;
    padding-left: 45px;
}

.param ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding-left: 45px;
}
#numb{
    margin-left: 20px;
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
}
#numb1{
    margin-left: 15px;
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
}#numb2{
    margin-right: 20px;
    font-size: 30px;
    font-weight: 200;
    font-family: 'Times New Roman', Times, serif;
}
.param ul>li>i.fa-droplet{
    padding-inline: 20px;
}
.error-message{
    display: none;
    color: #fff;
    background-color: #e74c3c;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-10px);
}
.error-message.show{
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* @media(max-width:1024px) {
    
    .container{
       width: 320px;
       display: block;
       margin: 0 auto;
       margin-bottom: 260px;

    }
    .input-container input{
        width: 170px;
    }
    .first-child{
        width: 320px;
    } 
       .deg-param ul{
        padding-right: 15px;
       } 
    }  */
    @media(min-width:370px) and (max-width: 1024px) {
        .container{
            width: 320px;
            display: block;
            margin: 0 auto;
            margin-bottom: 260px;
        }
        .input-container input{
            width: 170px;
        }
        .first-child{
            width: 320px;
        } 
        .deg-param ul{
            padding-right: 15px;
        } 
    }


    
