@charset "utf-8";
.slider{
  position:relative;
  width: 100%;
}
.items{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom:31.25%;
}
.item{
  position: absolute;
  top:30px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease-in-out;
    }
.current{
    opacity: 1;
  }
.item img{
    max-width: 100%!important;
  }
.buttons{
  position:absolute;
  z-index: 1;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.button{
  width:32px;
  height:32px;
  border:none;
  outline:none;
  padding:0;
  background:transparent center no-repeat;
  cursor:pointer;
  opacity:.4;
  &.prev{
    background-image: url(https://codeisle.info/blog/wp-content/uploads/2018/12/ico_next_b32.png);
  }
  &.next{
    background-image:url(https://codeisle.info/blog/wp-content/uploads/2018/12/ico_next_b32-1.png);
  }
  &:hover{
    opacity:.8;
  }
}
.dots{
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.dot{
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 0;
  background: #777;
  cursor: pointer;
  opacity: .5;
  transition: opacity .4s ease-in-out;
  &:nth-child(n+2){
    margin-left: 5px;
  }
  &.current{
    opacity: 1;
  }
}

