/* ========================
   Menu System - FINAL CSS
   ======================== */
:root {
  --menu-mobile-offset: 5px;      /* vertical offset of menu */
  --menu-mobile-text-offset: 40px; /* left padding for mobile links */
  --menu-expand-max: 1200px;       /* max height when expanded */
}

/* Desktop menu (default) */
.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: transparent;
}

.menu li a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  padding: 8px 20px;
  line-height: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background .2s;
}

.menu li a:hover {
  background: #069ecc;
}

/* Hide checkbox */
#checkbox1 {
  display: none;
}

/* Hide toggle completely on desktop */
.toggle {
  display: none;
}

/* MOBILE STYLES */
@media (max-width: 800px) {
  /* Toggle bar (MENU) */
  .toggle {
    display: block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #ED1C24;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: var(--menu-mobile-offset);
  }
  .toggle:hover {
    background: #069ecc;
  }

  /* Collapse menu by default */
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-height: 0;               /* collapsed */
    overflow: hidden;
    background: transparent;     /* no red when closed */
    transition: max-height .3s ease, background .3s ease, padding .2s ease;
    padding: 0;
  }

  .menu li {
    width: 95%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .menu li a {
    width: 95%;
    text-align: left;
    padding-left: var(--menu-mobile-text-offset);
  }

  /* When checkbox checked, expand */
  #checkbox1:checked + label .menu {
    max-height: var(--menu-expand-max);
    padding: 12px 0;
    background: #ED1C24; /* red only when open */
  }

  #checkbox1:checked + label .menu li {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Body background */
body {
  background: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; } .header { display: flex; align-items: center; flex-wrap: nowrap; padding: 10px; background-color: #f0f2f5; justify-content: flex-start; } .logo { flex-shrink: 0; margin: 10px; max-width: 260px; width: 100%; margin-left: 35px; } .logo img { width: 100%; height: auto; } .gif { flex-shrink: 0; margin: 10px; max-width: 75px; width: 100%; margin-left: 150px; } .gif img { width: 100%; height: auto; } .banner-wrapper { margin: 5px auto; width: 730px; height: 100px; display: block; } .banner-container { position: relative; width: 100%; height: 100%; border-radius: 15px; overflow: hidden; } .banner { position: relative; width: 100%; height: 100%; transform: translateX(5px); } .banner-images a { display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; animation: fade 15s infinite; pointer-events: none; } .banner-images a:nth-child(1) { animation-delay: 0s; } .banner-images a:nth-child(2) { animation-delay: 5s; } .banner-images a:nth-child(3) { animation-delay: 10s; } @keyframes fade { 0% { opacity: 0; pointer-events: none; } 0%, 33.33% { opacity: 1; pointer-events: auto; } 33.34%, 100% { opacity: 0; pointer-events: none; } } .banner-images a img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; } @media(max-width: 1024px) { .header { flex-direction: column; align-items: center; } .logo { max-width: 200px; margin-left: 0; } .gif { max-width: 60px; margin-left: 0; } .banner-wrapper { width: 100%; margin-left: 0; } } @media(max-width: 768px) { .logo { max-width: 150px; } .gif { max-width: 50px; } } @media(max-width: 480px) { .logo { max-width: 120px; } .gif { max-width: 40px; } } :root { --menu-height: 30px; --menu-font-size: 20px; --menu-font-weight: 600; --menu-bg: #ED1C24; --menu-hover: #069ecc; --menu-color: #fff; --menu-font-size-mobile: 20px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; } nav { background-color: var(--menu-bg); color: var(--menu-color); } nav ul { list-style: none; display: flex; justify-content: center; align-items: center; gap: 30px; } nav ul li { margin: 0; } nav ul li a { display: block; height: var(--menu-height); line-height: var(--menu-height); padding: 0 20px; color: var(--menu-color); text-decoration: none; font-size: var(--menu-font-size); font-weight: var(--menu-font-weight); } nav ul li a:hover { background-color: var(--menu-hover); } #menu-toggle { display: none; } .menu-label { display: none; height: var(--menu-height); line-height: var(--menu-height); text-align: center; background-color: #ED1C24; color: white; cursor: pointer; font-size: var(--menu-font-size); font-weight: var(--menu-font-weight); } @media (max-width: 768px) { nav ul { flex-direction: column; display: none; width: 100%; gap: 12px; } nav ul li { text-align: center; width: 100%; } #menu-toggle:checked + .menu-label + ul { display: flex; } #menu-toggle:checked + .menu-label { display: block; } #menu-toggle:checked + .menu-label + ul li a { font-size: var(--menu-font-size-mobile); } }

/* ========================
   VIDEO + DUAL AD WRAPPER
   ======================== */
#videoAdWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

#videoAdWrapper .va-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 1530px;
  width: 100%;
  padding: 0 20px;
}

