/* Variables couleurs */
:root {
  --blanc: #fcfcfc;
}

/* Ne fonctionne pas sur tous les navigateurs */
body::-webkit-scrollbar {
  width: 13px;
}

body::-webkit-scrollbar-track {
  background: #fff;
  margin: 5px;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: #62CFEA;
  border: 2px solid #fff;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #D81C1F;
}

body::-webkit-scrollbar-thumb:active {
  background-color: #b5171a;
}


/* Polices */
@font-face {
  src: url(fonts/Retro.ttf);
  font-family: Retro;
}
@font-face {
  src: url(fonts/JosefinSlab.ttf);
  font-family: Jose;
}
@font-face {
  src: url(fonts/Fredoka.ttf);
  font-family: Fredoka;
}

@font-face {
  src: url(fonts/yoster.ttf);
  font-family: Yoster;
}

p {
  font-family: Fredoka;
  color: #fcfcfc;
}

a {
  font-family: Fredoka;
  color: #fcfcfc;
}

h2 {
  font-family: Jose;
  color: #fcfcfc;
  font-size: 45px;
  display: block;
  text-align: center;
}

h3 {
  font-family: Jose;
}

html,body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  /* background: linear-gradient(#e6e6e6, #f2f2f2, #fff) no-repeat; */
  background: linear-gradient(to right bottom, #7faaf5, #6d9ef3, #4684ee);
  width: 100%;
  min-height: 100%;
  background-attachment: fixed;
  background-size: cover;
}

#main-content {
  width: 100%;
  min-height: 100%;
  background-attachment: fixed;
  background-size: cover;
}

#main-content:not(#nav-bar){
  display: grid;
  place-items: center;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  Left: 0;
  width: 100%;
  height: 100%;
}

/* ON CLICK */
.circle {
  position: absolute;
  transform: translate(-50%,-50%);
  background: url('images/binary.png');
  border-radius: 30%;
  animation: clickCircle 0.3s linear forwards;

}

@keyframes clickCircle {
  0% {
    width: 80px;
    height: 80px;
    opacity: 100%;
  }
  100% {
    width: 75px;
    height: 75px;
    opacity: 0%;
  }
}

/* CHARGEMENT... */
.loading-wrapper {
  opacity: 1;
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4684ee;
  /* Couleur de fond du chargement */
  display: grid;
  place-items: center;
  transition: 1s;
}
#loaderP {
  font-family: Retro;
  display: inline-block;
}
#loaderS {
  font-family: Fredoka;
  color: #fcfcfc;
  font-size: 25px;
  margin-top: -160px;
}
.loader {
  color: var(--blanc);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-weight: bold;
  font-size: 50px;
  opacity: 0.8;
}
.loader span {
  display: inline-block;
  font-size: 70px;
  -webkit-animation: pulse 0.4s alternate infinite ease-in-out;
  animation: pulse 0.4s alternate infinite ease-in-out;
}
.loader span:nth-child(odd) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
@-webkit-keyframes pulse {
  to {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.5;
  }
}
@keyframes pulse {
  to {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.5;
  }
}
/* Spinner Loader */
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spinner-large {
  animation: spinner 1s linear infinite;
  width: 5rem;
  height: 5rem;
  border-width: 5.5px;
  border-top-color: #00ccff;
  border-left-color: #ff3333;
  border-bottom-color: rgba(0,0,0,.1);
  border-right-color: rgba(0,0,0,.1);
  border-style: groove double double groove;
  border-radius: 50%;
  box-sizing: border-box;
}
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  width:100%;
  height:100%;
}

#ImgDuHaut {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(images/oui.png)no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

#tag {
  display: none;
  position: fixed;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: auto;
  z-index: 100000000;
}

/* BARRE DE NAV */
#nav-bar {
  position: fixed;
  left: 0;
  right: 0;
  margin: auto;
  width: 805px;
  height: 57px;
  z-index: 100;
  display: none;
  backdrop-filter: blur(15px);
  background-color: rgb(255, 255, 255,.02);
  border-radius: 15px;
  list-style: none;
  transition: .6s;
  opacity: 0;
}

#inline-nav-logo {
  margin-right: -15px;
  width: 200px;
  height: auto;
  filter: drop-shadow(0px 5px 10px #1a1a1a);
}

.inline-nav:not(:nth-child(1)):not(:nth-child(6)){
  display: inline-block;
  border-right: 1.1px solid var(--blanc);
  padding: 15px;
}

.inline-nav:hover:not(:nth-child(1)) {
  background-color: rgb(255, 255, 255,.3);
  border-radius: 15px;
  border-right: 1.1px solid transparent;
  transition: .3s;
}

.inline-nav:nth-child(1){
  display: inline-block;
  padding-left: 5px;
  padding-right: 15px;
}

.inline-nav:nth-child(6){
  display: inline-block;
  padding: 15px;
  padding-left: 5px;
  padding-right: 15px;
}

.a-nav-bar {
  padding-top: 20px;
  padding-bottom: 18px;
  margin-bottom: 0px;
  text-decoration: none;
  color: #fcfcfc;
  font-family: Fredoka;
}

