*{
  margin: 0;
  padding: 0;
}

body{
  overflow-y: hidden;
}

#all_slides{
    position: relative;
    height: 100%;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

#all_slides2{
  position: relative;
  height: 100%;
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}

.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: opacity 3s;
    -moz-transition: opacity 3s;
    -o-transition: opacity 3s;
    transition: opacity 3s;
   
}

.active{
    opacity: 1;
    z-index: 2;
}


.controls{
    display: none;
}

.slide{
    font-size: 40px;
    padding: 40px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    background-size: cover;
}


.slide:nth-of-type(1){
  background-image: url('../../../img/book_0.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.slide:nth-of-type(2){
  background-image: url('../../../img/book_1.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.slide:nth-of-type(3){
  background-image: url('../../../img/book_2.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(4){
  background-image: url('../../../img/book_3.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  
}


.slide:nth-of-type(5){
  background-image: url('../../../img/book_4.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(6){
  background-image: url('../../../img/book_5.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}





.fancy{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 7rem;
  height: 2rem;
  background: gold;
  color: #000;
  z-index: 3;
  transform: rotate(-45deg);

}