* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #90c7e3;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
}

header {
    background-color: #002171;
    padding: 1em;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

header a {
    text-decoration: none;
}

header a:link {
    color: #ffffff;
}

header a:visited {
    color: #ffffff;
}

header a:hover {
    color: #90c7e3;
}

h1 {
    text-align: center;
    font-size: 1.5em;
}

nav {
    text-align: center;
    font-size: 1.2em;
    background-color: white;
}

nav a {
    text-decoration: none;
}

nav ul {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}

nav li {
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 1em;
    padding-right: 1em;
    border-bottom: 1px solid;
    width: 100%;
}

nav a:link {
    color: #5c7fa3;
}

nav a:visited {
    color: #344873;
}

nav a:hover {
    color: #a52a2a;
}

h2 {
    color: #1976d2;
}

h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

dt {
    color: #002171;
    font-weight: bold;
}

.resort {
    color: #1976d2;
    font-size: 1.2em;
}

main {
    padding-left: 1em;
    padding-right: 1em;
    display: block;
}

section {
    padding-left: .5em;
    padding-right: .5em;
}

footer {
    background-color: #ffffff;
    font-size: .70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
}


#reshero {
    height: 300px;
    background-image: url(ocean.jpg);
    background-repeat: no-repeat;
    background-size: 200% 100%;
}

#homehero {
    height: 300px;
    background-image: url(coast.jpg);
    background-repeat: no-repeat;
    background-size: 200% 100%;
}

#yurthero {
    height: 300px;
    background-image: url(yurt.jpg);
    background-repeat: no-repeat;
    background-size: 200% 100%;
}

#trailhero {
    height: 300px;
    background-image: url(trail.jpg);
    background-repeat: no-repeat;
    background-size: 200% 100%;
}


#wrapper {
    background-color: #ffffff;
    /* min-width: 960px;
    max-width: 2048px;;
    width: 80%; */
    /* margin-left: auto;
    margin-right: auto; */
}

#mobile {
    display: inline;
}

#desktop {
    display: none;
}

table {
    width: 90%;
    border: 1px solid #3399cc;
    border-collapse: collapse;
    margin: auto;
}

tr:nth-of-type(even) 
{
    background-color: #dfedf8;
}

th {
    padding: 5px;
    border: 1px solid #3399cc;
}

td {
    padding: 5px;
    border: 1px solid #3399cc;
    text-align: center;
}

.text {
    text-align: left;
}

form {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    width: 80%;
}

input {
margin-bottom: .5em;

}

textarea {
    margin-bottom: .5em;
}

@media (min-width: 600px) {

    form {
        width:60%;
       display: grid;
       grid-template-rows: auto;
        grid-template-columns: 10em 1fr;
        gap: 1em;
               
    }

  input[type="submit"] {
    grid-column: 2 / 3;
    width: 9em;
  }
#reshero {
        background-size: 100% 100%;
    }


    h1 {
        font-size: 2em;
        letter-spacing: .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%;
    }

}

@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%;
    }

    #wrapper {
        width: 80%;
        margin: auto;
    }
}