@font-face {
  font-family: 'moihands';
  src:    url(../font/MOIHANDS-Regular.ttf);
  
}

@font-face {
  font-family: 'quickmed';
  src:    url(../font/Quicksand-Medium.ttf);
 
}

@font-face {
  font-family: 'quickreg';
  src:    url(../font/Quicksand-Regular.ttf);
}



* {box-sizing:border-box}

body {
    background-color: rgb(0, 0, 0);
}

body {
  overflow: hidden; /* Hide scrollbars */
}

/* Slideshow container */  
.container {
  
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  align-content: center;
  z-index: 0;
  
}

.mySlides {
  width: 100%;
  height: 100%;
  }


img#slideImage {
    object-fit: contain;
    width: 100%;
height: 100%;
  }

/* Hide the images by default 
.mySlides {
  display: none;
}*/

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  
  font-size: 24px;
    line-height: 32px;
    position: absolute;
    font-family: 'quickreg';
    top: 40vh;
    width: 60%;
    left: 20%;
    text-align: center;
  
}



.up:hover {
  opacity: 0;
  transition: opacity 0.8s;
}

.up {
  font-size: 4vh;
  color: white;
  margin-top: 5vh;
  margin-left: 20vh ;

  text-align:center;
  
 
  position: absolute;
  bottom: 0px;
  width: 5%;
  

  
  font-family: 'quickreg';
  z-index: 10;
  opacity: 1;
}

.legende {
  font-size: 3vh;
  position:absolute;
  text-align:left;
  vertical-align: bottom;
  padding-left:  5vh;
  padding-bottom: 4vh;
  
  position: absolute;
  top: 80vh;
  width: 100%;
  

  
  font-family: 'quickreg';
  z-index: 10;
}

.image {
  width: fit-content;
  margin-left: 10vw;
  margin-right: 10vw;
}


.mySlides .legende {
  opacity: 0;
  
 
  
}

.mySlides .image:hover + .legende {
  opacity: 1;
  transition: opacity 0.8s;
  
}

.text h1 {
  font-family: 'moihands';
}

.text {
  color: rgb(255, 223, 233);
  background-color: rgb(22, 22, 23,0.5) ;
}



img {
  margin-top: -30px;
  margin-left: -10px;
  z-index: 0;

  
  
}

.video {
  position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
overflow: hidden;
}

.video iframe {
  position: absolute;
top: 0;
left: 0;
width: 100%;
height: 80%;
}


/* The dots/bullets/indicators 
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
 /* margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}*/

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

#back {
  z-index: 10;
  position: absolute;
  left: 20px;
  top: 20px;
  color: black;
  background: rgb(255, 223, 233); 
  font-family: 'quickmed';
  font-size: 24px;
  line-height: 50px;
  height: 50px;
  text-decoration: none;
  width: 120px;
  text-align: center;
  border-radius: 40px;
  }







@media screen and (orientation: portrait) {
  
@font-face {
  font-family: 'moihands';
  src:    url(../font/MOIHANDS-Regular.ttf);
  
}

@font-face {
  font-family: 'quickmed';
  src:    url(../font/Quicksand-Medium.ttf);
 
}

@font-face {
  font-family: 'quickreg';
  src:    url(../font/Quicksand-Regular.ttf);
}
  
#back {
  z-index: 10;
  position: absolute;
  left: 20px;
  top: 20px;
  color: black;
  background: rgb(255, 223, 233); 
  font-family: 'quickmed';
  font-size: 12px;
  line-height: 30px;
  height: 30px;
  text-decoration: none;
  width: 60px;
  text-align: center;
  border-radius: 40px;
  }
  




img#slideImage {
  object-fit: contain;
  width:90%;
height: 100%;
margin-left: 3%;
}
.text {
  
  font-size: 11px;
  
  padding: 5%;
  position: absolute;
  top: 30%;
  width: 60%;
  bottom: 0px;
  text-align: left;
  padding-right: 2vh;
  line-height: 20px;
  font-family: 'quickreg';
  left: 80px;
  
  
  
}

}