body {
    background-color: rgb(114, 197, 245);
    font-family: system-ui, sans-serif
}

.screen {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 50%;
    gap: 10px;
}

.searchForm {
    display: flex;
    gap: 10px;
}

.searchInput {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    flex: 1;
    font-size: large;
}

.searchBtn {
    padding: 20px;
    border: 1px solid black;
    border-radius: 20px;
    background-color: rgb(41, 123, 237);
    color: white;
    font-size: large;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.board {
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: white;
}

.cityDetails {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.weatherIcon {
    text-align: center;
    font-size: 100px;
    color: rgb(49, 151, 240);
}

.cityName {
    font-weight: bold;
    font-size: 30px;
}

.date {
    color: gray;
    font-size: 14px;
}

.temperature {
    font-weight: bold;
    font-size: 40px;
}

.weather {
    color: gray;
    font-size: 14px;
}

.boardDetails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0;
    text-align: center;
    gap: 10px;
}

.perceivedTemperature {
    background-color: aliceblue;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.wind {
    background-color: aliceblue;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.humidity {
    background-color: aliceblue;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.boardDetails div p {
    font-weight: bold;
    color: gray;
}

.boardDetails div span {
    font-weight: bold;
    font-size: 24px;
}

.forecast {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background-color: aliceblue;
    padding: 30px 0;
    gap: 12px;
}

.day {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    font-weight: bold;
}

.dayName {
    grid-column: span 2;
    color: gray;
    font-size: 20px;
}

.dayIcon {
    grid-column: span 2;
    color: rgb(49, 151, 240);
    font-size: 30px;
}

.tempMax {
    font-size: 20px;
}

.tempMin {
    font-size: 20px;
    color: gray;
}

.boardState {
    display: flex;
    justify-content: center;
}

.loadingCard,
.errorCard {
    display: none;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.loadingCard.show,
.errorCard.show {
    display: block;
}

.loadingCard {
    background-color: aliceblue;
}

.errorCard {
    background-color: lightcoral;
}