*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    
}

/* Accessibility helpers */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:1rem;top:1rem;width:auto;height:auto;padding:0.5rem 1rem;background:#FFD54F;color:#000;z-index:10000;border-radius:4px}
.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Visible focus styles for keyboard users */
a:focus, 
button:focus, 
input:focus, textarea:focus, .hamburger:focus, .nav-menu a:focus{outline:3px solid #FFD54F;outline-offset:3px}

html {
    scroll-behavior: smooth;
}

header {
    background-color: rgb(0, 25, 0) ;
}

body{
    background-color: rgb(0, 25, 0);
    margin:0; 
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    color: #C9C9C9;
}

h1{
    font-size: clamp(2rem, 8vw, 5.2917rem);
}

h2 {
    font-size: clamp(2rem, 8vw, 5.2917rem);
    font-weight: 400;
}

/* Slightly larger, section-appropriate h2 sizing for the Attend section */
#attend > .section-content > h2{
    /* match global h2 size used in the Contact section */
    font-size: clamp(2rem, 8vw, 5.2917rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Date headings inside event items — slightly larger than venue h4 and scale with viewport */
#attend .event-item h2{
    font-size: calc(1.6rem + 0.9vw);
    font-weight: 700;
    margin: 0.25rem 0 0.5rem 0;
}

h3{
    font-size: 1.75rem;
}

p{
    font-size: 1em;
    font-weight: 200;
}

li {
    list-style: none;
}

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



.navbar{
    position: fixed;
    z-index: 7;
    min-height: 70px;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 24px;
    background: rgb(0, 25, 0, 0.303);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur( 2px );
    -webkit-backdrop-filter: blur( 1px );
}

.nav-menu{  
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.nav-menu img{
    height: 70px;
}

.nav-link{
    transition: 0.5s ease;
    
}

.nav-link:hover{
    color: #1B9AAA;
    text-shadow: 0px 1.2em 10px #f0aca7;
}

#social-icons{
    display: block;
}

.social-icon{
    padding: 10px;
}

.hamburger{
    margin-top: 20px;
    display: none;
    cursor: pointer;
    background-color: #00000000;
    border: none;
    height: auto;
}


.hamburger-bar{
    display: block;
    width: calc(4rem + 2vh);
    height: 3px;
    margin: calc(1em + 0.5vh);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: antiquewhite;
}

#hero-loader{
    font-size: calc(1.75rem + 1vw);
    background-image: url(./Images/NYOF[Oud\ Backgroud]\ square\ webBG.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
    /* text-align: center; */
    padding-top: 40vh;
    padding-left: 40vw;
    position: relative;
    z-index: 10;
    background-color: #146a74;
    height: 100vh;
    width: 100vw;
    display: none;
}


.hero{
    z-index: 0;
    position: relative;
    /* border: 3px solid rgb(114, 144, 115); */
    height: 100vh;
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden; /* ensure decorative/positioned children can't flow into next sections */
}

/* layout for next-event + description */
/* Default: stacked (mobile-first) */
.hero-callout{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-callout #next-event{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.hero-callout .description{
    margin: 0;
    padding: 0;
    line-height: 1.3;
    text-align: left;
}

/* Side-by-side on wider screens */
@media (min-width: 761px){
    .hero-callout{
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.hero-text{
    max-width: 800px;
    position: absolute;
    top: 10vw;
    left: 50vw;
    padding: 1em;
    line-height: 5.5em;
    text-shadow: -4px 3px 0 rgb(0, 25, 0), -10px 7px 0 #0a0e2758;
    color: #e0eff2;
    margin-right: 2rem;
}

.description {
    /* line-height: 3rem; */
    text-align: justify;
    padding: 1rem 3rem;
    font-weight: bold;
    text-shadow:-50px 300px 8px rgba(10, 8, 52, 0.384), 50px 100px 9px #00ffff13; 
    line-height: calc(1.5em + 0.5vh);
    color: #69878b;
    margin: 1.75rem clamp(0.5rem, 5vw, 5rem);
}

/* Next Event Styling */

#next-event {
    display: inline-block; /* badge-like, stays in-flow under hero text */
    position: static;
    max-width: 200px;
    margin: 1rem 0 0 0; /* sits just below the description */
    font-family: system-ui, -apple-system, sans-serif;
    text-shadow: none;
    border-radius: 18px;
    border: 3px solid #1B9AAA; /* match .more-details-button */
    padding: 2px;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
    font-weight: 700;
}

@media (max-width: 760px) {
    #next-event{
        display: block;
        max-width: 90%;
        margin: 0.75rem auto 0 auto;
    }
}

.event-card {
  border: 1px solid #ffffff;
  border-radius: 15px;
  padding: 8px 10px;
  /* background: #e9e9e9; */
  background: radial-gradient(
    circle at top left,
    #ffffff 0%,
    #979591 70%,
    #617920ac 100%
  );
  line-height: 1.2;
}

.event-card h2 {
  color: #da0707;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.next-event-name {
  color: #000;
  font-size: calc(12px + 1vw);
  font-weight: 600;
  margin: 0 0 2px 0;
}

.event-card .venue {
  font-size: 2vw;
  font-weight: 500;
  color: #777;
  margin: 0 0 2px 0;
}

.event-card .time {
  font-size: clamp(12px, 2.2vw, 20px);
  font-weight: 400;
  color: #141414;
  margin: 0 0 4px 0;
}

.event-card a {
  font-size: clamp(12px, 2.2vw, 30px);
  color: #2d22ff;
  text-decoration: none;
  display: inline-block;
}

.event-card a:hover {
  text-decoration: underline;
}


@keyframes wiggle {
    0%, 10%, 90%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.hero-text hr{
        border: 2px solid #15727e6a;
        margin: 1rem 5rem 0 3rem;
    }

.title{
    text-align: center;
}
.sub-title{
    text-align: center;
}

.svg-container-1{
    /* border: 5px solid rgb(163, 18, 18); */
    width: 100vw;
    height: inherit;
    position: relative; /* anchor absolutely positioned children like #next-event */
}
/* the svg logo animation */
#svg{
    height: 100vh;
    width: 100%
}

#circle{
    margin-left: 20px;
    stroke-width: 2;
    stroke: rgb(99, 105, 57);
    fill: black;
    
}

