body {
    font-family: "Pacifico", cursive;
    background-color: black;
    color: white;
}

.pacifico-regular {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    background: #08834c;
    font-size: 1.80rem;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-family: "Pacifico", cursive;
}

.container {
    display: flex;
    padding: 35px;
    gap: 40px;

}

.weather-input {
    width: 550px;
}

#city-name { 
    font-family: "Pacifico", cursive;   
}

.weather-input input {
    width: 100%;
    height: 45px;
    outline: none;
    padding: 0 15px;
    font-size: 1.08rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 0 20px 0;
}

.weather-input input:hover {
    border: 1px solid #08834c;
    background-color: lightgreen
}

.weather-input .main-btn {
    width: 100%;
    cursor: pointer;
    padding: 10px 0;
    border: none;
    border-radius: 4px;
    outline: black 2px;
    font-size: 1rem;
    color: #fff;
    background: #08834c;
}

.history-container {
    display: flex;
    flex-direction: column;

}

.button {
    margin-top: 2vh;
    background-color: gray;
    padding: 5px 0;

}

.button:hover {
    background-color: #08834c;
    color: white;
}

#recent-srch {
    margin-top: 2vh;
    font-size: 1.2rem;
    font-family: "Pacifico", cursive;
}

#five-day {
    margin-top: 2vh;
    font-size: 1.5rem;
    font-family: "Pacifico", cursive;
    padding-bottom: 1vh;
}



.recentCity h4 {
    text-align: center;
    margin-top: 5px;
}

.weather-data {
    width: 100%;
}

.current-weather {
    background: #08834c;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 20px 70px 20px 20px;
    border-radius: 7px;

}

.current-weather h2 {
    font-size: 1.6rem;
}

.weather-data h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 13px;
}

.current-weather .icon {
    text-align: center;
}

.current-weather .icon img {
    max-width: 125px;
    margin-top: -15px;

}

.current-weather .icon h4 {
    text-transform: capitalize;
    margin-top: -10px;
}

.days-forecats h2 {
    flex-wrap: wrap;
    font-size: 1.5rem;
    margin: 20px 0;
}

.weather-cards {
    display: flex;
    gap: 20px;
}

.weather-cards .card {
    color: #fff;
    background: grey;
    border-radius: 5px;
    padding: 18px 16px;
    list-style: none;
    width: calc(100% / 5);
}

.weather-cards .card img {
    margin: 5px 0 -12px 0;
    max-width: 75px;

}

@media (max-width: 1400px) {
    .weather-data .current-weather {
        padding: 20px;
    }

    .weather-cards {
        flex-wrap: wrap;
    }

    .weather-cards .card {
        width: calc(100% / 4 - 15px);
    }
}

@media (max-width: 1200px) {
    .weather-cards .card {
        width: calc(100% / 3 - 15px);
    }

}

@media (max-width: 950px) {
    .weather-input {
        width: 450px;
    }

    .weather-cards .card {
        width: calc(100% / 2 - 10px);
    }
}

@media (max-width: 750px) {
    .container {
        flex-wrap: wrap;
        padding: 15px;
    }

    .weather-input {
        width: 100%;
    }
}