/* Global styles for the document */
body {
    background-color: #90C7E3;
    background: linear-gradient(to bottom, #FFFFFF, #90C7E3);
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
}

/* Styles for the wrapper id */
#wrapper {
    width: 100%;
    border: 2px solid #002171;
    box-shadow: 3px 3px 3px #333333;
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-rows: auto auto auto auto;
}

/* Restoring the sun banner background image in the header element */
header {
    background-color: #002171;
    color: #FFFFFF;
    background-image: url('sunset.jpg'); /* Restored: Background image */
    background-repeat: no-repeat;
    background-position: right;
    grid-column: 1 / 3;
}

/* Styles for the h1 element */
h1 {
    font-size: 1.5em;
    padding: 0.5em;
}

/* Styles for the main element */
main {
    grid-column: 2 / 3;
}

/* Styles for the footer element */
footer {
    grid-column: 2 / 3;
}

/* Styles for the hero images */
#homehero {
    background-size: cover; /* Use cover to fully cover the container */
}

/* Additional styles for the two-column layout */
.two-columns {
    display: flex;
    gap: 20px;
}

.left-column {
    flex: 1;
}

/* Style the vertical navigation links */
.left-column ul {
    list-style-type: none;
    padding: 0;
}

.left-column li {
    margin: 0;
    padding: 0;
}

.left-column a {
    text-decoration: none;
    color: #333; /* You can choose your desired color */
    display: block;
    padding: 5px 0;
}

.left-column a:hover {
    background-color: #90C7E3; /* Change the background color on hover */
    color: #FFFFFF; /* Change text color on hover */
}

.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Media query for medium-sized displays */
@media (min-width: 600px) {
    nav ul {
        display: flex;
        flex-direction: row;
        padding: 0;
    }

    nav li {
        border-bottom: none;
    }

    section {
        padding: 2em;
    }
}

/* Media query for large displays */
@media (min-width: 1024px) {
    nav ul {
        flex-direction: column;
        padding-top: 1em;
    }

    nav {
        text-align: left;
        padding-left: 1em;
    }
}

/* Styles for the new table on the Yurts page */
table {
    border: 2px solid #3399CC;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 2px solid #3399CC;
    padding: 0.5em;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

/* Configure alternate-row background color */
tr:nth-of-type(odd) {
    background-color: #F5FAFC;
}
