@font-face {
  font-family: "Self Modern";
  src: url("../fonts/self-modern_book.ttf")
}

html {
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body {
  background: #000;
  display: flex;
  flex-direction: row;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  color: white;
}

section {
  float: left;
  width: 380px;
  height: 1080px;
  top: 0;
  transition: all .3s ease-in-out;
}

section.active {
  width: 1100px;
  transition: all .3s ease-in-out;
}

section.inactive {
  width: 200px;
  transition: all .3s ease-in-out;
}

section .container {
  display: inline-flex;
  position: relative;
  width: 100%;
  height: 100%;
  /* background-color: #151515; */
  /* pointer-events: none; */
}

section .container .player {
  position: absolute;
  top: 0;
  width: 100%;
  height: 796px;
}

section .container .player img {
  opacity: 0.5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .15s ease-in-out;
  position: absolute;
  top: 0;
}

section.active .container .player img {
  opacity: 0;
}

section .container .player video {
  display: none;
}

section .container .player video.feature.active {
  display: block;
  margin: 90px auto;
}

section .container .label {
  position: absolute;
  bottom: 0;
  padding: 40px 35px;
  width: calc(100% - 70px);
  height: 204px;
  background-color: #212322;
  display: flex;
  flex-direction: column;
  transition: all .3s ease-in-out;
  z-index: 4;
}

section .container .label h1 {
  font-family: 'Self Modern';
  font-size: 40px;
  line-height: 52px;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: all .3s ease-in-out;
  margin-top: 10px;
}

section.active .container .label {
  padding: 40px 50px;
  width: calc(100% - 100px);
}

section.active .container.gallery .label {
  height: 100px;
}

section.active .container .label h1 {
  font-size: 50px;
  margin-top: -25px;
}

section.inactive .container .label {
  padding: 40px 20px;
  width: calc(100% - 40px);
}

section.inactive .container .label h1{
  color: #D4D2CB;
}

section.inactive .container .label h1 {
  font-size: 25px;
  line-height: 32px;
}

section .container .label h2 {
  font-family: 'Self Modern';
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-top: 0;
  transition: all .15s ease-in-out;
}

section.active .container .label h2 {
  opacity: 0;
}

section .container .label h3 {
  opacity: 0;
  transition: all .15s ease-in-out;
  display: inline-block;
}

section .container.gallery .label h3 {
  font-family: 'Self Modern';
  font-style: normal;
  font-weight: 500;
  font-size: 25px;
  line-height: 32px;
  letter-spacing: 0.02em;
  position: absolute;
  left: 475px;
  border-left: 1px solid white;
  padding-left: 50px;
  height: 48px;
  top: 35px;
  padding-top: 10px;
  opacity: 1;
}

.hitbox {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: all;
}

section.active .hitbox {
  pointer-events: none;
}

section .closeButton {
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

section.active .closeButton {
  background-image: url(../components/icon_close.png);
  width: 48px;
  height: 48px;
  text-indent: -9999px;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9;
  opacity: 0.75;
}

.controls {
  position: absolute;
  z-index: 5;
  bottom: 85px;
  width: calc(100% - 110px);
  background-color: transparent;
  display: none;
  left: 55px;
  justify-content: flex-start;
  align-items: baseline;
}

#modal .controls {
  position: absolute;
  z-index: 5;
  bottom: 49px;
  width: 1481px;
  background-color: #000;
  display: inline-flex;
  left: 79px;
  justify-content: flex-start;
  align-items: center;
  padding: 25px 30px 25px 40px;
  height: 30px;
}

#modal .controls .progress {
  width: 85%;
  margin-left: 40px;
}

#modal .controls .progress progress {
  margin-top: -1px;
}

section.active .controls {
  display: inline-flex;
}

.controls .progress {
  width: 75%;
  margin-left: 40px;
}

.controls progress {
	display:block;
	width:100%;
	height:8px;
	margin-top: -9px;
	border:none;
	overflow:hidden;
	border-radius:0px;
	color:#0095dd; /* Internet Explorer uses this value as the progress bar's value colour */
}

.controls progress[data-state="fake"] {
	background:#e6e6e6;
	height:65%;
}
.controls progress span {
	width:0%;
	height:100%;
	display:inline-block;
	background-color:#2a84cd;	
}

.controls progress::-moz-progress-bar {
	background-color:#0095dd;
}

.controls progress::-webkit-progress-value {
	background-color:#fff;
}

.controls button {
	text-align:center;
	overflow:hidden;
	white-space:nowrap;
  text-overflow:ellipsis;
  border:none;
  cursor:pointer;
  text-indent:-99999px;
  background:transparent;
  background-size:contain;
  background-repeat:no-repeat;
  -webkit-tap-highlight-color: transparent;
}

