.delmare-about {
  padding: 20rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.delmare-about-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0;
}

.delmare-about-div h1 {
  color: black;
  font-size: 2.5rem;
}

.delmare-about-div p {
  color: black;
  font-size: 2.5rem;
  text-align: justify;
  line-height: 1.2;
}

.delmare-about-div img {
  height: 100%;
  width: 100%;
  border: 3px solid rgb(97, 97, 234);
}

/* Carousel Icons */

.carousel-moving {
  color: white;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 0;
}

:root {
  --marquee-width: 100%;
  --marquee-height: 20rem;
  --marquee-elements-displayed: 5;
  --marquee-element-width: calc(
    var(--marquee-width) / var(--marquee-elements-displayed)
  );
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  overflow: hidden;
  position: relative;
}

.marquee:before,
.marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.marquee:before {
  left: 0;
  background: linear-gradient(to right, rgb(97, 97, 234) 0%, transparent 100%);
}

.marquee:after {
  right: 0;
  background: linear-gradient(to left, rgb(97, 97, 234) 0%, transparent 100%);
}

.marquee-content {
  list-style: none;
  height: 100%;
  display: flex;
  gap: 2rem;
  animation: scrolling var(--marquee-animation-duration) linear infinite;
  align-items: center;
}

.marquee-content img {
  height: clamp(8rem, 18vw, 30rem);
  width: clamp(10rem, 20vw, 35rem);
  object-fit: cover;
  border-radius: 0;
  display: block;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-1 * var(--marquee-element-width) * var(--marquee-elements))
    );
  }
}

.marquee-content li {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--marquee-element-width);
  max-height: 100%;
  white-space: nowrap;
}

/* --------- RESPONSIVE BREAKPOINTS --------- */

@media (min-width: 80rem) {
  :root {
    --marquee-elements-displayed: 5;
    --marquee-height: 20rem;
  }

  .marquee-content {
    gap: 2rem;
  }
}

@media (max-width: 80rem) and (min-width: 64rem) {
  :root {
    --marquee-elements-displayed: 4;
    --marquee-height: 18rem;
  }

  .marquee-content img {
    height: 18rem;
    width: 22rem;
  }

  .marquee-content {
    gap: 1.5rem;
  }
}

@media (max-width: 64rem) and (min-width: 48rem) {
  :root {
    --marquee-elements-displayed: 3;
    --marquee-height: 14rem;
  }

  .marquee-content img {
    height: 14rem;
    width: 18rem;
  }

  .marquee-content {
    gap: 1rem;
  }
}

@media (max-width: 48rem) {
  .delmare-about {
    padding: 15rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .delmare-about-div h1 {
    color: black;
    font-size: 1.2rem;
  }

  .delmare-about-div p {
    color: black;
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.2;
  }
  :root {
    --marquee-elements-displayed: 2;
    --marquee-height: 10rem;
  }

  .marquee-content img {
    height: 10rem;
    width: 14rem;
  }

  .marquee-content {
    gap: 0.5rem;
  }
}
