.achievement_List {
  position: relative;
  margin: 7vh 0;
  padding: 10vw 5vw;
  background: url("https://images.unsplash.com/photo-1585713181935-d5f622cc2415?q=80&w=1471&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center/cover no-repeat;
  overflow: hidden; /* Ensures the overlay doesn't overflow */
  display: flex;
  justify-content: center;
  align-items: center;
}

.achievement_List::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.253
  ); /* Adjust the alpha value for the desired transparency */
  z-index: 1; /* Place the overlay above the background image */
}

/* Card */
.achievement_Card {
  width: 25%;
  z-index: 1;
}
.achievement_Card .card_Info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* icon_Container */
.achievement_Card .card_Info .icon_Container {
  width: 20%;
}
.achievement_Card .card_Info .icon_Container .icon_Box {
  background: rgba(255, 255, 0, 0.884);
  width: 60px;
  height: 60px;
  padding: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.achievement_Card .card_Info .icon_Container .icon_Box i {
  font-size: x-large;
  color: black;
  font-weight: 700;
}
/* content */
.achievement_Card .card_Info .content {
  width: 80%;
  padding: 0 10px 0 0;
}
.achievement_Card .card_Info .content .text_Content {
  margin: 50% 0;
}

.achievement_Card .card_Info .content h1 {
  color: white;
}
.achievement_Card .card_Info .content p {
  color: white;
}

/* Animation  */
@keyframes moveLeftToRight {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.achievement_List {
  position: relative;
  margin: 7vh 0;
  padding: 10vw 5vw;
  background: url("https://images.unsplash.com/photo-1585713181935-d5f622cc2415?q=80&w=1471&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center/cover no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.achievement_Card {
  width: 25%;
  z-index: 1;
  animation: moveLeftToRight 10s linear infinite;
}

/* Media query */

@media (max-width: 1044px) {
  /* Icon */
  .achievement_Card .card_Info .icon_Container .icon_Box {
    width: 50px;
    height: 50px;
    padding: 20px;
  }
  .achievement_Card .card_Info .icon_Container .icon_Box i {
    font-size: x-large;
    font-weight: 700;
  }

  /* Content */
  .achievement_Card .card_Info .content h1 {
    line-height: 80%;
    font-size: x-large;
  }
  .achievement_Card .card_Info .content p {
    font-size: small;
    line-height: 110%;
  }
}
@media (max-width: 800px) {
  /* Icon */
  .achievement_Card .card_Info .icon_Container .icon_Box {
    width: 40px;
    height: 40px;
    padding: 15px;
  }
  .achievement_Card .card_Info .icon_Container .icon_Box i {
    font-size: large;
    font-weight: 700;
  }

  /* Content */
  .achievement_Card .card_Info .content h1 {
    line-height: 100%;
    font-size: large;
  }
  .achievement_Card .card_Info .content p {
    font-size: x-small;
    line-height: 130%;
  }
}
@media (max-width: 600px) {
  /* content */
  .achievement_Card .card_Info .content {
    width: 80%;
    padding: 0 0 0 20px;
  }
  /* Icon */
  .achievement_Card .card_Info .icon_Container .icon_Box {
    width: 30px;
    height: 30px;
    padding: 13px;
  }
  .achievement_Card .card_Info .icon_Container .icon_Box i {
    font-size: large;
    font-weight: 700;
  }

  /* Content */
  .achievement_Card .card_Info .content h1 {
    line-height: 100%;
    font-size: medium;
    font-weight: 700;
  }
  .achievement_Card .card_Info .content p {
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 130%;
  }
}
@media (max-width: 500px) {
  /* content */
  .achievement_Card .card_Info .content {
    width: 80%;
    padding: 0 0 0 6px;
  }

  .achievement_List {
    margin: 4vh 0;
  }

  /* content */
  .achievement_Card .card_Info .content {
    width: 80%;
    padding: 0 0 0 20px;
  }
  /* Icon */
  .achievement_Card .card_Info .icon_Container .icon_Box {
    width: 25px;
    height: 25px;
    padding: 11px;
  }
  .achievement_Card .card_Info .icon_Container .icon_Box i {
    font-size: medium;
    font-weight: 700;
  }

  /* Content */
  .achievement_Card .card_Info .content h1 {
    line-height: 100%;
    font-size: small;
    font-weight: 700;
    width: 97%;
  }
  .achievement_Card .card_Info .content p {
    font-size: 0.4rem;
    font-weight: 900;
    line-height: 130%;
    width: 97%;
  }
}