.center-line{
    stroke:rgb(129, 126, 92);
}

/* section styles */
.section{
    font-size: calc(1em + 0.5vw);
    padding: 90px 1em;
    height: fit-content;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-attachment: fixed;
    /* keep element from resizing when animations come from outside the element */
    overflow: hidden;
}

.spacer{
    color: #69878b00;
}
.section-content{
    max-width: 800px;
    /* border: 3px solid red; */
}


/* about section */
#about{
    background-image:
    linear-gradient(to right, rgb(0, 25, 0) 15%, rgba(15, 43, 6, 0)),
    url('./Images/oud\ profile\ element.1[20perc\ transparency].png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    
}

#about-section-social-icons{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#about-section-social-icons .social-icon{
    height: max(5vw, 100px);
    margin: 10px;
}



/* ------------------------- */
.about-container, .festival-container, .shop-container{
    display: flex;
    /* border: 3px solid rgb(255, 170, 0); */
    border-radius: 10px;
    width: 100%;
    padding: 1rem;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Prevent the rotated header in the About column from overlapping the right content */
#about .about-container{
    gap: 1.5rem;
    align-items: flex-start;
}

#about .about-container .left-container{
    flex: 0 0 140px; /* reserve space for the vertical header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#about .right-container{
    flex: 1 1 auto;
}

/* Heavier weight for the decorative rotated header in the About section */
#about .rotated-header{
    font-weight: 700;
}

/* Ensure the Attend rotated header matches the About rotated header */
#attend .rotated-header {
    color: #1B9AAA;
    padding: 30px 0px;
    font-size: clamp(2rem, 6vw, 5.2917rem);
    writing-mode: vertical-rl;
    transform: rotateZ(180deg);
    font-weight: 700;
}




#attend{
    height: fit-content;
    background-image:  linear-gradient(to right, rgb(0, 25, 0), rgba(36, 27, 98, 0) 10%),url('./Images/Upright\ Oud\ low\ opacity.png');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: 30vw;
}

.schedule-container{
    display: flex;
    border: 3px solid rgb(255, 170, 0);
    border-radius: 10px;
    width: 100%;
    padding: 1rem;
}

.schedule-container img{
    filter: invert(60%);
    transform: rotate(270deg);
    margin-top: 30vh;
}
.left-container h2:not(.rotated-header), .left-container h3{
    font-weight: 100;
    padding-top: 50%;
    opacity: 0.5;
}

.rotated-header{
    color: #1B9AAA; /* match .more-details-button */
    padding: 30px 0px;
    font-size: clamp(2rem, 6vw, 5.2917rem);
    writing-mode:vertical-rl;
    transform: rotateZ(180deg);
    font-weight: 700;
}

