.before-content,
.after-content {
  padding: 50px;
  font-size: 20px;
}

.wrapper2,
.content2 {
  position: relative;
  width: 100%;
  z-index: 1;
}

.intro2 {
  position: absolute;
  left: 0%;
  top: 0%;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ff0000;
}

.intro2 h1 {
  font-size: 40px;
  font-family: "Beth Ellen", cursive;
}

.intro2 p {
  font-size: 60px;
  font-family: "Chelsea Market", system-ui;
  font-weight: bolder;
}

.content2 {
  overflow-x: hidden;
}

.content2 .section2 {
  width: 100%;
  height: 100vh;
}

.gradient-purple2,
.gradient-blue {
  height: 50vh;
}

.content2 .section2.hero2 {
  background-image: url(https://images.unsplash.com/photo-1512747646639-ed824d861e0d?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 0.5s ease;
}

.image-container2 {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  perspective: 500px;
  overflow: hidden;
}

.image-container2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 1;
}

.test {
  position: relative;
  color: white;
  top: -30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 45px;
  color: #ff9605c4;
}
