@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Blur';
  src: url('./fonts/Blur Regular.ttf');
}

* {
  margin: 0;
  padding: 0;
  border: none;
  font-family: 'Karla', sans-serif;
  text-size-adjust: none;
}

a {
  text-decoration: none;
}

a:active, a:focus, a:visited {
  color: #3A00A2 !important;
}

p::selection {
    color: #FFF;
    background-color: #3A00A2;
}

p {
  letter-spacing: -0.4px;
}

video::-webkit-media-controls, video::-moz-media-controls, video::-o-media-controls, video::-ms-media-controls {
  display: none !important; 
}

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

body {
  width: 100vw;
  height: 100vh;
  font-size: 14px;
  background-color: #FFF;
  color: #3A00A2;
  overflow: hidden;
  font-family: 'Karla', sans-serif;
}

div.container {
  position: absolute;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

div#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

div#intro video.background {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s 0.4s;
}

div#intro video.background.show {
  opacity: 1;
}

div#intro div.content {
  /*position: absolute;*/
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div#intro div.content div#logo-big {
  position: relative;
  top: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
}

div#intro div.content div#logo-big img {
  width: 120px;
  height: auto;
}

div#intro div.content div#introduction-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s 0.6s;
  mix-blend-mode: difference;
}

div#intro div.content div#introduction-text-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: 0.4s 0.4s;
  mix-blend-mode: color;
}

div#intro.show div.content div#introduction-text, div#intro.show div.content div#introduction-text-filter {
  opacity: 1;
}

div#intro div.content div.text {
  position: relative;
  width: 100%;
  padding-top: 200px;
  padding-bottom: 200px;
  padding-left: 8vw;
  padding-right: 8vw;
  /*background-image: url(./shapes/ellipse-horizontal.svg);*/
  background-position: center;
  background-size: 90%;
  background-repeat: no-repeat;
  pointer-events: none;
}

div#intro div.text p {
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  padding-left: 150px;
  padding-right: 150px;
  text-shadow: 0px 0px 8px rgba(197, 255, 93, 0.5);
  padding-bottom: 25px;
}

div#intro div#introduction-text div.text p {
  color: #C5FF5D;
}

div#intro div#introduction-text div.text p::selection {
  color: #000;
  background-color: #C5FF5D;
}

div#intro div#introduction-text-filter div.text p {
  color: #3A00A2;
}

div#intro div.content div#button-shop {
  position: absolute;
  bottom: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: 0.4s 0.8s;
}

div#intro.show div.content div#button-shop {
  opacity: 1;
}

div#intro div.content div#button-shop a.button {
  width: 150px;
  height: 150px;
  border-radius: 150px;
  cursor: pointer;
  text-align: center;
}

a.button {
  background-color: #000;
  color: #FFF !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0px 0px 10px 5px rgba(58, 0, 162, 0.25);
  transition: 0.2s;
  transform-origin: center;
  transform: scale(0.98);
}

div#button-shop a.button:hover {
  background-color: #3A00A2;
  transform: scale(1);
  box-shadow: 0px 0px 15px 5px rgba(58, 0, 162, 0.25);
}

/* Home */

div#home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
  z-index: 10;
  opacity: 0;
  display: none;
}

div#home.display {
  display: flex;
}

div#home.show {
  opacity: 1;
}

div.col-2 {
  width: 50%;
}

div#logo-small {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 80px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

div#logo-small.show {
  opacity: 0.5;
  pointer-events: all;
}

div#logo-small img {
  width: 100%;
}

/* List organs */

div#organs {
  background-color: #FFF;
  height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

div#organs::-webkit-scrollbar {
  display: none;
}

div.list {
  padding: 120px;
  opacity: 0;
  transition: 0.2s 0.2s;
}

div#home.show div.list {
  opacity: 1;
}

div.organ {
  position: relative;
  width: 100%;
  cursor: pointer;
}

div.organ div.poster {
  position: relative;
  width: 100%;
  background-color: #ececee;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

div.organ div.poster div.filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 100%;
  background-color: #3A00A2;
  opacity: 0;
  transition: 0.2s;
}

div.filter.screen {
  mix-blend-mode: lighten;
}

div.organ:hover div.poster div.filter {
 opacity: 0.1;
}

div.organ:hover div.poster div.filter.screen {
 opacity: 1;
}

div.organ div.poster video.organ {
  width: 100%;
  transform: scale(0.8);
  transition: 0.4s;
  mix-blend-mode: multiply;
}

div.organ:hover div.poster video.organ {
  transform: scale(1);
}

h1.title {
  font-size: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
  text-transform: uppercase;
  transition: 0.12s;
}

div.organ:hover h1.title {
  text-shadow: 0px 0px 10px rgba(58, 0, 162, 0.5);
}

div.button-arrow-right {
  position: absolute;
  bottom: 15px;
  right: 0;
  width: 50px;
  height: 50px;
  border-radius: 60px;
  background-color: #000;
  background-image: url('./pictos/arrow-right-white.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  box-shadow: 0px 0px 10px 5px rgba(58, 0, 162, 0.25);
  transform: scale(0.95);
  transition: 0.12s;
}

div.organ:hover div.button-arrow-right {
  background-color: #3A00A2;
  transform: scale(1);
}

/* EMI  */

div#emi {
  background-color: #EAEAF9;
  height: 100%;
}

