html,
body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
  overflow-x: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  background: #007ec5;
  background-color: #007ec5;
}

.section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#top-section {
  background: #007ec5;
  background-color: #007ec5;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bottom-section {
  background: black;
  background-color: black;
}

svg {
  display: block;
  width: 800px;
  height: 300px;
  user-select: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-rendering: geometricPrecision;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: 'SometypeMono';
  src: url('assets/fonts/SometypeMono-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.bottom-right {
  position: fixed;
  bottom: 10px;
  right: 5px;
  color: white;
  font-family: 'SometypeMono', monospace;
  font-size: 16px;
  z-index: 10;
}

.bottom-right::selection {
  background: white;
  color: #007ec5;
}

.bottom-right::-moz-selection {
  background: white;
  color: #007ec5;
}

.top-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.nav-button {
  background: none;
  border: none;
  color: white;
  font-family: 'SometypeMono', monospace;
  font-size: 16px;
  padding: 5px 0;
  margin-right: 30px;
  cursor: pointer;
  position: relative;
}

.nav-button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-button:hover::after {
  width: 100%;
}

.coming-soon {
  color: black;
  font-family: 'SometypeMono', monospace;
  font-size: 12px;
  text-align: center;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  background-color: #d37a55;
  padding: 6px 12px;
}

.debug-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
}

.debug-slider {
  display: flex;
  align-items: center;
  margin: 5px 0;
  color: white;
  font-family: 'SometypeMono', monospace;
  font-size: 12px;
}

.debug-slider label {
  width: 50px;
}

.debug-slider input {
  width: 100px;
  margin: 0 10px;
}

.debug-slider span {
  width: 50px;
  text-align: right;
}

.text-crop {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 100px;
  height: auto;
  filter: invert(1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.text-crop.visible {
  opacity: 1;
}