/* setting styles for entire website */
* {
    font-family: sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* formating header */
header {
    background: linear-gradient(to right, rgb(52, 52, 207), rgb(89, 0, 116));
    color: white;
    text-align: center;
    padding: 2%;
}

/* .content {
    display: flex;
} */

/* defining properties of parent container */
.content {
    display: flex;
    flex-direction: column;
}

/* defining properties of rows */
.rows {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/* defining property of child form element */
form {
    width: 30%;
    display: flex;
    flex-direction: column;
    padding: 3%;
}

/* defining property of child temperature element */
.city-temp {
    display: flex;
    flex-direction: column;
    padding: 3%;
    width: 70%;
}

.forecast-container {
    display: flex;
    flex-direction: column;
    padding: 3%;
    width: 70%;
}

.forecast-cards {
    display: flex;
    flex-direction: row;
}

.history  {
    display: flex;
    flex-direction: column;
    padding: 3%;
    width: 30%;
}

.forecast {
    width: 20%;
    height: auto;
    background-color: grey;
    padding: 1%;
    margin: 5px;
    border-radius: 10px;
}

.Uv-red {
    padding: 2%;
    background-color: red;
    width: 130px;
    border-radius: 10px;
}

.Uv-orange {
    padding: 2%;
    background-color: orange;
    width: 130px;
    border-radius: 10px;
}

.Uv-green {
    padding: 2%;
    background-color: green;
    width: 130px;
    border-radius: 10px;
}