*{
  margin: 0;
  padding: 0;
}

body{
  overflow-y: hidden;
}

#all_slides{
    position: relative;
    height: 100vh;
    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 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.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: contain;
}

.slide:nth-of-type(1){
  background-image: url('../Images/1.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(2){
  background-image: url('../Images/2.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}


.slide:nth-of-type(3){
  background-image: url('../Images/3.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(4){
  background-image: url('../Images/4.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(5){
  background-image: url('../Images/5.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(6){
  background-image: url('../Images/6.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}


.slide:nth-of-type(7){
  background-image: url('../Images/7.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(8){
  background-image: url('../Images/8.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(9){
  background-image: url('../Images/9.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(10){
  background-image: url('../Images/10.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}


.slide:nth-of-type(11){
  background-image: url('../Images/11.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(12){
  background-image: url('../Images/12.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(13){
  background-image: url('../Images/13.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(14){
  background-image: url('../Images/14.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}


.slide:nth-of-type(15){
  background-image: url('../Images/15.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(16){
  background-image: url('../Images/16.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(17){
  background-image: url('../Images/17.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(18){
  background-image: url('../Images/18.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}


.slide:nth-of-type(19){
  background-image: url('../Images/19.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(20){
  background-image: url('../Images/20.avif');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat
}



.controls{
  display: inline-block;
  position: relative;
  top: 1rem;
  right: .5rem;
  border: none;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 1.5rem;
  background: gold;
  width: 3rem;
  height: 3rem;
  margin-left: .5rem;
}




.controls:hover,
.controls:focus{
  background: #eee;
  color: #333;
}

.container{
  position: relative;
}

.buttons{
  position: absolute;
  right: .5rem;
  top: 0px;
  z-index: 10;
  font-size: 0px;
}


.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);
  border-radius: 1rem;
}