.slideshow {
    width: 100%;
    height: 1000px;
    position: relative;
    overflow: hidden;
}

.slideshow-item {
    width: inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    animation: cycleImage 46s infinite;
}

.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
    animation-delay: 0s;
}

.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img{
    animation-delay: 15s;
}

.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
    animation-delay: 30s;
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 80%;
    animation: sizeImage 31s infinite;
}

.slideshow-item-text {
    max-width: 50%;
    position: absolute;
    border-radius: 10px;
    top: 75%;
    right: 0;
    transform: translateY(-50%);
    background-color: rgba(230, 230, 230, 0.836);
    padding: 10px;
    transition: all 0.3s;
}

@keyframes cycleImage {
    10% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }
}

@keyframes sizeImage {
    1%{
        transform: scale(1, 1);
    }
    
    90%{
        transform: scale(1.2, 1.2);
    }
}

@media screen and (max-width: 1300px) {
    .slideshow-item-text {
        max-width: 70%;
        padding: 5rem, 1rem;
    }
}

@media screen and (max-width: 767px) {
    .slideshow-item-text {
        max-width: 100%;
        padding: 2rem;
        top: initial;
        bottom: 0;
        transform: initial;
    }
}