/* General Reset */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Space Grotesk", sans-serif;
  overflow: hidden;
  position: relative;
}

/* Whiteboard Background */
.whiteboard {
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  background-image: radial-gradient(circle, #cccccc 0.7px, transparent 1px);
  background-size: 10px 10px;
  position: relative;
  z-index: 1;
}

/* Top Header */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: "Syne", sans-serif;
  z-index: 2;
  position: relative;
}

.left-header,
.right-header {
  color: #000;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; /* Font size */
  letter-spacing: 0; /* No additional letter spacing */
  line-height: 0.5; /* Minimal line spacing */
}

.bottom-left-text {
  position: fixed;
  bottom: 20px; /* Distance from the bottom edge */
  left: 20px; /* Distance from the left edge */
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; /* Font size */
  letter-spacing: 0; /* No additional letter spacing */
  line-height: 0.5; /* Minimal line spacing */
  color: #000; /* Text color */
  z-index: 10; /* Ensures it appears above other elements */
  margin: 0; /* Removes default margin */
  padding: 0; /* Removes default padding */
}

.since-text {
  position: fixed;
  bottom: 20px; /* Adjust the distance from the bottom */
  right: 20px; /* Adjust the distance from the left */
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; /* Font size */
  letter-spacing: 0; /* No additional letter spacing */
  line-height: 0.5; /* Minimal line spacing */
  color: #000000; /* Black text color */
  z-index: 10; /* Ensure it appears above other elements */
}

#particle-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  scale: 150%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.2; /* Adjusts the opacity */
  transform: scale(1); /* Sets the scale to 100% */
}

/* Hero Section */
.hero-section {
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1; /* Ensure it is above the particle background */
}

.hero-text {
  font-family: "Syne", sans-serif;
  font-size: 3rem; /* Adjust size as needed */
  font-weight: 800; /* Extra Bold */
  line-height: 1.2;
  color: #000000; /* White text for blending effect */
  mix-blend-mode: difference; /* Apply blending effect */
}

/* Navbar Styles */
.navbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 20px;
  padding: 15px 37px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.navbar-logo {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.navbar-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 1000;
  font-size: 1.7rem;
  text-transform: none;
  margin-right: 60px;
  color: #000;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 80; /* Extra bold for emphasis */
  color: #ffffff;
  background-color: #000000; /* Black background */
  border: 1.5px solid #000000; /* Solid border to match background */
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #ffffff; /* Swap to white background on hover */
  color: #000000; /* Black text on hover */
}

/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  z-index: 1000; /* Ensure it appears above other content */
}

/* Modal content */
.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  height: 80%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Close button */
.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
}

/* General styles for smaller devices */
@media screen and (max-width: 768px) {
  .top-header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .left-header,
  .right-header {
    font-size: 10px; /* Smaller text for mobile */
  }

  .hero-section {
    top: 40%; /* Adjust for smaller screens */
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 2rem;
  }

  .hero-text {
    font-size: 2rem; /* Adjust text size */
    line-height: 1.1;
  }

  .navbar {
    flex-direction: column;
    padding: 10px;
    bottom: 10px;
    transform: translateX(0);
    width: 100%; /* Full width for mobile */
    text-align: center;
  }

  .navbar-logo {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }

  .navbar-title {
    font-size: 1.5rem;
  }

  .cta-button {
    width: 90%;
    padding: 8px 15px;
    font-size: 1rem;
  }

  .bottom-left-text {
    left: 10px;
    font-size: 12px; /* Smaller text for mobile */
  }

  .since-text {
    right: 10px;
    font-size: 12px;
  }

  .modal-content {
    width: 90%;
    height: 80%;
  }
}

/* For even smaller screens */
@media screen and (max-width: 480px) {
  .hero-text {
    font-size: 1.8rem;
  }

  .navbar {
    padding: 5px;
  }

  .cta-button {
    font-size: 0.9rem;
  }

  .modal-content {
    margin: 2% auto;
  }
}