div.emi-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

video.emi {
  position: absolute;
  width: 40%;
  opacity: 0;
  transition: 0.6s 0.2s;
}

div#home.show video.emi {
  opacity: 1;
}

video.on-emi {
  position: absolute;
  width: 40%;
  mix-blend-mode: screen;
  opacity: 0;
  transition: 0.2s;
}

video.emi.white {
  mix-blend-mode: multiply;
}

video.on-emi.show {
  opacity: 1;
}

/* NFT Preview */

div#nfts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: none;
  transition: opacity 0.4s;
  background-color: #ececee;
}

div.nft {
  position: relative;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
  z-index: 10;
  opacity: 0;
  display: none;
  transition: opacity 0.4s;
  background-color: #ececee;
}

div#nfts.display {
  display: block;
}

div#nfts.show {
  opacity: 1;
}

div.nft.display {
  display: flex;
}

div.nft.show {
  opacity: 1;
  transition: 0.4s !important;
}

div.nft-details {
  position: relative;
  background-color: #FFF;
  height: 100%;
  display: flex;
  align-items: center;
}

div.nft-details div.content {
  padding: 100px;
}

div.nft-details p {
  font-size: 20px;
  margin-bottom: 25px;
}

div.nft-details h1 {
  padding-top: 0;
}


a.button.buy-nft {
  position: absolute;
  right: 0;
  transform: scale(1) translate(50%);
  width: 100px;
  height: 100px;
  border-radius: 100px;
  z-index: 1000;
}

a.button.buy-nft:hover {
  width: 105px;
  height: 105px;
  background-color: #3A00A2;
}

div.nft-preview {
  background-color: #ececee;
  height: 100%;
}

div.nft-preview-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ececee;
}

video.nft-video {
  position: absolute;
  width: 100%;
  background-color: #ececee;
  opacity: 0;
  transition: 0.6s 0.2s;
}

div.nft.show video.nft-video {
  opacity: 1;
}

div.emi-mobile {
  display: none;
}

div#back-to-organs {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 20px;
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 1000;
}

div#back-to-organs a {
  display: flex;
  align-items: center;
  transition: 0.2s;
}

div#back-to-organs a:hover {
  text-shadow: 0px 0px 5px rgba(58, 0, 162, 0.25);
}

div#back-to-organs a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background-image: url('./pictos/arrow-left-purple.svg');
  background-repeat: no-repeat;
}


/* Credits Page */

div#credits-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
  z-index: 10;
  opacity: 0;
  display: none;
  transition: 0.4s;
  z-index: 100000;
}

h2 {
  font-family: 'Blur';
  letter-spacing: 0;
  margin-bottom: 25px;
  font-size: 20px;
}

h3 {
  font-family: 'Blur';
  font-size: 15px;
  text-transform: uppercase;
}

div#credits-page.display {
  display: flex;
}

div#credits-page.show {
  opacity: 1;
}

div#credits-content {
  position: relative;
  background-color: #FFF;
  height: 100%;
  display: flex;
  align-items: center;
}

div#credits-content div.content {
  padding: 100px;
}

div#credits-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

div#credits-content a {
  padding-bottom: 0;
  border-bottom: 1px solid rgba(58, 0, 162, 0.5);
  transition: 0.2s;
}

div#credits-content a:hover {
  border-bottom: 1px solid rgba(58, 0, 162, 0);
  text-shadow: 0px 0px 5px rgba(58, 0, 162, 0.25);
}

/* Skeleton */

div#skeleton {
  background-color: #EAEAF9;
  height: 100%;
}

div.skeleton-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

video.skeleton {
  position: absolute;
  width: 60%;
  opacity: 0;
  transition: 0.6s 0.2s;
}

div#credits-page.show video.skeleton {
  opacity: 1;
  mix-blend-mode: darken;
}

/* Credits button */

div#credits {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 20px;
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 1000;
}

div#credits a {
  transition: 0.2s;
  opacity: 0.5;
}

div#credits a:hover {
  text-shadow: 0px 0px 5px rgba(58, 0, 162, 0.25);
  opacity: 1;
}

p.credits-list {
  line-height: 1.4;
}

div#credits-back {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 20px;
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 100000;
}

div#credits-back a {
  display: flex;
  align-items: center;
  transition: 0.2s;
}

div#credits-back a:hover {
  text-shadow: 0px 0px 5px rgba(58, 0, 162, 0.25);
}

div#credits-back a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background-image: url('./pictos/arrow-left-purple.svg');
  background-repeat: no-repeat;
}

/* Responsive */

