*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  background: #000000;
  margin: 0px auto;
  padding-top:0px;
}

div.menu {
  text-align: center;
  margin: auto; 
  padding-top: 20px;
}

ul.menuitems {
  list-style-type: none; /* Remove default list styles */
  padding: 0;
  margin: 0;
  display: flex; /* Use flexbox */
  justify-content: center; /* Center the items horizontally */
}


ul.menuitems li {
  margin: 0 10px; /* Add space between menu items */
}

/*
li {
  float: left;
  display: block;
  text-align: center;
  padding: 10px;
  text-decoration: none;
}
*/

/* Change the link color to #111 (black) on hover */
li:hover {
  background-color: #111;
}

h2 {
  color: rgb(206, 206, 206);
  font-size: 150%;
  padding-top: 20px;
}

.container {
  width: 80%;
  margin: 2rem auto;
}

.gallery {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(9, 5vw);
  grid-gap: 1.5rem;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 6;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--2 {
  grid-column-start: 6;
  grid-column-end: 11;
  grid-row-start: 1;
  grid-row-end: 3;

  /** Alternative Syntax **/
  /* grid-column: 3 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--3 {
  grid-column-start: 11;
  grid-column-end: 22;
  grid-row-start: 1;
  grid-row-end: 6;

  /** Alternative Syntax **/
  /* grid-column: 5 / span 4;
  grid-row: 1 / span 5; */
}

.gallery__item--4 {
  grid-column-start: 6;
  grid-column-end: 11;
  grid-row-start: 3;
  grid-row-end: 6;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 4;  */
  /* grid-row: 3 / span 3; */
}

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 6;
  grid-row-end: 9;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 4; */
  /* grid-row: 6 / span 3; */
}

.gallery__item--6 {
  grid-column-start: 4;
  grid-column-end: 11;
  grid-row-start: 6;
  grid-row-end: 9;

  /** Alternative Syntax **/
  /* grid-column: 5 / span 4; */
  /* grid-row: 6 / span 3; */
}

.gallery__item--7 {
  grid-column-start: 11;
  grid-column-end: 22;
  grid-row-start: 6;
  grid-row-end: 9;

  /** Alternative Syntax **/
  /* grid-column: 5 / span 4; */
  /* grid-row: 6 / span 3; */
}

a{
  text-decoration: none;
  color: #7e7e7e;
  font-family: inherit;
  font-size: 125%;
  font-style: inherit;
  font-weight: inherit;
}

#header{
  background-color: #000000;
  height:75px;
}

#content{
  background-color: #000000;
  float:left;
}

#footer{
  color: #242424;
  background-color: #000000;
  clear:both;
  text-align:center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* CSS for mobile */
@media (max-width: 480px) {
  ul.menuitems {
    flex-wrap: wrap;
  }

  ul.menuitems li {
    margin: 5px;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
  }

  .gallery {
    display: contents;
  }
  
  .gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* ── Scroll hint ─────────────────────────────────────────── */
@keyframes scroll-dot-fade {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.scroll-dot {
  animation: scroll-dot-fade 1.6s ease-in-out infinite;
}

@keyframes chevron-cascade {
  0%        { opacity: 0; }
  30%, 70%  { opacity: 1; }
  100%      { opacity: 0; }
}

@keyframes hint-fade-in {
  from { opacity: 0; transform: translateY(calc(-50% + 8px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.first-video-wrapper {
  position: relative;
}

.scroll-hint {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 100;
  pointer-events: none;
  animation: hint-fade-in 1s ease 1.5s both;
  transition: opacity 0.6s ease;
  width: 5%;
  right: -5%;
}

.scroll-hint--hidden {
  opacity: 0;
}

.chevron--1 {
  animation: chevron-cascade 1.6s ease-in-out infinite;
}

.chevron--2 {
  animation: chevron-cascade 1.6s ease-in-out 0.25s infinite;
}

@media (min-width: 1024px) {
  .scroll-hint {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint { display: none; }
}