/* Universal styles */
* {
    box-sizing: border-box;
}

/* Global styles for the document */
body {
    background-color: #EAEAEA; /* Changed background color */
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Styles for the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    font-family: Georgia, serif;
    height: 120px; /* Changed height */
}

/* Styles for the h1 element */
h1 {
    text-align: center;
    padding-top: 0.5em;
    font-size: 3em;
    letter-spacing: 0.25em; /* Added letter spacing */
    color: #FFFFFF; /* Set H1 text color to white */
}

/* Remove underline from header link */
header a:link, header a:visited {
  text-decoration: none;
  color: #FFFFFF;
}

header a:hover {
  color: #90C7E3;
}

/* Styles for the nav element */
nav {
    font-weight: bold;
    padding: 0; /* Changed padding to 0 */
    float: left;
    width: 100%;
    position: static;
    font-size: 1.2em; /* Set font size */
    position: fixed;
    background-color: inherit; /* 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;
}

nav a:visited {
  color: #344873;
}

nav a:hover {
  color: #A52A2A;
}

/* Styles for the unordered lists in nav */
nav ul {
  list-style-type: none;
  padding-left: 1em;
}

/* 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;
    margin-left: 170px;
}

/* Style rule for the wrapper ID */
#wrapper {
    background-color: #FFFFFF; /* Changed background color */
    min-width: 960px;
    max-width: 2048px;
    margin-right: auto;
    margin-left: auto;
    background: linear-gradient(to bottom, #FFFFFF, #90C7E3); /* Added gradient background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Styles for the main element */
main {
    padding-left: 2em;
    padding-right: 2em;
    display: block; /* For IE compatibility */
    background-color: #FFFFFF;
    margin-left: 0;
    overflow: auto; /* Prevent display issues for floated elements */
}

/* Styles for the hero image areas */
#homehero, #yurtshero, #trailhero {
  margin-left: 170px;
}

#homehero {
    background-image: url('coast.jpg');
}

#yurthero {
    background-image: url('yurt.jpg');
}

#trailhero {
    background-image: url('trail.jpg');
}

/* Styles for the section element */
section {
  width: 100%;
  float: none;
  padding: 1em;
  padding-left: 2em;
  padding-right: 2em;
}