/* Extra small devices and small devices (phones, 768px and down) */
@media only screen and (max-width: 768px) {

  body {
    overflow: scroll;
  }

  div.container {
    position: relative;
  }

  div.col-2 {
    width: 100%;
  }

  div#credits-page, div#home {
    flex-wrap: wrap;
  }

  /* Fonts Size */

  h1.title {
    font-size: 20px;
  }

  h2 {
    font-size: 16px;
  }

  div#credits-content p {
    font-size: 16px;
  }

  h3 {
    font-size: 13px;
  }

  /* Intro */

  div#intro div.content div#logo-big {
    top: 20px;
  }

  div#intro div.content div#logo-big img {
    width: 100px;
  }

  div#introduction-text {
    mix-blend-mode: normal !important;
  }

  div#intro div#introduction-text div.text p {
    color: #3A00A2 !important;
  }

  div#introduction-text-filter {
    visibility: hidden !important;
  }

  div#intro div.text p {
    font-size: 22px;
    padding-left: 2vw;
    padding-right: 2vw;
  }

  div#intro div.content div#button-shop a.button {
    width: 100px;
    height: 100px;
  }

  a.button {
    font-size: 14px;
  }

  div#logo-small {
    top: 20px;
    right: 20px;
    width: 60px;
    z-index: 10000;
  }

  /* Home  */

  div.list {
    margin-top: 50px;
    margin-bottom: 25px;
    padding: 40px;
  }

  div.button-arrow-right {
    width: 40px;
    height: 40px;
    bottom: 17.5px;
    background-size: 40%;
  }

  div.organ:hover div.poster div.filter {
   opacity: 0;
  }

  div.organ:hover div.poster div.filter.screen {
   opacity: 0;
  }

  /* NFTS */

  div#nfts {
    flex-wrap: wrap;
    position: relative;
  }

  div#nfts.display {
    display: flex;
  }

  div.nft {
    flex-wrap: wrap;
    height: auto;
    z-index: 1000;
  }

  div.nft-details {
    height: auto;
    order: 2;
    z-index: 1000;
    align-items: flex-start;
  }

  div.nft-details div.content {
    padding: 30px;
    background-color: #FFF;
    width: 100%;
  }

  a.button.buy-nft {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 80px;
    height: 80px;
    z-index: 10000;
  }

  a.button.buy-nft:hover {
    width: 100px;
    height: 100px;
  }

  div.nft-preview {
    height: 100vw;
    order: 1;
  }

  video.nft-video {
    transition: 0s;
  }

  div.organ div.poster video.organ {
    filter: blur(0);
    transform: scale(1.0);
  }

  div#back-to-organs {
    position: relative;
    background-color: #EAEAF9;
    margin: 0;
    bottom: 0;
    padding: 20px;
    font-size: 12px;
    width: 100%;
    order: 4;
    z-index: 100;
  }

  div#emi {
    position: relative;
    display: none;
    z-index: 100;
  }

  div#emi.display {
    display: flex;
  }

  video.emi {
    opacity: 1;
    height: 80%;
    width: auto;
    top: 15%;
  }

  video.on-emi {
    height: 80%;
    width: auto;
    top: 15%;
  }

  div#nfts {
    overflow: scroll;
  }

  div.emi-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    order: 3;
    background-color: #EAEAF9;
    padding-top: 14vh;
    padding-bottom: 3vh;
  }

  div.emi-mobile video {
    width: 60%;
    mix-blend-mode: darken;
  }

  a.button.buy-nft:hover {
    width: 90px;
    height: 90px;
  }

  /* Credits */

  div#credits-content div.content {
    padding: 20px;
  }

  div#credits {
    z-index: ;
  }

  div#credits, div#credits-back {
    margin: 10px;
    padding: 10px;
    font-size: 12px;
  }

  div#credits-content {
    align-items: flex-start;
  }

  div#skeleton {
    display: flex;
    position: fixed;
    background-color: #FFF;
    mix-blend-mode: darken;
    opacity: 0.6;
  }

  video.skeleton {
    height: 100%;
    width: auto;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  div#intro div.text p {
    font-size: 25px;
    padding-left: 2vw;
    padding-right: 2vw;
  }

  div#intro div.content div#logo-big img {
    width: 100px;
  }

  div#intro div.content div#button-shop a.button {
    width: 130px;
    height: 130px;
  }

  a.button {
    font-size: 16px;
  }

  div.list {
    padding: 5vw;
  }

  video.emi, video.on-emi {
    width: auto;
    height: 70%;
  }

  div.nft-details div.content {
    padding: 50px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  div#intro div.text p {
    font-size: 28px;
    padding-left: 100px;
    padding-right: 100px;
  }

  div#intro div.content div#logo-big img {
    width: 110px;
  }

  div#intro div.content div#button-shop a.button {
    width: 140px;
    height: 140px;
  }

  a.button {
    font-size: 16px;
  }

  div.list {
    padding: 8vw;
  }

  div.nft-details div.content {
    padding: 80px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  div#intro div.text p {
    font-size: 32px;
    padding-left: 150px;
    padding-right: 150px;
  }

  div#intro div.content div#logo-big img {
    width: 120px;
  }

  div#intro div.content div#button-shop a.button {
    width: 150px;
    height: 150px;
  }

  a.button {
    font-size: 18px;
  }

  div.list {
    padding: 10vw;
  }

  div.nft-details div.content {
    padding: 100px;
  }
}