body {
    background-color: #EAEAEA;
    color: #666666;
    font-family: "arial", "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}

header {
    background-color: #002171;
    color: #ffffff;
}

h1 {
    font-family: "times new roman", "Georgia", "serif";
    margin: 0; /* Remove margin */
    padding: 0.5em 0; /* Set top and bottom padding */
    letter-spacing: .25em;
}

nav {
    font-weight: bold;
    padding: 0; /* Set padding to 0 */
    text-align: center; /* Center text */
    background-image: linear-gradient(to bottom, #ffffff, #90C7E3);
    background-repeat: no-repeat;
    font-size: 120%;
}

nav a {text-decoration: none;
       -webkit-transition: color 3s ease-out;
       -moz-transition: color 3s ease-out;
       -o-transition: color 3s ease-out;
       transition: color 3s ease-out;}

nav li {
    border-bottom: 1px solid #002171; /* Set a 1px dark blue solid bottom border */
}

.bullet {
    list-style-image: url(../images/marker.gif");
}

h2 {
    color: #1976d2;
    font-family: "georgia", "times new roman", "serif";
    text-shadow: 1px 1px 1px #CCCCCC;
}

h3 {
    color: #000033;
    font-family: "georgia", "times new roman", "serif";
}

dt {
    color: #002171;
}

footer {
    font-size: 75%;
    font-style: italic;
    text-align: center;
    font-family: "georgia", "times new roman", "serif";
    padding: 2em;
    background-color: #ffffff;
}

.resort {
    color: #1976D2; 
    font-weight: bold;
}

#contact {
    font-size: 90%;
}

#wrapper {
    background-color: #FFFFFF;
}

main {
    padding: 1em 20px; 
    display: block;
    background-color: #ffffff;
}

.homehero, .yurthero, .trailhero {
    height: 300px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.homehero {
    background-image: url("../images/coast2.jpg");
}

.yurthero {
    background-image: url("../images/yurt.jpg");
}

.trailhero {
    background-image: url("../images/trail.jpg");
}

* {
    box-sizing: border-box; 
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
}

ul:link { 
    text-decoration-color: #5C7FA3;
}
ul:visited { 
    text-decoration-color: #344873;
}
ul:hover { 
    text-decoration-color: #a52a2a;
}

@media (min-width: 600px) {
    nav ul {
        display: flex; /* Use flexbox for layout */
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: space-between; /* Space out items */
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
    }

    nav li {
        border-bottom: none; /* Eliminate the bottom border */
        margin: 0 1em; /* Add space between items */
    }

    section {
        padding-left: 2em; /* Set left padding */
        padding-right: 2em; /* Set right padding */
    }
}
.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) {
    #wrapper {
        margin: auto;
        width: 80%;
        border: 1px solid #002171;
        box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
        display: grid;
        grid-template-columns: 180px 1fr; /* Left column fixed at 180px, right column flexible */
        grid-template-rows: auto auto 1fr auto; /* 4 rows */
        gap: 10px; /* Adds space between grid items */
    }

    header {
        grid-column: 1 / -1; /* Span across both columns */
        grid-row: 1; /* Place in the first row */
    }

    nav {
        grid-column: 1; 
        grid-row: 2; 
    }

    .div {
        grid-column: 2; 
        grid-row: 2; 
    }

    main {
        grid-column: 2; 
        grid-row: 3; 
    }

    footer {
        grid-column: 1 / -1; 
        grid-row: 4; 
    }

    nav ul {
        display: flex;
        flex-direction: column;
        padding-top: 1em;
        margin: 0;
    }
	
	table {
		border-color: #3399cc;
		border-width: 2px;
		border-collapse: collapse;
		
	}
	
	tr:nth-of-type { border-color: #3399cc; }
	
	table td {
		padding: 0.5em;
		text-align: center;	
	}
	
	.text {
		text-align: left;
	}
	
	form {
		display: flex;
		flex-flow: column nowrap;
	}
	input, textarea {margin-bottom: .5em; }