* {
  box-sizing: border-box;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slides {
  display: flex;
  position: relative;
  top: 0;
  /*left: -400px;
  width: 10000px;*/
  height:100%
}

.slides.shifting {
  transition: left 0.2s ease-out;
}

.slide {
  width: 100%;
  /*height: 100%;*/
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 1s;
  position: relative;
  background: #FFCF47;
  border-radius: 2px;
}

.slide img{
	height:100%;
	width:100%;
	object-fit: cover;
}

.slider.loaded .slide:nth-child(2),
.slider.loaded .slide:nth-child(7) {
  background: #FFCF47;
}
.slider.loaded .slide:nth-child(1),
.slider.loaded .slide:nth-child(6) {
  background: #7ADCEF;
}
.slider.loaded .slide:nth-child(3) {
  background: #3CFF96;
}
.slider.loaded .slide:nth-child(4) {
  background: #a78df5;
}
.slider.loaded .slide:nth-child(5) {
  background: #ff8686;
}

.control {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50px;
  margin-top: -20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.prev,
.next {
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
  /*left: -20px;*/
  left:0px;
}

.next {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  /*right: -20px;*/
  right:0px;
}

.prev:active,
.next:active {
  transform: scale(0.8);
}

.slide h2{
	color:#fff;
	position:absolute;
	top:35%;
	left:10%;
	background: #0c8ecf6b;
    padding: 5px;
}

.slide p{
	color:#fff;
	position:absolute;
	top:44.7%;
	left:10%;background: #0c8ecf6b;
    padding: 5px;
}

.slide input[type=button]{
	position:absolute;
	top:57%;
	left:10%;
	background: #FFB606;
    padding: 10px 25px;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-weight: bold;
}







.slider1 {
      position: relative;
    width: 100%;
    height: 100%;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.wrapper1 {
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.slides1 {
  display: flex;
  position: relative;
  top: 0;
}

.slides1.shifting {
  transition: left 0.2s ease-out;
}

.slide1 {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 1s;
    position: relative;
    background: #30B4FB;
    border-radius: 2px;
    padding: 50px 71px;
}

.slider1.loaded .slide1:nth-child(2),
.slider1.loaded .slide1:nth-child(7) {
  background: #FFF;
}
.slider1.loaded .slide1:nth-child(1),
.slider1.loaded .slide1:nth-child(6) {
  background: #FFF;
}
.slider1.loaded .slide1:nth-child(3) {
  background: #FFF;
}
.slider1.loaded .slide1:nth-child(4) {
  background: #FFF;
}
.slider1.loaded .slide1:nth-child(5) {
  background: #FFF;
}

.control1 {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50px;
  margin-top: -20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.prev1,
.next1 {
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev1 {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
  left: -20px;
}

.next1 {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  right: -20px;
}

.prev1:active,
.next1:active {
  transform: scale(0.8);
}




.slider2 {
	position: relative;
}

.wrapper2 {
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.slides2 {
  display:flex;
  width:100%;
  position: relative;
  top: 0;
}

.slides2.shifting {
  transition: left 0.2s ease-out;
}

.slide2 {
    cursor: pointer;
	 /*width:50%;
   display: flex;
    flex-direction: column;
    justify-content: center;*/
    transition: all 1s;
    position: relative;
    /*background: #FFCF47;*/
    border-radius: 2px;
    padding: 10px 10px;
}

.slider2.loaded .slide2:nth-child(2),
.slider2.loaded .slide2:nth-child(7) {
  background: #FFF;
}
.slider2.loaded .slide2:nth-child(1),
.slider2.loaded .slide2:nth-child(6) {
  background: #FFF;
}
.slider2.loaded .slide2:nth-child(3) {
  background: #FFF;
}
.slider2.loaded .slide2:nth-child(4) {
  background: #FFF;
}
.slider2.loaded .slide2:nth-child(5) {
  background: #FFF;
}

.control2 {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50px;
  margin-top: -20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.prev2,
.next2 {
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev2 {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
  left: -20px;
}

.next2 {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  right: -20px;
}

.prev2:active,
.next2:active {
  transform: scale(0.8);
}

@media (max-width: 576px) {
	.prev2 {
	  left: 0px;
	}
	
	.next2 {
	  right: 0px;
	}
	
	.prev1 {
	  left: 0px;
	}
	
	.next1 {
	  right: 0px;
	}
	
}

@media (max-width: 1000px){
	.prev2 {
	  left: 0px;
	}
	
	.next2 {
	  right: 0px;
	}
	
	.prev1 {
	  left: 0px;
	}
	
	.next1 {
	  right: 0px;
	}
}