.controls button[data-state="play"] {
	background-image: url('../components/btn_video_play.png');
  width: 48px;
  height: 48px;
}

.controls button[data-state="pause"] {
	background-image: url('../components/btn_video_pause.png');
  width: 48px;
  height: 48px;
}

.controls button[data-state="volume"] {
	background-image: url('../components/btn_volume.png');
  width: 60px;
  height: 60px;
  margin-left: 40px;
}

.controls button[data-state="fs"] {
	background-image: url('../components/btn_fs.png');
  width: 48px;
  height: 48px;
  margin-left: 20px;
}

.controls button[data-state="fs-min"] {
	background-image: url('../components/btn_fs_min.png');
  width: 48px;
  height: 48px;
  margin-left: 20px;
}

.playButton {
  background-image: url('../components/btn_play.png');
  width: 130px;
  height: 130px;
  text-indent: -9999px;
  position: absolute;
  bottom: 30px;
  left: 30px;
  transition: opacity .15s ease-in-out;
}

section.active .playButton {
  opacity: 0;
}

section .gallery .controls {
  display: none;
}

section .gallery .playButton {
  background-image: url('../components/btn_gallery.png');
}

section .gallery {
  background-color: #212322;
}

.galleryDiv {
  width: auto;
  overflow-y: auto;
  position: absolute;
  opacity: 0;
  display: inline-block;
  transition: all .15s ease-in-out;
  z-index: 3;
  background-color: #212322;
  pointer-events: none;
  height: 795px;
  margin: 75px 35px;
}

.galleryDiv::-webkit-scrollbar {
  width: 4px;
}

.galleryDiv::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.galleryDiv::-webkit-scrollbar-thumb {
  background: #d4d2cb;
}

section.active .galleryDiv {
  opacity: 1;
  pointer-events: all;
}

.galleryDiv .slide {
  width: calc(25% - 40px);
  height: auto;
  float: left;
  margin: 18px;
  display: flex;
}

.galleryDiv .slide h3 {
  display: none;
}

.galleryDiv .slide p {
  display: none;
}

.galleryDiv .slide img {
  opacity: 1;
  width: 100%;
}

/* 
* Modal
*/

#modal {
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: rgba(33, 35, 34, 0.95);
  transition: all .15s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

#modal.active {
  opacity: 1;
  pointer-events: all;
}

#modal #close {
  background-image: url('../components/btn_close.png');
  width: 130px;
  height: 130px;
  text-indent: -9999px;
  position: absolute;
  top: 80px;
  right: 85px;
  z-index: 11;
}

#modal .content {
  transition: all .15s ease-in-out;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1760px;
  height: 920px;
  top: 0;
  left: 0;
  padding: 80px;
}

#modal .content.active {
  opacity: 1 !important;
  pointer-events: all !important;
}

#modal #volume {
  opacity: 0;
  pointer-events: none;
  transition: all .15s ease-in-out;
}

#modal #timer {
  opacity: 0;
  pointer-events: none;
  transition: all .15s ease-in-out;
}

#modal #carousel {
  z-index: 10;
}

#modal #carousel img {
  width: 784px;
  height: 784px;
  object-fit: contain;
  background: black;
}

#modal #carousel article.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  display: inline-block;
  transform: translateY(-50%);
  margin-top: -80px;
}

#modal #carousel article.audio {
  position: absolute;
  top: 260px;
  left: 50%;
  width: 744px;
  height: 520px;
  display: none;
  background: #D4D2CB;
  color: #212322;
  font-size: 25px;
  padding: 40px 60px;
}

#modal #carousel article.audio #wavesurfer {
  width: 100%;
}

#modal #carousel article.audio .waveform {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #212322;
  width: 100%;
}

#modal #carousel article.audio .waveform .waveformContainer {
  display: flex;
  padding: 0px 40px;
  align-items: center;
}

#modal #carousel article.audio .waveform button {
  border-radius: 64px;
  width: 64px;
  height: 64px;
  background-color: transparent;
  border: 1px solid #212322;
  box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  background-size: 16px;
  background-position: 24px 24px;
  margin: 0 10px;
}

#modal #carousel article.audio .waveform wave {
  overflow: hidden !important;
}

#modal #carousel article.audio .waveform button:active {
  border: 1px solid transparent;
  box-shadow: 0;
}

#modal #carousel article.audio .waveform button[data-state="play"] {
  background-image: url('../components/icon_play_black.png');
  background-position-y: 22px;
  margin-right: 20px;
}

#modal #carousel article.audio .waveform button[data-state="pause"] {
  background-image: url('../components/icon_pause_black.png');
  background-position: 22px;
  margin-right: 20px;
}

