#quotes {
  background-color: #1f1f1f;
}

#quotes .quote-carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-radius: 8px;
}

#quotes .quote-mark-img {
  width: 60px;
  height: auto;
}

#quotes .quote-carousel {
  position: relative;
  height: 300px;
  width: 100%;
  margin-bottom: 1.5em;
  overflow: hidden;
}

#quotes .quote-item {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

#quotes .quote-item.active {
  display: flex;
  opacity: 1;
}

#quotes .quote-text {
  font-style: normal;
  margin-bottom: 1em;
  line-height: 1.4;
  max-width: 60%;
  color: #ffffff;
  font-style: italic;
}

#quotes .quote-author {
  font-weight: bold;
  color: #bdc3c7;
  margin-top: 0.5em;
}

#quotes .quote-nav {
  display: flex;
  justify-content: center;
}

#quotes .quote-nav span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#quotes .quote-nav span.active {
  background-color: #d00909;
}

@media (max-width: 1200px) {

    #quotes .quote-carousel {
        height: 300px;
    }

    #quotes .quote-text {
        max-width: 75%;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    #quotes .quote-carousel {
        height: 300px;
    }

    #quotes .quote-text {
        max-width: 85%;
        font-size: 1.5rem;
    }

    #quotes .quote-mark-img {
        width: 60px;
        margin-bottom: 1em;
    }
}

@media (max-width: 480px) {

    #quotes .quote-carousel {
        height: 230px;
    }

    #quotes .quote-text {
        max-width: 90%;
        font-size: 1.2em;
    }

    #quotes .quote-mark-img {
        width: 50px;
    }
}
