body {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  background-color: black;
}
.main-content {
  min-height: 100vh;
  position: relative;
}

header {
  position: fixed;  
  display: flex;
  align-items: center;
  justify-content: space-between;      
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;             
  background-color: #e91922;
  align-items: center;
  color: white;
  overflow: visible;
  height: 60px;
  padding: 10px 2rem;        
  box-sizing: border-box;
  border-bottom: 3px solid white;
}

.header-content {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  z-index: 2;
  margin-right: 2rem;
}

.logo {
  height: 110px;
  margin-bottom: -80px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  padding: 0;
  margin: 0;
  align-items: center;
  margin-top: 5px;;
}

.nav-links a {
  color: white;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2rem;
  margin-top: 0px;
}

#search-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.icon {
  height: 20px;
  width: auto;
  vertical-align: middle; 
}

.icon:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
  background-color: #e91922;
  color: white;
  padding: 80px 32px 32px 50px; 
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 900;
}

.mobile-nav.show {
  transform: translateX(0%);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  margin-bottom: 3rem;
  width: 100%;
}

.mobile-nav li {
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.mobile-nav a {
  position: relative;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-block;
}

.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-search-container {
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

form.search-bar {
padding-left: 0.7rem;
margin: 0;
}

form.search-bar input {
  padding-right: 36px;
  min-width: 150px;
}

div.mobile-search-container {
padding: 0;
margin: 0;
}

.mobile-search-container .search-bar {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  height: 32px;
  max-width: 280px;
}

.mobile-search-container .search-bar input {
  border: none;
  padding: 0rem;
  margin: 0rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  outline: none;
  width: 100%;
  color: #e91922;
  background-color: transparent;
}

.mobile-search-container .search-bar input::placeholder {
  color: #e91922;
  opacity: 0.7;
}


.mobile-search-container .search-bar button {
  background: none;
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

.mobile-search-container .search-bar button img {
  height: 18px;
}

.mobile-nav ul {
  padding-left: 0;
}

.mobile-nav a:hover::after {
  width: 100%;
}
.mobile-social-icons {
  display: flex;
  gap: 1.2rem;
}

.mobile-social-icons .icon {
  height: 26px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.mobile-social-icons .icon:hover {
  opacity: 0.7;
}

.mobile-social-icons a::after {
  display: none !important;
  content: none !important;
}

form.search-bar button img {
  height: 20px;
  width: auto;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
  margin: 0;
}

.burger-line {
  width: 28px;               
  height: 3px;               
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .line1 {
  transform: rotate(45deg);
  position: absolute;
}

.burger.active .line2 {
  opacity: 0;
}

.burger.active .line3 {
  transform: rotate(-45deg);
  position: absolute;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  align-self: flex-end;
  cursor: pointer;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  height: 30px;             
  margin-left: 1rem;
  margin-bottom: 5px;
}

.search-bar input {
  border: none;        
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;           
  outline: none;
  width: 120px;               
  color: #e91922;
  box-sizing: border-box;
}

.search-bar button {
  background: none;
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  flex-shrink: 0; 
}

.search-bar button img {
  height: 18px;
}

.search-bar input::placeholder {
  color: #e91922;
  opacity: 0.7;
  white-space: nowrap;         
  overflow: hidden;
  text-overflow: ellipsis;     
}

#searchInputHeader {
  padding-right: 0;
  width: 160px;
}

mark#searchMark {
  background-color: #e91922;
  color: #e91922;
  padding: 2px 4px;
  border-radius: 3px;
}

.nav-links a.nav-sponsor {
  color: gold !important;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}

.nav-links a.nav-sponsor::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: gold;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a.nav-sponsor:hover::after {
  width: 100%;
}

.gold-icon {
  height: 15px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  filter: brightness(1.0) saturate(1.2);
}

footer {
  background-color: #e91922;
  color: white;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 32px;
  font-family: 'Bebas Neue', sans-serif;
  border-top: 3px solid white;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
  flex-wrap: wrap;
  z-index: 1;
}

.footer-logo-box {
  flex-shrink: 0;
  padding-top: 0.3rem;
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  height: 110px;
}

.footer-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 200px;
  min-width: 200px;
  padding-top: 0.3rem;
  margin: 0;
}

.footer-box h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.footer-box p,
.footer-box a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.2rem 0;
  color: white;
  text-decoration: none;
  position: relative;
  text-decoration: none;
}

a.icon-link::after,
a.icon-link:hover::after,
a > img.icon::after {
  display: none !important;
  content: none !important;
}

.footer-box a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: white;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.footer-box a:hover::after {
  width: 100%;
}

.footer-box .icon {
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
  font-family: 'Open Sans', sans-serif;
}

.footer-bottom a {
  color: white;
  text-decoration: underline;
}
.footer-social-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.2rem;
}

.footer-social-icons a {
  display: inline-block;
}

.footer-social-icons img.icon {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer-social-icons img.icon:hover {
  opacity: 0.7;
}
@media (max-width: 1130px) {
  .footer-content {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.8rem;
    margin-bottom: 2rem;
  }

   .footer-box h4 {
    margin-bottom: 0px;
  }

  .footer-logo-box {
    grid-row: 1 / span 2;
  }

  .footer-box:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-box:nth-of-type(2),
  .footer-box:nth-of-type(3),
  .footer-box:nth-of-type(4) {
    grid-column: 1 / span 2;
  }
}

.hero-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 3.5rem;
  font-family: 'Bebas Neue', sans-serif;
  padding-top: 6rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-title .white {
  color: white;
}

.hero-title .red {
  color: #e91922;
}

.title-desktop {
  display: inline;
}
.title-mobile {
  display: none;
}

.sponsor-marquee {
  width: 100%;
  overflow: hidden;
  background-color: white;
  border-top: #e91922 3px solid;
  padding: 1rem 0;
  margin: 2.5rem 0 0 0; 
  border-radius: 0;
  box-sizing: border-box;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: scroll-left 90s linear infinite;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.marquee-track img {
  height: 90px;
  object-fit: contain;
  max-width: none;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .header-right {
    display: none !important; 
  }

  .burger {
    position: absolute;
	display: flex;
    right: 1.2rem;
    top: 0.5rem;
    z-index: 1101;
  }


  header {
    justify-content: flex-start; 
  }
  .nav-links  {
    display: none;
  }
}

@media (min-width: 1025px) {
  .burger {
    display: none;
  }

  .mobile-nav {
    display: none; 
  }
  
}


@media (max-width: 768px) {
  .main-content {
    padding: 0 1rem;
  }

  .sponsor-marquee {
  margin: 1rem 0 0 0; 
}

  .marquee-track {
    gap: 2rem;
    animation-duration: 60s;
  }

  .marquee-track img {
    height: 70px;
  }

.mobile-nav a.nav-sponsor {
  color: gold !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: bold;
  text-transform: uppercase;
}

.mobile-nav a.nav-sponsor::after {
  background-color: gold;
}

.mobile-nav .gold-icon {
  height: 18px;
  position: relative;
  top: -1px;
  filter: brightness(1.0) saturate(1.2);
}

}