@charset "UTF-8";
header{
	position: relative;
	top:0;
	left: 0;
	overflow: hidden;
}

.title{
	z-index: 3;
	position: absolute;
	top:45%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	width: 100%;
	padding: 10px;
	box-sizing:border-box;
    animation: titleAnimation 10s;
	animation-fill-mode: forwards;
}
.title h1{
	font-family:Tahoma, Geneva, "sans-serif";
	color: white;
	text-shadow: 2px 2px 2px black;
	font-size: 170%;
	border-bottom: 2px solid white;
	display: inline;
	padding-bottom: 4px;
	
}
.title h2{
	margin-top: 15px;
	margin-bottom: 25px;
	font-size: 140%;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 2px black;
}
.title p{
	font-size: 110%;
	color: white;
	text-shadow: 2px 2px 2px black;
}
.slideshow,
.slideshow:after {
    position:relative;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
}

.slideshow li{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;
    -moz-animation: imageAnimation 36s linear infinite 0s;
    -o-animation: imageAnimation 36s linear infinite 0s;
    -ms-animation: imageAnimation 36s linear infinite 0s;
    animation: imageAnimation 36s linear infinite 0s;
	filter: brightness(70%)
}

.slideshow li:nth-child(1){ background-image:url("../images/off1.jpg")}

.slideshow li:nth-child(2){
    background-image:url("../images/off8.jpg");
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
.slideshow li:nth-child(3){
    background-image:url("../images/off6.jpg");
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}
.slideshow li:nth-child(4){
    background-image:url("../images/off9.jpg");
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}
.slideshow li:nth-child(5){
    background-image:url("../images/off10.jpg");
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}
.slideshow li:nth-child(6){
    background-image:url("../images/off11.jpg");
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s;
}
.slideshow li:nth-child(2) div {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
.slideshow li:nth-child(3) div {
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}
.slideshow li:nth-child(4) div {
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}
.slideshow li:nth-child(5) div {
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}
.slideshow li:nth-child(6) div {
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s;
}
/* Animation for the slideshow images */
@keyframes imageAnimation { 
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	5% {
	    opacity: 1;
	    transform: scale(1);
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.1);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.2);
	}
	100% { opacity: 0 }
	
}

@keyframes titleAnimation { 
	0% {

		top:-13%;
		left:50%;
		transform: translate(-50%,-50%);
	}
	40% {
	    opacity: 1;
		top:45%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	70% { opacity: 1 ;
		top:45%;
		left:50%;
		transform: translate(-50%,-50%)scale(1.1);
	}
	100% { opacity: 1 ;
		top:45%;
		left:50%;
		transform: translate(-50%,-50%)scale(1);
	}
	
}
.no-cssanimations .slideshow li span{
	opacity: 1;
}

@media Screen and (min-width:1000px){
	.title h1{
		font-size: 250%;
	}
	.title h2{
		font-size: 150%;
	}
	.title p{
		font-size: 130%;
	}
}