.container-fill {
    min-height: 100%;
}

th {
    background: green;
    border: 2px solid black;
}

a {
    color: black;
}

.clickable {
    height: 40px;
    color: black;
    text-decoration: none;
}

h3 {
    padding-top: 20px;
}

.topnav {
    /* background-color: var(--blue-light); */
    transition: 0.3s;
    /* box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); */
}

/*

.headerarea {
    height: 80%;
    overflow: hidden;
    /* height of top nav bar */

.headercol {
    max-width: 50%;
    height: 100%;
    overflow: hidden;
}

.h-anim {
    opacity: 0;
    transition: 1.5s;
    margin-left: -100%;
    max-width: 100%;
}

.headerimg {
    display: block;
    height: 80%;
    overflow: hidden;
}

/* ------------ HOME PAGE HEADER 2.0 ------------ */
.header-container {
    /*height: calc(80vh - 56px);*/
    height: 80vh;
    background: var(--night);
    width: 100%;
    position: relative;
}

.header-content-container {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* actually stores and displays the header image */
.headerimg-image {

    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;

    /* background: var(--white); */
    /* left: 10%; */
    /* right: 20%; */
    height: 100%;
    width: 100%;
    background-image: url("/static/vtech/images/background.jpeg");
    filter: blur(3px);
    opacity: .1;
    position: relative;

    /*animation-name: fadeIn;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;*/
}

.headerimg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: var(--white); */
    mix-blend-mode: color;
    pointer-events: none;
}

.upcoming-game {
    margin-top: 20px;
    background: var(--maize);
    padding: 10px;
    border-radius: 10px;
    color: var(--blue);
    max-width: 700px;
    text-align: center;
    display: block;
    opacity: 0.85;
    justify-content: center;

    animation-name: fadeIn;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    margin: 0 auto;
}

