:root {
    --dark-text-color: black;
    --light-text-color: white;
    --body-bg-color: rgb(255, 255, 226);
    --body-bg-highligh-color: rgb(255, 255, 226);
    --weather-bg-color: rgb(248, 248, 248);
    --main-bg-color: rgb(195, 206, 175);
    --main-primary-color: rgb(211, 218, 195);
    --aside-bg-color: rgb(156, 168, 127);
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--body-bg-color);
    font-family: 'Karla', sans-serif;
    color: var(--dark-text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, #temp {
    font-family: 'Rubik', sans-serif;
}

p {
    line-height: 1.4;
}

#cool-bg-color {
    position: absolute;
    height: 38vh;
    width: 100vw;
    z-index: -1;
    background-color: var(--body-bg-highligh-color);
}

#page-container {
    max-width: 1600px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

/* ||HEADER|| */

header {
    width: 100%;
    background: #ffffff url("../images/banner_resized_mirrored.jpg") no-repeat center top;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

h1 {
    text-align: center;
    font-size: 6vw;
    color: var(--light-text-color);
    margin: 0 30px;
    text-shadow: 2px 2px 10px black;
}

#weather-container {
    text-align: center;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 25px 25px 10px 25px;
    background-color: var(--weather-bg-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

#weather {
    display: flex;
    width: 100%;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
}

#weather img {
    margin: 0;
}

#weather-icon {
    margin: auto;
    width: 60px;
    height: 60px;
}

#temp {
    font-size: 24px;
}

/* ||MAIN|| */

main {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    width: 70%;
    background: var(--main-bg-color);
}

#search-text, #search-button {
    font-size: 28px;
    margin: 0;
    margin-bottom: 30px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    outline: none;
    transition: 0.2s;
}

#search-button {
    cursor: pointer;
}

#search-button:hover {
    background-color: rgb(224, 224, 224);
    transition: 0.2s;
}

#search-text::placeholder {
    color: rgb(119, 119, 119);
    transition: 0.2s;
}

#search-text:focus::placeholder {
    color: rgb(224, 224, 224);
    transition: 0.2s;
}

#search-text {
    width: 50%;
    margin-right: 15px;
}

#map-section {
    position: relative;
    width: 100%;
    min-height: 582px;
    margin: 30px;
}

#map-section p {
    font-size: 24px;
    margin: 0;
}

#map-section h4 {
    margin: 0 0 5px 0;
}

#map-container {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    height: 500px;
    position: relative;
}

#map {
    height: 100%;
}

#map p {
    font-size: 12px;
    margin-top: 5px;
}

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    text-align: center;
    color: var(--light-text-color);
    font-size: 22px;
    background-color: rgba(0, 0, 0, 0.33);
    padding-top: 30px;
    pointer-events: none;
    margin: 0;
}

/* ||Closest Parks & Shops|| */

main ul {
    margin: 0;
    list-style: none;
    padding: 0;
    font-size: 20px;
}

main li {
    background-color: var(--main-primary-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 5px;
}

main h2 {
    margin: 15px 30px;
}

main li h3 {
    margin: 0;
    margin-bottom: 15px;
}

main li h4 {
    margin: 15px 0;
}

main li p {
    margin: 0;
}

#parks-section {
    width: 50%;
}

#parks-section li {
    cursor: pointer;
}

#shop-section {
    width: 50%;
}

.selected-park {
    background-color: rgb(223, 228, 211);
}

/* ||Introduction|| */

aside {
    width: 30%;
    background: var(--aside-bg-color);
    margin-left: 0;
    text-align: center;
}

aside p {
    text-align: justify;
    text-justify: inter-word;
}

#introduction-section {
    margin: 30px;
}

video {
    width: 100%;
}

#recipe-section {
    margin: 30px;
    padding-top: 20px;
    border-top: 2px solid rgb(105, 126, 71);
}

#recipe-section h4, #recipe-section h5 {
    margin-bottom: 0;
}

#recipe-section ul {
    padding: 0;
    margin-top: 0;
    list-style: none;
    line-height: 1.4;
}

#recipe-section img {
    width: 80%;
}

/* ||FOOTER|| */

footer {
    width: 100%;
    text-align: center;
    color: var(--light-text-color);
}

#footer-section {
    background: #ffffff url("../images/footer_resized.jpg") no-repeat center top;
    padding: 30px;
}

footer h2 {
    text-shadow: -1px 0 black, 0 1px 3px black, 1px 0 black, 0 -1px black;
}

footer ul {
    list-style-type: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

footer ul img {
    width: 120px;
}

figcaption {
    text-align: center;
    text-shadow: -1px 0 black, 0 1px 3px black, 1px 0 black, 0 -1px black;
}

footer a {
    color: var(--light-text-color);
    text-shadow: -1px 0 black, 0 1px 3px black, 1px 0 black, 0 -1px black;
}

footer p {
    margin: 0;
    margin-top: 15px;
}

/* ||EXEMPTIONS|| */

/* Ultrawide screen */

@media only screen and (min-width: 1700px) {
    h1 {
        font-size: 110px;
    }
}

/* Mobile */

@media only screen and (max-width: 900px) {
    #weather-container {
        padding: 5px;
        font-size: 2vw;
    }

    #weather-icon {
        width: 50px;
        height: 50px;
    }

    #temp {
        font-size: 3vw;
    }

    main {
        width: 100%;
    }

    header {
        padding: 50px 0;
    }

    header h1 {
        text-align: left;
        font-size: 8vw;
    }

    main p {
        text-align: center;
    }

    #search-text, #search-button {
        font-size: 4vw;
    }

    #parks-section, #shop-section {
        width: 100%;
        text-align: center;
    }

    #shop-section {
        border-top: 2px solid rgb(105, 126, 71);
    }

    #parks-section li, #shop-section li {
        width: auto;
    }

    ul {
        padding: 0;
    }

    aside {
        width: 100%;
    }

    footer ul {
        flex-flow: row;
    }

    footer ul img {
        width: 80px;
    }

    footer h2 {
        margin: 0;
    }

    figure {
        margin: 16px;
    }
}