@media screen and (max-width: 768px) {
    #center {
        min-width: 90%;
        max-height: 25%;
    }

    #buyLabel {
        font-size: 2em !important;
    }

    #buyBtn {
        padding: 2vw 1em !important;
    }

    #ticketType {
        font-size: 1em !important;
    }

    #ticketInfoRight {
        height: 80% !important;
    }

    #centerTickets {
        min-width: 80%;
        max-height: 25%;
    }

    #countdown-container {
        align-items: center;
    }

    .number {
        font-size: 14.5vw !important;
    }

    .label {
        font-size: 3.5vw !important;
    }

    #bar {
        min-width: 75vw !important;
        top: auto !important;
        bottom: 0% !important;
        transform: translate(-50%, -50%) !important;
    }

    #scrollBtn {
        bottom: 20% !important;
    }

    .btn {
        font-size: 4vw !important;
    }

    .infoRight {
        width: 95% !important;
        height: 55% !important;
    }

    #infoTitle {
        font-size: 7vw !important;
    }

    .larger {
        font-size: 5vw !important;
    }

    #screen-dimmer {
        background-color: transparent !important;
        pointer-events: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    #info {
        padding: 0 1em !important;
    }

    #patronTitle {
        font-size: 7vw !important;
    }

    #patronCenter {
        min-width: 90%;
        max-height: 30%;
    }

    .list {
        font-size: 3.5vw !important;
    }

    .credits {
        visibility: hidden !important;
    }
}

#screen-dimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    z-index: 5;
    pointer-events: none;
    transition:
        background-color 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        -webkit-backdrop-filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    position: absolute;
    background-image: url("/background.png");
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background-size: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-color: #79adf2;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}

#center {
    background-color: rgba(229, 229, 229, 0.3);
    border-radius: 2.2em;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    width: 55%;
    height: 40%;
    box-shadow: 0 0.8em 1.5em rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

#bar {
    background-color: rgba(229, 229, 229, 0.3);
    border-radius: 1.45em;
    position: absolute;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    width: 25%;
    min-width: 15vw;
    min-height: 50px;
    height: 7%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.8em;
    box-sizing: border-box;
    z-index: 10;
    transition:
        width 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        -webkit-backdrop-filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#countdown-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.number {
    color: white;
    font-size: 6.5vw;
    font-family: "SF Mono", "Azeret Mono", "JetBrains Mono", "Space Mono", "Fira Mono", "Roboto Mono", "IBM Plex Mono", SFMono-Regular, ui-monospace, monospace;
    font-weight: 900;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    cursor: default;
    line-height: 1;
    background-color: transparent;
    overflow: visible;
    transform: translateZ(0);
}

.label {
    color: white;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    cursor: default;
    font-weight: 900;
    font-size: 1.2vw;
    margin-top: 0.8vw;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
    background-color: transparent;
}

.colon {
    color: white;
    font-size: 6.2vw;
    font-family: "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "System Default", sans-serif;
    font-weight: 900;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    cursor: default;
    padding: 0 0.3vw;
    background-color: transparent;
    position: relative;
    z-index: 0;
}

#countdown-container,
.time-unit,
.number,
.label,
.colon {
    background-color: transparent;
}

#container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.overlap {
    position: relative;
    height: 70%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image {
    position: absolute;
    max-height: 100%;
    filter: drop-shadow(0 0.3vw 0.8vw rgba(0, 0, 0, 0.25));
    transition:
        opacity 0.15s ease-in-out,
        transform 0.25s ease-in-out;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    padding: 0.2vw;
    /* Add hardware acceleration hint */
    transform: translateZ(0);
}

.btn {
    position: absolute;
    /* Combine scale and translateZ */
    transform: scale(1) translateZ(0);
    opacity: 0;
    transition:
        opacity 0.15s ease-in-out,
        font-size 0.7s ease-in-out,
        transform 0.25s ease-in-out;
    max-height: 100%;
    /* filter: drop-shadow(0 0.3vw 0.8vw rgba(0, 0, 0, 0.25)); */
    font-size: 1.2vw;
    z-index: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.3vw;
    color: white;
    white-space: nowrap;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    transform-origin: center center;
}

#scrollBtn {
    position: absolute;
    left: 50%;
    bottom: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: none;
    }
    50% {
        box-shadow: 0 0 5vw 2vw rgba(148, 244, 253, 0.7);
    }
    100% {
        box-shadow: none;
    }
}

