
*{
    box-sizing: border-box;
}

/* set the header style, image and the background color */
header {
background-color: #002171;

color: #FFFFFF;
text-align: center;
}
header a {
text-decoration: none;
color: white;
}
header a:link{
    color: white;
}
header a:visited {
    color: white;
}
header a:hover {
    color: 90c7e3;
}

/* set the header h1 style of the all page element */
h1 {
margin-bottom: 0;
margin-top: 0;
padding-top: 0.5em;
padding-bottom: 0.5em;
font-family: Georgia, "Times New Roman", serif;
letter-spacing: 0.25em;
}
/* set the navigation style */
nav {
text-align: center;
font-weight: bold;
padding: 0;
font-size: 120%;
}

nav a {
text-decoration: none;
padding-left: 0.5em;
padding-right: 0.5em;
}

nav ul {
margin: 0;
padding-left: 0;
font-size: 1.2em;
list-style-type: none;
}


/* set the body style */
body {
background-color: #EAEAEA;
color: #666666;
font-family: Arial, Helvetica, sans-serif;
}
/* set the wrapper div id style */
#wrapper {
background-image: linear-gradient(to bottom, #ffffff, #90c7e3); 
background-color: #90C7E3;  

}
/* set the header style, image and the background color */
header {
background-color: #002171;

color: #FFFFFF;
text-align: center;
}
header a {
text-decoration: none;
color: white;
}
header a:link{
    color: white;
}
header a:visited {
    color: white;
}
header a:hover {
    color: 90c7e3;
}

/* set the header h1 style of the all page element */
h1 {
margin-bottom: 0;
margin-top: 0;
padding-top: 0.5em;
padding-bottom: 0.5em;
font-family: Georgia, "Times New Roman", serif;
letter-spacing: 0.25em;
}
/* set the navigation style */
nav {
text-align: center;
font-weight: bold;
padding: 0;
font-size: 120%;
}

nav a {
text-decoration: none;
padding-left: 0.5em;
padding-right: 0.5em;
}

nav ul {
margin: 0;
padding-left: 0;
font-size: 1.2em;
list-style-type: none;
}

nav li{
    border-bottom: 1px darkblue solid;
}

nav a:link {
color: #5c7fa3;
}
nav a:visited {
color: #344873;
}
nav a:hover {
color: #A52A2a;
}

/* set the main style */
main {
padding: 1px 20px 20px 30px;
display: block;
overflow: auto;
background-color: #FFFFFF;
padding-left: 30px;
}

/* set the ul list image */
main ul {
list-style-image: url(images/marker.gif);
}
/* set the h2 style of the all page element */
h2 {
color: #1976d2;
font-family: Georgia, "Times New Roman", serif;
text-shadow: 1px 1px 1px #cccccc;
}

/* set the h3 style of the all page element */
h3 {
color: #000033;
font-family: Georgia, "Times New Roman", serif;
}

form{
display: flex;
flex-flow: column nowrap;
}

input, textarea{
    margin-bottom: 0.5em;
}

input{
padding: 0.5em;
}

dt{
color: #002171;
}
/* set the footer style */
footer {
padding: 2em;
background-color: white;
font-family: Georgia,"Times New Roman", serif;
font-size: 75%;
font-style: italic;
text-align: center;
}
/* set the resort style */
.resort {
color: #1976d2;
font-weight: bold;
}
/* set the contact style */
#contact {
font-size: 90%;
}
/* set the homehero div id style */
#homehero {
height: 300px;
background-image: url(images/coast2.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;

}
/* set the yurthero div id style */
#yurthero {
height: 300px;
background-image: url(images/yurt.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
}

/* set the trailhero div id style */
#trailhero {
height: 300px;
background-image: url(images/trail.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
}

table{
    border-spacing: 0;
    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;
}

@media(min-width: 600px) {
    nav ul{
        display: flex;
        flex-flow:  row nowrap;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: 0.25em;
        justify-content: space-between;
    }
    nav li{
        border-bottom: none;
    }
    section{
        padding-left: 2em;
        padding-right: 2em;
    }
    form{
        display: grid;
        grid-template-columns: 6em 1fr;
        grid-template-rows: auto;
        grid-gap: 1em;
    }

    #submit{
    grid-column: 2 / 3;
    width: 9em;
    }
    .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{
        display: flex;
        flex-flow: column;
        padding-top: 1em;
    }
    
    nav{
        text-align: left;
        padding-left: 1em;

    }
    
    #wrapper {
        margin: auto;
        width: 80%;
        border: 1px solid #000033;
        box-shadow: 1px 1px #000033;
        display: grid;
        grid-template-columns: 180px auto;
        grid-template-rows: auto;
        }
    header{
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
    
    nav{
        grid-row: 2 / 5;
        grid-column: 1 / 2;
    }
    div{
        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;
    }


}

    