/* Apply left-column width/centering to other section containers like About */
.festival-container .left-container,
.shop-container .left-container{
    flex: 0 0 140px; /* reserve space for the vertical header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-item{
    /* border: 3px solid rgb(251, 255, 0); */
    margin: 1rem 10px;
}

.event-item h3{
    margin-top: 1rem;
}

/* baseline for venue detail headings (e.g. Barbès) */
.venue-details-text h4{
    font-size: calc(1rem + 2vw);
    font-weight: 600;
    margin: 0.25rem 0 0.5rem 0;
    color: inherit;
}

/* make event-item h3 slightly larger than venue h4 */
#attend .event-item h3{
    font-size: calc(1.4rem + 0.6vw);
    font-weight: 700;
}

.event-item hr{
    border: 1px solid #15727e;
    margin: 0 10px;
}

.venue-details-text{
    color: #6b7476;
}

.more-details-button{
    color: #202020;
    text-decoration: none;
    font-size: calc(1rem + 0.5vw);
    padding: 70px 1em;
    height: fit-content;
    background-color: #15727e;
    border-radius: 5px;
    border: none;
    background: #1B9AAA;
    padding: 0.4rem 1rem;
}

.more-details-button:hover{
    background: #2db6c8;
}

#event-details-modal-container{
    display: none;
    height: calc(100vh - 70px);
    background-color: #161616eb;
    width:100%;
    z-index: 3;
    position: fixed;
    margin-top: 5rem;
    /* display: flex; */
    animation: fadeIn 5s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}

#event-details-modal{
    /* border: 4px solid rgb(240, 177, 19); */
    font-size: calc(0.95rem + 0.25vw);
    padding: 18px 16px;
    max-height: calc(100vh - 120px);
    overflow: auto;
    border-radius: 10px;
    margin: 16px auto;
    background-color: #15727e;
    background: linear-gradient(236deg, #146a74 0%, #05717f 25%, #0c4349 100%);
    max-width: 640px;
}

/* Reduce heading sizes inside event details modal */
#event-details-modal h2{
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #f5f5f5;
}

#event-details-modal #event-details-title h3 {
    /* font-size: calc(1.5rem + 0.7vw); */
    font-weight: 700;
    margin: 0.25rem 0 0.5rem 0;
}

#event-details-modal h4{
    font-size: 2.6rem;
    font-weight: 600;
    margin: 0.25rem 0;
}



.event-details-performer-image{
    min-height: 160px;
    float: start;
    height: calc(12rem + 7vw)
}

.ticket-link{
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    color: rgb(225, 141, 23);
    border: 4px solid rgb(190, 126, 0);
    padding: 2px 5px;
    border-radius: 7px;
    margin: 10px 0px 10px 0px;
    cursor: pointer;
}

.close-event-details{
    border-radius: 7px;
    float: right;
    width: 30%;
    text-align: center;
    background: transparent;
    color: rgb(225, 141, 23);
    border: 4px solid rgb(190, 126, 0);
    /* padding: 8px 12px; */
    font-weight: 700;
    font-size: calc(1rem + 0.5vw);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-width: 5px;
}

.close-event-details:hover{
      background-color: rgba(205,137,0,0.08);
}

  
  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

/* End Schedule Section */

#festival{
    background-image:
    linear-gradient(to right, rgb(0, 25, 0) 10%, rgba(15, 43, 6, 0) 80%),
    url('./Images/oud\ profile\ element.2[transition].png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: fit-content;
}
/* partners section */
.partners-grid-container{
     /* border: 3px solid rgb(255, 170, 0); */
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: auto;
    padding: 2rem;
}


.partners-grid-item{
    width: calc(80% - 2vw);
    padding: 20px;
}

/* shop section */

#shop{
    background-image:
    linear-gradient(to right, rgba(0, 25, 0, 0.962) 50%, rgba(15, 43, 6, 0.395)),
    url('./Images/shirt_layers/Unisex-Shirt_0003_NYOF-Rosette.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: fit-content;
}

#shop .section-content{
    max-width: 1000px;
}

#shop .description{
    text-align: center;
    margin-bottom: 50px;
    padding: 25px;
    border-radius: 10px;

    background: rgba(0, 25, 0, 0.578);
    box-shadow: 0 8px 32px 0 rgba(21, 60, 24, 0.37);
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}

#merch-card-grid{
    /* border: 3px solid rgb(231, 231, 231); */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* width: inherit; */
}

#merch-card-container:hover{
    cursor: pointer;
}

#merch-card-container{
    margin: auto;
   padding: 10px;
    width: calc(100px + 15vw);
    
}

.item-card-top{
    /* border: 3px solid rgb(122, 0, 128); */
    height: calc(100px + 15vw);
    width: inherit;
}

