
:root {
  --text-dark: #000000;
  --text-light: #767268;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
}

.section__headerr {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75rem;
  text-align: center;
}


body {
  font-family: Arial, Helvetica, sans-serif;
}

.flag__container {
  padding-block: 5rem;
}

.flag__container :is(.section__subheader, .section__headerr) {
  padding-inline: 1rem;
}

.flag__container .section__description {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 4rem;
  padding-inline: 1rem;
}

.flag__wrapper-1 {
  margin-bottom: 1rem;
}

.flag__wrapper-1
{
  overflow-x: hidden;
}

.flag__images {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flag__images img {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  width: 300px; /* Set a uniform width */
  height: 170px; /* Set a uniform height */
  object-fit: cover; /* Ensures images fill the box without distortion */
}


.flag__wrapper-1 .flag__images {
  animation: scroll-left 15s linear infinite;
}





.flag__wrapper-1 .flag__images img {
  max-width: 450px;
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(calc(-50% - 0.5rem));
  }
  100% {
    transform: translateX(0);
  }
}



@media (width > 540px) {
  .header__content h1 {
    font-size: 5rem;
    line-height: 5rem;
  }
}

@media (width > 768px) {
  .flag__wrapper-1 {
    margin-bottom: 2rem;
  }

  .flag__images {
    gap: 2rem;
  }
}

@media (width > 1024px) {
  .feature__card {
    padding: 1.5rem;
  }
}
