/* universal */
:root {
    ---main: rgb(60, 165, 251);
    ---font: rgba(235, 235, 235, 0.915);
    ---light: rgba(0, 0, 0, 0.248);
    ---subtle: rgba(235, 235, 235, 0.614);
}

* {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: var(---font);
}

body {
    background-image: url(../OTHER/background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

section {
    filter: blur();
}

#city {
    text-align: center;
    font-size: 40px;
    width: 100%;
}

#cityTime {
    text-align: center;
    font-size: 35px;
    width: 100%;
}


img {
    height: 65px;
}

/* header */
header {
    display: grid;
    text-align: center;
}

h1 {
    text-align: center;
    font-size: 45px;
    margin-top: 5px;
}

.search {
    border-radius: 10px;
    width: 80%;
    margin: auto;
    background-color: var(---light);
    font-size: 25px;
    padding: 5px;
    text-align: center;
    border: 1px solid var(---font);
}

input {
    border: none;
    background-color: rgba(127, 255, 212, 0);
    color: var(---font);
    width: 80%;
}

.search:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

input::placeholder {
    color: var(---subtle);
}

.search i {
    color: var(---subtle);
    transition: 1s;

}

.search i:hover {
    transition: 1s;
    color: var(---font);
}

input:focus {
    outline: none;
}

#timeMain {
    background-color: var(---light);
    border-radius: 30px;
    margin: 30px auto 5px auto;
    backdrop-filter: blur;
}

#timeMain p {
    margin: auto;
    padding: 10px;
}

/* nav */
nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center
}

nav ol li:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

nav li {
    background-color: var(---light);
    margin: 5px 5px;
    padding: 10px;
    border-radius: 12px;
}

/* main weather */
.main-widget {
    background-color: var(---light);
    border-radius: 15px;
    display: grid;
}

.main-temp {
    background-color: var(---light);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: center;
}

.main-temp p {
    font-size: 60px;
    vertical-align: middle;
}

#mainTempIcon {
    vertical-align: middle;
    height: 60px;
    margin: auto 0;
}

.future-hour-list ol {
    text-align: center;
    list-style: none;
    padding: 0;
}

.future-hour-list i {
    font-size: 25px;
    margin: auto;
}

.future-hour-list ol li {
    display: flex;
    justify-content: space-between;
    width: 60%;
    padding: 5px;
    border-radius: 15px;
    margin: 5px auto;
    background-color: rgba(0, 0, 0, 0.2);
}

.future-hour-list h3 {
    margin: auto;
}

#icon {
    height: 30px;
    margin: auto 5px;
}

.meta-data {
    border-top: solid 1px var(---font);
    list-style: none;
    padding-left: 0;
    margin-left: 3%;
}

.meta-data li {
    display: flex;
    justify-content: space-between;
}

.visualData {
    display: flex;
    vertical-align: middle;
}

.visualData i {
    margin: auto;
    padding-right: 15px;
}

.data {
    margin-right: 5%;
}

/* future days */
.future-day-list {
    list-style: none;
    padding-left: 0;
}

.future-day-list li {
    margin: 10px auto;
    background-color: var(---light);
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
}

.future-day-list div {
    width: 100%;
    display: flex;
    margin: 10px;
}

.future-day-list img {
    height: 40px;
    margin: auto;
}

/* footer */
footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: var(---light);
}

.logo {
    height: 70px;
    width: 250px;
}

footer img {
    height: 50px;
    margin: auto;
}

#copyrights {
    font-size: 15px;
    margin: auto;
}

@media screen and (min-width:575px) {
    section {
        width: 80%;
        margin: auto;
    }

    .search {
        width: 50%;
    }
}

@media screen and (min-width:768px) {
    body {
        display: flex;
        flex-wrap: wrap;
    }

    section {
        width: 45%;
    }

    footer {
        width: 100%;
        margin-top: 20px;
    }

    #copyrights,
    footer h2 {
        font-size: 30px;
    }

    header {
        width: 100%;
    }

}

@media screen and (min-width:980px) {
    .search {
        width: 30%;
        max-width: 400px;
    }

    h1 {
        font-size: 70px;
    }
}