/* Global styles for the document */
body {
    background-color: #add8e6;
    background-image: linear-gradient(to bottom, #ffffff, #add8e6);
    background-repeat: no-repeat;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
}

/* Styles for the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    font-family: Georgia, serif;
    background-image: url("sunset.jpg");
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 72px; /* ensure image height matches header */
    height: 72px;
}

/* Styles for the h1 element */
h1 {
    text-align: center;
    padding-top: 0.5em;
}

/* Styles for the nav element */
nav {
    font-weight: bold;
    background-color: #BBDEFB;
    padding-top: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0.5em;
    text-align: center;
}

nav a {
  text-decoration: none;
  color: inherit; /* keep link color consistent with nav text */
}
nav a:hover {
  text-decoration: underline;
}

/* Styles for the h2 element */
h2 {
    color: #1976D2;
    font-family: Georgia, serif;
}

/* Styles for the h3 element */
h3 {
    font-family: Georgia, "Times New Roman", 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;
}

/* Style rule for the wrapper ID */
#wrapper {
    background-color: #ffffff;
    width: 80%;
    min-width: 960px;
    max-width: 2048px;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Display yurt.jpg inside the #yurt div */
#yurt {
  background-image: url("yurt.jpg"); /* adjust path if image is in a subfolder */
  background-size: cover;            /* fill the space */
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;                     /* updated height */
  margin: 1rem 0;
  border-radius: 6px;
}

/* Display coast.jpg inside the #coast div */
#coast {
  background-image: url("coast.jpg"); /* adjust path if image is in a subfolder */
  background-size: cover;              /* fill the space */
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;                       /* updated height */
  margin: 1rem 0;
  border-radius: 6px;
}

/* Display trail.jpg inside the #trail div */
#trail {
  background-image: url("trail.jpg"); /* adjust path if image is in a subfolder */
  background-size: cover;             /* fill the space */
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  margin: 1rem 0;
  border-radius: 6px;
}

/* Styles for the main element */
main {
  display: block; /* ensure older IE recognizes <main> as a block element */
  padding: 0 2em; /* 2em left and right padding */
}
