/* Wrapper for gradient border around the app */
.app-border {
    background: linear-gradient(135deg, #00feba,#5b548a);
    padding: 12px;
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(91,84,138,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background: #222;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 32px;
}

.card {
    width:  90px;
    max-width: 470px;
    background: linear-gradient(135deg, #00feba,#5b548a);
    color: #fff;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #00feba,#5b548a);
    border-radius: 30px;
    padding: 8px 16px;
}

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

.search button {
    border: 4px solid #fff;
    outline: 0;
    background: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 8px rgba(255,255,255,0.5) inset;
    transition: box-shadow 0.2s;
/* Error message styling */
.error {
    text-align: left;
    margin-left: 0;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
    color: #fff;
    background: rgba(255,0,0,0.15);
    border-radius: 8px;
    padding: 4px 10px;
    display: none;
}
}

.search button img {
    width: 16px;
}

.weather-icon {
    width: 170px;
    margin-top: 30px;
}

.weather h1 {
    font-size: 80px;
    font-weight: 500;
}

.weather h2 {
    font-size: 84px;
    font-weight: 500;
    margin-top: -10px;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}

.card {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, #00feba,#5b548a);
    color: #fff;
    margin: 0;
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(91,84,138,0.2);
}

.humidity {
    font-size: 28px;
    margin-top: -6px;
}

.weather {
    background: linear-gradient(135deg, #00feba,#5b548a);
    border-radius: 20px;
    padding: 12px;
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(91,84,138,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 32px;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}