/* Video area: 848 x 480 (16:9) with 3D dark blue shadow */
#videoAdWrapper .video-area {
  position: relative;
  width: 848px;
  height: 480px;
  max-width: 100%;
  flex-shrink: 0;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #1a237e;
  box-shadow:
    0 4px 6px rgba(26, 35, 126, 0.4),
    0 8px 12px rgba(26, 35, 126, 0.35),
    0 16px 24px rgba(26, 35, 126, 0.3),
    0 32px 48px rgba(26, 35, 126, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

#videoAdWrapper .video-area #player {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

#videoAdWrapper .video-area video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Ad area: 320 x 480 (matching player height) */
#videoAdWrapper .ad-area {
  width: 320px;
  height: 480px;
  flex-shrink: 0;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

#videoAdWrapper .ad-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

#videoAdWrapper .ad-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

#videoAdWrapper .ad-slide.active {
  opacity: 1;
  pointer-events: auto;
}

#videoAdWrapper .ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* Responsive: stack on smaller screens */
@media (max-width: 1200px) {
  #videoAdWrapper .va-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  #videoAdWrapper .ad-left {
    order: 2;
  }
  #videoAdWrapper .video-area {
    order: 1;
    width: 100%;
    max-width: 848px;
  }
  #videoAdWrapper .ad-right {
    order: 3;
  }
}

@media (max-width: 900px) {
  #videoAdWrapper .va-container {
    flex-direction: column;
    align-items: center;
  }
  #videoAdWrapper .video-area {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  #videoAdWrapper .ad-area {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 320 / 480;
  }
}