#modal #carousel article.audio .waveform button[data-state="volume"] {
  background-image: url('../components/icon_volume_black.png');
  background-size: 24px;
  background-position: 20px;
}

#modal #carousel article.audio .waveform button[data-state="close"] {
  background-image: url('../components/icon_close_black.png');
  background-position-x: 22px;
}

#modal #carousel article.audio .transcript {
  position: relative;
  top: 130px;
}

#modal #carousel article.audio .transcript p {

}

#modal #carousel article.audio .transcript h4,
#modal #carousel article.audio .transcript h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  margin: 0;
}

#modal #carousel.wavesurfer article.caption {
  display: none;
}

#modal #carousel.wavesurfer article.audio {
  display: inline-block;
}

#modal #carousel article h1 {
 margin-bottom: 40px; 
}

#modal #carousel article h3 {
  font-weight: 400;
}

#modal #carousel button {
  display: inline-block;
  padding: 10px 30px 10px 20px;
  width: 290px;
  height: 80px;
  background: rgba(33, 35, 34, 0.95);
  mix-blend-mode: normal;
  
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 12px 8px;
  font-family: 'Self Modern';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.01em;
  color: #D4D2CB;
  text-indent: 50px;

  box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  border: 1px solid transparent;
}

#modal #carousel button#audio {
  margin-top: 20px;
  background: #D4D2CB;
  background-repeat: no-repeat;
  background-size: 60px;
  color: #212322;
  background-position: 12px 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
  background-image: url('../components/icon_audio.png');
  font-weight: 600;
}

#modal #carousel button#audio:active {
  box-shadow: 0;
  border: 2px solid #212322;
}

#modal #carousel nav {
  margin-top: 55px;
}

#modal #carousel nav button:active {
  box-shadow: 0;
  border: 2px solid #D4D2CB;
}

#modal #carousel nav button#enlarge {
  background-image: url('../components/icon_explore.png');
}

#modal #carousel nav button#prev {
  background-image: url('../components/icon_prev.png');
  float: right;
  margin-right: 40px;
}

#modal #carousel nav button#next {
  background-image: url('../components/icon_next.png');
  float: right;
  margin-right: 40px;
}

#modal #videoFS,
#modal #imageFS {
  z-index: 11;
}

#modal #volume {
  z-index: 12;
  background: rgb(0 0 0 / 75%);
  font-weight: 500;
}

#modal #volume nav {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

#modal #volume div.caption {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 40px;
  font-weight: 500;
}

#modal #volume div.caption p {
  margin: 0;
  line-height: 52px;
}

#modal #volume button {
  width: 80px;
  height: 80px;
  background: transparent;
  background-size: contain;
  outline: 0;
  border: 0;
}

#modal #volume button:disabled {
  opacity: 0.25;
}

#modal #volume button#minus {
  background-image: url('../components/btn_minus.png');
}

#modal #volume button#plus {
  background-image: url('../components/btn_plus.png');
}

#modal #volume div#volumeLevel {
  width: 360px;
  height: 360px;
  background-size: contain;
}

#modal #volume div#volumeLevel[data-state="0"] {
  background-image: url('../components/icon_volume_0.png');
}

#modal #volume div#volumeLevel[data-state="0.25"] {
  background-image: url('../components/icon_volume_1.png');
}

#modal #volume div#volumeLevel[data-state="0.5"] {
  background-image: url('../components/icon_volume_2.png');
}

#modal #volume div#volumeLevel[data-state="0.75"] {
  background-image: url('../components/icon_volume_3.png');
}

#modal #timeout {
  z-index: 20;
  background: rgb(0 0 0 / 75%);
  font-weight: 500;
}

#modal #timeout .caption {
  text-align: center;
  top: 40%;
  position: relative;
}

#modal #videoFS .closeFS,
#modal #imageFS .closeFS,
#modal #volume .closeFS {
  background-image: url('../components/btn_close_dark.png');
  width: 130px;
  height: 130px;
  text-indent: -9999px;
  position: absolute;
  top: 80px;
  right: 85px;
}

#modal #imageFS img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#modal #videoFS video {
  width: 1550px;
  height: 872px;
}

#modal .controls progress::-webkit-progress-value {
	background-color:#fff;
}

section.attractor .container .player .attract {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 796px;
}

section.attractor .container .player .playButton {
  background-image: url('../components/btn_play_gold.png');
}

section.attractor .container.gallery .player .playButton {
  background-image: url('../components/btn_gallery_gold.png');
  background-size: contain;
}

section.attractor .container .player video.attract {
  display: inline-block;
}

section.attractor .container .player img {
  opacity: 0;
}

/* section.attractor .container.gallery .player video {
  display: none !important;
}

section.attractor .container.gallery .player img {
  opacity: 1;
} */