/* Global styles for the document */
body {
    background-color: #EAEAEA;
    background-image: none;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    background-repeat: no-repeat;
}

/* Styles for the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    font-family: Georgia, serif;
    background-image: none;
    background-position: right;
    background-repeat: no-repeat;
    height: 120px;
}

table {
  margin: 0 auto;            /* Centers the table horizontally */
  border: 1px solid #3399CC; /* Blue border with hex color #3399CC */
  width: 90%;                /* Table takes up 90% of the container's width */
  border-collapse: collapse; /* Optional: collapses borders for cleaner look */
}

header a:link {
    text-decoration: none; /* Remove underline */
    color: #FFFFFF; /* Set text color to white for unvisited links */
}

header a:visited {
    text-decoration: none; /* Remove underline */
    color: #FFFFFF; /* Set text color to white for visited links */
}

header a:hover {
    text-decoration: none; /* Remove underline */
    color: #90C7E3; /* Set text color to light blue for hover state */
}

/* Styles for the h1 element */
h1 {
    line-height: 200%;
    text-align: center;
    padding-top: 0.5em;
    font-size: 3em;
    letter-spacing: 0.25em;
}

/* Styles for the nav element */
nav {
    position: fixed;
    font-weight: bold;
    padding: 0;
    text-align: center;
    background-color: inherit; /* Inherit the background color from the parent element (e.g., #wrapper) */
    float: left; /* Float the nav area to the left */
    width: 160px; /* Set the width to 160px */
    font-size: 1.2em;
}
nav a {
    text-decoration: none;
}
nav a:link {
    color: #5C7FA3; /* Color for unvisited hyperlinks */
    text-decoration: none; /* Optional: Remove underline */
}

nav a:visited {
    color: #344873; /* Color for visited hyperlinks */
}

nav a:hover {
    color: #A52A2A; /* Color for hyperlinks on hover */
}
nav ul {
    list-style-type: none; /* Remove list markers (bullets) */
    padding-left: 1em; /* Set left padding to 1em */
    margin: 0; /* Optional: Remove default margin */
}
main {
  padding-left: 2em;
    padding-right: 2em;
    display: block;
    background-color: #FFFFFF; /* Set the background color to white */
    margin-left: 170px; /* Set left margin to 170px */
    overflow: auto;
}
/* Styles for the h2 element */
h2 {
    color: #1976D2;
    font-family: Georgia, serif;
}

h3 {
    font-family: Georgia, serif;
}

/* Styles for the dt element */
dt {
    color: #002171;
    font-weight: bold;
}

td {
  padding: 5px;                /* 5 pixels of padding inside cells */
  border: 1px solid #3399CC; /* 1 pixel solid blue border *
 td {
  text-align: center; /* Centers the text inside table cells */
}
th {
  padding: 5px;                /* 5 pixels of padding inside cells */
  border: 1px solid #3399CC;   /* 1 pixel solid blue border */
}
tr:nth-child(even) {
  background-color: #DFEDF8; /* Light blue for even rows */
}

/* Styles for a class named resort */
.resort {
    color: #1976D2;
    font-size: 1.2em;
}

.text {
  text-align: left; /* Overrides td's center alignment */
}

/* Styles for the footer element */
footer {
    font-size: 0.70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
     background-color: #FFFFFF; /* Set the background color to white */
    margin-left: 170px; /* Set left margin to 170px */
}

/* Style rule for the wrapper ID */
#wrapper {
width: 80%;
margin-right: auto;
margin-left: auto;
 background-image: linear-gradient(#FFFFFF,#90C7E3);
min-width: 960px;
max-width: 2048px;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

#homehero {

    height: 300px;
    background-image: url('coast.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 170px;
}

#yurthero {
    height: 300px;
    background-image: url('yurt.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 170px;
}
#trailhero {
    height: 300px;
    background-image: url('trail.jpg');
    background-size: cover;
    background-repeat: no-repeat;
     margin-left: 170px;
}
* {
    box-sizing: border-box;
}
section {
    float: left; /* Make the section float to the left */
    width: 33%; /* Set the width of the section to 33% */
    padding-left: 2em; /* Add 2em left padding */
    padding-right: 2em; /* Add 2em right padding */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}