/* CH7 Case Study: Mobile-first responsive layout + media queries */
/* Global styles for the document */
body {
    margin: 0;
    background-color: #90C7E3;
    background-image: linear-gradient(#FFFFFF, #90C7E3);
    background-repeat: no-repeat;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
}

/* Styles for the header element */
header {
    background-color: #000033;
    background-image: url(sunset.jpg);
    background-repeat: no-repeat;
    background-position: right;
    padding: 1em;
    color: #FFFFFF;
}

/* Styles for the h1 element */
h1 {
    text-align: center;
    font-size: 1.5em;
    margin: 0;
}

/* Styles for the nav element */
nav {
    text-align: center;
    backround-color: #FFFFFF;
}
/* CH7: Mobile-first nav menu (stacked) */
nav ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

nav li { 
    display: block;
    padding: .5em 1em;
    width: 100%;
    border-bottom: 1px solid #000;
}

/* Styles for the h2 element */
h2 {
    color: #1976D2;
    font-family: Georgia, serif;
}

/* Styles for the dt element */
dt {
    color: #002171;
    font-weight: bold;
}

/* Styles for a class named resort */
.resort {
    color: #1976D2;
    font-size: 1.2em;
}

/* Styles for the footer element */
footer {
    padding: 1em;
    font-size: 0.70em;
    font-style: italic;
    text-align: center;
}

/* Style rule for the wrapper ID */
#wrapper {
    background-color: #FFFFFF;
}

h3{
    font-family: Georgia, 'Times New Roman', Times, serif;
}

main{
    padding-left: 2em;
    padding-right: 2em;
    display: block;
}
#homehero {
    height: 300px;
    background-image: url(coast.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
#yurthero {
    height: 300px;
    background-image: url(yurt.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

#trailhero {
    height: 300px;
    background-image: url(trail.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

nav a {
    text-decoration: none;
}
/* CH7: Medium layoout (min-width: 600px) */
@media (min-width: 600px) {
    
    h1 {
        font-size: 2em;
        letter-spacing: .25em;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        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, #yurthero, #trailhero {
        backround-size: 100% 100%;
    }
    
}