/* ONGLET 2 */
#onglet2 {
  display: none;
  width: 80%;
  padding: 20px;
  margin-top: 800px;
  margin-bottom: 50px;
  border-top: solid 1.3px rgba(0,0,0,0.8);
  border-left: solid 1.3px rgba(0,0,0,0.4);
  padding-top: 25px;
  place-items: center;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
  border-radius: 30px;
  background: url(images/bug-background.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.placeholder {
  margin: auto;
  width: 650px;
  height: auto;
  display: flex;
  margin-top: 40px;
  margin-bottom: 20px;
  border-radius: 20px;
}

/* ONGLET 1 */
#onglet1 {
  display: none;
  width: 80%;
  padding: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: solid 1.3px rgba(0,0,0,0.8);
  border-left: solid 1.3px rgba(0,0,0,0.8);
  padding-top: 25px;
  place-items: center;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
  border-radius: 30px;
  background: url(images/bug-background.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

/* ONGLET 3 */
#onglet3 {
  display: none;
  margin-top: 50px;
  width: 80%;
  padding: 20px;
  margin-bottom: 50px;
  border-top: solid 1.3px rgba(0,0,0,0.8);
  border-left: solid 1.3px rgba(0,0,0,0.4);
  padding-top: 25px;
  place-items: center;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
  border-radius: 30px;
  background: url(images/bug-background.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

/* ONGLET 4 */
#onglet4 {
  display: none;
  width: 80%;
  padding: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: solid 1.3px rgba(0,0,0,0.8);
  border-left: solid 1.3px rgba(0,0,0,0.4);
  padding-top: 25px;
  place-items: center;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
  border-radius: 30px;
  background: url(images/bug-background.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

#container-carte-onglet4 {
  margin-top: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#container-carte-onglet4 .card {
  position: relative;
  width: 240px;
  height: 350px;
  margin: 30px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: solid 1px rgba(255,255,255,0.5);
  border-left: solid 1px rgba(255,255,255,0.5);
}

#container-carte-onglet4 .card .card-content {
  padding: 20px;
  text-align: center;
  transform: translateY(200px);
  opacity: 1;
  transition: 0.5s;
}

#container-carte-onglet4 .card .card-content1 {
  transform: translateY(190px);
}

#container-carte-onglet4 .card .card-content2 {
  transform: translateY(160px);
}

#container-carte-onglet4 .card .card-content4 {
  transform: translateY(170px);
}

#container-carte-onglet4 .card:hover .card-content {
  transform: translateY(0px);
}

#container-carte-onglet4 .card .card-content img {
  border-radius: 50%;
  width: 100px;
  height: auto;
  position: absolute;
  top: -225px;
  right: 20px;
  pointer-events: none;
}

#container-carte-onglet4 .card .card-content h3 {
  font-size: 1.8em;
  color: var(--blanc);
  z-index: 1;
}

#container-carte-onglet4 .card .card-content h6 {
  position: absolute;
  top: -140px;
  right: 35px;
  text-align: center;
  font-family: Jose;
  font-size: 35px;
  color: rgba(255, 255, 255, 0.15);
}

#container-carte-onglet4 .card:hover .card-content h6 {
  color: rgba(0, 0, 0, 0);
  transition: .6s;
}

#container-carte-onglet4 .card .card-content p {
  font-size: 1em;
  color: var(--blanc);
}

/* ONGLET 5 */
#onglet5 {
  display: none;
  width: 80%;
  padding: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: solid 1.3px rgba(0,0,0,0.8);
  border-left: solid 1.3px rgba(0,0,0,0.4);
  padding-top: 25px;
  place-items: center;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4));
  border-radius: 30px;
  background: url(images/bug-background.png) center no-repeat;
  background-size: cover;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

#txt-download {
  display: grid;
  place-items: center;
  margin: 20px;
  margin-bottom: 0px;
}

.button{
  margin: 50px;
  font-family: Fredoka;
  color: var(--blanc);
  font-size: 20px;
  border: none;
  border-radius: 15px;
  background-color: #4da6ff;
  padding: 20px;
  text-decoration: none;
}

.button:hover {
  background-color: #0066cc;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.button:active {
  background-color: #004d99;
}

#DownloadIMG {
  display: inline;
  margin-left: 8px;
  margin-bottom: -8px;
  width: 25px;
  filter: invert(100%);
}

/* FLECHE HAUT */

.btn {
  width: 25px;
  padding: 10px;
  background-color: #2dc4f6;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 20px;
  bottom: 20px;
  transition: all .5s;
  filter: opacity(30%);
}

.btn:hover {
  background-color: #0abaf5;
  animation: rond-carre .5s;
  filter: opacity(100%);
}

@keyframes rond-carre {
  15%  {
    border-radius:10px 10px 10px 10px;
    background: #09a8dc;

  }
  25%  {
    border-radius:10% 10% 10% 10%;
    background: #0895c4;
  }
}

#secretIMG {
  opacity: 0.5;
  position: absolute;
  width: 180px;
  height: auto;
  bottom: 50px;
  right: 0;
  display: none;
}

#UnlockIMG {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: auto;
  transition: all .5s;
}

#ReverseIMG {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: auto;
  transition: all .5s;
}

#EasterEgg {
  background: url(images/bug-secret.png)repeat;
  background-size: contain;
  background-position: 0 0;
  transition: .6s;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
  animation: scrollInfini 25s linear infinite;
  opacity: 0.7;
  box-shadow: 0 0 200px rgba(0,0,0,1) inset;
}

@keyframes scrollInfini {
  0% {
    background-position: 0 0;
  }
/*use negative width if you want it to flow right to left else and positive for left to right*/
  100% {
    background-position: 0 10000px;
  }
}

#PressToEsc {
  display: none;
  position: fixed;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -50%);
  color: #ff3333;
  text-align: center;
  font-size: 25px;
  font-family: Yoster;
  transition: all .5s;
  z-index: 100000000;
}


/*              ,_)/
            (-'
         .-'\
           "'\'"""""'),
             )/---,(
             / \  / |              */
