
@font-face {
    font-family: 'Avenir Black';
    src: url('/Fonts/Avenir-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {  
    font-family: 'Avenir Black', sans-serif;  
    margin: 0;  
    padding: 0;  
    background-color: #181717;
}  

header {
    min-height: 90vh;
    margin-top: 160px;
}

/* Mobile version with 60px top and bottom padding */
@media (max-width: 768px) {
    header {
        min-height: 400px;
        padding-top: 60px;
        padding-bottom: 60px;
        margin-top: 0; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        flex-wrap: wrap; 
    }
}

.sponsor-logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 120px;
}

.sponsor-logo img {
    transition: width 0.3s ease; /* Optional: smooth transition effect */
}

/* Mobile version (max-width 768px) */
@media (max-width: 768px) {
    .sponsor-logo img:nth-child(1) {
        padding-left: 0px; 
    }

    .sponsor-logo img:nth-child(3) {
        padding-right: 0px; 
    }
}

/* Desktop Styles */  
@media (min-width: 900px) {  
    .sponsor-logo img:nth-child(1) {
        padding-right: 80px; 
    }
    
    .sponsor-logo img:nth-child(2) {
        padding-left: 40px; 
    }
}  
  
header, .intro, .event-info, .about, footer {  
    text-align: center;  
}  
  
header h1, header h2, header h3 {  
    margin: 10px 0;  
}  

h1 {
    font-size: 80px;
    color: white;
}

h1 img {
    width: 176px;
}

h2 {
    font-size: 32px;
}

.intro {  
    color: #181717;   
    padding-top: 160px;
    padding-bottom: 160px;
    padding-left: 160px;
    padding-right: 160px;
}  
  
.intro-content {  
    display: flex; /* Use flexbox to create two columns */  
    justify-content: space-between; /* Space between columns */  
} 
  
.about {  
    background-color: #181717;    
    /* margin: 20px 0; */
    color: white;   
    padding-top: 160px;
    padding-bottom: 160px;
    padding-left: 160px;
    padding-right: 160px;
}  
  
.about-content {  
    display: flex; /* Use flexbox to create two columns */  
    justify-content: space-between; /* Space between columns */  
}  
  
.left-column, .right-column {  
    flex: 1;
}  

.left-column, .right-column p {  
    font-size: 28px;  
} 
  
p {  
    text-align: justify; /* Justify text */  
    margin-bottom: 20px; /* Space between paragraphs */  
}  

/* Desktop Styles */  
@media (min-width: 900px) {  
    .left-column {  
        /* padding-right: 70px;   */
        margin-top: 60px;
    }  

    .right-column {
        padding-left: 70px;
        margin-top: 60px;
    }
}  
  
/* Mobile Styles */  
@media (max-width: 320px) {  
    .left-column, .right-column {  
        padding: 0 32px;
    }  

    header h1 {
        font-size: 32px;
        color: white;
    }
}  

