body{
    background:#8C52FF;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    display:flex;
    align-items:center;
    justify-content: center;
    height:100vh;
    margin:0;
}
#weather-container{
    background: rgba(255,255,255,0.3);
    max-width: 400px;
    padding:20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
h2,label,p{
    color:#fff;
    margin:8px 0;
}
input{
    width:calc(100% - 16px);
    padding:8px;
    box-sizing: border-box;
    border-radius:10px;
    margin-top:20px;
}
button{
    background: #debff4;
    color:white;
    padding:10px;
    border:none;
    border-radius: 10px;
    cursor:pointer;
    margin-top:20px;
    width:100px;
    font-size:15px;
}
button:hover{
    background: #8b48d7;
}
#temp-div p{
    font-size: 60px;
    margin-top: -30px;
}
#weather-info{
    font-size:20px;
}
#weather-icon{
    width:200px;
    height:200px;
    margin:0 auto 10px;
    margin-bottom: 0;
    display: none;
}
#hourly-forecast{
    margin-top:50px;
    overflow-x: auto;
    white-space:nowrap;
    display:flex;
    justify-content: space-between;
}
.hourly-item{
    flex:0 0 auto;
    width:80px;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
    color:white;
    margin:0% 5% 0% 5%;
}
.hourly-item img{
    width:30 px;
    height:30px;
    margin-bottom: 10px;
}
#hourly-heading{
    color:#fff;
    margin-top:10px;
}
.hourly-item + .hourly-item {
    margin-right: 10px;
}
#weather-container {
    max-width: 100%;
    padding: 20px;
    text-align: center;
}

input[type="text"],
button {
    width: 80%; /* Adjust the width percentage as needed */
    padding: 10px;
    box-sizing: border-box; /* Include padding in width calculation */
    margin-bottom: 10px;
}

/* Responsive styles */
@media only screen and (max-width: 600px) {
    input[type="text"],
    button {
        width: 90%; /* Adjust the width for smaller screens */
    }
}

@media only screen and (max-width: 400px) {
    input[type="text"],
    button {
        width: 95%; /* Further adjust the width for even smaller screens */
    }
}
