/*style rules*/

*{
    margin: 0%;
    padding: 0%;
    }

/* make images and media scale nicely by default */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* prevent content from being hidden under the fixed header on wide screens */
body {
    padding-top: 6em; /* matches header height */
}

.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1{
    font-family: "M PLUS Rounded 1c", sans-serif;
}

section{
    padding: auto;
    margin: auto;
}

.flex-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* h1{
    font-size: 5em;
    color: #ffffff;
    font-family: "stupid", serif;
} */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #9e1212; 
    padding: .5em;
    margin: 0%;
    height: 6em;
} 

header h3{
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    font-size: 3em;
    align-self: center;
}

header img{
    padding-top: 0em;
    /* width: 10em;
    height: 10em; */
}

header .jbb{
    align-items: center;
    padding-left: 10em;
    margin: 0%;
    padding-top: 1.2em;
    size: 100%;
}

nav{
    display: flex;
    padding-top: 2em;
}

nav li{
    display: inline;
    text-align: right;

}

nav li a{
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    font-size: 1.5em;
    padding-right: 1em;
    margin: auto;
}

a:hover {
    text-decoration: underline;
    color: rgb(218, 218, 218);
}

/* picture styles */

.Main img {
    display: flex;
    justify-content: flex-start;
    margin: 0%;
    width: 100%;
    height: 20%;
}

.Main {
    font-size: 1.5em;
}

.main h1{
    display: flex;
    padding-top: 5em;
}

/* Style for Hero SEctoin */

.Hero{
    background-color: #ffffff;
    font-size: 1.5em;
    padding-top: 4em;
    padding-bottom: 4em;
}

.Hero .flex-container{
    align-items: flex-start;
}

.Hero h1 {
    padding-left: 1em;
}

.flexright{
    flex-basis: 48%;
    margin-top: 1em;
    margin-left: 2em;
    margin-right: auto;
    padding-left: 2em;
    text-indent: 2em;
}

.flexleft img{
    display: flex;
    flex-basis: 48%;
    max-height: 5%;
    width: auto;
    height: auto;
}

/* Styles for links */

.tickets .flex-container{
    padding: auto;
    align-items: stretch;
    /* background-color: #31793d; */
    padding-top: 4em;
    background: linear-gradient(to right, #9e1212 50%, #306629 50%);
}

.flextickets{
    flex-basis: 48%;
    margin: auto;
    font-size: 1em;
}

.flextickets img{
  max-width: 900px; /* Height will scale proportionally */
  width: auto;
  height: auto;
}

.tickets nav li a{
    font-size: 3em;
    align-self: center;
    color: rgb(255, 255, 255);
}    

/* Style for About Us Section */

.about{
    padding-top: 7em;
    background-color: #ffffff;
    font-size: 1.5em;
    padding-bottom: 4em;
}

.about .flex-container{
    align-items: flex-start;
}

.about h1 {
    padding-left: 1em;
}

.flexright{
    flex-basis: 48%;
    margin-top: 1em;
    margin-left: 2em;
    margin-right: auto;
    padding-left: 2em;
    text-indent: 2em;
}

.flexleft img{
    display: flex;
    flex-basis: 48%;
    max-height: 5%;
    width: auto;
    height: auto;
}

.about img{
    display: flex;
    margin-top: 2em;
    margin-right: 3em;
    margin-left: 4.5em;
    align-content: center;
    max-width: 750px;
    height: auto;
}

.about .promo{
    background-color: #9e1212;
    color: #ffffff;
    text-align: left;
    margin-top: 1.5em;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 1.5em;
    font-size: 1.2em;
}

/* Styles for footer */

footer{
    background-color: #9e1212;
    color: #ffffff;
    text-align: center;
    margin-top: .5em;
    padding-top: .5em;
    padding-bottom: 2em;
    font-size: 1.2em;

}

footer li{
    display: inline;
}

footer i{
    color: #dd0000;
    font-size: 3em;
    padding-left: 0em;
    padding-right: .5em;
}

footer a i:hover{
    color: #ffffff;

}

/* Styles for tickets page */

.sale{
    padding-top: 6em;
    margin: 2em;
}

/* -----------------------------
   Responsive / Mobile styles
   ----------------------------- */
@media (max-width: 1240px) {
    nav li a{ font-size: 1.25em; }
    .Hero{ padding-top: 2.5em; padding-bottom: 2.5em; }
}

@media (max-width: 768px) {
    /* header stacks vertically on tablets/phones */
    header{
        position: relative;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: .75em 1em;
    }

/* Keep the tickets section red on mobile (replace green with red) */
    .tickets,
    .tickets .flex-container,
    .tickets .flextickets {
        background: #9e1212 !important;
        background-color: #9e1212 !important;
        border-color: transparent !important;
        box-shadow: none !important;
        color: inherit !important;
    }

    /* Ensure images show normally (no tints/filters) */
    .tickets .flextickets img {
        filter: none !important;
        opacity: 1 !important;
        mix-blend-mode: normal !important;
        background: transparent !important;
    }

    /* remove colored backgrounds from nested nav/links but leave section red */
    .tickets .flextickets nav,
    .tickets .flextickets nav li,
    .tickets .flextickets nav li a {
        background: transparent !important;
        background-color: transparent !important;
        color: inherit !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* If pseudo-elements add color, hide them */
    .tickets .flextickets::before,
    .tickets .flextickets::after,
    .tickets .flextickets nav li a::before,
    .tickets .flextickets nav li a::after {
        display: none !important;
        background: transparent !important;
        content: none !important;
    }

/* ...existing code... */

    /* remove large body offset when header is not fixed */
    body { padding-top: 0; }

    header .jbb{ padding-left: 0; padding-top: .5em; }

    header img{ max-height: 3.6em; width: auto; }

    nav{ order: 3; width: 100%; padding-top: .5em; }
    nav ul{ display:flex; justify-content:center; gap:.5em; flex-wrap:wrap; }
    nav li{ display: inline-block; }
    nav li a{ font-size: 1.05em; padding: .25em .5em; }

    .flex-container{ flex-direction: column; align-items: stretch; }

    .flexright, .flexleft, .flextickets{ flex-basis: 100%; margin: .5em 0; padding: .5em 1em; }

    .about img{ margin: 1em auto; display:block; max-width: 90%; }

    .promo video{ width: 100%; max-width: 100%; height: auto; }
}

@media (max-width: 420px) {
    /* small phones: reduce text size slightly and tighten spacing */
    nav li a{ font-size: .95em; }
    header img{ max-height: 3em; }
    h1{ font-size: 1.6em; }
    .tickets nav li a{ font-size: 1.6em; }
    footer i{ font-size: 2em; }
}

