#bg1{
    background-attachment: fixed;
    position: absolute;
    /* left:0; */
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/bg1.jpg');
    animation: fade3-1 35s ease-out infinite;
}

#bg2{
    background-attachment: fixed;
    position: absolute;
    /* left:0; */
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/bg2.jpg');
    animation: fade3-2 35s ease-out infinite;
}

#bg3{
    background-attachment: fixed;
    position: absolute;
    /* left:0; */
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/bg3.jpg');
    animation: fade3-3 35s ease-out infinite;
}


#top1{
    display: block;
    position: absolute;
    width:100%;
    height:300px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/top1.jpg');
    animation: pan-fade1 15s ease-out infinite;
}

#top2{
    display: block;
    position: absolute;
    width:100%;
    height:300px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/top2.jpg');
    animation: fade2-2 15s ease-out infinite;
}

#top-dummy{
    
    display: block;
    position: relative;
    width:100%;
    height:300px;
}

















@keyframes fade3-1 {
    0% { opacity: 1;}
    30% { opacity: 1;}
    33% { opacity: 0;}
    97% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fade3-2 {
    0% { opacity: 0;}
    30% { opacity: 0;}
    33% { opacity: 1;}
    63% { opacity: 1; }
    66% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes fade3-3 {
    0% { opacity: 0;}
    63% { opacity: 0;}
    66% { opacity: 1;}
    97% { opacity: 1 }
    100% { opacity: 0; }
}

@keyframes fade2-1 {
    0% { opacity: 1;}
    45% { opacity: 1;}
    50% { opacity: 0;}
    95% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fade2-2 {
    0% { opacity: 0;}
    45% { opacity: 0;}
    50% { opacity: 1;}
    95% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes pan-fade1 {
    0% { opacity: 1;
         top:0%;}
    45% { opacity: 1;}
    50% { opacity: 0;
          top:-50%;}
    95% { opacity: 0; 
          top:0%;}
    100% { opacity: 1; }
}
@keyframes pan-fade2 {
    0% { opacity: 0;}
    45% { opacity: 0;}
    50% { opacity: 1;}
    95% { opacity: 1; }
    100% { opacity: 0; }
}