@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body {
    display: grid;
    grid-template-columns: 1fr; 
    grid-template-rows: 100vh;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    overflow: hidden;
}
.container {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    width: 100vw;
    height: 100vh; 
}

.weather-input {
    background: #ff9a9e;
    padding: 2rem; 
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.weatherIcon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 25%;
    margin: 2rem auto;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.input-group input {
    background-color: #f8f8f8;
    text-transform: capitalize;
    padding: 1rem;
    font-size: 15px;
    border-radius: 6px;
    width: 100%;
    outline: none;
    border: none;
    transition: border 0.3s;
    color: #003366;
}

.input-group input:focus {
    border: 2px solid #003366;
}

.input-group select {
    position: absolute;
    right: 60px; 
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    color: #003366; 
}

.input-group .fa-search {
    position: absolute;
    right: 15px;
    color: #003366;
    cursor: pointer;
    font-size: 22px;
}

.weather-output {
    padding: 2rem;
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.weather-input .feelsLike,
.weather-input .description,
.weather-input .date,
.weather-input .city {
    padding: 10px 0;
    color: #003366;
}

.temperature {
    font-size: 5rem;
    text-align: center;
    display: flex;
    font-weight: 300;
    color: #003366; 
}

.temperature span {
    font-size: 2rem;
    margin-top: 20px;
    color: #003366;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
}

.forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.forecast-item:nth-child(n+4) {
    grid-column: span 3; 
}

.highlights div,
.forecast-item {
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ff9a9e;
    border-radius: 20px;
    padding: 1rem;
    transition: transform 0.3s; 
    color: #003366;
}

.highlights div:hover,
.forecast-item:hover {
    transform: scale(1.05); 
}

.highlights i {
    font-size: 45px;
    color: #003366;
}

.sun span {
    align-items: center;
    display: flex;
    gap: 10px;
    color: #003366;
}

.description i {
    font-size: 25px;
    color: #003366; 
}

.heading {
    margin: 1rem 0;
    text-align: center; 
    color: #003366;
}

.forecast-item {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    background-color: #ff9a9e; 
    border-radius: 15px; 
    padding: 1rem;
    color: #003366;
}

.forecast-date {
    font-weight: bold;
    color: #003366; 
}

.forecast-icon {
    width: 70px;
    height: 70px;
}

.forecast-temperatures {
    display: flex;
    justify-content: space-between;
    color: #003366;
}
