/**
*   rotator.css
*   /themes/rtcc/blocks/rotator/rotator.css
*
*   Custom styles for the Image Rotator Block
*/

.welcome {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/images/banner.png");
    background-size: cover;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}
.welcome h1 {
    z-index: 1000;
    position: relative;
    padding: 167px 0;
    max-width: 756px;
    color: white;
    margin: 0 auto;
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
  
.pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-animation: fade 24s infinite;
    animation: fade 24s infinite;
}

#pic1 {
    animation-delay: 0s;
}
#pic2 {
    animation-delay: 6s;
}
#pic3 {
    animation-delay: 12s;
}
#pic4 {
    animation-delay: 18s;
}

@-webkit-keyframes fade {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    34% {
        opacity: 0;
    }
    88% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    34% {
        opacity: 0;
    }
    88% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/** Responsive - Rotator block **/
@media screen and (max-width: 768px) {
    .welcome h1 {
        font-size: 32px;
        line-height: 40px;
    }
  }
  