:root {
  --c-darkest: #121516;
  --c-lightest: #e7e5e4;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Space Mono", monospace;
}
h1,
h2 {
  font-family: "Space Mono", monospace;
  font-size: 80px;
  padding: 5vh;
  text-align: center;
  text-rendering: optimizeLegibility;
}

@media screen and (max-width: 768px) {
  h1,
  h2 {
    font-size: 40px;
    padding: 3vh;
  }
}

/* For very small mobile screens */
@media screen and (max-width: 480px) {
  h1,
  h2 {
    font-size: 28px;
    /* padding: 2vh; */
  }
}

#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#smooth-content {
  overflow: visible;
  width: 100%;
}

.panel {
  scroll-snap-align: start;
  height: 100vh;
  width: 100%;
}

@media screen and (max-width: 1440px) {
  .panel p {
    font-size: 24px;
  }
}

/* For very small mobile screens */
@media screen and (max-width: 1024px) {
  .panel p {
    font-size: 18px;
  }
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .panel p {
    font-size: 18px;
    padding: 0 15px;
  }
  .panel {
    height: auto;
    padding: 2rem 0;
  }
}

/* For very small mobile screens */
@media screen and (max-width: 480px) {
  .panel p {
    font-size: 14px;
  }

  h2 {
    font-size: 20px; /* Adjusted font size for smaller screens */
    padding: 2vh; /* Adjusted padding for smaller screens */
  }
}

/* Additional general mobile styles */
.mobile-device,
body.mobile-device {
  overflow-x: hidden;
}

/* Mobile hint styling */
.mobile-hint {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 1000;
  transition: opacity 1s ease;
  pointer-events: none;
}

.mobile-hint .hint-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
