* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background-color: #fcfcfc;
  color: #5f5f5f;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.background-depth {
  position: fixed;
  inset: -3vh -3vw;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .background-depth {
    will-change: auto;
    transform: translate3d(0, 0, 0) scale(1.03);
  }
}

.center-ticker {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100vw;
  height: 20px;
  transform: translateY(-50%);
  background: rgba(252, 252, 252, 0.82);
  color: #5f5f5f;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.center-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 42s linear infinite;
}

.ticker-sequence {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  white-space: nowrap;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #5f5f5f;
  line-height: 20px;
}

.ticker-logo {
  height: 13px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.65;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .center-ticker {
    height: 18px;
  }

  .ticker-sequence {
    gap: 8px;
    padding-right: 8px;
    font-size: 8px;
    letter-spacing: 0.26em;
    line-height: 18px;
  }

  .ticker-logo {
    height: 11px;
  }
}
