html,
body {
  margin: 0;
}

.carousel {
  --current-slide: 0;
  /* we set position relative so absolute position works properly for the buttons */
  position: relative;
  overflow: hidden;
  margin-top: 10%;
}

.carousel-button {
  /* vertically centering the buttons */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;

  /* basic styling */
  padding: 0;
  margin: 0.5rem;
  border-radius: 50%;
  background-color: transparent;
  border: none;

  font-size: 1.5rem;
  cursor: pointer;

  transition: color 0.1s;
  color: #fb9277;
  margin-right: 50;
}

.carousel-button:hover {
  color: #0f3d52;
}

.carousel-button_next {
  /* The "next slide button" will be at the right */
  right: 0;
}

.slides {
  display: flex;
  transition: transform 0.5s;
  transform: translateX(calc(-100% * var(--current-slide)));
}

.slide {
  flex: 0 0 100%;
}

@media screen and (min-width: 768px) {
  .carousel-button {
    font-size: 2rem;
    margin: 1rem;
  }
}

/* ----- */

.content {
  width: 94%;
  margin-left: 3%;
  margin-right: 3%;
  background-size: cover;
  background-position: center;
  font-size: 1.5rem;
  color: white;
  text-align: left;
  background-color: transparent;
}

.content-1 {
  background-color: transparent;
  height: 85%;
}

.text-container {
  margin-bottom: 8%;
  width: 49%;
  max-height: 100%;
  height: auto;
  align-items: right;
}

.text2-container {
  margin-bottom: 8%;
  width: 49%;
  max-height: 100%;
  height: auto;
  align-items: right;
  color: #000;
  float: left ;
}
