.fullsize-header {
  position: relative;
    min-height: 100vh;
  min-height: 100svh;
}

h1.fullsize-header-headline {
  font-size: max(4rem, 7.8125vw);
  text-align: center;
  margin: 0;
}

.fullsize-header-media-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  grid-column: 1 / span 14;
  grid-row: 1 / span 1;
}

.fullsize-header-text-wrapper {
  grid-row: 1 / span 1;
  grid-column: 2 / span 12;
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: max(1em, 2.6041666666vw);
  color: var(--white);

  padding-bottom: calc(max(2.5rem, 3vw) + 2em);
}

.fullsize-header::after {
  content: "";

  background-color: #fff0;

  opacity: 0.7;

  background-image: radial-gradient(
    at center center,
    #00000000 20%,
    #000000 80%
  );

  grid-column: 1 / span 14;
  grid-row: 1 / span 1;
}

.fullsize-header .logo-marquee-list {
  position: absolute;
  bottom: 2em;
  z-index: 1;
}

.logo-marquee-list {
  grid-column: 1 / span 14;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--s-sm);
  width: 100%;
  overflow: hidden;
}

.logo-marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--s-sm);
  min-width: 100%;
  width: max-content;
  animation: scroll-x 20s linear infinite;
  height: max(2.5rem, 3vw);
}

.logo-marquee-item-wrapper {
  display: flex;
  flex-shrink: 0;
  height: 100%;
}

.logo-marquee-item {
  display: block;
  height: auto;
  width: auto;
  max-width: max(12.5rem, 15vw);
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - var(--s-sm)));
  }
}

@media (max-width: 991.98px) {
  .safari .logo-marquee-item {
    height: 100%;
  }
}
