#main1{
height:95vh;
overflow: hidden;
}

.cb-slideshow,
.cb-slideshow:after {
    position:relative;
    width: 100vw;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
margin:0;
padding:0;
}
.cb-slideshow:after {
    content: '';
    background: transparent url("img/overlay5.png") repeat top left;
}

.cb-slideshow{
list-style-type:none;

}

.cb-slideshow li span {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
margin:0;
padding:0;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 32s  infinite 0s;
}
.cb-slideshow li div {
    z-index: 10;
    position: absolute;
    bottom: 50px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    margin:0;
padding:0;
    animation: titleAnimation 32s linear infinite 0s;
}
.cb-slideshow li div h3 {
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;

    font-size: 3vw;
    padding: 0;
    line-height: 1.5em;
color:#ffffff;
}

.logo2 {
position:absolute;
width:60%;
 top:70%;
left:50%;
    transform: translate(-50%,-50%);
margin:0 auto;
}


.cb-slideshow li:nth-child(1) span {
    background: url("img/p01.JPG") center center / cover no-repeat;
z-index:0;
}
.cb-slideshow li:nth-child(2) span {
    background: url("img/p11.JPG") bottom center / cover no-repeat;
    animation-delay: 8s;
z-index:0;
}
.cb-slideshow li:nth-child(3) span {
    background: url("imgp36.JPG") bottom center  / cover no-repeat;
    animation-delay: 16s;
z-index:0;
}

.cb-slideshow li:nth-child(4) span {
    background: url("img/p041.JPG") center center  / cover no-repeat;
    animation-delay: 24s;
z-index:0;
}






 
.cb-slideshow li:nth-child(2) div {
    animation-delay:8s;
}
.cb-slideshow li:nth-child(3) div {
    animation-delay: 16s;
}
.cb-slideshow li:nth-child(4) div {
    animation-delay: 24s;
}


@keyframes imageAnimation {
    0% {
        opacity: 0;
         animation-timing-function: ease-in;
z-index:10;
    }
    4% {
        opacity: 1;
        
         animation-timing-function: ease-out;
       
    }
    17% {
        opacity: 1;
       
         

    }
    75% {
        opacity: 1;
       
 

    }
    100% { opacity: 0 }
z-index:10;
}


@keyframes titleAnimation {
    0% {
        opacity: 0;
       z-index:10;
    }
    4% {
        opacity: 1;
        
    }
    17% {
        opacity: 1;
        
    }
    35% {
        opacity: 0;
        
    }
  
    100% { opacity: 0 }
z-index:0;
}


.no-cssanimations .cb-slideshow li span{
    opacity: 1;
}
@media screen and (max-width: 1140px) {
    .cb-slideshow li div h3 { font-size: 60px }
}
@media screen and (max-width: 600px) {
    .cb-slideshow li div h3 { font-size: 40px }
}

