.slider {
    overflow: hidden;
    text-align: left;
}

.slide {
    display: none;
    font-size: 48pt;
    position: relative;
}

@media (max-width: 992px) {
    .slider {
        text-align: center;
    }

    .slide {
        font-size: 12pt;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-in {
    animation: slideIn 0.5s forwards;
}

.slide-out {
    animation: slideOut 0.5s forwards;
}