/**,*/
/**:before,*/
/**:after {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: inherit;*/
/*}*/

/*html {*/
/*  box-sizing: border-box;*/
/*  font-family: "Roboto", sans-serif;*/
/*  font-size: 62.5%;*/
/*}*/
/*@media only screen and (max-width: 800px) {*/
/*  html {*/
/*    font-size: 57%;*/
/*  }*/
/*}*/

.container {
  position: relative;
  overflow: hidden;
}
@media only screen and (max-width: 1000px) {
  .container {
    border-radius: 0;
  }
}
.arrows {
  position: absolute;
  display: flex;
  right: 0;
  /*width: 136px;*/
  top: 157px;
}
.slider {
  display: flex;
  width: 300%;
  /*height: 55rem;*/
  transition: all 0.25s ease-in;
  transform: translateX(0);
}
@media only screen and (max-width: 1000px) {
  .slider {
    height: 100vh;
  }
}
.slider .box {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}
@media only screen and (max-width: 650px) {
  .slider .box {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}
.slider .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 .box .bg {
    width: 65%;
  }
}
@media only screen and (max-width: 650px) {
  .slider .box .bg {
    width: 100%;
    left: 0;
    bottom: 0;
    height: 54%;
    transform: skewX(0deg);
  }
}
.slider .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 .box .bg::before {
    width: 120%;
    bottom: 0;
    transform: skewX(0deg);
  }
}
.slider .box .details {
  /*padding-left: 54px;*/
  position: relative;
}
.hero-image {
  position: relative;
}
.hero-image img {
  height: 100%;
  position: relative;
  width: 100%;
}
.hero-image::after {
  opacity: var(--opacity);
  display: block;
  position: absolute;
  background-image: linear-gradient(to top, rgb(0 0 0 / 0%) 0,rgb(0 0 0 / 37%), rgb(0 0 0 / 37%) 100%);
  height: 333px;
  width: 100%;
  content: '';
  top: 0;
}
@media only screen and (max-width: 1024px) {
  .container {
    max-height: 735px;
  }
  .slider .box .details {
    grid-row: 2/span 1;
    grid-column: 1/-1;
    text-align: center;
    /*height: 450px;*/
    /*padding: 2rem;*/
    /*transform: translateY(-9rem);*/
  }
  .slider .box .details {
    height: 100%;
    max-height: 550px;
  }
  .hero-image {
    height: 100%;
  }
  .hero-image img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    object-position: center;
  }
}
@media only screen and (max-width: 650px) {
  .slider .box .details {
    grid-row: 2/span 1;
    grid-column: 1/-1;
    text-align: center;
    height: 450px;
    /*padding: 2rem;*/
    /*transform: translateY(-9rem);*/
  }
  .hero-image {
    height: 100%;
  }
}
.slider .box .details h1 {
  /*font-size: 3.5rem;*/
  /*font-weight: 500;*/
  /*margin-bottom: 0.5rem;*/
}
.slider .box .details p {
  color: #ffffff;
  text-align: left;
  top: 62px;
  position: absolute;
  left: 55px;
  max-width: 1000px;
}
@media only screen and (max-width: 800px) {
  .slider .box .details p {
    margin-right: 0;
  }
}
.slider .box .details button {
  padding: 10px;
  color: #fff;
  border-radius: 0;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider .box .details button:hover {
  opacity: 0.8;
}
.slider .box .details button:focus {
  outline: none;
  border: none;
}

.slider  button {
  background-color: var(--red);
}

.prev,
.next{
  transition: background-color 0.3s ease-in;
  z-index: 10000;
}
.prev:hover, .next:hover {
  background-color: #fafafa;
  border: 1px var(--font-black) solid;
}

.prev,
.next {
  /*transition: all 0.3s ease;*/
  border: 1px #E1E1E1 solid;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M16 5.6H3.064L7.536 1.128L6.4 0L0 6.4L6.4 12.8L7.528 11.672L3.064 7.2H16V5.6Z' fill='%2353545D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 24px;
  width: 65px;
  height: 65px;
  background-position: 50%;
}
/*@media only screen and (max-width: 650px) {*/
/*  .prev,*/
/*.next {*/
/*    display: none;*/
/*  }*/
/*}*/
.prev:hover,
.next:hover {
  opacity: 1;
  cursor: pointer;
}

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

.next {
  transform: rotate(180deg);
  /*top: 50%;*/
  /*right: 2%;*/
  /*transform: translateY(-50%);*/
}

.trail {
  text-align: center;
  font-size: 1.5rem;
  color: #000;
  display: flex;
  margin-left: 55px;
}
@media only screen and (max-width: 1024px) {
  .trail {
    margin-left: 44px;
  }
  .slider .box .details p {
    left: 44px;
    max-width: 800px;
  }
}
@media only screen and (max-width: 768px) {
  .trail {
    margin-left: 24px;
  }
  .slider .box .details p {
    top: 60px;
    left: 24px;
    max-width: calc(100% - 48px);
  }
  .prev:hover, .next:hover {
    filter: none;
  }
}
.trail .box1, .trail .box2, .trail .box3 {
  display: none;
}
@media only screen and (max-width: 650px) {
  /*.trail {*/
  /*  width: 90%;*/
  /*  bottom: 13%;*/
  /*}*/
}
.trail div {
  padding: 5px;
  /*border-top: 3px solid #fff;*/
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.3s ease;
}
.trail div:hover {
  opacity: 0.6;
}
@media only screen and (max-width: 650px) {
  .trail div {
    padding: 1rem;
  }
}

.trail .active {
  opacity: 1 !important;
  display: block;
}