/*style guides for web-pages*/
/*change css page frame to small/mobile and use @media to make its frame bigger for medium to large*/

/*header style*/
header {
    background-color: #002171;
    padding: 1em;
    color: #ffffff;
    font-family: Georgia;
}

header a:link {
    text-decoration: none;
    color: #ffffff;
}

header a:visited {
    color: #ffffff;
}

header a:hover {
    color: #90c7e3;
}

/*body style*/
body {
    background-color: #eaeaea;
    margin: 0;
    color: #90c7e3;
    font-family: Arial;
}

/*heading style*/
h1 {
    text-align: center;
    padding-top: 0.5em;
    font-size: 1.5em;
}

h2 {
    color: #1976d2;
    font-family: Georgia;
}

h3 {
    font-family: Georgia;
}

/*navigation style*/
nav {
    background-color: white;
    text-align: center;
    font-size: 1.2em;
}
nav a {
    text-decoration: none;
}

nav a:link {
    color: #5c7fa3;
    text-decoration: none;
}

nav a:visited {
    color: #344873;
}

nav a:hover {
    color: #a52a2a;
}

nav ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

nav li {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    border-bottom: 1px solid;
}

/*main style*/
main {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1em;
    padding-right: 1em;
    display: block;
}

/*description list style*/
dt {
    color: #002171;
    font-weight: bold;
}

/*footer style*/
footer {
    font-size: 0.7em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #ffffff;

}
/*on and off phone number*/
#mobile {
    display: inline;
}
#desktop {
    display: none;
}

/*class style*/
/*"." is used to mark class*/
.resort {
    color: #1976d2;
    font-size: 1.2em;
}

/*ID style*/
/*"#" used to mark ID*/
#wrapper {
    background-color: #ffffff;
}

#homehero {
    height: 300px;
    background-image: url(pacific_images/coast.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

#yurthero {
    height: 300px;
    background-image: url(pacific_images/yurt.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

#trailhero {
    height: 300px;
    background-image: url(pacific_images/trail.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
/*section format */
section {
    padding-left: 0.5em;
    padding-right: 0.5em;
}
/*box*/
* {
    box-sizing: border-box;
}
/*better way of using media?*/
/*going from small to medium page layout*/
@media (min-width: 600px) {
    h1 {
        font-size: 2em;
        letter-spacing: 0.25em;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        padding-right: 2em;
    }
    nav li {
        width: 12em;
        border-bottom: none;
    }
    section {
        padding-left: 2em;
        padding-right: 2em;
    }
    #flow {
        display: flex;
        flex-direction: row;
    }
    #mobile {
        display: none;
    }
    #desktop {
        display: inline;
    }

    #homehero {
        background-size: 100% 100%;
    }

    #yurthero {
        background-size: 100% 100%;
    }

    #trailhero {
        background-size: 100% 100%;
    }
}
/*going from Medium to large page layout*/
@media (min-width: 1024px) {
    body {
        background-image: linear-gradient(to bottom, #ffffff 20%, #90c7e3 60%, #ffffff 100%);
    }
    nav ul {
        padding-left: 10%;
        padding-right: 10%;
    }
    /*Set the area to be horizontally centered*/
    #wrapper {
        margin: auto;
        width: 80%;
    }
}