.mainBtn {
    background: linear-gradient(90deg, rgba(130, 160, 230, 0.6), rgba(255, 120, 235, 0.6), rgba(255, 140, 140, 0.6), rgba(200, 130, 255, 0.6), rgba(130, 160, 230, 0.6), rgba(255, 120, 235, 0.6));
    background-size: 500% 100%;
    border: 1px solid rgb(183, 183, 183);
    backdrop-filter: blur(1.5vw);
    -webkit-backdrop-filter: blur(1.5vw);
    padding: 1em 2em;
    animation:
        gradientShift 10s linear infinite,
        glowPulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    font-size: 1.2em;
    text-wrap: nowrap;
    border-radius: 1.2em;
    color: white;
    font-weight: 800;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-clip: padding-box;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}

.mainBtn:hover {
    scale: 1.1;
}

.mainBtn.no-glow {
    animation: gradientShift 10s linear infinite;
    background: grey;
}

.glass {
    backdrop-filter: blur(1.5em);
    -webkit-backdrop-filter: blur(1.5em);
    border: 1px solid #e5e5e5;
    box-shadow: 0 0.8em 1.5em rgba(0, 0, 0, 0.25);
}

.infoRight {
    -moz-user-select: auto;
    -webkit-user-select: auto;
    user-select: auto;
    cursor: auto;
    color: white;
    background-color: rgba(229, 229, 229, 0.3);
    width: 50%;
    height: 50%;
    left: 200%;
    top: 45%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    border-radius: 1.45em;
}

#infoTitle {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    font-size: 3vw;
    font-weight: 900;
}

a {
    text-decoration: none;
    color: white;
}

#map {
    text-decoration: underline;
}

.larger {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    font-size: 1.5vw;
    text-align: left;
    max-width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.info {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    text-align: left;
    max-width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#exit {
    position: absolute;
    right: 1vw;
    top: 1vw;
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-family: "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, "System Default", sans-serif;
    font-weight: 800;
    font-size: 1.2em;
}

#patronTitle {
    margin-top: -0.5vw;
    font-size: 5vw;
    font-family: "SF Mono", "Azeret Mono", "JetBrains Mono", "Space Mono", "Fira Mono", "Roboto Mono", "IBM Plex Mono", SFMono-Regular, ui-monospace, monospace;
    font-weight: 900;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    cursor: default;
    line-height: 1;
    background-color: transparent;
    overflow: visible;
    transform: translateZ(0);
}

#patronCenter {
    background-color: rgba(229, 229, 229, 0.3);
    border-radius: 2.2em;
    color: white;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    width: 55%;
    height: 40%;
    box-shadow: 0 0.8em 1.5em rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -moz-user-select: auto;
    -webkit-user-select: auto;
    user-select: auto;
    cursor: auto;
}

#patronLists {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -2vw;
}

.list {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
    font-size: 1.5vw;
    cursor: default;
    line-height: 1;
    background-color: transparent;
    overflow: visible;
    transform: translateZ(0);
    margin: 1vw;
}

#centerTickets {
    background-color: rgba(229, 229, 229, 0.3);
    border-radius: 2.2em;
    color: white;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    width: 55%;
    height: 40%;
    box-shadow: 0 0.8em 1.5em rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -moz-user-select: auto;
    -webkit-user-select: auto;
    user-select: auto;
    cursor: auto;
}

#buyLabel {
    font-size: 3em;
    color: white;
    font-weight: 900;
    margin-top: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#buyBtn {
    background: linear-gradient(90deg, rgba(130, 160, 230, 0.6), rgba(255, 120, 235, 0.6), rgba(255, 140, 140, 0.6), rgba(200, 130, 255, 0.6), rgba(130, 160, 230, 0.6), rgba(255, 120, 235, 0.6));
    background-size: 500% 100%;
    border: 1px solid rgb(183, 183, 183);
    backdrop-filter: blur(1.5vw);
    -webkit-backdrop-filter: blur(1.5vw);
    width: 3.5em;
    height: 3.5em;
    animation: gradientShift 10s linear infinite;
    border-radius: 3.5em;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-clip: padding-box;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    text-align: center;
}

#buyArrow {
    position: absolute;
    width: 2em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: invert(1);
}

#buyBtn:hover {
    scale: 1.1;
}

#centerForm {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -1vw;
}

#form {
    display: block;
}

#enter {
    margin-top: 2vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#ticketType {
    margin-right: 1vw;
    font-size: 1.2vw;
    background: white url("/arrow.svg") no-repeat right 1em center/1em auto;
    color: black;
    border: 1px solid #ccc;
    border-radius: 1em;
    padding: 0.5em 2.5em 0.5em 1em; /* Right padding gives space for the arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    cursor: pointer;
    outline: none;
}

#ticketInfoRight {
    height: 60%;
}

.arrow {
    height: 1em;
}

.credits {
    background-color: rgba(229, 229, 229, 0.3);
    border-radius: 2.2em;
    position: absolute;
    right: 2%;
    bottom: 2%;
    width: 400px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.creditsText {
    color: white;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 1));
}
:root {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {

}
