* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #EAEAEA;
}

#wrapper {
    background-color: #90C7E3;
    background-image: linear-gradient(#FFFFFF, #90C7E3);
}

header {
    background-color: #001e6e;
    color: #FFFFFF;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #FFFFFF;
  }
  
  header a:visited {
    color: #FFFFFF;
  }
  
  header a:hover {
    color: #90C7E3;
  }

nav {
    font-weight: bold;
    font-size: 120%;
    margin-top: 0;
    padding: 0;
    text-align: center;
}

nav a {
    text-decoration: none;
}

nav ul {
    margin: 0;
    padding: 0;
    font-size: 1.2em;
}

nav li {
    border-bottom: 1px solid darkblue;
}

a:link {
    color: #5C7FA3;
}

a:visited {
    color: #344873
}

a:hover {
    color: #A52A2A;
}

#homehero {
    height: 300px;
    background-image: url(image/coast2.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#yurthero {
    height: 300px;
    background-image: url(image/yurt.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#trailhero {
    height: 300px;
    background-image: url(image/trail.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

main {
    background-color: #FFFFFF;
    padding-left: 30px;
    display: block;
    overflow: auto;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.25em;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #1976D2;
    text-shadow: 1px 1px 0 #CCCCCC;
}

.resort {
    color: #1976D2;
    font-weight: bold;
}

h3 {
    font-family: Georgia, "Times New Roman", serif;
}

main ul {
    list-style-image: url("image/marker.gif");
}

footer {
    background-color: #FFFFFF;
    font-size: 75%;
    font-style: italic;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    padding: 2em;
}

#contact {
    font-size: 90%;
}

p, ul li {
    color: #666666
}

@media (min-width: 600px) {
    nav ul {
        display: flex;          /* Enables flexbox */
        flex-direction: row;    /* Arranges items in a row */
        flex-wrap: nowrap;      /* Prevents wrapping */
        justify-content: space-around; /* Adds space before, between, and after flex items */
        list-style: none;       /* Removes default list styling */
        padding: 0;             /* Removes default padding */
        margin: 0;              /* Removes default margin */
    }

    nav li {
        border-bottom: none;
    }

    section {
        padding-left: 2em;
        padding-right: 2em;
    }

    .content main { display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr
        1fr; }
        h2 { grid-row: 1 / 2; grid-column: 1 / 5; }
        section { grid-row: 2 / 3; grid-column: auto; }
        #special { grid-row: auto; grid-column: 1 / 5; }
        footer { grid-row: auto; grid-column: 1 / 5; }
}

@media (min-width: 1024px) {
    nav ul {
        flex-direction: column;
        padding-top: 1em;
    }

    nav {
        text-align: left;
        padding-left: 1em;
    }

    #wrapper {
        margin: auto;
        width: 80%;
        border: 1px solid darkblue;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        display: grid;
        grid-template-columns: 180px auto;
        grid-template-rows: auto auto auto auto;
    }

    header {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }

    nav {
        grid-row: 2 / 5;
        grid-column: 1 / 2;
    }

    #homehero, #yurthero, #trailhero {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
    }

    main {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
    }

    footer {
        grid-row: 4 / 5;
        grid-column: 2 / 3;
    }
}