*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 18px;
}

body {
  margin: 0;
  --color-text: #e7ecef;
  --color-bg: #0f1720;
  --color-link: #e7ecef;
  --color-link-hover: #ffffff;
  --color-border: rgba(231, 236, 239, 0.14);
  --marquee-bg: #d8e6ff;
  --marquee-text: #111827;
  --menu-focus: #8bb8ff;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: reason-new, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
}

a:hover {
  color: var(--color-link-hover);
}

a:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
}

a:focus:not(:focus-visible) {
  background: transparent;
}

a:focus-visible {
  outline: 2px solid #8bb8ff;
  background: transparent;
}

.menu-wrap {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  position: relative;
  justify-content: center;
}

.menu__item {
  cursor: default;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 -1px var(--color-border);
}

.menu__item:last-child {
  box-shadow: 0 1px var(--color-border), 0 -1px var(--color-border);
}

.menu__item-link {
  display: block;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.menu__item-link:focus,
.menu__item-link:focus-visible {
  color: var(--menu-focus);
}

.menu__item-link:focus:not(:focus-visible) {
  color: var(--color-link);
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--marquee-bg);
  transform: translate3d(0, 101%, 0);
}

.marquee__inner-wrap {
  height: 100%;
  width: 100%;
  transform: translate3d(0, -101%, 0);
}

.marquee__inner {
  height: 100%;
  width: fit-content;
  align-items: center;
  display: flex;
  position: relative;
  animation: marquee 15s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.menu__item-link,
.marquee span {
  white-space: nowrap;
  font-size: 6vw;
  line-height: 1.2;
  font-weight: 600;
  padding: 1vh 1vw 0;
  text-transform: uppercase;
}

.menu__item-link {
  color: var(--color-text);
}

.marquee span {
  text-align: center;
  color: var(--marquee-text);
  font-weight: 400;
}

.marquee__img {
  width: 15vw;
  height: 70%;
  margin: 0 2vw;
  border-radius: 5vw;
  background-size: cover;
  background-position: 50% 50%;
}

@media (max-width: 700px) {
  .menu__item-link,
  .marquee span {
    font-size: 10vw;
  }

  .marquee__img {
    width: 22vw;
  }
}