.item-card-top img{
    max-width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.item-card-bottom{
    font-size: calc(1rem + 0.5vw);
    font-weight: 600;
    padding: 7px;
    /* border: 3px double green; */
    color: #202020;
    background-color: #c1c1c1;
    height: fit-content;
    width: inherit;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.image-stack{
    position: absolute;
    width: inherit;
}

#merch-card-container :nth-child(1) :nth-child(5){
    transition: transform 400ms ease-in-out;
}

#merch-card-container:hover :nth-child(1) :nth-child(5){
    transform: rotate(10deg )
}


#merch-card-container :nth-child(1) :nth-child(4){
    transition: transform 400ms ease-in-out;
    
}

#merch-card-container:hover :nth-child(1) :nth-child(4){
    /* border: 3px solid red; */
    filter: drop-shadow(10px 10px 5px rgb(36, 52, 73));
    transform: scale(1.15) rotate(-10deg);
    transition: 400ms;
    
}


/* end shop section */

#contact{
    height: 100vh;
    background-image:
    linear-gradient(to right, rgb(0, 25, 0) 15%, rgba(15, 43, 6, 0)),
    url('./Images/cihat-hidir-QgTCofNAa3w-unsplash.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 1em;
    /* height: 100%; */
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: baseline; */
}

/* contact form styling */
.form-container{
    font-size: 1.5rem;
    /* border: solid 5px red; */
    margin-top: 2em;
    height: 80%;
    line-height: 80px;
}

.entry-area{
    height: 80px;
    margin: 30px 0;
    line-height: 80px;
    
}

 .form-container input, .form-container textarea, .form-container button{
    position: absolute;
    outline: none;
    font-size: 1.75rem;
    padding: 0 30px;
    line-height: 80px;
    border-radius: 10px;
    border: 2px solid #1B9AAA;
    background: transparent;
    transition: 0.2s ease;
    z-index: 1;
}

.form-container input, textarea{
    width: 60%;
    min-width: min(500px, 90vw);
}

.form-container textarea{
   resize: none;
   overflow: auto;
   line-height: 80px;
   min-height: 240px
}

.form-container button{
    line-height: 50px;
    margin-top: 160px;
    background: #1B9AAA;
    font-size: 1.5rem;
    width: 150px;
}

.form-container button:hover{
    background-color: #33b8c9;
}

.form-container button:active{
    background-color: #15727e;
}

.floating-label{
    position: absolute;
    font-size: 1.5rem;
    color: #C9C9C9;
    padding: 0 10px;
    margin: 0 12px;
    background-color: rgb(0, 25, 0);
    transition: 0.2s ease;
}

.form-container input:focus, input:valid{
    color: #1B9AAA;
    border: 4px solid #1B9AAA;
}

.form-container textarea:focus, textarea:valid{
    color: #1B9AAA;
    border: 4px solid #1B9AAA;
}

.form-container input:focus + .floating-label, input:valid + .floating-label{
    color: #1B9AAA;
    height: 30px;
    line-height: 30px;
    transform: translate(-10px, -16px) scale(0.88);
    z-index: 1;
}

.form-container textarea:focus + .floating-label, textarea:valid + .floating-label{
    color: #1B9AAA;
    height: 30px;
    line-height: 30px;
    transform: translate(-15px, -16px) scale(0.88);
    z-index: 1;
}
/* ------------------- */


@media  (max-height:830px) {
    .hero-text h3 {
        display: none;
    }
}


