/* Universal styles */
* {
    box-sizing: border-box;
}

/* Global styles for the document */
body {
    background-color: #EAEAEA; /* Changed background color */
    background-image: linear-gradient(to bottom, #ffffff 20%, #90C7E3 60%, #ffffff 100%);
    color: #90C7E3;
    font-family: Verdana, Arial, sans-serif;
	margin:0;
}

/* Styles for the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    font-family: Georgia, serif;
	padding: 1em 1em 1em 1em;
}

/* Styles for the h1 element */
h1 {
    text-align: center;
    letter-spacing: .25em;
    padding-top: 0.5em;
    font-size: 2em; /* changed font size */
    color: #FFFFFF; /* Set H1 text color to white */
}

/* Remove underline from header link */
header a {
    text-decoration: none; /* Remove underline */
    color: #FFFFFF; /* Ensure link color is white */
}

/* Styles for the nav element */
nav {
	text-align:center;
    font-size: 1.2em; /* Set font size */
    background-color: #FFFFFF; /* Inherit background from wrapper */
}

/* Remove underline from hyperlinks in nav */
nav a {
    text-decoration: none;
}

/* Styles for nav link states */
nav a:link {
    color: #5C7FA3; /* Unvisited hyperlinks */
}

nav a:visited {
    color: #344873; /* Visited hyperlinks */
}

nav a:hover {
    color: #A52A2A; /* Hover state */
}

/* Styles for the unordered lists in nav */
nav ul {
    list-style-type: none; /* No list markers */
    padding-left: 1em; /* Set left padding */
	display:flex;
	flex-direction:row;
    flex-wrap: nowrap;
    justify-content: space-around;
	margin:0;
	padding-left: 10%;
    padding-right: 10%;
}

/* 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; /* Added background color */
}

/* Style rule for the wrapper ID */
#wrapper {
    margin: auto;
    width: 80%;
    background-color: #FFFFFF; /* Changed background color */
}

/* Styles for the main element */
main {
    padding-left: .5em;
    padding-right: .5em;
    display: block; /* For IE compatibility */
    background-color: #FFFFFF; /* Set background color */
    margin-left: 170px; /* Set left margin */
    overflow: auto; /* Prevent display issues for floated elements */
}

/* Styles for the hero image areas */

#homehero {
    background-image: url('coast.jpg');
    background-size: 100% 100%;
    height: 300px;

}

#yurthero {
    background-image: url('yurt.jpg');
    background-size: 100% 100%;
    height: 300px;
}

#trailhero {
    background-image: url('trail.jpg');
    background-size: 100% 100%;
    height: 300px;

}

/* Styles for the section element */
section {
    padding-left: 2em; /* Left padding */
    padding-right: 2em; /* Right padding */
}
nav li{
	padding-top:.5em;
	padding-bottom:.5em;
	padding-right:1em;
	padding-left:1em;
	width:12em;
	border-bottom: none;
}
#mobile{
display:none;
	
}
#desktop{
display:row;
}
#flow{
    display: flex;
    flex-direction: row;
}
table{
    border: 1px 1px 1px 1px solid #3399CC;
    width: 90%;
    border-collapse: collapse;
}
th{
    padding: 5px 5px 5px 5px;
    border: 1px 1px 1px 1px solid #3399CC;
    border-collapse: collapse;
}
td{
    padding: 5px 5px 5px 5px;
    border: 1px solid #3399CC;
    text-align: center;
    border-collapse: collapse;
}
.text{
    text-align: left;
    border-collapse: collapse;
}

tr:nth-of-type(even){
    background-color: #DFEDF8;
}
/* trying to call every other color */

@media screen and (min-width:650px) and (max-width:1023px)
{
    nav {
        display:flex;
        flex-direction:column;
    }
}
@media screen and (min-width:1024px) {
        nav{
            display: flex;
            flex-direction: row;
        }
}