@media (max-width: 480px) {  
    h1 {
        font-size: 32px;
        color: white;
    }

    h4 {
        font-size: 20px;
    }
    h2 {
        font-size: 20px;
    }

    .intro {
        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .about {
        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .left-column, .right-column p {  
        font-size: 16px;  
    } 
}

.event-info, .intro {
    background-color: white;
    /* margin: 20px 0;  */
}
  
.event-info img {  
    width: 100%;  
    height: auto;  
}  
  
.info {  
    padding-left: 32px; 
    /* padding-top: 20px; */
    padding-right: 32px;
    /* padding-bottom: 100px;  */
    /* padding-bottom: 30px;  */

}  
  
.buttons {  
    display: flex;  
    justify-content: center;  
    gap: 80px;  
    margin: 100px 0;  
}  
  
button {  
    font-family: 'Avenir Black', sans-serif;  
    font-size: 14px;  
    padding: 10px 20px;  
    border-radius: 25px;  
    cursor: pointer;  
    transition: background-color 0.3s, color 0.3s;  
    width: 300px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}  

button a {  
    text-decoration: none;
    /* font-size: 32px; */
    font-size: 24px;

} 
  
button:first-child {  
    background-color: #181717;  
    color: #fff;  
    border: none;  
}  
  
button:first-child:hover {  
    background-color: #181717;  
} 

button:nth-child(2) {  
    /* background-color: white;  
    color: #181717;  
    border-color: #181717; */
    background-color: #181717;  
    color: #fff;  
    border: none; 
}

button:nth-child(2) a {  
    color: #fff;  
}
  
button:nth-child(2):hover {  
    background-color: #181717;  
    color: #fff;
} 

button:nth-child(2):hover a { 
    color: #fff;
} 

button:nth-child(3) {  
    /* background-color: white;  
    color: #181717;  
    border-color: #181717; */
    background-color: #181717;  
    color: #fff;  
    border: none; 
}

button:nth-child(3) a {  
    color: #fff;  
}
  
button:nth-child(3):hover {  
    background-color: #181717;  
    color: #fff;
} 

button:nth-child(3):hover a { 
    color: #fff;
} 
  
button:last-child {  
    /* background-color: transparent;  
    color: #fff;  
    border: 2px solid #181717;   */
    background-color: #181717;  
    color: #fff;  
    border: none;
}  
  
button:last-child:hover {  
    background-color: #181717;  
    color: #fff;  
}  

@media (max-width: 768px) {
    button a {  
        font-size: 12px;
    } 

    button {
        width: 117px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .buttons {  
        display: flex;  
        justify-content: center;  
        gap: 30px;  
        margin: 20px 0;  
    } 
}
  
ul {  
    list-style-type: none;  
    padding: 0;  
}  
  
ul li {  
    margin: 10px 0;  
}  
  
footer {  
    background-color: #181717;  
    padding: 10px;  
    text-align: center;  
    color: white;
}  

footer p {  
    text-align: center;
} 

.event-details {  
    max-width: 900px; /* Max width for desktop */  
    margin: 0 auto; /* Center the content */  
    padding: 20px;   
    border-radius: 8px; /* Rounded corners */  
}  
  
.detail-item {  
    display: flex;  
    justify-content: space-between; /* Space between label and value */  
    padding: 10px 0; /* Padding for each item */  
}  
  
.detail-item:last-child {  
    border-bottom: none; /* Remove border for the last item */  
}  
  
.label {  
    flex: 1; /* Allow label to take available space */  
}  
  
.colon {  
    flex: 0 0 20px; /* Fixed width for colon */  
    text-align: center; /* Center the colon */  
}  
  
.value {  
    flex: 2; /* Allow value to take more space */  
}  
  
.race-pack {
    text-align: center;  
    margin-top: 60px;   
    font-size: 28px; 
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Align items vertically */
    flex-wrap: wrap; /* Allow wrapping if needed */
}  

.giveaway-pack {
    text-align: center;  
    margin-top: 60px;   
    font-size: 28px; 
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Align items vertically */
    flex-wrap: wrap; /* Allow wrapping if needed */
}  

.tees-pack {
    text-align: center;    
    font-size: 28px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    color: white;
} 

.race-pack img {  
    width: 24px;
    margin-left: 16px;
}  
  
/* Mobile Styles */  
@media (max-width: 320px) {  
    .event-details {  
        max-width: 100%; /* Full width for mobile */  
        padding: 10px; /* Reduced padding for mobile */  
    }  
  
    .detail-item {  
        flex-direction: column; /* Stack label and value vertically */  
        align-items: flex-start; /* Align items to the start */  
    }  
  
    .label, .colon, .value {  
        flex: none; /* Reset flex for mobile */  
    }  
  
    .label {  
        margin-bottom: 5px; /* Space between label and value */  
    }  
    .footer-logo {
        width: 70px;
    }
}  

.table_component {
    overflow: auto;
    width: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.table_component table {
    border: 1px solid white;
    height: 100%;
    width: 900px;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    margin: 0 auto; 
}

.table_component td, .table_component th {
    border: 1px solid white;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
    vertical-align: top;
    font-size: 28px;
}

.table_component caption {
    caption-side: top;
    text-align: left;
}

.footer-logo {
    width: 90px;
}

.on-logo {
    width: 40px;
}

.video-container {
    position: relative;
    width: calc(100% - 320px); 
    margin: 0 auto; 
    padding-top: 46%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* Mobile version with 32px left and right padding */
@media (max-width: 768px) {
    .video-container {
        width: calc(100% - 64px); /* Subtract total left and right padding (32px + 32px) */
        padding-top: 48%; /* 16:9 aspect ratio */
    }

    .table_component table {
        /* width: 350px; */
        width: 100%;
    }

    .table_component {
        overflow: hidden;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hide the mobile version by default */
.mobile {
    display: none;
}

/* Show the desktop version by default */
.desktop {
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile version (max-width 768px) */
@media (max-width: 768px) {
    /* Hide the desktop version on mobile */
    .desktop {
        display: none;
    }

    /* Show the mobile version on mobile */
    .mobile {
        display: flex;
        justify-content: space-around;
        margin-top: 40px;
    }

    .intro-content {  
        flex-direction: column;  
    } 

    .about-content {
        flex-direction: column;
    }
    h1 img {
        width: 200px;
    }
    
    .table_component td, .table_component th {
        font-size: 16px;
    }

    .race-pack {
        font-size: 16px;
    }

    .giveaway-pack {
        font-size: 16px;
    }

    .tees-pack {
        font-size: 16px;
    }

    .race-pack img{
        width: 12px;
        margin-left: 12px;
    }

    .info {
        padding-bottom: 4px;
    }
}

/* Hide Mobile Buttons on Desktop */
.mobile-only {
    display: none;
}

@media (max-width: 600px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        align-items: center;
    }

    .mobile-only br {
        display: block;
    }
}

.leftt-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  height: 50px; /* adjust as needed */
  width: auto;
}

.leftt-logo img {
  height: 50%;
  width: auto;
  display: block;
}

.rightt-button {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 20px;                 /* spacing between links */
  font-size: 20px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  z-index: 999;
}

.rightt-button a {
  text-decoration: none;
  color: black;
  font-family: 'Avenir Black', sans-serif;
  transition: 0.2s ease;
}

.rightt-button a:hover {
  color: #555;
}

/* Mobile */
@media (max-width: 600px) {
  .rightt-button {
    font-size: 14px;
    top: 16px;
    right: 10px;
    gap: 10px;
  }

  .rightt-button a {
    color: white;
  }
}

/* banner by U */
.banner-container {
  position: relative;
  /* height: 100vh; */
  height: auto;
  width: 100%;
  overflow: hidden;
}

.banner-container img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  display: block;
}

.centered-button {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.centered-button button {
  padding: 12px 24px;
  font-size: 18px;
  background-color: black;
  color: white;
  border: none;
  /* border-radius: 12px; */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.centered-button button:hover {
  background-color: #444;
}

.centered-button a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Optional: mobile adjustments */
@media (max-width: 600px) {
  .centered-button button {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* end of banner by u */

.two-row-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background-color: #181717;
  color: white;
}

.row {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 40px; */
  margin-bottom: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

.column {
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.image-row .column img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.text-row p {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  text-align: center;
  color: white;
}

.text-row .column:nth-child(2) p {
  font-size: 18px;
  font-weight: 700;
}

/* zoom image */

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

/* zoom done */

    .merch-wrapper {
      max-width: 100%;
      width: 100%;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
    }

    .grid-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      text-align: center;
      max-width: 1200px;
      width: 100%;
      align-items: end;
      margin-bottom: 50px;
    }

    .grid-item {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .grid-item img {
      max-width: 90%;
      height: auto;
    }

    .label {
      margin-top: 10px;
      font-weight: bold;
      color: white;
    }

    /* Responsive for mobile */
    @media (max-width: 768px) {
      .grid-container {
        grid-template-columns: 1fr;
      }

      .merch-wrapper {
      max-width: 100%;
    }
    }