/* Block 1 pic and ad */ .container4 { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 50px 20px 0 20px; } .left-section { width: 66.66%; display: flex; align-items: center; margin-bottom: 0px; } .image-container4 { width: 300px; height: 200px; background-color: #ccc; transition: transform 0.5s; transform: scale(1) translateZ(0); transform-origin: center center; overflow: hidden; margin-right: 20px; border-radius: 15px; flex-shrink: 0; } .image-container4 img { width: 100%; height: 100%; object-fit: cover; } .image-container4:hover { transform: scale(1.1) translateZ(50px); } .text-placeholder4 { flex-grow: 1; background-color: #fff; padding: 10px; margin-bottom: 10px; } .ad-section4 { width: 33.33%; display: flex; justify-content: center; align-items: center; overflow: hidden; perspective: 1000px; } .ad-placeholder4 { width: 300px; height: 200px; background-color: #ccc; transition: transform 0.5s; transform: scale(1) translateZ(0); transform-origin: center center; border-radius: 15px; flex-shrink: 0; overflow: hidden; } .ad-placeholder4 img { width: 100%; height: 100%; object-fit: cover; } .ad-placeholder4:hover { transform: scale(1.1) translateZ(50px); } @media(max-width:1024px){ .left-section, .ad-section4 { width: 100%; margin-right: 0; flex-direction: column; align-items: center; } .image-container4, .ad-placeholder4 { margin: 0 auto; } .text-placeholder4 { margin-top: 20px; width: 300px; } } @media(max-width:768px){ .text-placeholder4 { padding: 10px; } } @media(max-width:480px){ .container4 { padding: 20px 20px 0 20px; } .image-container4, .ad-placeholder4 { width: 100%; height: auto; } .text-placeholder4 { padding: 10px; width: 100%; text-align: center; } } /* Block 2 6 pics */ * , *::before, *::after { box-sizing: border-box; } .wrapper { max-width: 1200px; width: 100%; margin: 0 auto; } .container { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px; } .item { width: 33.33%; padding: 10px; box-sizing: border-box; display: flex; flex-direction: row; align-items: center; } .image-container5 { width: 200px; height: 150px; overflow: hidden; border-radius: 15px; flex-shrink: 0; margin-right: 15px; transition: transform 0.5s; transform: scale(1) translateZ(0); transform-origin: center center; } .image-container5 img { width: 100%; height: 100%; object-fit: cover; } .image-container5:hover { transform: scale(1.1) translateZ(50px); } .text-placeholder { flex: 1; padding: 10px; word-wrap: break-word; font-size: 16px; display: flex; align-items: center; } @media(max-width:1024px){ .item { width: 50%; } } @media(max-width:768px){ .item { width: 100%; } } @media(max-width:480px){ .container { padding: 10px 10px 0 10px; } .item { flex-direction: column; align-items: center; margin-bottom: 15px; } .image-container { width: 200px; height: 150px; margin-right: 0; margin-bottom: 5px; } .text-placeholder { width: 200px; text-align: center; } } @media(max-width:360px){ .container { padding: 10px 10px 0 10px; } .item { margin-bottom: 10px; } .text-placeholder { font-size: 14px; } } .wrapper { margin: 0 100px; max-width: calc(100% - 200px); box-sizing: border-box; } /* Left Pic and Text */ .container-left { display: flex; justify-content: center; padding: 50px 200px; box-sizing: border-box; } .item-left { display: flex; align-items: center; width: 100%; max-width: 100%; flex-direction: row; } .image-container-left { width: 400px; height: 260px; background-color: #ccc; transition: transform 0.5s; transform: scale(1) translateZ(0); transform-origin: center center; overflow: hidden; margin-right: 20px; flex-shrink: 0; border-radius: 15px; } .image-container-left img { width: 100%; height: 100%; object-fit: cover; } .image-container-left:hover { transform: scale(1.1) translateZ(50px); } .text-placeholder-left { flex-grow: 1; background-color: #fff; padding: 20px; box-sizing: border-box; } @media(max-width:768px){ .container-left { padding: 50px 20px; } .item-left { flex-direction: column; align-items: center; } .image-container-left { margin-right: 0; margin-bottom: 10px; } .text-placeholder-left { width: 100%; text-align: center; padding: 10px; } } /* Right Pic and Text */ .container-right { display: flex; align-items: center; padding: 50px 200px; box-sizing: border-box; } .item-right { display: flex; align-items: center; width: 100%; max-width: 100%; } .image-container-right { width: 400px; height: 260px; background-color: #ccc; transition: transform 0.5s; transform: scale(1) translateZ(0); transform-origin: center center; overflow: hidden; margin-left: 20px; flex-shrink: 0; border-radius: 15px; } .image-container-right img { width: 100%; height: 100%; object-fit: cover; } .image-container-right:hover { transform: scale(1.1) translateZ(50px); } .text-placeholder-right { flex-grow: 1; background-color: #fff; padding: 20px; box-sizing: border-box; margin-bottom: 10px; } @media(max-width:768px){ .container-right { padding: 0px 20px; } .item-right { flex-direction: column; align-items: center; } .image-container-right { margin-left: 0; margin-bottom: 10px; } .text-placeholder-right { width: 100%; text-align: center; padding: 10px; } } /* 5 images in a row */ .image-row-logos { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px 10px; } .image-container-logos { margin-bottom: 20px; flex: 1 1 25%; display: flex; justify-content: center; } .image-container-logos a { display: inline-block; } .image-container-logos img { max-width: 350px; width: 100%; height: auto; cursor: pointer; } @media(max-width:1024px){ .image-container-logos { flex: 1 1 50%; } } @media(max-width:768px){ .image-container-logos { flex: 1 1 50%; } } @media(max-width:480px){ .image-container-logos { flex: 1 1 100%; } } @media(max-width:360px){ .image-container-logos { flex: 1 1 100%; } }

/* Break menu and footer out of body's 20px padding so they sit flush edge-to-edge */
nav,
.footer {
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
}