@media (max-width: 576px),
(min-width: 2000px) {
  #slider ul li .slide {
    height: 100vh;
  }
}
@media (max-width: 576px),
(max-width: 2000px) {
  #slider ul li .slide {
    height: 100vh;
  }
}

.slider1-image {
  background-size: cover;
  background-position: center;
}

.slider2-image {
  background-size: cover;
  background-position: center;
}

.slider {
  position: relative;
}

#slider {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  height: 74% !important;
}

#slider ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 99999px;
  overflow: hidden;
  list-style: none;
}

#slider ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 90vh;
  text-align: center;
}

/* #slider ul li .slide {
  background-size: cover;
  height: 100vh;
} */

button.control_prev,
button.control_next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: black;
  font-size: 1.6rem;
  border: none;
  border-radius: 8px;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1),
              2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0.4;
}

button.control_prev:hover,
button.control_next:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

button.control_prev:focus,
button.control_next:focus {
  outline: none;
}

button.control_prev {
  left: 1.5rem;
}

button.control_next {
  right: 1.5rem;
}

.progress {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  height: 0.5rem;
  width: 100%;
  bottom: 0;
  border-top: 1px rgba(0, 0, 0, 0.15) solid;
}

.progress .bar {
  height: 100%;
  width: 0%;
  background: #fff;
}

.teaser {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  color: #fff;
  transform: translateY(-50%);
}

.teaser h2 {
  font-size: 5em;
  text-transform: uppercase;
  line-height: 1.5em;
  color: #fff;
}

.teaser p {
  font-size: 1.3em;
  line-height: 1.3em;
  border-top: 2px #fff solid;
  width: 33%;
  min-width: 25rem;
  margin: 0rem auto;
  padding: 1.5rem 0;
}

.teaser h3 {
  border-bottom: 2px #fff solid;
  width: 33%;
  padding: 1.5rem 0;
  margin: 0rem auto;
  min-width: 25rem;
}

.teaser a {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

/* video frame */

.youtube-iframe {
  width: 100%;
  /*aspect-ratio: 14 / 6;*/
  overflow: hidden;
  height: 50vw;
  max-height: 35rem;
  
}