/* Reset default margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full-page styling */
body, html {
  height: 100%;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  background: #000;
  color: #fff;
}

/* Animation container */
.animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw; /* Use viewport width */
  height: 100vh; /* Use viewport height */
  z-index: 1;
}

/* Ensure the canvas fills the container */
#3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Content styling */
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 600px;
  padding: 20px; /* Add padding for better spacing on small screens */
}

/* Typography */
h1 {
  font-size: clamp(32px, 8vw, 48px); /* Responsive font size */
  margin-bottom: 10px;
}

.tagline {
  font-size: clamp(18px, 4vw, 24px); /* Responsive font size */
  margin-bottom: 20px;
}

.about-us {
  margin-bottom: 30px;
}

.about-us h2 {
  font-size: clamp(20px, 5vw, 28px); /* Responsive font size */
  margin-bottom: 10px;
}

.about-us p {
  font-size: clamp(14px, 3.5vw, 18px); /* Responsive font size */
  line-height: 1.6;
}

.cta {
  margin-bottom: 30px;
}

.cta p {
  font-size: clamp(16px, 4vw, 20px); /* Responsive font size */
  margin-bottom: 20px;
}

/* Subscribe link styling */
.subscribe-link {
  font-size: clamp(18px, 4.5vw, 24px); /* Responsive font size */
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px; /* Smaller padding on mobile */
  border: 2px solid #fff; /* Add the oval border */
  border-radius: 50px; /* Creates the oval shape */
  transition: all 0.3s ease;
  display: inline-block; /* Ensures padding and border work correctly */
}

.subscribe-link:hover {
  background: #fff;
  color: #000;
}

/* Footer styling */
footer {
  font-size: clamp(12px, 3vw, 14px); /* Responsive font size */
  opacity: 0.8;
  margin-top: 20px;
}

.credit {
  font-size: 12px; /* Smaller font size for the credit */
  opacity: 0.7; /* Make it slightly transparent */
  margin-top: 10px; /* Add space between the copyright and credit */
}

.credit a {
  color: #fff; /* Match the text color */
  text-decoration: none; /* Remove underline */
  transition: opacity 0.3s ease;
}

.credit a:hover {
  opacity: 0.9; /* Slight hover effect */
}