body {
    font-family: "Work Sans";
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
    line-height: 1;
    color: rgba(0,10,139,1);
    letter-spacing: -.05em;
    -webkit-font-feature-settings: "kern" 1,"liga" 1,"ss01" 1,"ss02" 1;
    -o-font-feature-settings: "kern" 1,"liga" 1,"ss01" 1,"ss02" 1;
    -moz-font-feature-settings: "kern" 1,"liga" 1,"ss01" 1,"ss02" 1;
    -ms-font-feature-settings: "kern" 1,"liga" 1,"ss01" 1,"ss02" 1;
    font-feature-settings: "kern" 1,"liga" 1,"ss01" 1,"ss02" 1;
}

#box {
    width: 470px;
    height: 250px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -235px;
    margin-top: -125px;
    z-index: 1;
}

p.subs {
    display: inline;
    background: transparent;
}

a {
    color: rgba(0,10,139,1);
    text-decoration: none;
    text-transform: none;
    transition: all 1s;
    margin: 0%;
}

a:hover {
    color: rgba(255,80,0,1);
    text-decoration: none;
    text-transform: none;
}


.bg,
.bg:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    margin: auto;
    background: rgba(255, 80, 0, 1);
    mix-blend-mode: screen;
    

}
.bg:after { 
    content: '';

    
}

.bg li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 14s linear infinite 0s;
    -moz-animation: imageAnimation 14s linear infinite 0s;
    -o-animation: imageAnimation 14s linear infinite 0s;
    -ms-animation: imageAnimation 14s linear infinite 0s;
    animation: imageAnimation 14s linear infinite 0s; 
    filter: grayscale(100%) contrast(100%);
  opacity: 1;
 
}

.bg li:nth-child(1) span { 
    background-image: url(images/web01.jpg)
}

.bg li:nth-child(2) span { 
    background-image: url(images/web06.jpg);
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    -ms-animation-delay: 2s;
    animation-delay: 2s;
}
.bg li:nth-child(3) span { 
    background-image: url(images/web03.jpg);
    -webkit-animation-delay: 4s;
    -moz-animation-delay: 4s;
    -o-animation-delay: 4s;
    -ms-animation-delay: 4s;
    animation-delay: 4s; 
}
.bg li:nth-child(4) span { 
    background-image: url(images/web08.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.bg li:nth-child(5) span { 
    background-image: url(images/web11.jpg);
    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
    -o-animation-delay: 8s;
    -ms-animation-delay: 8s;
    animation-delay: 8s;
}
.bg li:nth-child(6) span { 
    background-image: url(images/web22.jpg);
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
    -ms-animation-delay: 10s;
    animation-delay: 10s; 
}

.bg li:nth-child(7) span { 
    background-image: url(images/web23.jpg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}




@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@media (max-width: 500px) {

    body {font-size: 25px}

}