* {
    box-sizing: border-box;
}

body {
    color: #666666;
    background-color: #90c7e3;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
}

header {
    background-color: #002171;
    color:#FFFFFF;
    font-family: Georgia, serif;
    padding: 1em;
}

header a {
    text-decoration: none;
    color: #FFF;
}

header a:link, header a:visited {
    color: #FFFFFF;
}

header a:hover {
    color: #90C7E3;
}

h1 {
    text-align: center;
    font-family:'Brush Script MT', cursive;
    font-size: 1.5em;
}

nav {
    font-size: 1.2em;
    text-align: center;
    background-color: #FFF;
}

nav ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

nav li {
    padding: .5em 1em .5em 1em;
    width: 100%;
    border-bottom: 1px solid;
}

nav a {
    text-decoration: none;
}

nav a:link {
    color: #5C7FA3;
}

nav a:visited {
    color: #344873;
}

nav a:hover {
    color: #A52A2A;
}

main {
    padding: 0 1em 0 1em;
    display: block;
}

h2 {
    color: #1976D2;
}

h3 {
    font-family: Georgia, serif;
}

section {
    padding-left: .5em;
    padding-right: .5em;
}

table {
    border: 1px #3399CC;
    width: 90%;
    border-collapse: collapse;
    margin: auto;
}

td {
    padding: 5px;
    border: 1px solid #3399CC;
    text-align: center;
}

tr:nth-of-type(even) {
    background-color: #DFEDF8;
}

th {
    padding: 5px;
    border: 1px solid #3399CC;
}

form {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    width: 80%;
}

input {
    margin-bottom: .5em;
}

textarea {
    margin-bottom: .5em;
    resize: none;
}

footer {
    font-size: .70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #fff;
}

.resort {
    color: #1976D2;
    font-size: 1.2em;
}

.special {
    font-weight: bold;
    color: #660099;
}

.text {
    text-align: left;
}

#mobile {
    display: inline;
}

#desktop {
    display: none;
}

#wrapper {
    background-color: #FFFFFF;

}

#homehero {
    height: 300px;
    background-image: url(images/coast.jpg);
    background-size: 200% 100%;
}

#yurthero {
    height: 300px;
    background-image: url(images/yurt.jpg);
    background-size: 200% 100%;
}

#trailhero {
    height: 300px;
    background-image: url(images/trail.jpg);
    background-size: 200% 100%;
}

#reshero {
    height: 300px;
    background-image: url(/images/ocean.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}

@media (min-width: 600px) {
    h1 {
        font-size: 2em;
        letter-spacing: .25em;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    nav li {
        width: 12em;
        border-bottom: none;
    }

    form {
        width: 60%;
        display: grid;
        grid-gap: 1em;
        grid-template-columns: 10em 1fr;
    }

    input[type=submit] {
        grid-column: 2 / 3;
        width: 9em;
    }

    #flow {
        display: flex;
        flex-direction: row;
    }

    #mobile {
        display: none;
    }

    #desktop {
        display: inline;
    }

    #homehero, #yurthero, #trailhero, #reshero {
        background-size: 100% 100%;
    }
}


@media (min-width: 1024px) {
    body {
        background-image: linear-gradient(to bottom, #FFFFFF 20%, #90C7E3 60%, #FFFFFF 100%);
    }

    nav ul {
        padding-right: 10%;
        padding-left: 10%;
    }

    #wrapper {
        width: 80%;
        margin: auto;
    }
}