@charset "UTF-8";

@font-face{
  font-family: "Joyride-Regular";
  src: url(../fonts/Joyride-Regular.otf)
}

@font-face{
  font-family: "RivieraNightsTrial-BlackItalic";
  src: url(../fonts/RivieraNightsTrial-BlackItalic.otf);
}
@font-face{
  font-family: "Genath-Bold";
  src: url(../fonts/Genath-Bold.otf);
}

@font-face{
  font-family: "Akkurat";
  src: url(../fonts/Akkurat.otf);
}



body {
  height: 100px;
  max-height: calc(100vh - 70px);
  overflow: auto;
  background-image: url('../img/essais-trace_4-copie_1.mp4');
  background-color: #4a4a4a;
  z-index: -2;
}

.video-container {
  width: 100%;
  /* height: 820px;  */
  overflow: hidden;
  z-index: -10;
}

#bg-video {
  width: 113%;
  height: auto;
  position: relative;
  object-fit: cover;
  top: -6%;
  left: -10%;
}

h1 {
  padding-block: 4%;
  font-size: 150px;
  margin-top: -14%;
  font-family: 'Joyride-Regular', monospace;
  -webkit-text-stroke: 0.12vw red;
  color: blue;
}

h3 {
  font-family: 'Joyride-Regular', monospace;
  color: rgb(86, 86, 8);
  font-size: 200vw;
  -webkit-text-stroke: 0.07vw rgb(255, 0, 0);
}

.sites {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  align-items: center;
}

.link {
  display: block;
  width: 19vw;
  height: 5vw;
  line-height: 200%;
  text-align: center;
  font-size: 2.5vw;
  color: rgb(69, 69, 69);
  background-color: #1b1b1b;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Joyride-Regular', monospace;
  -webkit-text-stroke: 0.12vw rgb(255, 0, 0);
  color: rgb(255, 255, 0);
  position: absolute;
}

.sites .link {
  top: 1.5%;
  left: 15%;
}

.sites2 .link {
  top: 11%;
  left: 15%;
}

.sites2 {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  align-items: center;
}

.sites3 .link {
  top: 90%;
  left: 85%;
  display: block;
  width: 12vw;
  height: 3vw;
  line-height: 160%;
  text-align: center;
  font-size: 1.9vw;
}

.link:hover {
  background-color: #ffffff;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  margin-top: 50px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: left;
}

.credits p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits li {
  font-size: 16px;
  margin-bottom: 5px;
}

/* #video-container {
  position: relative;
  width: 640*1,5px;
  height: 480*1,5px;
} */


.video-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#bg-video {
  width: 112%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}


 #my-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} 

#video-container2 {
  display: none;
}

#sound-button {
  z-index: 450;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff00;
  color: #ffffff00;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#sound-button:hover {
  background-color: #0057b300;
}

#blurry-element {
  width: 65vw;
  height: 45vw;
  background-color: #00000028;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  background-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 40px;
}


#blurry-element.hidden {
  opacity: 0;
  pointer-events: none;
}

#blurry-element span {
cursor: pointer;
  text-align: center;
  font-size: 2.6vw;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Joyride-Regular', monospace;
  -webkit-text-stroke: 0.12vw rgb(255, 0, 0);
  color: rgb(255, 255, 0);
  position: absolute;
}



@media only screen and (max-width: 600px) {




  .link {
    display: block;
    width: 20vw;
    height: 5vw;
    line-height: 200%;
    text-align: center;
    font-size: 4vw;
    color: rgb(69, 69, 69);
    background-color: #1b1b1b;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Joyride-Regular', monospace;
    -webkit-text-stroke: 0.12vw rgb(255, 0, 0);
    color: rgb(255, 255, 0);
    position: absolute;
  }

  body {
    height: 100px;
    max-height: calc(100vh - 70px);
    overflow: auto;
    background-image: url('../img/essais-trace_4-copie_1.mp4');
    background-color: #4a4a4a;
    z-index: -2;
  }
  
  .video-container {
    width: 100%;
    /* height: 820px;  */
    overflow: hidden;
    z-index: -10;
  }
  
  #bg-video {
    width: 113%;
    height: auto;
    position: relative;
    object-fit: cover;
    top: -6%;
    left: -10%;
  }
  
  h1 {
    padding-block: 4%;
    font-size: 150px;
    margin-top: -14%;
    font-family: 'Joyride-Regular', monospace;
    -webkit-text-stroke: 0.12vw red;
    color: blue;
  }
  
  h3 {
    font-family: 'Joyride-Regular', monospace;
    color: rgb(255, 255, 0);
    -webkit-text-stroke: 0.07vw rgb(255, 0, 0);
  }
  
  .sites {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    align-items: center;
  }
  
  .link {
    display: block;
    width: 40vw;
    height: 10vw;
    line-height: 200%;
    text-align: center;
    font-size: 5.2vw;
    color: rgb(69, 69, 69);
    background-color: #1b1b1b;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Joyride-Regular', monospace;
    -webkit-text-stroke: 0.12vw rgb(255, 0, 0);
    color: rgb(255, 255, 0);
    position: absolute;
  }
  
  .sites .link {
    top: 7.5%;
    left: 2%;
  }
  
  .sites2 .link {
    top: 14%;
    left: 2%;
  }
  
  .sites2 {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    align-items: center;
  }
  
  .sites3 .link {
    top: 90%;
    left: 85%;
    display: block;
    width: 12vw;
    height: 3vw;
    line-height: 160%;
    text-align: center;
    font-size: 1.9vw;
  }
  
  .link:hover {
    background-color: #ffffff;
  }
  
  footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    margin-top: 50px;
    position: absolute;
    bottom: 0;
    width: 100%;
  }
  
  .credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: left;
  }
  
  .credits p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .credits ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .credits li {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  /* #video-container {
    position: relative;
    width: 640*1,5px;
    height: 480*1,5px;
  } */
  
  
  .video-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }
  
  #bg-video {
    width: 200%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
  
  
   #my-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  } 
  
  #video-container2 {
    display: none;
  }
  
  #sound-button {
    z-index: 450;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff00;
    color: #ffffff00;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #sound-button:hover {
    background-color: #0057b300;
  }
  
  #blurry-element {
    width: 80vw;
    height: 140vw;
    background-color: #00000028;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    background-color: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 40px;
  }
  
  
  #blurry-element.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  #blurry-element span {
  cursor: pointer;
    text-align: center;
    font-size: 6.5vw;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Joyride-Regular', monospace;
    -webkit-text-stroke: 0.12vw rgb(255, 0, 0);
    color: rgb(255, 255, 0);
    position: absolute;
  }
















}


