/* --------
  THE ULTIMATE CINEMA LENS LIBRARY
-------- */


/* container */

.lens-test-container {
  position: relative;
  width: 100%;
  padding: 0;
  background-color: #999;
}

.lens-test-body {
  max-width: 1300px;
  margin: 0 auto;
}


/* page heading */

.lens-test-body .page-heading {
  padding-top: 60px;
}

.lens-test-body .page-heading h1 {
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 32px;
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.14;
}

.lens-test-body .page-heading p {
  margin-top: 18px;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  letter-spacing: .1em;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 767px) {

  .lens-test-body .page-heading {
    padding-top: 10vw;
  }

  .lens-test-body .page-heading h1 {
    font-size: 7.4667vw;
  }

  .lens-test-body .page-heading p {
    margin-top: 2.6vw;
    font-size: 4.2667vw;
  }

}


/* selector */

.lens-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
}

.lens-selector > li {
  list-style: none;
  width: 48.5%;
  margin-top: 30px;
}

.lens-selector > li p {
  color: #f2cd95;
  font-family: Barlow, sans-serif;
  font-size: 24px;
}

/*
.lens-selector > li:nth-child(1) p { color: #b10139; }
.lens-selector > li:nth-child(2) p { color: #4852a1; }
.lens-selector > li:nth-child(3) p { color: #814e00; }
.lens-selector > li:nth-child(4) p { color: #066b36; }
*/

.lens-selector .selectors {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.lens-selector .lens-pulldown {
  width: 49.2%;
}

@media (max-width: 767px) {

  .lens-selector {
    display: block;
    padding-top: 2vw;
  }

  .lens-selector > li {
    width: auto;
    margin-top: 6vw;
  }

  .lens-selector > li p {
    font-size: 18px;
  }

  .lens-selector .selectors {
    margin-top: 6px;
  }

  .lens-selector .lens-pulldown {
    width: 49%;
  }

}


/* pulldown menu */

.lens-pulldown {
  display: block;
  position: relative;
  height: 48px;
}

.lens-selector > li:nth-child(1) .lens-pulldown { z-index: 4; }
.lens-selector > li:nth-child(2) .lens-pulldown { z-index: 3; }
.lens-selector > li:nth-child(3) .lens-pulldown { z-index: 2; }
.lens-selector > li:nth-child(4) .lens-pulldown { z-index: 1; }


.lens-pulldown button {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 48px;
  padding: 0 40px 0 20px;
  border-style: none;
  color: #fff;
  background-color: #777;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.3;
  text-align: left;
  overflow: hidden;
  outline: none;
  cursor: pointer;
}

.lens-pulldown button::after {
  content: "";
  display: block;
  position: absolute;
  right: 20px;
  top: calc(50% - 7px);
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.lens-pulldown .lens-pulldown__drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  height: 0;
  overflow-y: hidden;
  transition: height .15s ease-out;
}

.lens-pulldown .lens-pulldown__drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lens-pulldown .lens-pulldown__drawer li {
  list-style: none;
}

.lens-pulldown .lens-pulldown__drawer.overflow {
  overflow-y: scroll;
}

.lens-pulldown label {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 40px 0 20px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.3;
  text-align: left;
  background-color: #777;
  transition: background-color .2s;
  cursor: pointer;
}

.lens-pulldown label:hover,
.lens-pulldown label:active,
.lens-pulldown input.checked + label {
  background-color: #414141;
}

.lens-pulldown input.disabled + label {
  color: #999;
  pointer-events: none;
}

.lens-pulldown input.checked.disabled + label {
  color: #fff;
}

.lens-pulldown input {
  display: none;
}

@media (max-width: 767px) {

  .lens-pulldown {
    height: 42px;
  }

  .lens-pulldown button {
    height: 42px;
    padding: 0 40px 0 10px;
    font-size: 12px;
  }

  .lens-pulldown button::after {
    right: 15px;
    top: calc(50% - 3px);
    width: 5px;
    height: 5px;
  }

  .lens-pulldown .lens-pulldown__drawer {
    top: 42px;
  }

  .lens-pulldown label {
    height: 42px;
    padding: 0 40px 0 10px;
    font-size: 12px;
    transition: none;
  }

  .lens-pulldown label:hover,
  .lens-pulldown label:active {
    background-color: #777;
  }

}


/* button */

.lens-test-body .button-container {
  margin-top: 60px;
}

.lens-test-body .button-container button {
  display: block;
  position: relative;
  width: 330px;
  margin: 0 auto;
  padding: 34px 40px 35px;
  border-style: none;
  color: #fff;
  background-color: #c49d62;
  font-family: inherit;
  font-size: 18px;
  letter-spacing: .12em;
  line-height: 1;
  text-align: left;
  outline: none;
  cursor: pointer;
  transition: background-color .2s;
}

.lens-test-body .button-container button:hover,
.lens-test-body .button-container button:active {
  background-color: #d0a464;
}

.lens-test-body .button-container button::before {
  content: "";
  display: block;
  position: absolute;
  right: 25px;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 50%;
}

.lens-test-body .button-container button::after {
  content: "";
  display: block;
  position: absolute;
  right: 44px;
  top: calc(50% - 6px);
  width: 9px;
  height: 9px;
  border-right: 1px solid #c49d62;
  border-bottom: 1px solid #c49d62;
  transform: rotate(45deg);
}

@media (max-width: 767px) {

  .lens-test-body .button-container {
    margin-top: 13vw;
  }

  .lens-test-body .button-container button {
    width: 280px;
    padding: 28px 20px;
    font-size: 13px;
    transition: none;
  }

  .lens-test-body .button-container button:hover,
  .lens-test-body .button-container button:active {
    background-color: #c49d62;
  }

  .lens-test-body .button-container button::before {
    right: 10px;
    top: calc(50% - 24px);
    width: 48px;
    height: 48px;
  }

  .lens-test-body .button-container button::after {
    right: 29px;
    top: calc(50% - 8px);
    width: 10px;
    height: 10px;
  }

}


/* video */

.lens-video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin-top: 120px;
  padding: 30px 0 0;
  border-top: 1px solid #777;
}

