#main1{
margin:40px 0 0 0;
height:80vh;
overflow: hidden;
}

.cb-slideshow2,
.cb-slideshow2:after {
    position:relative;
    width: 100vw;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
margin:0;
padding:0;
overflow:hidden;
background-color:rgba(0,0,0,1);
}
.cb-slideshow2:after {
    content: '';
    background: transparent url("img/overlay5.png") repeat top left;
}

.cb-slideshow2{
list-style-type:none;
overflow-x:hidden;
}

.cb-slideshow2 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 30s  infinite 0s;
}
.cb-slideshow2 li div {
    z-index: 10;
    position: absolute;
    bottom: 50%;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    margin:0;
padding:0;
    animation: titleAnimation 30s linear infinite 0s;
}


.logo2 {
width:80%;
margin:0 auto;
}

.cb-slideshow2 li div h3 {
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
margin-top:0;
margin-bottom:1em;
    font-size:1.4em;
    padding: 0;
    line-height: 1.2em;
color:#ffffff;
}

.cb-slideshow2 li div p{
margin:0 5%;
font-size:1em;
line-height:1em;
text-align:left;
}

.cb-slideshow2 li:nth-child(1) span {
    background-image:url("img/shall we2.jpg");

}
.cb-slideshow2 li:nth-child(2) span {
    background: url("img/p2.jpg") center center / cover no-repeat;
    animation-delay: 6s;
}
.cb-slideshow2 li:nth-child(3) span {
    background: url("img/p4.jpg") center center / cover no-repeat;
    animation-delay: 12s;
}
.cb-slideshow2 li:nth-child(4) span {
    background: url("img/p3.jpg") center center / cover no-repeat;
    animation-delay: 18s;
}
.cb-slideshow2 li:nth-child(5) span {
    
    animation-delay: 24s;
}





 
.cb-slideshow2 li:nth-child(2) div {
    animation-delay: 6s;
}
.cb-slideshow2 li:nth-child(3) div {
    animation-delay: 12s;
}
.cb-slideshow2 li:nth-child(4) div {
    animation-delay: 18s;
}
.cb-slideshow2 li:nth-child(5) div {
    animation-delay: 24s;
}
.cb-slideshow2 li:nth-child(6) div {
    animation-delay: 30s;
}


@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;

    }
    8% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        transform: scale(1.1) ;
    }
    25% {
        opacity: 0;
        transform: scale(1.1) ;
    }
    100% { opacity: 0 }
}



@keyframes titleAnimation {
    0% {
        opacity: 0;
       
    }
    8% {
        opacity: 1;
        
    }
    17% {
        opacity: 1;
        
    }
    19% {
        opacity: 0;
        
    }
    25% { opacity: 0 }
    100% { opacity: 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 }
}

