html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.animation-container {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: sans-serif;
  font-size: 15px;
  transition: opacity 0.3s, visibility 0.3s;
}

.animation-container.hide {
  opacity: 0;
  visibility: hidden;
}

svg {
  height: 42vh;
}

.page {
  height: 400vh;
}

.content {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
}

.content-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.content-section:nth-child(1) {
}

.content-section:nth-child(2) {
  user-select: none;
}

.content-section:nth-child(3) {
  user-select: none;
}

.content-section:nth-child(4) {
  user-select: none;
}

.content-section:nth-child(5) {
  background-color: #000000;
  color: #ffffff;
  user-select: none;
}

.content-section > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  margin-top: -10vh;
  max-width: 700px;
  text-align: center;
}

/* .additional-content {
  height: 100vh;
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.additional-content section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
} */

.first-content {
  height: 200vh;
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}

.second-content {
  height: 100vh;
  position: relative;
  z-index: 10;
  background-color: #000000;
  margin: 0 auto;
  color: white;
  text-align: justify;
  max-width: 100vh;
  overflow: hidden;
}

.cloud {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  padding: 0;
  margin: 0.5em 0;
}

p {
  padding: 0;
  margin: 0.25em 0;
}

a {
  color: black;
}

.arrow-animated {
  font-size: 35px;
  animation: arrow-float 1s infinite;
}

@keyframes arrow-float {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  60% {
    transform: translateY(50%);
    animation-timing-function: ease-in-out;
  }
  100% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
}

.flowers-section {
  position: relative;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}

.flowers-animation,
.container,
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* .flowers-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
  pointer-events: none;
} */

/* .clean-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
} */

.name {
  position: absolute; /* Changed from fixed to absolute */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 4vw;
  text-shadow: 0 0 5px #000000;
  user-select: none;
  pointer-events: none;
  /* Add these properties to ensure the text stays within the canvas */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 20px; /* Add some padding to prevent text from touching the edges */
}

@media all and (min-width: 640px) {
  .name {
    font-size: 45px;
  }
}
