canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: -1;
}

html {
  background: black;
}

body {
  font-family: 'Alatsi', sans-serif;
  margin: 0;
  overflow: hidden; /* Default to hidden to prevent scrolling */
  overscroll-behavior: none; /* Prevent mobile bounce */
  background: transparent;
}

.scrollable-page {
  overflow: auto;
  overscroll-behavior: auto;
}

.title {
  font-size: 10vw;
  color: white;
  font-family: "Big Shoulders Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  visibility: hidden;
}

.title-small {
  font-size: 2vw; /* Smaller font size for non-homepage titles */
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-family: "Big Shoulders Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  visibility: hidden;
}

.blur-box {
  background: rgba(255, 255, 255, 0.4); /* Adjust the alpha value as needed */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
  border-radius: 20px;
}

.title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.title-container-top {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.menu-container {
  display: flex;
  justify-content: flex-end; /* This will right justify the menu items */
  align-items: center; /* This will vertically center the menu items */
  position: absolute;
  top: 20px; /* This positions the menu container at the top of the page */
  right: 20px; /* This positions the menu container at the right of the page */
  /* height: 10; Adjust this value to change the height of the menu container */
  padding: 20px 20px; /* This adds some padding on the left and right of the menu container */
}

.menu-container a {
  text-decoration: none;
  color: white;
  margin-left: 30px;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; /* Add a black shadow to the text */
  cursor: pointer;
}

.menu-container img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  margin-right: 20px;
  cursor: pointer;
}

/* New styles for the privacy policy container */
.privacy-policy-container {
  max-width: 800px;
  margin: 150px auto; /* Center the container and add top margin */
  padding: 20px;
  background: white; /* Set background to white for readability */
  color: black; /* Set text color to black */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif; /* Use a readable font */
}

.privacy-policy-container h1, .privacy-policy-container h2 {
  color: #333;
}

.privacy-policy-container p {
  color: #666;
  line-height: 1.6;
}

/* Styles for the clickable title link */
.title-link {
  text-decoration: none;
}

.title-link:hover .title,
.title-link:hover .title-small {
  text-decoration: underline;
}

/* CUSTOM COLOR PICKER STYLES */
.color-picker-modal {
  position: absolute;
  width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  padding: 15px;
  visibility: hidden;
  z-index: 1000;
  cursor: default;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  touch-action: none;
}

.saturation-box {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.saturation-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.layer-white {
  background: linear-gradient(to right, white, rgba(255,255,255,0));
}
.layer-black {
  background: linear-gradient(to top, black, rgba(0,0,0,0));
}

.picker-thumb {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hue-slider {
  width: 100%;
  margin-top: 15px;
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
  outline: none;
}
.hue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  cursor: pointer;
  border: 2px solid #ddd;
}

.hex-container {
  display: flex;
  margin-top: 15px;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.hex-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  color: #333;
}