/* Main Styles */

html, body {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    scroll-behavior: smooth !important;
    overflow-x: hidden;
}

/* Navbar */

nav {
    background-color: #0368d9;
    padding: 15px 30px 15px 30px;
    display: flex;
    justify-content: space-between;
}

nav .left {
    display: flex;
    align-items: center;
}

nav .left img {
    width: 100px;
    height: auto;
}

nav .left .links {
    display: flex;
    justify-content: left;
}

nav .left .links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    margin-left: 20px;
}

nav .left .links a:hover {
    opacity: 80%;
}

nav .right {
    display: flex;
    align-items: center;
}

nav .right .countdown {
    background-color: #ffffff;
    border-radius: 999px;
    padding: 15px 25px 15px 25px;
}

nav .right .countdown #countdown_timer {
    color: #0368d9;
    font-weight: 600;
}

nav .right .mobile_button button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #ffffff;
    font-size: 2rem;
    width: 100%;
    height: 100%;
    display: none;
}

nav .right .mobile_button button:hover {
    opacity: 80%;
}

#mobile_menu {
    background-color: #0368d9;
    padding-bottom: 15px;
    display: none;
}

#mobile_menu .links {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

#mobile_menu .links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 500;
    margin-left: 20px;
    padding: 5px;
}

#mobile_menu .links a:hover {
    opacity: 80%;
}

#mobile_menu .countdown {
    background-color: #ffffff;
    border-radius: 999px;
    padding: 15px 25px 15px 25px;
    width: fit-content;
    margin-left: 35px;
}

#mobile_menu .countdown #countdown_timer2 {
    color: #0368d9;
    font-weight: 600;
}

@media only screen and (max-width: 900px) {
    nav .left .links, nav .right .countdown {
        display: none;
    }

    nav .right .mobile_button button {
        display: inline;
    }
}

/* Header */

.video_background_container {
    position: relative;
    width: 100%;
    height: calc(100vh - 86px);
    overflow: hidden;
}

.background_video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(70%);
}

.content_overlay {
    position: absolute;
    z-index: 1;
    color: white;
    padding: 20px;
    bottom: 5vh;
    margin-left: 15px;
}

.content_overlay h1 {
    text-shadow: 0px 3px 8px #000000;
    font-size: 1.75rem;
}

.content_overlay p {
    text-shadow: 0px 2px 3px #000000;
    font-size: 1.25rem;
    margin-top: -10px;
    margin-bottom: 30px;
}

.content_overlay a {
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 999px;
    padding: 15px 25px 15px 25px;
    color: #0368d9;
    font-weight: 600;
    border: #ffffff 2px solid;
}

.content_overlay a:hover {
    border: #0368d9 2px solid;
}

/* Flights and Hotels */
#flights-and-hotels h1 {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 1000;
    margin-top: 40px;
}

#flights-and-hotels main {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

#flights-and-hotels main article {
    width: 40vw;
    margin-top: 20px;
}

#flights-and-hotels main article figure {
    margin: 0;
}

#flights-and-hotels main article img {
    width: 40vw;
    border-radius: 20px;
    height: 240px;
    object-fit: cover;
    object-position: top;
}

#flights-and-hotels main article h2 {
    font-size: 1.35rem;
    margin-top: -12px;
}

#flights-and-hotels main article h4 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 12px;
    color: #2d2d2d;
}

#flights-and-hotels main article p {
    color: #2d2d2d;
    margin-top: -10px;
}

@media only screen and (max-width: 900px) {
    #flights-and-hotels main {
        flex-direction: column;
        align-items: center;
    }

    #flights-and-hotels main article, #flights-and-hotels main article img {
        width: 90vw;
    }
}

/* Trip Plan and Ride Itineraries */

#planning h1, #itineraries h1 {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 1000;
    margin-top: 40px;
}

#planning main, #itineraries main {
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
}

#planning a, #itineraries a {
    color: #0368d9;
}

@media only screen and (max-width: 900px) {
    #planning main, #itineraries main {
        flex-direction: column;
        align-items: center;
    }
}

/* Wait Times */

#wait-times .tab_selectors {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tab_selectors button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 15px 5px 15px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.tab_selectors button:hover {
    border-bottom: 2px #0368d9 solid;
}

.tab_selectors button.active {
    border-bottom: 2px #0368d9 solid;
}

#wait-times main {
    display: flex;
    justify-content: center;
}

#wait-times h1 {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 1000;
    margin-top: 40px;
}

#wait-times table {
    border-collapse: collapse;
    margin-top: 20px;
    display: inline;
}

#wait-times table:not(:first-child) {
    display: none;
}

#wait-times table h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#wait-times th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

#wait-times tr:nth-child(even) {
    background-color: #dddddd;
}

@media only screen and (max-width: 900px) {
    table th:nth-child(n+2):nth-child(-n+9),
    table td:nth-child(n+2):nth-child(-n+9) {
        display: none;
    }
}

/* Footer */
footer {
    margin-top: 5vh;
    background-color: #0368d9;
    color: white;
    text-align: center;
    padding: 15px 30px 15px 30px;
    font-size: 0.9rem;
}