.ug-body-content {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.ug-header {
    font-weight: 600;
    padding-bottom: 10px;
    font-size: 20px;
    margin-left: 10px;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.ug-sport {
    font-weight: 600;
    font-size: 15px;
    margin-left: 11px;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: -5px;
}

.countdown {
    display: flex;
}

.time {
    margin: 0 10px;
    text-align: center;
}

.flip-card {
    width: 70px;
    height: 65px;
    perspective: 1000px;
    position: relative;
}

.flip-card-front,
.flip-card-top-back,
.flip-card-back,
.flip-card-top-backface {
    width: 100%;
    height: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    font-size: 41px;
    color: black;
    border: 1px solid var(--medium);
    overflow: hidden;
    transform-origin: bottom;
}

/* gets flipped */
.flip-card-top-backface {
    transform: rotateY(180deg);
    align-items: start;
    background: var(--light);
    z-index: 9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* gets flipped */
.flip-card-front {
    top: 0;
    background-color: var(--light-darker);
    z-index: 10;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.flip-card-top-back {
    top: 0;
    background-color: var(--light-darker);
    backface-visibility: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.flip-card-back {
    align-items: end;
    bottom: 0;
    background-color: var(--light);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.upside-down {
    display: inline-block;
    transform: rotateX(-180deg);
    align-items: start;
}

.flipped {
    animation-name: flipTop;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes flipTop {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(-180deg);
    }
}

.stat-box {
    min-width: 350px;
}

/* Stats flip cards */
.stat-flip-card {
    width: 70px;
    height: 65px;
    perspective: 1000px;
    position: relative;
}

.stat-flip-card-front,
.stat-flip-card-top-back,
.stat-flip-card-back,
.stat-flip-card-top-backface {
    width: 100%;
    height: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    font-size: 41px;
    color: black;
    border: 1px solid var(--medium);
    overflow: hidden;
    transform-origin: bottom;
}

/* gets flipped */
.stat-flip-card-top-backface {
    transform: rotateY(180deg);
    align-items: start;
    background: var(--light);
    z-index: 9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* gets flipped */
.stat-flip-card-front {
    top: 0;
    background-color: var(--light-darker);
    z-index: 10;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.stat-flip-card-top-back {
    top: 0;
    background-color: var(--light-darker);
    backface-visibility: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.stat-flip-card-back {
    align-items: end;
    bottom: 0;
    background-color: var(--light);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.upside-down {
    display: inline-block;
    transform: rotateX(-180deg);
    align-items: start;
}

.flipped {
    animation-name: flipTop;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes flipTop {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(-180deg);
    }
}

.time-promo {
    border: 2px solid var(--black);
    margin-top: 10px;
    margin-left: 10px;
    justify-content: center;
    height: 53px;
}

.time-promo:hover {
    color: var(--light) !important;
    border: 2px solid var(--maize-dark);
}

.header_display_card {
    margin: auto;
    display: flex;
    justify-content: center;
    /* Center horizontally */
    text-align: center;
    width: 80%;
    background-color: black;
    opacity: .80;
    z-index: -2;
    border-radius: 20px;
    margin-top: -35%;
}

.h-textbox {
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8); */
}

/*black background to go behind image and reduce white border effect*/
.headerimg-background {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 80%;
    width: 100%;
    z-index: -100;
    background: var(--night);
}

.centercontainer {
    margin: 0 auto;
}

.h-centercontainer,
.h-row {
    height: 100%;
}

.h-vertcenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@keyframes h-fadeInFromBottom {
    0% {
        margin-top: 200vh;
        opacity: 0
    }

    100% {
        margin-top: 170px;
        opacity: 1
    }
}

.h-gamecard {
    width: 100%;
    background: var(--blue-light);
    padding: 20px;
    color: white;
    box-sizing: border-box;

    animation-name: fadeIn;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}

.h-slanted {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    clip-path: polygon(0 0, 44% 0, 59% 100%, 0% 100%);
}

.slanted-forward {
    left: -50%;
    z-index: -1;
    animation-name: forwardhslantSlideFromLeft;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.slanted-back {
    left: -50%;
    z-index: -2;
    animation-name: backwardhslantSlideFromLeft;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes forwardhslantSlideFromLeft {
    0% {
        left: -50%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes backwardhslantSlideFromLeft {
    0% {
        left: -50%;
        opacity: 0;
    }

    100% {
        left: 20px;
        opacity: 1;
    }
}

.blue-gradient {
    background: rgb(0, 50, 97);
    background: var(--blue-grad);
}

.light-maize {
    background-color: var(--maize-light);
}

.h-gamecard-container {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50%;
}

.h-gamecard {
    background-color: #3498db;
    /* Background color */
    margin-bottom: 10px;
    /* Margin between boxes */
    transition: margin-left 0.3s ease, width 0.3s ease;
    /* Smooth transition for margin-left and width changes */
    border-radius: 20px;
    width: 100%;
    float: right;
}

.h-gamecard:nth-child(1) {
    width: calc(100% - 50px);
}

.h-gamecard:nth-child(2) {
    width: calc(100% - 100px);
}

.h-gamecard:nth-child(3) {
    width: calc(100% - 150px);
}

.scroll-container {
    position: relative;
}

.sectionheader {
    color: var(--blue);
}

.gc-img-container {
    overflow: hidden;
    width: 100%;
    max-height: 250px;
    height: 20vw;
    min-height: 100px;
}

.gamescontainer {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}

.gameitem {
    width: 350px;
    height: 426px !important;
    display: inline-block;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    position: relative;
    cursor: pointer;
}

.gameitem-img-container {
    overflow: hidden;
    width: 100%;
    height: 250px;
}

.gameitem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: 0.3s;
}

.gameitem:hover {
    .gameitem-img {
        transform: scale(1.1);
    }
}

.gameitem-text-container {
    text-align: left;
    color: black;
    padding: 15px;
}

.gameitem-title {
    font-weight: 600;
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.gameitem-type {
    font-size: 14px;
    width: auto;
    font-weight: 600;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.gameitem-pricing {
    background: var(--blue);
    color: var(--light);
    padding: 10px;
    font-size: 18px;
}

/* badge colors */
.football-badge {
    background-color: #9f4700;
    color: var(--light);
}

.basketball-badge {
    background-color: #ff7300;
    color: var(--light);
}

.hockey-badge {
    background-color: #0084b8;
    color: var(--light);
}

.baseball-badge {
    border: 1px solid var(--medium);
    color: red;
}

.trending-badge {
    background-color: #ff3c00;
    color: var(--light);
}

.gameitem-pricing {
    font-size: 16px;
}

.scroll-container {
    margin: 0 auto;
}

.games-more-indicator {
    position: absolute;
    display: block;
    background: var(--maize);
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 30px;
    border-radius: 10px;
    z-index: 5;
    pointer-events: none;
    transition: 0.2s opacity;
    opacity: 0;
}

.gmi-left {
    left: 1.5rem;
}

.gmi-right {
    right: 1.5rem;
}

.wide-divider {
    width: 80%;
    height: 6px;
    background: linear-gradient(to right, var(--maize) 50%, var(--blue) 50%);
    margin: 0 auto;
    margin-bottom: 50px;
}

.wu-container {
    color: black;
    margin-left: auto;
    margin-right: auto;
}

.wu-row {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.wu-col {
    padding: 5px;
    background: var(--night);
    color: var(--light);
    position: relative;
}

.wu-content {
    position: relative;
    z-index: 100;
    padding: 10px;
    min-height: 400px;
}

.wu-header {
    font-weight: bold;
    font-size: 22px;
    padding: 5px;
    border: 2px solid var(--light);
    background: #0000005e;
}

.wu-description {
    margin-top: 15px;
    font-size: 18px;
    padding: 5px;
    background: #0000005e;
}

.wu-col1::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--blue);

    background-image: url('/static/umich/images/football_main_preview.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    z-index: 0;
    opacity: 0.5;
}

.wu-col2::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--blue);

    background-image: url('/static/umich/images/michigan_stadium.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    z-index: 0;
    opacity: 0.5;
}

.wu-col3::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--blue);

    background-image: url('/static/umich/images/basketball_main_preview.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    z-index: 0;
    opacity: 0.5;
}

/*
.wu-imgcontainer {
    border: 10px solid var(--blue);
    margin: 10px;
    height: calc(100% - 20px);
    border-radius: 20px;

    background-image: url('../images/basketball_main_preview.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
*/

.wu-info-section {
    background-color: var(--superlight-gray);
    align-items: center;
    vertical-align: middle;
    border-top: 10px solid var(--maize);
    border-left: 10px solid var(--maize);
    border-right: 10px solid var(--blue);
    border-bottom: 10px solid var(--blue);
    margin: 10px;
    height: 150px;
    border-radius: 20px;
}

/* -- LOGGED IN USERS ONLY -- */
.game-row,
.game-link {
    color: var(--dark) !important;
}

.games-container {
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 15px;
    overflow-x: auto;
    margin-bottom: 20px;
    margin-top: 5px;

    border: 1px solid var(--medium);
}

.table-header {
    padding: 15px;
}

.th-games {
    font-size: 18px;
}

.games-table {
    width: 100%;
}

.game-row {
    cursor: pointer;
    border-top: 1px solid var(--medium);
}

.games-table td,
th {
    padding: 15px;
    position: relative;
}

.gr-border:after {
    content: "";
    position: absolute;
    right: 0;
    top: 15px;
    bottom: 15px;
    width: 0;
    border-right: 1px solid var(--medium);
}

.gr-inner {
    width: 100%;
}

.gr-time {
    font-size: 20px;
    margin-bottom: 10px;
}

.gr-game-name {
    font-weight: bold;
    font-size: 20px;
}

.gr-time-small {
    color: var(--medium-dark);
    font-size: 17px;
    white-space: nowrap !important;
}

.gc-content {
    padding: 10px;
    overflow: hidden;
}

.games-table th {
    background: none;
    border: none;
    border-bottom: 1px solid var(--maize-light) !important;
}

.gameitem-type-large {
    font-size: 15px;
    width: auto;
    font-weight: 600;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.game-row:hover {
    background: var(--superlight-gray);
}

.ticket-header {
    font-weight: 600;
    padding-bottom: 10px;
    font-size: 30px;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#ts-search {
    border: 1px solid var(--medium);
}

.ts-dropdown-btn {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    background: var(--blue-bright);
    width: 137px;
}

.dropdown-menu li {
    cursor: pointer;
}

.background-cover {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;

    /*
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-image: url("/static/umich/images/background_test.jpg");
    filter: blur(25px);
    */

    background: var(--light);
}

.nav-pfp {
    border-radius: 50%;
    height: 25px;
    width: 25px;
    margin-top: -5px;
    /*border: 1px solid var(--blue);*/
}

.timeline {
    /* background: var(--blue); */
    color: var(--blue) !important;
    overflow: hidden;
    position: relative;
    padding-bottom: 55px;
}

.timeline::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--white);

    /* background-image: url('/static/umich/images/michigan_stadium_overhead.jpg'); */
    background-size: cover;
    background-position: center;
    /* filter: blur(3px); */
    z-index: 0;
    opacity: 0.8;
}

.timeline-object {
    position: relative;
    border-left: 5px solid var(--maize);
    margin-left: 20px;
}

.timeline-object:last-child {
    border-left: none;
}

.timeline-container {
    max-width: 500px;
    background: var(--superlight-gray);
    border-radius: 8px;
    /* 002e58 on plain blue background */
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
    padding: 15px;
    padding-bottom: 0px;
    margin: 10px auto;
    margin-bottom: 0px;
}

.timeline-tick {
    position: relative;
    left: -25px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0px;
    border: 5px solid var(--maize);
    background: var(--maize);
}

.tt-last {
    left: -20px;
}

.timeline-header {
    font-weight: bold;
    font-size: 30px;
}

.timeline-tick-inner {
    margin-top: -7px;
}

.timeline-content {
    text-align: left;
    position: relative;
    top: -40px;
    left: 20px;
    padding-right: 40px;
}

.timeline-subheader {
    font-weight: bold;
    font-size: 22px;
}

.timeline-row {
    margin: 0 auto;
    max-width: 1100px;
}

.cc-last {
    left: 25px;
}

.timeline-text {
    color: var(--blue);
}

.fees-info {
    margin-top: 20px;
}

.main-card {
    display: flex;
    height: 500px;
    margin: 0 auto;
    width: 98%;
    justify-content: space-around;
    /* Horizontally space out the sub-cards */
    align-items: center;
    /* Align sub-cards vertically */
    padding: 20px;
    justify-content: center;
    border: 10px solid var(--light-darker);
    background: var(--light-darker);
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.sub-card {
    /* Flexibility: No set width/height, content dictates size */
    height: 80%;
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    /* Styling for sub-cards */
    border-radius: 5%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-right: 3%;
    align-items: center;
    justify-content: center;
    border-top: 10px solid var(--maize);
    border-left: 10px solid var(--maize);
    border-right: 10px solid var(--blue);
    border-bottom: 10px solid var(--blue);
    background: var(--light);
}


.sub-card:last-child {
    margin-right: 0;
    /* Removes margin from the last card */
}


/* All for sport filter */

.spf-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.spf-button {
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s ease;
}

.spf-button.selected {
    background-color: var(--maize);
    color: var(--blue);
}

.spf-button:hover {
    background-color: var(--light-darker);
}

.spf-button.selected:hover {
    background-color: var(--maize-dark);
    color: var(--blue);
}

/* end sport filter */

.no-listings-placeholder {
    border-style: dashed !important;
    border-width: 4px !important;
    transition: transform 0.3s ease-in-out;
    cursor: pointer
}

.no-listings-placeholder:hover {
    transform: scale(1.02);
}

.profile-circle {
    width: 40px;
    height: 40px;
    background-color: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.testimonial-fade-left,
.testimonial-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
    pointer-events: none;
}

.testimonial-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--superlight-gray), rgba(255, 255, 255, 0));
}

.testimonial-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--superlight-gray), rgba(255, 255, 255, 0));
}

.testimonial-card {
    border-radius: 10px !important;
}

.by-the-numbers-section {
    background-image: url('/static/vtech/images/background.jpeg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: var(--light);
    text-align: center;
    position: relative;
}

.by-the-numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

.by-the-numbers-section>* {
    position: relative;
    z-index: 1;
}

.maize {
    color: var(--maize);
}

.maize-text-shadow {
    text-shadow: 2px 2px rgba(156, 84, 1, 0.9);
}

.dark-text-shadow {
    text-shadow: 2px 2px rgba(104, 104, 104, 0.9);
}

.blue {
    color: var(--blue);
}

.white {
    color: var(--light);
}