* {
    box-sizing: border-box;
}

body {
    background-color: #eaeaea;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background-color: #002171;
    background-position: right;
    text-align: center;
}

header a {
    text-decoration: none;
}

header a:link, header a:visited {
    color: #ffffff;
}

header a:hover {
    color: #90c7e3;
}

footer {
    font-size: 75%;
    font-style: italic;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    padding: 2em;
    background-color: #ffffff;
}

nav {
    font-weight:bold;
    padding: 0;
    font-size: 120%;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    font-size: 1.2em;
}

nav li {
    border-bottom: 1px solid rgb(0, 0, 143);
}

nav a {
    text-decoration: none;
}

nav a:link {
    color: #5c7fa3;
}

nav a:visited {
    color: #344873;
}

nav a:hover {
    color: #a52a2a;
}

main {
    background-color: #ffffff;
    padding-top: 1px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 30px;
    display: block;
    overflow: auto;
}

main ul {
    list-style-image: url(marker.gif);
}

h1 {
    margin-top: 0;
    color: #ffffff;
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.25em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

h2 {
    color: #1976d2;
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 1px 1px #cccccc;
}

h3 {
    color: #000033;
    font-family: Georgia, "Times New Roman", serif;
}

dt {
    color: #002171;
}

.resort {
    color: #1976d2;
    font-weight: bold;
}

#contact {
    font-size: 90%;
}

#wrapper {
    background-color: #90c7e4;
    background-image: linear-gradient(to bottom, #ffffff, #90c7e3);
}

#homehero {
    height: 300px;
    background-image: url(coast2.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#yurthero {
    height: 300px;
    background-image: url(yurt.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#trailhero {
    height: 300px;
    background-image: url(trail.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* NEW STYLES */
table {
    border: 2px solid #3399CC;
    border-collapse: collapse;
}

td, th {
    padding: 0.5em;
    border: 2px solid #3399CC;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

tr:nth-of-type(odd) {
    background-color: #F5FAFC;
}

form {
    display: flex;
    flex-flow: column nowrap;
}

input, textarea {
    margin-bottom: 0.5em;
}

@media (min-width: 600px) {
    nav ul {
        display: flex;
        flex-flow: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    nav li {
        border-bottom: none;
    }

    .content main {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr 1fr;
    }

    h2 {
        grid-row: 1/2;
        grid-column: 1/4;
    }

    section {
        padding-left: 2em;
        padding-right: 2em;
        grid-row: 2/3;
        grid-column: auto;
    }

    #special {
        grid-row: auto;
        grid-column: 1/4;
    }

    footer {
        grid-row: auto;
        grid-column: 1/4;
    }

    form {
        width: 60%;
        display: grid;
        grid-gap: 1em;
        grid-template-columns: 6em 1r;
        grid-template-rows: auto;
    }

    input[type="submit"] {
        grid-column: 2/3;
        width: 9em;
    }
}

@media (min-width: 1024px) {
    nav ul {
        flex-direction: column;
        padding-top: 1em;
    }

    nav {
        text-align: left;
        padding-left: 1em;
    }

    #wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        border: 1px solid rgb(0, 0, 118);
        box-shadow: 3px 3px #333333;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 180px 1fr;
    }

    header { 
        grid-row: 1/2;
        grid-column: 1/4;
    }

    nav {
        grid-row: 2/5;
        grid-column: 1/2;
    }

    div {
        grid-row: 2/3;
        grid-column: 2/4;
    }

    .content main {
        grid-row: 3/4;
        grid-column: 2/4;
    }

    #special {
        grid-row: auto;
        grid-column: 1/4;
    }

    footer {
        grid-row: auto;
        grid-column: 2/4;
    }
}