* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #90C7E3;
    background-image: linear-gradient(to bottom, #FFFFFF, #90C7E3);
    border: 1px solid #000033;
    box-shadow: 3px 3px 3px #333;
    color: #555555;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

#wrapper {
    margin: auto;
    max-width: 75rem;
    width: 80%;
}

header {
    background-color: #000032;
    background-image: url(images/sunset.jpg);
    background-position: right;
    background-repeat: no-repeat;
    color: #FFFFFF;
    height: auto;
    padding: 1rem;
    text-align: center;
}

header a {
    text-decoration: none;
}

header a:link, header a:visited {
    color: #ffffff;
}

header a:hover {
    color: #90c7e3;
}

nav {
    font-size: 120%;
    font-weight: bold;
    padding: 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

nav li {
    border-bottom: 1px solid #003;
    padding: .5rem 0;
    max-width: 100%;
    box-sizing: border-box;
}

nav a {
    text-decoration: none;
}

nav a:link {
    color: #5c7fa3;
}

nav a:visited {
    color: #344873;
}

nav a:hover {
    color: #a52a2a;
}

main {
    background-color: #ffffff;
    padding: 0.0625rem 1.25rem 1.25rem 1.875rem;
}

section {
    /*padding: 1rem 0;*/
}

h1 {
    letter-spacing: .25em;
    margin-bottom: 0;
    margin-top: 0;
}

h1, h2, h3, footer {
    font-family: Georgia, "Times New Roman", serif;
}

h2 {
    color: #1976D2;
    text-shadow: 1px 1px #404040;
}

h3 {
    color: #000033;
}

address {
    font-style: normal;
}

footer {
    background-color: #fff;
    font-size: 75%;
    font-style: italic;
    padding: 2em;
    text-align: center;
    max-width: 100vw;
    overflow-wrap: break-word;
}

.resort {
    color: #1976D2;
    font-weight: bold;
}

#homehero, #yurthero, #trailhero {
    background-repeat: no-repeat;
    background-size: cover;
    height: 18.75rem;
}

#homehero {
    background-image: url(images/coast.jpg);
}

#yurthero {
    background-image: url(images/yurt.jpg);
}

#trailhero {
    background-image: url(images/trail.jpg);
}

.card-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: auto;
}

.card-row section {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*Table Styles*/
table {
    border: 0.125rem solid #1976D2;
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: #1976D2;
    color: #fff;
}

td, th {
    border: 0.125rem solid #1976D2;
    padding: 0.5rem;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

tr:nth-of-type(odd) {
    background-color: #FFCD6F;
}

tr:hover {
    background-color: #58429A;
    color: white
}

tr {
    transition: background-color 0.25s ease, color 0.25s ease;
}

@media (max-width: 32.5rem) {
    body {
        background-image: none;
        border: none;
        box-shadow: none;
        margin: 0;
    }

    #wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    header {
        background-image: none;
        padding: 0;
    }

    footer {
        padding: 1em;
    }

    #special table {
        margin: 0 auto;
    }

    #special td, #special th {
        display: block;
        width: 100%;
    }

    #special th {
        height: 0;
        margin: 0;
        padding: 0;
        font-size: .625rem;
        border: none;
        overflow: hidden;
    }

    td.package::before {
        content: "Package: ";
    }

    td.description::before {
        content: "Description: ";
    }

    td.nights::before {
        content: "Nights: ";
    }

    td.cost::before {
        content: "Cost: ";
    }

    .package, .description, .nights, .cost {
        width: 100%;
        padding-left: 35%;
        position: relative;
        text-align-last: left;
    }

    td::before {
        width: 25%;
        display: block;
        padding-right: .625rem;
        position: absolute;
        top: .375rem;
        left: 1rem;
        color: #39C;
        font-weight: bold;
        white-space: nowrap;
    }
}

@media (min-width: 37.5rem) {
    nav ul {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    nav li {
        border-bottom: none;
        padding: 0 1rem;
        max-width: none;
    }

    .card-row {
        flex-direction: row;
        gap: 2rem;
        max-width: 100vw;
    }

    .card-row section {
        flex: 1 1 0;
        max-width: 100%;
    }
}