html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;inline-size:jnb ;
	vertical-align: baseline;
}

body {
    background-color: #75a5e5;
}

#main-container {
    display: flex;
    margin: 0 auto; 
    flex-direction: column;
    align-items: center;    /* Vertically centers content */
    height: 100vh; /* Example: full viewport height for parent */
    width: 100vw;
    max-width: 800px;
}

.main-image {
    background-color: #75a5e5;
}

.logo {
    width: 80vw;
    height: 80vw;
    max-width: 50vh;
    max-height: 50vh;
    padding-bottom: 5px;
    padding-top: 20px;
}

.lead-text {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 650;
    font-style: normal;
    font-size: .9rem;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

.header-text {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 650;
    font-style: normal;
    font-size: .9rem;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.main-nav {
    padding-bottom: 20px;
}

#nav-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#nav-container .bridge {
    display: block;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    height: auto;
}

#nav-container .nav-list {
    position: absolute;
    top: 20%; /* Example: Start 50% from the top */
    left: 50%; /* Example: Start 50% from the left */
    transform: translate(-50%, -50%);
    
    list-style-type: none; /* Removes bullets */
    margin: 0;           /* Removes default margin */
    padding: 0;          /* Removes default padding */
    display: flex;       /* Enables Flexbox */
    flex-direction: row; /* Arranges items horizontally */
    gap: 20px;           /* Adds spacing between items (adjust as needed) */
}

#nav-container .img-link {
    width: 14vw;
    height: auto;
    max-width: 80px;
    max-height: 80px;
}

#submit-container {
    position: absolute;
    top: 80%; 
    left: 50%;
    transform: translate(-50%, -50%);
}

#submit-container a {
    display: inline-block;
    padding: 10px 10px;
    border-radius: 15px;
    color: black;
    background-color: #f4bb2e;
    text-decoration: none;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 650;
    font-style: normal;
    font-size: 1.5rem;
    text-align: center;
}

#main-event-container {
    display: flex;
    margin: 0 auto; 
    flex-direction: column;
    align-items: center;   
    width: 100vw;
    max-width: 1200px;
}

#main-event-container main {
    margin-bottom: 20px;
}

.event-container {
  font: 1rem "Open Sans", sans-serif;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.event-card {
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
  max-width: 350px;
  background-color: #edd1b0;
}

.event-image {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  margin-top: 15px;
  margin-bottom: 15px;
}

.event-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-title-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain; 
  display: block;
}

.event-bottom {
    margin-top: auto;
}

.event-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-top: 15px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
  gap: 5px;
}

.event-detail {
  display: inline-block; 
  padding: 0.4em 1.2em;
  border-radius: 999px;
  background-color: #b1b8c2; 
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.event-data {
  font-weight: bold;
  color: #000;
}

.ticket-button {
  display: block;
  font-weight: bold;
  text-align: center;
  background-color: #efb31c;
  color: black;
  text-decoration: none;
  padding: 10px;
  border-radius: 4px;
}

.disabled-link {
  pointer-events: none;
  cursor: default;   
  text-decoration: none;
  background-color: #b1b8c2;
}

.home-icon {
  width: 60px;
  height: 60px;
  object-fit: contain; 
  display: block;
}

.home-button {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 1000; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #b30d0d;
  color: #333;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  text-decoration: none;
  overflow: hidden;
}

/* Hover effect for desktop users */
.home-button:hover {
  transform: scale(1.1);
  background-color: #f0f0f0;
}

/* Mobile optimization for notches */
@supports (padding: env(safe-area-inset-top)) {
  .home-button {
    top: calc(25px + env(safe-area-inset-top));
    left: calc(25px + env(safe-area-inset-left));
  }
}
