* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  list-style: none;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: 100%;
  border-radius: 4px;
}



.slide-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.slide {
  display: flex;
  /* width: 100%; */

}


.slide:hover {
  will-change: transform;
}

.slide li {
  flex-shrink: 0;
  width: 80vw;
  max-width: 800px;
  margin: 0 20px;
  border-radius: 4px;
  overflow: hidden;
  opacity: .6;
  transform: scale(.8);
  transition: .3s all;
}

li.active {
  opacity: 1;
  transform: scale(1);
  transition-delay: .2s;
  box-shadow: 0 4px 8px rgba(44, 44, 44, 0.2);

  & img {
    border-radius: 4px;
  }
}

[data-control='slide'] {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;



  /* PEND */
  /* & li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background: #fb4;
    box-shadow: 0 4px 8px rgba(44, 44, 44, 0.2);
    padding: 2px;
    overflow: hidden;

    & a {
      display: block;
      text-indent: -400px;

      & img {
        border-radius: 50%;
      }
    }
  } */

}

[data-control='slide'] li {
  border-radius: 50%;
  overflow: hidden;
}

[data-control='slide'] a {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fb4;
  text-indent: -999px;
  margin: 0 5px 5px;
}

[data-control='slide'] li.active a,
[data-control='slide'] li a:hover {
  background: #e54;
}

/* Custom-Controls */

.custom-controls {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.custom-controls li {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  transform: scale(.8);
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  margin: 2px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  transition: .3s;
  cursor: pointer;
  /* 
  & img {
    height: 100%;
  } */
}

.custom-controls li.active {
  opacity: 1;
  transform: scale(1);
  transition-delay: .2s;
}

.arrow-nav {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

.arrow-nav button {
  cursor: pointer;
  border: none;
  padding: 5px;
  height: 40px;
  width: 40px;
  border-radius: 4px;
  color: white;
  background: #fb4 url(../img/arrow.svg) center center no-repeat;
}

.arrow-nav button.prev {
  transform: rotate(-180deg);
}