html {
  touch-action: manipulation;
  -webkit-text-size-adjust: none;
}

body {
  background-color: #d3282a;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  transition: opacity 0.3s ease-in;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.texts {
  position: absolute;
  left: 50%;
  top: 416px;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 3;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  display: flex;
  flex-direction: column;
  align-items: center;

  /* background-color: green; */
}

.title {
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  max-width: 240px;
  margin: 0;
  margin-top: 4px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.text-logo {
  display: block;
  width: 200px;
  height: 53px;
  padding: 4px;
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 1));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.animation {
  height: 420px;
  width: 100vw;
  pointer-events: none;
  user-select: none;
}

.road {
  position: fixed;
  top: 314px;
  width: 100%;
  height: 130px;
  opacity: 0.97;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 16%,
    rgba(0, 0, 0, 0) 100%
  );
}

.cityscape-container {
  opacity: 0;
  width: 100%;
  height: 600px;
  position: fixed;
  top: -200px;
  left: 0;
}

.cityscape-container.loaded {
  opacity: 0.7;
  transition: opacity 0.1s ease-in;
}

.cityscape {
  display: flex;
  position: relative;
  width: fit-content;
  height: 100%;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.city-block {
  width: 800px;
  height: 515px;
  pointer-events: none;
  will-change: transform;
}

.logo {
  position: absolute;
  top: 100px;
  z-index: 2;
  width: 300px;
  height: 300px;
  transform: translateX(100vw);
  animation: slideIn 1.5s ease-out forwards, bob 3s ease-in-out infinite;
  animation-delay: 0s, 1.5s;
}

@keyframes bob {
  0% {
    transform: translateX(calc(50vw - 150px)) translateY(0);
  }
  20% {
    transform: translateX(calc(50vw - 150px)) translateY(-4px);
  }
  40% {
    transform: translateX(calc(50vw - 150px)) translateY(-7px);
  }
  60% {
    transform: translateX(calc(50vw - 150px)) translateY(-5px);
  }
  80% {
    transform: translateX(calc(50vw - 150px)) translateY(-3px);
  }
  100% {
    transform: translateX(calc(50vw - 150px)) translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(calc(50vw - 150px));
  }
}

.spokes {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  will-change: transform;
}

.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.social-icons {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 80px;
  margin-top: 100px;
}

.social-icon-link {
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.social-icon-link:hover {
  background-color: black;
  transform: translateY(-8px);
}

.social-icon {
  pointer-events: none;
  width: 30px;
  height: 30px;
}
