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

:root {
    --green: #17b978;
    --white: #ffffff;
    --bgbox: #f5f4fb;
    --con: #6a7695;
    --light-gray: #f0f0f0;
    --dark-gray: #333;
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    background: var(--light-gray);
    padding-top: 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
}

/* Button Styling */
button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--secondary-color);
}

/* Weather Card */
.weather__card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
    text-align: center;
}

.weather__card h2 {
    font-size: 100px;
    font-weight: 700;
    color: var(--dark-gray);
}

.weather__card h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-gray);
}

.weather__card h5 {
    font-size: 18px;
    font-weight: 400;
    color: var(--con);
}

.weather__card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.weather__description {
    background-color: var(--white);
    border-radius: 25px;
    padding: 5px 15px;
    color: var(--con);
    font-size: 16px;
}

/* Weather Status */
.weather__status {
    margin-top: 20px;
}

.weather__status img {
    height: 24px;
    width: 24px;
}

.weather__status span {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 14px;
    padding-left: 10px;
}

/* Weather Forecast */
.weather__forecast {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.weather__forecast div {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    height: 230px;
}

.weather__forecast img {
    height: 40px;
    width: 40px;
    margin-bottom: 10px;
}

.weather__forecast span {
    font-weight: 500;
    color: var(--dark-gray);
    display: block;
    font-size: 14px;
}

.weather__forecast span:first-child {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .weather__card {
        padding: 30px 20px;
    }

    .weather__card h2 {
        font-size: 80px;
    }

    .weather__card h3 {
        font-size: 28px;
    }

    .weather__card h5 {
        font-size: 16px;
    }

    .weather__card img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .weather__forecast {
        flex-direction: column;
    }

    .weather__forecast div {
        width: 100%;
        margin: 10px 0;
    }

    .weather__card h2 {
        font-size: 60px;
    }

    .weather__card h3 {
        font-size: 24px;
    }

    .weather__card h5 {
        font-size: 14px;
    }

    .weather__card img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    /* Ensure .input-box remains unchanged */
    .weather__card {
        padding: 20px;
    }

    .weather__card h2 {
        font-size: 50px;
    }

    .weather__card h3 {
        font-size: 20px;
    }

    .weather__card h5 {
        font-size: 12px;
    }

    .weather__card img {
        width: 60px;
        height: 60px;
    }

    .weather__forecast div {
        height: auto;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .weather__card h2 {
        font-size: 40px;
    }

    .weather__card h3 {
        font-size: 18px;
    }

    .weather__card h5 {
        font-size: 10px;
    }

    .weather__card img {
        width: 50px;
        height: 50px;
    }

    .weather__forecast img {
        height: 30px;
        width: 30px;
    }

    .weather__forecast span {
        font-size: 12px;
    }
}
.input-box {
    background-color: #fff;
    border: 1px solid #ff8c00;
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 4px 4px 4px 3px rgb(255, 140, 0);
    max-width: 600px;
    margin: 0 auto;
}

.input-box input {
    border:none;

    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    margin-right: 10px;
    outline: none;
}

.input-box button {
    background-color: #ff8c00;
    color: #fff;
    border: none;
    padding: 10px 60px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.input-box button:hover {
    background-color: #e07b00;
}
