/* *{
    margin: 0;
    padding: 0;
    font-family: 'Poppins' , 'sans-serif';
    box-sizing: border-box;
}
body{
    background-color: #222;
}
.card{
    width: 90%;
    max-width: 470px;
    background: linear-gradient(135deg,#00feba,#5b548a);
    color: #fff;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
}

.search{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search input{
    border: 0;
    outline: 0;
    background-color: #ebfffc;
    color: #555;
    padding: 10px 25px;
    height: 60px;
    border-radius: 30px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}

.search button{
    border: 0;
    outline: 0;
    background-color: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.search button img{
    width: 16px;
}
.weather-icon{
    width: 170px;
    margin-top: 30px;
}
.weather h1{
    font-size: 80px;
    font-weight: 500;
}
.weather h2{
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}
.details{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}
.col{
    display: flex;
    align-items: center;
    text-align: left;

}
.col img{
    width: 40px;
    margin-right: 10px;
}

.humidity , .wind{
    font-size: 20px;
    margin-top: -6px;
}

.weather{
    display: none;
}
.error{
    text-align: center;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
} */


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    font-family: 'Poppins', sans-serif;
}

pratik-weather .card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in-out;
}
/* .search input {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 10px 0 0 10px; /* Rounded only on left */
    /*
    border: none;
    outline: none;
    height: 40px; /* Fixed height */


.search input {
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    outline: none;
}



.search button img {
    width: 22px;   /* Adjust size */
    height: 22px;  /* Keep it proportional */
}

.weather-icon {
    width: 100px;
    animation: float 2s infinite ease-in-out;
}

.details {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.col {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .footer {
    margin-top: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.8;
} */

.footer {
    margin-top: 20px;       /* Space above footer */
    text-align: center;     /* Center text */
    font-size: 14px;
    color: white;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes float {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(-10px);}
}
