.touche-video-wrapper{
  position: relative;
  --animation-duration: 0.2s;
  --line-width: 2px;
  font-family: 'Helvetica Neue LT W04_51488894', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.touche-video-wrapper a{
  color: inherit;
  text-decoration: none;
}

.touche-video-wrapper button{
  font: inherit;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}

.touche-video-wrapper video{
  width: 100%;
}

.touche-video-wrapper .link-wrapper{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 51;
  pointer-events: none;

  font-size: 20px;
}

@media screen and (min-width: 1600px) {
  .touche-video-wrapper .link-wrapper{
    font-size: 24px;
  }
}

@media screen and (max-width: 900px) {
  .touche-video-wrapper .link-wrapper{
    font-size: 17px;
  }
}

@media screen and (max-width: 600px) {
  .touche-video-wrapper .link-wrapper{
    font-size: 14px;
  }
}

@media screen and (max-width: 450px) {
  .touche-video-wrapper .link-wrapper{
    font-size: 11px;
  }
}

@media screen and (max-width: 350px) {
  .touche-video-wrapper .link-wrapper{
    font-size: 9px;
  }
}

.touche-video-wrapper .link-wrapper.show a{
  pointer-events: auto;
}

.touche-video-wrapper .line{
  position: absolute;
  overflow: hidden;
}

.touche-video-wrapper .line .inner{
  position: absolute;
  background-color: white;
  transition-property: transform;
  transition-duration: var( --animation-duration );

  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.touche-video-wrapper .line-top,
.touche-video-wrapper .line-bottom{
  height: var( --line-width );
  width: 100%;
}

.touche-video-wrapper .line-top .inner,
.touche-video-wrapper .line-bottom .inner{
  transform: translateX(-100%);
}

.touche-video-wrapper .line-left,
.touche-video-wrapper .line-right{
  width: var( --line-width );
  height: 100%;
}

.touche-video-wrapper .line-left .inner,
.touche-video-wrapper .line-right .inner{
  transform: translateY(100%);
}
/*
.touche-video-wrapper .line-left .inner,
.touche-video-wrapper .line-bottom .inner{
  transition-delay: var( --animation-duration );
}

.touche-video-wrapper .show .line-left .inner,
.touche-video-wrapper .show .line-bottom .inner{
  transition-delay: 0s;
}
*/
.touche-video-wrapper .line-top, .line-top .inner{ top: 0; left: 0; }
.touche-video-wrapper .line-bottom, .line-bottom .inner{ bottom: 0; left: 0; }
.touche-video-wrapper .line-left, .line-left .inner{left: 0; top: 0; }
.touche-video-wrapper .line-right, .line-right .inner{ right: 0; top: 0; }

.touche-video-wrapper .line-right .inner,
.touche-video-wrapper .line-top .inner{
  transition-delay: 0s;
}

.touche-video-wrapper .show .line-right .inner,
.touche-video-wrapper .show .line-top .inner{
  transition-delay: var( --animation-duration );
}

.touche-video-wrapper .click{
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  text-transform: uppercase;
  line-height: 1;
  font-size: 18px;
  padding: 5px;
  transform: translateY( -100% );

  opacity: 0;
  transition: opacity 0.1s ease-in-out 0s;
}

.touche-video-wrapper .show .line-top .inner,
.touche-video-wrapper .show .line-bottom .inner{
  /* transform: translateX(0%); */

  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.touche-video-wrapper .show .line-top .inner{ animation-name: showTopLine; animation-delay: 0.3s; }
.touche-video-wrapper .show .line-bottom .inner{ animation-name: showBottomLine; animation-delay: 0.1s; }

@keyframes showBottomLine {
  0%{ transform: translateX( 100% ); }
  30%, 60%{ transform: translateX( 0% );}
  100%{ transform: translateX( -100% ); }
}

@keyframes showTopLine {
  0%{ transform: translateX( -100% ); }
  30%, 60%{ transform: translateX( 0% );}
  100%{ transform: translateX( 100% ); }
}

.touche-video-wrapper .show .line-left .inner,
.touche-video-wrapper .show .line-right .inner{
  /* transform: translateY(0%); */

  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.touche-video-wrapper .show .line-left .inner{ animation-name: showLeftLine; animation-delay: 0.2s; }
.touche-video-wrapper .show .line-right .inner{ animation-name: showRightLine; animation-delay: 0s; }

@keyframes showRightLine {
  0%{ transform: translateY( -100% ); }
  30%, 60%{ transform: translateY( 0% );}
  100%{ transform: translateY( 100% ); }
}

@keyframes showLeftLine {
  0%{ transform: translateY( 100% ); }
  30%, 60%{ transform: translateY( 0% );}
  100%{ transform: translateY( -100% ); }
}

.touche-video-wrapper .show .click{
  opacity: 1;
  animation-name: text;
  animation-duration: 0.4s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  transition-delay: calc( var( --animation-duration ) * 2 );
}

@keyframes text{
    0%, 50%{ color: white; }
    51%, 100%{ color: transparent; }
}

.touche-video-wrapper strong{
  font-weight: bold;
  text-transform: uppercase;
}

.touche-video-wrapper .text{
  position: absolute;
  transform: translate( -50%, -50% );
  white-space: nowrap;
  font-size: 15px;
}

@media screen and (min-width: 1600px) {
  .touche-video-wrapper .text{
    font-size: 20px;
  }
}

@media screen and (max-width: 600px){
  .touche-video-wrapper .text {
    font-size: 10px;
  }
}

.touche-video-wrapper .text,
.touche-video-wrapper .overlay{
  background-color: transparent;
  padding: .4em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, background-color 0.2s ease-in-out;
}

.touche-video-wrapper .text .bg{
  background-color: rgba(255,255,255,.75);
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  padding: .8em;
  display: block;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease-in-out 0.3s, background-color 0.2s ease-in-out;
}

.touche-video-wrapper #link-video1-0 .text{ pointer-events: none; }
.touche-video-wrapper #link-video1-0 .text .bg {
  background-color: #fae24d;
}

.touche-video-wrapper .show .text .bg{
  opacity: 1;
}

.touche-video-wrapper .overlay{
  background-color: rgba(255,255,255,.9);
}

.touche-video-wrapper .text:hover .bg{
  background-color: rgba(255,255,255,1);
}

.touche-video-wrapper .show .text{
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
}

.touche-video-wrapper .tap-here,
.touche-video-wrapper .theme-text{
  display: block;
  opacity: 0;
  transform: translateX( -100% );
  transition: opacity 0.4s ease-in-out 0.6s, transform 0.4s ease-in-out 0.6s;
}

.touche-video-wrapper .show .tap-here,
.touche-video-wrapper .show .theme-text{
  opacity: 1;
  transform: translateX( 0 );
}

.touche-video-wrapper .show .theme-text{
  transition-delay: 0.9s, 0.9s;
}


.touche-video-wrapper .overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: grid;
  align-items: center;
  align-content: center;
  justify-content: center;

  font-size: 20px;
}

@media screen and (min-width: 1600px) {
  .touche-video-wrapper .overlay{
    font-size: 24px;
  }
}

@media screen and (max-width: 900px) {
  .touche-video-wrapper .overlay{
    font-size: 17px;
  }
}

@media screen and (max-width: 600px) {
  .touche-video-wrapper .overlay{
    font-size: 14px;
  }
}

@media screen and (max-width: 450px) {
  .touche-video-wrapper .overlay{
    font-size: 11px;
  }
}

.touche-video-wrapper .overlay.show{
  opacity: 1;
  pointer-events: auto;
  z-index: 51;
}

@media screen and (max-width: 350px) {
  .touche-video-wrapper .overlay.show{
    font-size: 9px;
  }
}

.touche-video-wrapper .overlay .inner{
  width: 60ch;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;

  font-weight: bold;
  position: relative;
}

.touche-video-wrapper .overlay a{
  background-color: #fae24d;
  text-transform: uppercase;
  padding: 0.7em;
  text-decoration: none;
  color: inherit;
}

.touche-video-wrapper .overlay .link-container{
  margin-top: 18px;
  text-align: right;
}

.touche-video-wrapper .controls, .touche-video-wrapper vm-control-group{
  z-index: 100!important;
}

.touche-video-wrapper .close-overlay{
  transform: scale( 1.75 );
  padding: 0;
  position: absolute;
  top: -1em;
  right: -1rem;
  line-height: 1;
  background: black;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  color: white;
  box-sizing: content-box;
  text-align: center;
  font-family: Arial, sans-serif;
}

@media screen and (max-width: 600px){
  .touche-video-wrapper .close-overlay {
    right: 0;
  }
}

.touche-video-wrapper .button-wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
}

#link-video1-0 .text{
  transform: translate(-200%,-50%);
}

