/* SLIDER */

.slider {
  width: 100%;
  position: relative;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  position: relative;
}
.slide__img-wrapper,
.slide__text-wrapper {
  width: 50% !important;
  height: 600px;
}
.slide__text-wrapper {
  display: flex;
  justify-content: flex-end;
}
.slider-buttons {
  display: flex;
  gap: 20px;
}
.slide__text .slide__title > * {
  font-size: 80px;
  font-family: 'Bebas Neue', Sans-Serif;
  color: var(--theme-palette-color-4);
  margin-bottom: 0;
  line-height: 1.1em !important;
}
.slide__text {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide__img-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  justify-content: center;
  padding-bottom: 20px;
  background-position: 0% 50%;
}

.slider__controls {
  display: flex;
  position: absolute;
  top: 50%;
  width: 100%;
  left: 2vw;
  justify-content: space-between;
}

.slider__controls button {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: 0.4s;
}
.slider__controls button:hover {
  background: #ffffff4d;
}
.slider__controls svg {
  width: 25px;
  fill: #fff;
  height: auto;
}
.slider__button--prev {
  position: absolute;
  left: 20px;
}
.slider__button--next {
  position: absolute;
  right: 20px;
}
.slider__button {
  cursor: pointer;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;

  background: #ccc;
}

.slider__dot.is-active {
  background: var(--theme-palette-color-1);
}
.slider__dot:focus-visible {
  outline: 3px solid var(--theme-palette-color-1);
  outline-offset: 3px;
}

.slider__viewport {
  overflow: hidden;
  cursor: grab;
}

.slider__viewport.is-dragging {
  cursor: grabbing;
}

.slider__track {
  display: flex;
  will-change: transform;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}
.slider__viewport img {
  user-select: none;
  -webkit-user-select: none;
}

.tiles {
  /* display: grid; */
  /* position: absolute; */
  right: 100px;
  bottom: 50px;
  gap: 10px;
  /* grid-template-columns: repeat(4, 1fr); */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 2;
}
.tile {
  width: 170px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  align-items: center;
  text-align: center;
  background-color: #fff;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
}
.tile-img {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
}
.tile img {
  width: 100%;
  object-fit: contain;
}
.tile p {
  margin-bottom: 0;
  font-size: 12px;
}
.tile h2 {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 22px;
}
@media (max-width: 1199px) {
  .slide__text .slide__title > * {
    font-size: 60px;
  }
}

@media (max-width: 999px) {
  .slide {
    flex-direction: column;
  }
  .slide__img-wrapper,
  .slide__text-wrapper {
    width: 100% !important;
    height: auto;
  }
  .slide__text-wrapper {
    justify-content: center;
  }
  /* .slide__img-wrapper {
    display: none;
  } */
  .slide__text {
    padding: 30px 20px;
  }
  .slide__img-wrapper {
    padding: 60px 0;
  }
  .slide__text .slide__title > * {
    font-size: 40px;
  }
  .slider-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .tile {
    width: 150px;
  }
}
