.carousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.slider-wrapper {
  margin: 1rem;
  position: relative;
  overflow: hidden;
  width: 75%;
  min-width: 280px;
}

.slides-container {
  height: calc(100vh - 20rem);
  min-height: 400px;
  width: 100%;
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slide-arrow {
  position: absolute;
  display: flex;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 4rem;
  background-color: white;
  border: none;
  width: 2rem;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
  z-index: 2;
}

.slide-arrow:hover,
.slide-arrow:focus {
  opacity: 1;
}

#slide-arrow-prev {
  left: 0;
  padding-left: 0.25rem;
  border-radius: 0 2rem 2rem 0;
}

#slide-arrow-next {
  right: 0;
  padding-left: 0.75rem;
  border-radius: 2rem 0 0 2rem;
}

.slide {
  width: 100%;
  height: 100%;
  flex: 1 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.slide-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    backdrop-filter: brightness(50%);
}
.slide-title {
    width: 75%;
}
.slide-title h3 {
    font-size: 32px;
    font-weight: 550;
    color: var(--primary-color-2);
}
.slide .separator {
    width: 50%;
    border: solid 1.8px rgb(126, 2, 6);
    margin-top: 12px;
    margin-bottom: 16px;
}
.slide-label {
    color: var(--primary-color-2);
    margin-bottom: 96px;
    margin-bottom: 32px;
}

.slide-button button {
    cursor: pointer;
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 550;
    background-color: rgb(126, 2, 6);
    color: var(--primary-color-2);
}
.slide-button button:hover {
    background-color: rgb(111, 1, 5);
}
.slide:nth-child(1) {
  background-image: url("../images/NQA/IMG-20230909-WA0003.jpg");
  background-size: cover;
}

.slide:nth-child(2) {
  background-image: url("../images/NQA/IMG-20230909-WA0006.jpg");
  background-size: cover;

}

.slide:nth-child(3) {
  background-image: url("../images/NQA/IMG-20230910-WA0006.jpg");
  background-size: cover;
}

.slide:nth-child(4) {
  background-image: url("../images/NQA/IMG-20230910-WA0008.jpg");
  background-size: cover;
}

.slide:nth-child(5) {
    background-image: url("../images/NQA/IMG-20230910-WA0025.jpg");
    background-size: cover;
}


@media screen and (max-width: 1000px) {
  .slide-title h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 500px) {
  .slide-title h3 {
      font-size: 20px;
  }
}