*{
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
}
html{
    font-size: 10px;
}
body{
    background-color: #000000;
}
.slideshow{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.slideshow-items{
    width: inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    animation: cycleImages 35s infinite;
 
}

.slideshow-items img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 35s infinite;
}

.slideshow-items:nth-last-child(1),
.slideshow-items:nth-last-child(1) img{
    animation-delay: 0s;
}
.slideshow-items:nth-last-child(2),
.slideshow-items:nth-last-child(2) img{
    animation-delay: 8.5s;
}
.slideshow-items:nth-last-child(3),
.slideshow-items:nth-last-child(3) img{
    animation-delay: 17s;
}
.slideshow-items:nth-last-child(4),
.slideshow-items:nth-last-child(4) img{
    animation-delay: 26s;
}
.slideshow-items:nth-last-child(5),
.slideshow-items:nth-last-child(5) img{
    animation-delay: 34s;
}


.slideshow-items-text{
    max-width: 50%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50);
    background-color: rgba(0,0,0,.8);
    color: white;
    padding: 8rem 5rem;
}
.slideshow-items-text h5{
    font-size: 5rem;
    font-family: sans-serif;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
}
.slideshow-items-text p{
    font-size: 1.6rem;
    letter-spacing: 1px;
    font-weight: 300;

}
@keyframes cycleImages{
    25%{
        opacity: 1;
    }
    65%{
        opacity: 0;
    }
}
@keyframes zoom{
    100%{
        transform: scale(1.3);
    }
}
@media screen and (max-width:1000px){
    .slideshow-items-text{
        max-width: 70%;
        padding: 5rem 1rem;
    }
    .slideshow-items-text h5{
        font-size: 4rem;
    }
}

@media screen and (max-width:767px){
    .slideshow-items-text{
        max-width: 100%;
        padding: 2rem ;
        top: initial;
        bottom: 0;
        transform: initial;
    }
    .slideshow-items-text h5{
        font-size: 3rem;
    }
    .slideshow-items-text p{
        font-size: 1.4rem;
    }
}