/* Global styles for the document */
*{ box-sizing: border-box;
}
body {
    background-color: #90C7E3;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    background: linear-gradient(#FFFFFF, #90C7E3);
    margin: 0;
}
/* Styles for the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    font-family: Georgia, serif;
    padding: 1em;
}
header a {
    text-decoration: none;
}
header a:link {
    color: #FFFFFF;
}
header a:visited {
    color:#FFFFFF;
}
header a:hover {
    color: #90C7E3
}
/* Styles for the h1 element */
h1 {
    text-align: center;
    font-size: 1.5em;
}
/* Styles for the nav element */
nav {
    font-size: 1.2em;
    text-align: center;
    background-color: #FFFFFF;
}
/* Remove underline from hyperlinks in nav */
nav a {
    text-decoration: none;
}
/* Styles for hyperlinks in nav */
nav a:link{
    color: #5C7FA3; 
}
nav a:visited{
    color: #344873;
}
nav a:hover{
    color: #A52A2A;
}
/* Styles for nav unordered list */
nav ul {
        display: flex;
        flex-direction: column;
        list-style-type: none;
        padding-left: 0;
        margin: 0;
}
nav li {
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    border-bottom-style: solid;
    border-width: 1px;
}
/* Styles for the h2 element */
h2 {
    color: #1976D2;
    font-family: Georgia, serif;
}
/* Styles for the h3 element */
h3 {
    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 {
    font-size: 0.70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
}
/* Style rule for the wrapper ID */
#wrapper {
    background-color: #FFFFFF;
}
/* Styles for the main element */
main {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1em;
    padding-right: 1em;
    display: block; /* For IE compatibility */

}
/* Styles for section element */
section {
    padding-left: .5em;
    padding-right: .5em;
}
/* Styles for the homehero ID */
#homehero {
    height: 300px;
    background-image: url(pacific/coast.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
/* Styles for the yurthero ID */
#yurthero {
    height: 300px;
    background-image: url(pacific/yurt.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
/* Styles for the trailhero ID */
#trailhero {
    height: 300px;
    background-image: url(pacific/trail.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
/* Styles for reshero ID */
#reshero {
    height: 300px;
    background-image: url(pacific/ocean.jpg);
    background-size: 200% 100%;
    background-repeat: no-repeat;
}
/* Styles for mobile screen */
#mobile {
    display: inline;
}
/* Styles for desktop screen */
#desktop {
    display: block;
}
/* Form styles for mobile screen size */
form {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    width: 80%;
} 
input {
    margin-bottom: .5em;
}
textarea {
    margin-bottom: .5em;
}
/* Styles for medium screen size */
@media screen and (min-width:600px) {
    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%;
    }
}
/* Styles for large screen size */
@media screen and (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 {
        margin: auto;
        width: 80%;
    }
    /* Styles for form grid*/
    form {
        width: 60%;
        display:grid;
        gap: 1em;
        grid-template-columns: 10em 1fr;
    }
    /* Styles for submit btn*/
    input[type=submit] {
        grid-column: 2;
        width: 9em;
    }
    #reshero {
        background-size: 100% 100%;
    }
}
/* Styles for Yurt table */
table {
    width: 90%;
    margin: auto;
    border: 1px solid #3399CC;
    border-collapse: collapse;
}
td, th {
    padding: 5px;
    border: 1px solid #3399CC;
}
td {
    text-align: center;
}
/* Text align for description table cells */
.text {
    text-align: left;
}
/* Alternates background colors on Yurt table */
tr:nth-child(even) {
    background-color: #DFEDF8;
}