/*TEXT ELEMENTS*/

@font-face {
    font-family: "ElinaWeather";
    src: url("https://moon-elxna.github.io/weather-app/font/Elinaweather-Regular.ttf") format("truetype");
    font-display: block;
}

h1 {
    font-size: 35px;
    margin-left: 20px;
    margin-top: 0px;
    font-family: "ElinaWeather";
}

p {
    color: black;
    font-family: "ElinaWeather";
}

p#temp {
    font-size: 36px;
    font-weight: bolder;
    margin-left: 20px;
}

p#appTemp {
    font-size: 22px;
    font-weight: normal;
    margin-left: 20px;
    margin-top: -20px;

}

p.more {
    font-size: 18px;
}

p.moreTitle {
    font-size: 18px;
    font-weight: bold;
}

p#timex {
    margin-left: 20px;
}

/*OTHER ELEMENTS*/

button#btn1 {
    cursor: pointer;
    border-radius: 2px;
    border-width: 0px;
    font-size: 20px;
    font-weight: normal;
    font-family: "ElinaWeather";
}

input#inputSearch {
    cursor: pointer;
    border-radius: 2px;
    border-width: 0px;
    font-size: 20px;
    font-weight: normal;
    font-family: "ElinaWeather";
}

img {
    max-width: 150px;
    padding: 15px;
}


/*DIV*/

body {
    display: flex;
    justify-content: center;
    gap: 10px;
}

div#app {
    display: flex;
    flex-direction: column;
    padding: 12.5px;
    border-radius: 10px;
}

div#searchBox {
    margin-left: 20px;
    margin-top: -10px;
    margin-bottom: 10px
}

div#searchResultsSelection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

div.cityCountry {
    cursor: pointer;
    padding-left: 20px;
    border-radius: 5px;
}

div#cityCountry0 {
    grid-area: 1 / 1 / 2 / 2;
}

div#cityCountry1 {
    grid-area: 1 / 2 / 2 / 3;
}

div#cityCountry2 {
    grid-area: 2 / 1 / 3 / 2;
}

div#cityCountry3 {
    grid-area: 2 / 2 / 3 / 3;
}

div#cityCountry4 {
    grid-area: 3 / 1 / 4 / 2;
}

div#cityCountry5 {
    grid-area: 3 / 2 / 4 / 3;
}

div#cityCountry6 {
    grid-area: 4 / 1 / 5 / 2;
}

div#cityCountry7 {
    grid-area: 4 / 2 / 5 / 3;
}

div#cityCountry8 {
    grid-area: 5 / 1 / 6 / 2;
}

div#cityCountry9 {
    grid-area: 5 / 2 / 6 / 3;
}

div#weather1 {
    display: flex;
    flex-direction: row;
}

div#currentWeather {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    align-items: center;
}

div#moreWeather {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

div#more1 {
    grid-area: 1 / 1 / 2 / 2;
}

div#more2 {
    grid-area: 1 / 2 / 2 / 3;
}

div#more3 {
    grid-area: 2 / 1 / 3 / 2;
}

div#more4 {
    grid-area: 2 / 2 / 3 / 3;
}

div.more {
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 30px;
}


/*MEDIA QUERY*/

@media (max-width: 700px) {
    p#timex {
        margin-left: 0px;
    }

    div#weather1 {
        display: flex;
        flex-direction: column;
    }

    div#searchResultsSelection {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 10px;
    }

    div#cityCountry0 {
        grid-area: 1 / 1 / 2 / 2;
    }

    div#cityCountry1 {
        grid-area: 2 / 1 / 3 / 2;
    }

    div#cityCountry2 {
        grid-area: 3 / 1 / 4 / 2;
    }

    div#cityCountry3 {
        grid-area: 4 / 1 / 5 / 2;
    }

    div#cityCountry4 {
        grid-area: 5 / 1 / 6 / 2;
    }

    div#cityCountry5 {
        grid-area: 6 / 1 / 7 / 2;
    }

    div#cityCountry6 {
        grid-area: 7 / 1 / 8 / 2;
    }

    div#cityCountry7 {
        grid-area: 8 / 1 / 9 / 2;
    }

    div#cityCountry8 {
        grid-area: 9 / 1 / 10 / 2;
    }

    div#cityCountry9 {
        grid-area: 10 / 1 / 11 / 2;
    }

}