.container {
  position: relative;
  overflow: hidden;
  border-radius: 5rem;
  color: #fff;
}
@media only screen and (max-width: 1000px) {
  .container {
    border-radius: 0;
  }
}

.slider_2 {
  display: flex;
  width: 500%;
  height: 55rem;
  transition: all 0.25s ease-in;
  transform: translateX(0);
}
.slider_2 .box {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media only screen and (max-width: 650px) {
  .slider_2 .box {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}
.slider_2 .box .bg {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.2);
  width: 55%;
  transform: skewX(7deg);
  position: absolute;
  height: 100%;
  left: -10%;
  padding-left: 20rem;
  transform-origin: 0 100%;
}
@media only screen and (max-width: 800px) {
  .slider_2 .box .bg {
    width: 65%;
  }
}
@media only screen and (max-width: 650px) {
  .slider_2 .box .bg {
    width: 100%;
    left: 0;
    bottom: 0;
    height: 54%;
    transform: skewX(0deg);
  }
}
.slider_2 .box .bg::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: inherit;
  pointer-events: none;
  transform: skewX(10deg);
}
@media only screen and (max-width: 650px) {
  .slider_2 .box .bg::before {
    width: 120%;
    bottom: 0;
    transform: skewX(0deg);
  }
}
.slider_2 .box .details {
  padding-left: 10rem;
  z-index: 100;
  grid-column: 1/span 1;
  grid-row: 1/-1;
}
@media only screen and (max-width: 650px) {
  .slider_2 .box .details {
    grid-row: 2/span 1;
    grid-column: 1/-1;
    text-align: center;
    padding: 2rem;
    transform: translateY(-9rem);
  }
}
.slider_2 .box .details h1 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
@media only screen and (max-width: 650px) {
  .slider_2 .box .details h1 {
    font-size: 2.1rem;
  }
}
.slider_2 .box .details p {
  display: inline-block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 800px) {
  .slider_2 .box .details p {
    margin-right: 0;
  }
}
.slider_2 .box .details button {
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 2rem;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider_2 .box .details button:hover {
  opacity: 0.8;
}
.slider_2 .box .details button:focus {
  outline: none;
  border: none;
}
.slider_2 .box1 {
  background-color: #003d50;
}
.slider_2 .box1 .illustration .inner {
  background-color: #00ffff;
}
.slider_2 .box1 .illustration .inner::after, .slider_2 .box1 .illustration .inner::before {
  background-color: rgba(0, 255, 255, 0.4);
}
.slider_2 .box1 button {
  background-color: #00ffff;
}
.slider_2 .box2 {
  background-color: #000050;
}
.slider_2 .box2 .illustration .inner {
  background-color: #0033FF;
}
.slider_2 .box2 .illustration .inner::after, .slider_2 .box2 .illustration .inner::before {
  background-color: rgba(0, 51, 255, 0.4);
}
.slider_2 .box2 button {
  background-color: #0033FF;
}
.slider_2 .box3 {
  background-color: #00501D;
}
.slider_2 .box3 .illustration .inner {
  background-color: #00FF44;
}
.slider_2 .box3 .illustration .inner::after, .slider_2 .box3 .illustration .inner::before {
  background-color: rgba(0, 255, 68, 0.4);
}
.slider_2 .box3 button {
  background-color: #00FF44;
}
.slider_2 .box4 {
  background-color: #554D00;
}
.slider_2 .box4 .illustration .inner {
  background-color: #FF4E00;
}
.slider_2 .box4 .illustration .inner::after, .slider_2 .box4 .illustration .inner::before {
  background-color: rgba(255, 78, 0, 0.4);
}
.slider_2 .box4 button {
  background-color: #FF4E00;
}
.slider_2 .box5 {
  background-color: #300050;
}
.slider_2 .box5 .illustration .inner {
  background-color: #8000FF;
}
.slider_2 .box5 .illustration .inner::after, .slider_2 .box5 .illustration .inner::before {
  background-color: rgba(128, 0, 255, 0.4);
}
.slider_2 .box5 button {
  background-color: #8000FF;
}
.slider_2 .illustration {
  grid-column: 2/-1;
  grid-row: 1/-1;
  justify-self: center;
}
@media only screen and (max-width: 650px) {
  .slider_2 .illustration {
    grid-row: 1/span 1;
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.slider_2 .illustration div {
  height: 25rem;
  width: 18rem;
  border-radius: 3rem;
  background-color: #00ffff;
  position: relative;
  transform: skewX(-10deg);
}
@media only screen and (max-width: 800px) {
  .slider_2 .illustration div {
    height: 20rem;
    width: 15rem;
  }
}
.slider_2 .illustration div::after, .slider_2 .illustration div::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 3rem;
  top: 0;
  left: 0;
}
.slider_2 .illustration div::after {
  transform: translate(4rem, -1rem);
}
.slider_2 .illustration div::before {
  transform: translate(2rem, -2rem);
}

.prev,
.next,
.trail_2 {
  z-index: 10000;
  position: absolute;
}

.prev,
.next {
  width: 4rem;
  cursor: pointer;
  opacity: 0.2;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 650px) {
  .prev,
.next {
    display: none;
  }
}
.prev:hover,
.next:hover {
  opacity: 1;
}

.prev {
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
}

.next {
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

.trail_2 {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
  font-size: 1.5rem;
}
@media only screen and (max-width: 650px) {
  .trail_2 {
    width: 90%;
    bottom: 13%;
  }
}
.trail_2 div {
  padding: 2rem;
  border-top: 3px solid #fff;
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.3s ease;
}
.trail_2 div:hover {
  opacity: 0.6;
}
@media only screen and (max-width: 650px) {
  .trail_2 div {
    padding: 1rem;
  }
}

.active {
  opacity: 1 !important;
}