.teasers {
  position: relative;
  height: 100vh;
  background: #666;
}

.teaser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

.teaser .controls {
  flex-grow: 0;
  padding: 0;
  margin: 0;
}

.teasers[data-muted] .teaser .controls button[data-action=mute] {
  display: none;
}

.teasers:not([data-muted]) .teaser .controls button[data-action=unmute] {
  display: none;
}

.teaser[data-active] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.teaser > progress {
  display: none;
}

.teaser .bottom {
  padding: 1rem 0.8rem;
  flex-grow: 0;
  line-height: 1;
}

.teaser .title {
  border: none;
  font-family: "Lyno Stan HKW", "Fakt Pro", sans-serif;
  font-weight: normal;
  font-size: 2.5em;
  line-height: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  mix-blend-mode: difference;
  color: white;
  opacity: 1;
}
.title:hover {
  opacity: 0.8;
}
@media only screen and (min-width: 700px) {
  .teaser .title {
    font-size: 3em;
    /* this size should correspond to .ccworld-biglogo in styles.css */
    padding-top: 3rem;
  }
}
@media only screen and (min-width: 1000px) {
  .teaser .title {
    font-size: 4em;
    /* this size should correspond to nav ul in styles.css */
  }
}
/*
@media only screen and (min-width: 1700px) {
  .teaser .title {
    font-size: 5em;
  }
}
*/

.teaser .spacer {
  height: 3em;
  flex-shrink: 0;
}

.teaser video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding: 0 0.8rem;
  color: white;
  mix-blend-mode: difference;
  font-size: 2em;
  line-height: 1em;
  letter-spacing: -0.01em;
  padding-top: 3rem;
}

.teaser .text p {
  margin: 0;
}

@media only screen and (min-width: 700px) {
  .teaser .text {
    font-size: 2.5em;
  }
}

@media only screen and (min-width: 1000px) {
  .teaser .text {
    font-size: 10vh;
  }
}

.teaser .audio {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  mix-blend-mode: difference;
  padding: 0 0.8rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 25em;
  margin: 0 auto;
}

.teaser .audio progress {
  background: rgba(255, 255, 255, 0.25);
}

.teaser .audio progress::-webkit-progress-value {
  background: white;
  border-radius: 0;
}

.teaser .audio progress::-moz-progress-bar {
  background: white;
}

.teaser .audio .info {
  font-size: 0.5rem;
}

.teaser[data-type="video"] .bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.teaser[data-type="video"] .bottom .controls {
  flex: auto;
  flex-grow: 0;
  margin-left: 1em;
  z-index: 2;
  mix-blend-mode: difference;
  color: white;
}

.teaser[data-type="photo"] img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
