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

body{
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: Arial, sans-serif;

    background: linear-gradient(135deg,#1d2671,#c33764);
}

.weather-container{
    width: 380px;

    padding: 25px;

    border-radius: 20px;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    box-shadow: 0 8px 32px rgba(0,0,0,0.3);

    color: white;

    text-align: center;
}

.search-box{
    display: flex;

    gap: 10px;

    margin-bottom: 25px;
}

.search-box input{
    flex: 1;

    padding: 12px;

    border: none;

    border-radius: 12px;

    outline: none;

    font-size: 16px;
}

.search-box button{
    padding: 12px 18px;

    border: none;

    border-radius: 12px;

    background: #ffffff;

    color: #333;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.search-box button:hover{
    background: #ddd;
}

.weather-info img{
    width: 120px;
}

.weather-info h1{
    font-size: 60px;

    margin: 10px 0;
}

.weather-info h2{
    font-size: 32px;

    font-weight: 500;
}

.weather-info p{
    font-size: 20px;

    color: #f1f1f1;

    margin-top: 8px;

    letter-spacing: 1px;
}

.details{
    display: flex;

    justify-content: space-between;

    margin-top: 30px;

    gap: 15px;
}

.details div{
    flex: 1;

    background: rgba(255,255,255,0.1);

    padding: 15px;

    border-radius: 15px;
}

.details h3{
    font-size: 16px;

    margin-bottom: 8px;
}

.details p{
    font-size: 20px;

    font-weight: bold;
}

.weather-container{
    transition: 0.3s;
}

.weather-container:hover{
    transform: translateY(-5px);
}

.search-box button:hover{
    transform: scale(1.05);
}