﻿.overlay-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    font-size: 20px;
    text-align: center;
}

.overlay-text2 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #fff;
    padding: 10px 10px;
    font-size: 20px;
    text-align: center;
}

.overlay-text1 {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #fff;
    padding: 10px 10px;
    font-size: 20px;
    text-align: center;
}



.cssanimation, .cssanimation span {
    animation-duration: 10s;
    animation-fill-mode: both;
}

    .cssanimation span {
        display: inline-block
    }

.fadeInBottom {
    animation-name: fadeInBottom
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1
    }
}


@media (min-width: 320px) and (max-width: 768px) {
    .overlay-text {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #000000;
        color: #fff;
        padding: 5px 5px;
        font-size: 15px;
        text-align: center;
    }

    .overlay-text2 {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #000000;
        color: #fff;
        padding: 5px 5px;
        font-size: 15px;
        text-align: center;
    }

    .overlay-text1 {
        position: absolute;
        top: 70%!important;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #000000;
        color: #fff;
        padding: 5px 5px;
        font-size: 20px;
        text-align: center;
    }



}
