/* Universal selector */
* {
    box-sizing: border-box;
}

/* Wrapper id */
#wrapper {
    background: linear-gradient(to bottom, #FFFFFF, #90C7E3);
}

/* Body element selector */
body {
    margin: 0;
    background-color: #90C7E3;
    background-image: none;
    background-repeat: no-repeat;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
}

/* Header area */
header {
    padding: 1em;
}

/* h1 element selector */
h1 {
    font-size: 1.5em;
}

/* Left-column navigation area */
nav {
    background-color: white;
    text-align: center;
}

/* Navigation hyperlinks */
nav a:link {
    color: #5C7FA3;
    text-decoration: none;
}

nav a:visited {
    color: #344873;
    text-decoration: none;
}

nav a:hover {
    color: #A52A2A;
    text-decoration: none;
}

/* Remove list markers and add left padding to unordered lists in the navigation area */
nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
}

/* Code styles for the nav li selector */
nav li {
    padding: 0.5em 1em;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

/* Right-column main content area */
main {
    padding: 0.5em 1em;
}

/* Hero image areas */
#homehero,
#yurthero,
#trailhero {
    background-size: 200% 100%;
}

/* Footer area */
footer {
}

/* Section elements */
section {
    padding: 0.5em;
}

/* Hyperlinks in the header area */
header a:link,
header a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

header a:hover {
    color: #90C7E3;
    text-decoration: none;
}

/* Configure styles for the telephone number */
#mobile {
    display: inline;
}

#desktop {
    display: none;
}

@media (min-width: 600px) {
    /* Media query for screens with a minimum width of 600px */

    /* 1. Code styles for the h1 element selector */
    h1 {
        font-size: 2em;
        letter-spacing: 0.25em;
    }

    /* 2. Code styles for the nav ul selector */
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding-right: 2em; /* Adjust padding as needed */
    }

    /* 3. Code styles for the nav li selector */
    nav li {
        width: 12em;
        border-bottom: none;
    }

    /* 4. Code styles for the section element selector */
    section {
        padding: 2em;
    }

    /* 5. Code styles for the flow id selector */
    #flow {
        display: flex;
        flex-direction: row;
    }

    /* 6. Code styles for the mobile id selector */
    #mobile {
        display: none;
    }

    /* 7. Code styles for the desktop id selector */
    #desktop {
        display: inline;
    }

    /* 8. Code styles for the homehero, yurthero, and trailhero id selectors */
    #homehero,
    #yurthero,
    #trailhero {
        background-size: 100% 100%;
    }
}

@media (min-width: 1024px) {
    /* Media query for screens with a minimum width of 1024px */

    /* 1. Code styles for the body element selector */
    body {
        background: linear-gradient(to bottom, #FFFFFF 20%, #90C7E3 60%, #FFFFFF 100%);
    }

    /* 2. Code styles for the nav ul selector */
    nav ul {
        padding: 0 10%;
    }

    /* 3. Code styles for the #wrapper id selector */
    #wrapper {
        margin: 0 auto; /* Horizontally center the wrapper */
        width: 80%;
    }
}

/* Configure the table */
table {
    border: 1px solid #3399CC;
    width: 90%;
    margin: 0 auto; /* Center the table */
    border-collapse: collapse; /* Collapse table borders */
}

/* Configure the table cells (td and th) */
td, th {
    padding: 5px;
    border: 1px solid #3399CC;
    text-align: center;
}

/* Center the content in td elements */
td {
    text-align: center;
}

/* Configure the text class to left-align the text in data cells */
.text {
    text-align: left;
}

/* Configure alternate-row background color */
tr:nth-of-type(even) {
    background-color: #DFEDF8;
}