.lens-video-container > li {
  list-style: none;
  width: 49.2%;
  margin-top: 40px;
}

.lens-video-container > li p {
  color: #f2cd95;
  font-family: Barlow, sans-serif;
  font-size: 24px;
}

/*
.lens-video-container > li:nth-child(1) p { color: #b10139; }
.lens-video-container > li:nth-child(2) p { color: #4852a1; }
.lens-video-container > li:nth-child(3) p { color: #814e00; }
.lens-video-container > li:nth-child(4) p { color: #066b36; }
*/

.lens-video-container > li .video {
  margin-top: 20px;
  aspect-ratio: 64 / 39;
  background-color: #777;
  background-image: url(../img/no_video.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.lens-video-container > li .video iframe {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .2s ease-out;
}

.lens-video-container > li .video iframe.show {
  opacity: 1;
  transition: opacity .4s ease-out;
}

@media (max-width: 767px) {

  .lens-video-container {
    display: block;
    margin-top: 13vw;
    padding-top: 0;
  }

  .lens-video-container > li {
    width: auto;
    margin-top: 6vw;
  }

  .lens-video-container > li p {
    font-size: 18px;
  }

  .lens-video-container > li .video {
    margin-top: 6px;
    background-size: 70px auto;
  }

}


/* controls */

.lens-video-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  height: 100px;
  background-color: rgba(65,65,65,.8);
  transform: translateY(105%);
  transition: transform .3s ease-out;
}

.lens-video-controls button {
  display: block;
  position: relative;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background-color: rgba(65,65,65,0);
  overflow: hidden;
  text-indent: -400px;
  cursor: pointer;
  transition: background-color .2s;
}

.lens-video-controls button:hover {
  background-color: rgba(65,65,65,1);
}

#video-play {
  width: 70px;
  height: 70px;
  margin: 0 30px;
}

#video-play::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-35%, -50%);
}

#video-stop {
  width: 56px;
  height: 56px;
}

#video-stop::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background-color: #fff;
  transform: translate(-50%, -50%);
}

#video-pause {
  width: 56px;
  height: 56px;
}

#video-pause::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 100%);
  transform: translate(-50%, -50%);
}

.lens-video-controls.show {
	transform: translateY(0);
}

.lens-video-controls.floor {
	position: absolute;
	left: 0;
	bottom: 0;
}

#lens-video-controls-ceil {
  position: absolute;
  left: 0;
  top: 110vh;
  bottom: 0;
  z-index: -100;
  width: 1px;
  pointer-events: none;
}

#lens-video-controls-floor {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -100;
  width: 1px;
  pointer-events: none;
}

@media (max-width: 767px) {

  .lens-video-controls {
    height: 80px;
  }

  .lens-video-controls button {
    border: 1px solid rgba(255,255,255,.3);
    transition: none;
  }

  .lens-video-controls button:hover {
    background-color: rgba(65,65,65,.8);
  }

  #video-play {
    width: 50px;
    height: 50px;
    margin: 0 20px;
  }

  #video-play::after {
    border-width: 8px 0 8px 13px;
  }

  #video-stop {
    width: 40px;
    height: 40px;
  }

  #video-stop::after {
    width: 10px;
    height: 10px;
  }

  #video-pause {
    width: 40px;
    height: 40px;
  }

  #video-pause::after {
    width: 10px;
    height: 10px;
  }

}