@media (max-width:980px){
     #event-details-modal{
        padding: 12px 10px;
        max-width: calc(100% - 10vw);
    }

    .ticket-link{
        font-size: calc(1.6rem + 2vw);
        padding: 2px 4px;
        margin: 10px 0px 10px 0px;
    }

    .close-event-details{
        width: 30%;
        /* padding: 12px 16px; */
        font-size: calc(1.6rem + 1vw);
        /* border-width: 4px; */
    }

    .more-details-button{
        font-size: calc(1rem + 0.75vh);
    }

    .nav-menu a{
        font-size: calc(1rem + 1.75vh);
    }

    .navbar{
        transition: 0.5s; 
    }

    .hamburger{
        display: block;
        position: fixed;
    }

    .hamburger.active .hamburger-bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .hamburger-bar:nth-child(1){
        transform: translateY(19px) rotate(225deg)
    }
    .hamburger.active .hamburger-bar:nth-child(3){
        transform: translateY(-19px) rotate(-225deg)
    }
    .nav-menu{
        position: fixed;
        left: -100%;
        top: 70px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: rgba(0, 25, 0, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.5s;
        overflow: scroll;
    }

    .nav-menu.active{
        left:0;  
        background-color: #104e58f9;   
    }

    .nav-menu img{
        height: 5rem;
    }

    .hero-text{
        left: 30vw;
    }

    .section{
        display: block;
        font-size: calc(1rem + 1vh);
    }
    #attend > .section-content > h2{
        font-size: clamp(2.4rem, 6vw, 5.2917rem);
        margin-bottom: 0.75rem;
    }

    #attend .event-item h2{
        font-size: calc(1.6rem + 2vw);
        margin-top: 0.25rem;
    }

    #attend .event-item h3{
        font-size: calc(1.6rem + 2vw);
        margin-top: 0.25rem;
    }

    /* keep the rotated header readable but smaller on narrow screens */
    #attend .rotated-header{
        padding: 10px 0;
    }
    .section-content{margin: auto}

    #contact .section-content{margin: 0}

    #event-details-modal p, 
    #event-details-modal address, 
    #event-details-modal h3
    {
        font-size: calc(1rem + 1vh);
        max-height: 90vh;
        overflow: auto;
    }

     #event-details-modal h2{
        font-size: calc(1rem + 1vh);
        max-height: 90vh;
        overflow: auto;
    }


    #merch-card-container{
        margin: auto;
       padding: 10px;
        width: calc(200px + 30vw);
        
    }

    #merch-card-grid{
        /* border: 3px solid rgb(231, 231, 231); */
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        /* width: inherit; */
    }
    
    .item-card-top{
        /* border: 3px solid rgb(122, 0, 128); */
        height: calc(200px + 30vw);
        width: inherit;
    }

}

/* Mobile layout and text scaling (≤600px) */
@media (max-width: 600px){
    h3 {
        font-size: clamp(1rem, 5vw, 1.75rem);
    }
    .hero-text {
        left: 5vw;
        right: 5vw;
        max-width: 90vw;
        top: 10vh;
        line-height: 2.5em;
    }
    .hero-text hr {
        margin: 0.5rem 0.5rem 0 0.5rem;
    }
    .description {
        margin: 0.5rem 0;
        padding: 0.5rem 0.5rem;
    }
    /* Stack section containers vertically */
    .about-container,
    .festival-container,
    .shop-container,
    .schedule-container {
        flex-direction: column;
    }

    .schedule-container .left-container{
        display: none;
    }
    /* Let rotated headers lay flat when stacked */
    .rotated-header {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(1.5rem, 7vw, 3rem);
        padding: 0.5rem 0;
    }
    #attend .rotated-header {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(1.5rem, 7vw, 3rem);
        padding: 0.5rem 0;
    }

    .close-event-details{
        /* width: 100%; */
        /* padding: 12px 16px; */
        font-size: calc(1rem + 1vw);
        border-width: 4px;
    }

     .more-details-button{
        font-size: calc(1rem + 0.75vh);
        width: 100%;
    }

     .nav-menu a{
        font-size: calc(1rem + 1.75vh);
    }
    /* Remove fixed left-column width when stacked */
    #about .about-container .left-container,
    .festival-container .left-container,
    .shop-container .left-container {
        flex: none;
        width: 100%;
    }
    /* Merch grid single column */
    #merch-card-grid {
        grid-template-columns: 1fr;
    }
    #merch-card-container {
        width: min(90vw, 400px);
    }
    .item-card-top {
        height: min(90vw, 400px);
    }
    /* Contact form */
    .form-container input,
    .form-container textarea {
        width: 90vw;
        min-width: 0;
    }
    .form-container button {
        position: static;
        margin-top: 1rem;
    }
    .entry-area {
        height: auto;
        margin: 15px 0;
        line-height: normal;
    }
    .form-container {
        line-height: normal;
    }
}

/* this media query keeps the middle from getting empty on larger screens */
@media (min-width:1500px){
    .hero-text{
        left: 30vw;
    }
}

/* this hides the social media icons when the screen is too small to accomodate them */
@media (max-width:1148px){
    #social-icons{
        display: none;
    }
}



@keyframes wiggle {
    0%, 10%, 90%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.apply-button {
    color: #202020;
    position: relative;
    z-index: 3; /* Ensure the button is above the hero element */
    background-color: #1b7a87; /* Add a background color to make it more visible */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 2rem;
    animation: wiggle 2s ease-in-out 3s infinite; /* Apply the wiggle animation with a 3s pause */
}
    
.apply-button:hover {
        background: #2db6c8;
    }