:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: #000000;
  --second-color: wheat;
  --dark-color: hsl(212, 40%, 12%);
  --white-color: wheat;
  --body-color: hsl(212, 42%, 15%);
  --container-color: hsl(0, 0%, 0%);
}
#collage{
  background-color: #ebb134;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
section{
  margin-top: 120px;
  
}
@media (max-width: 575.98px) {
  
  #carousal1 {
    
    height: 150px;
}


}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
 
  #carousal1 {
    
    height: 290px;
}
#carousal2{
  transform: translateY(50px);
}
#carousal2Data .card__name{
  margin-top: 100px;
}

#carousal2Data .lineSpace{
    margin-bottom: 60px;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
 
  #carousal1 {
    
    height: 170px;
}


}
@media (min-width:992px) and (max-width: 1199.98px) 
{
  #carousal1 {
    height: 170px;
}
#carousal1Data .lineSpace{
  margin-bottom: 70px;
}

}
/* Large devices (desktops, 992px and up) */
@media (min-width: 1200px ) and (max-width:1399.98px)  {
  #carousal1 {
    
    height: 290px;
}
#carousal2{
  transform: translateY(50px);
}
#carousal2Data .card__name{
  margin-top: 70px;
}

#carousal2Data .lineSpace{
    margin-bottom: 23px;
}

}

@media (min-width: 1400px ) {
  
  #carousal1 {
    
      height: 290px;
  }
  #carousal2{
    transform: translateY(50px);
  }
  #carousal2Data .card__name{
    margin-top: 70px;
  }
  
  #carousal2Data .lineSpace{
      margin-bottom: 23px;
  }
  
}
  
#news{
  background-color: #363636;
}
.card__container {
  padding-block: 5rem;
}

.card__content {
  
  margin-inline: 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__article {
  
  width: 300px; /* Remove after adding swiper js */
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__image {
  position: relative;
  background-color: var(--first-color-light);
  padding-top: 1.5rem;
  margin-bottom: -.75rem;
}

.card__data {
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: left;
  position: relative;
  z-index: 5;
  color: var(--white-color);
}

#carousal1 {
 
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: block;
  max-width: 100%;
  
}
#carousal2 {
  
  
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: block;
  max-width: 100%;
  
}

.card__shadow {
  width: 200px;
  height: 200px;
  background-color: var(--first-color-alt);
  border-radius: 50%;
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  filter: blur(45px);
}

.card__name {
  font-size: var(--h2-font-size);
  color: var(--second-color);
  margin-bottom: .75rem;
  font-size: 16px;
  color: var(--white-color);
}

.card__description {
  font-weight: 500;
  font-size: 12px;
}
.container {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  color: var(--second-color);
  display: flex;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: hsl(212, 32%, 40%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--second-color);
}
#news .container {
  max-width: 1100px; /* Set the desired width */
}





