﻿* {
box-sizing: border-box;
}



#slider {
position: relative;
width: 100%;
overflow: hidden;
}

#slider #line {
height: 2px;
background: #999;
z-index: 1;
position: absolute;
bottom: 0;
right: 0;
display:none;
}

#slider #dots {
position: absolute;
left: 0;
right: 0;
bottom: 16px;
/* display: flex; */
justify-content: center;
display:none;
}

#slider #dots li {
transition: 0.3s;
list-style-type: none;
width: 8px;
height: 8px;
border-radius: 100%;
background: #999;
margin: 0 0.25em;
cursor: pointer;
padding:0;
display:none;
}

#slider #dots li:hover,
#slider #dots li.active {
background: white;
display:none;
}

@keyframes line {

0% {width: 0%;}
100% {width: 100%;}

}

#slider #back,
#slider #forward {
width: 6%;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: 0.3s;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
bottom: 0;
color: white;
font-weight: 700;
font-size: 2rem;

}

#slider #forward {
left: auto;
right: 0;

}

#slider:hover #back,
#slider:hover #forward {
opacity: 0.7;
}

ul#move {
margin: 0;
padding: 0;
display: flex;
width: 100%;
background: gray;
margin-right: 100%;
}


ul#move li {
transition: 0.6s;
min-width: 100%;
color: white;
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}


ul#move li h2 {
font-size:2.2em;
color: white;
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
line-height:1.5em;
text-align:center;
}

ul#move li img {
width: 100%;
}

ul#move li:nth-child(1) {
background: #23aed1;
}

ul#move li:nth-child(2) {
background: #027ef9;
}

ul#move li:nth-child(3) {
background: #01ba8c;
}

ul#move li:nth-child(4) {
background: #445566;
}

ul#move li:nth-child(5) {
background: #555;
}

ul#move li:nth-child(6) {
background: #111;
}


/* kleinere Bildschirme */
@media screen and (max-width:767px){
ul#move li h2 {
font-size:1em;
}


#slider #dots li {
display:none;
}


ul#move li h2 {
font-size:17px;
}

}