@media screen and (max-width: 600px){
  #link-video1-1 button {
    transform: translate(-130%,-50%);
  }
}

#link-video1-1 button{
  transform: translate(100%,110%);
}

@media screen and (max-width: 600px){
  #link-video1-1 button {
    transform: translate(10%,-10%);
  }
}

#link-video1-2 button{
  transform: translate(-50%, 140%);
}

@media screen and (max-width: 600px){
  #link-video1-2 button {
    transform: translate(-50%, 20%);
  }
}

#link-video1-3 button{
  transform: translate(-50%, 200%);
}

@media screen and (max-width: 600px){
  #link-video1-3 button {
    transform: translate(-50%, 60%);
  }
}

#link-video1-4 button{
  transform: translate(50%, 200%);
}

@media screen and (max-width: 600px){
  #link-video1-4 button {
    transform: translate(-50%, 40%);
  }
}


#link-video1-5 button{
  transform: translate(80%, -280%);
}

@media screen and (max-width: 600px){
  #link-video1-5 button {
    transform: translate(-10%, -150%);
  }
}

#link-video1-6 button{
  transform: translate(-200%, -270%);
}

@media screen and (max-width: 600px){
  #link-video1-6 button {
    transform: translate(-90%, -130%);
  }
}

#link-video1-7 button{
  transform: translate(150%, -350%);
}


@media screen and (max-width: 600px){
  #link-video1-7 button {
    transform: translate(20%, -170%);
  }
}


#link-video1-8 a{
  transform: translate(-50%, 50%);
}

.play-animation{
  animation-name: startVideoButtonAnimation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  opacity: 0;
  transform: translateX( -100% );
  display: inline-block;
}

.play-animation:nth-child(1){
  animation-delay: 0.4s;
}

.play-animation:nth-child(2){
  animation-delay: 0.2s;
}

.play-animation:nth-child(3){
  animation-delay: 0s;
}

@keyframes startVideoButtonAnimation {
  0%, 10%{ opacity: 0; transform: translateX( -100% ); }
  30%, 80%{ opacity: 1; transform: translateX( 0% ); }
  95%{ opacity: 0; transform: translateX( 100% ); }
  100%{ opacity: 0; transform: translateX( -100% ); }
}