
.nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;

  background-color: black;
  color: white;
}

body, a, button, input, label, [onclick] {
  cursor: none !important; /*enlève le curseur sous sur la page et les hovers*/
}
iframe {
  pointer-events: auto; /* permet le hover dans l'iframe */
}
/*canva pr la souris*/
#comet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: 9999; /*comme ça bien au fond */
  background: transparent;
}

/*souris perso*/
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);

  background: crimson;

  /* effet néon */
  box-shadow:
    0 0 5px crimson,
    0 0 15px crimson,
    0 0 30px crimson;

  /* animation onde permanente */
  animation: neonPulse 1.5s infinite ease-in-out;
}
.cursor.white {
  background-color: white;
}

/* onde qui pulse en permanence */
@keyframes neonPulse {
  0% {
    box-shadow:
      0 0 5px crimson,
      0 0 15px crimson,
      0 0 30px crimson;
  }
  50% {
    box-shadow:
      0 0 10px crimson,
      0 0 25px crimson,
      0 0 50px crimson;
  }
  100% {
    box-shadow:
      0 0 5px crimson,
      0 0 15px crimson,
      0 0 30px crimson;
  }
}

/* éclaboussure au clic */
.ripple {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border: 2px solid crimson;

  animation: splash 0.6s ease-out forwards;
}

@keyframes splash {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

.interpages {
  margin: 100px 0px;
  padding-left: 25px;
  display: flex;
  justify-content: space-between;
}

header {
  display: flex;
  position:absolute;
}
#logo {
  margin: 10px 0px 0px 30px;
  width: 120px;
  height: 120px;
}
#logo>a {
  display: inline-block;
  width: 120px;
  height: 120px;
}
#redirProjets {
  margin: 55px 0px 0px 54vw;
  width: 110px;
  height: 35px;
}
#redirParcours {
  margin: 55px 0px 0px 80px;
  width: 135px;
  height: 35px;
}
#redirAPropos {
  margin: 55px 0px 0px 60px;
  width: 135px;
  height: 35px;
}



#videoMainPage {
  top: 0;
  left: 0;
  width: 100%;
  height: 960px;
  z-index: -1;
}

article {
  margin: 20px 0px 200px 0px;
}
h1{
  font-size: 80px;
  text-align: center;
  padding: 50px 0px;

  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
}
article>h2 {
  margin-left: 150px;
}
article>div {
  margin: 0px 0px 50px 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
article p {
  margin-right: 50px;
  max-width: 30%;
  font-size: 120%;
}
article p>span {
  color: darkred;
  font-weight: 700;
}
.preview-site {
  max-width: 1200px;
  margin: 0 auto;
}

.preview-site iframe {
  width: 100%;
  height: 600px;
  border-radius: 12px;
}


/*carrousel Machine Virtuelle*/
.containerCarrousel {
  margin-top: 100px;
  width: 734px;
  height: 552px;
  overflow: hidden;
}

.carrousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carrouselInner {
  display: flex;
  overflow: hidden;
  height: 100%;
  flex-wrap: nowrap;  /*empêche les images de se mettre sur pls lignes*/
}

.slidesCarrousel {
  flex: 0 0 100%;
  height: 100%;
  transition: .5s ease-in-out;
}

.slidesCarrousel img {
  width: 100%;
  height: 100%;
}



/*mini Folder workspace BD*/
.hidden {
  display: none;
}

#workspace {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  background: black;
  border: 2px solid #b40fc3;
  padding: 10px;

  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

.header {
  display: flex;
  justify-content: space-between;
  
  padding: 5px;
  background: red;
  color: black;

  margin-bottom: 10px;
  border-radius: 5px;

  font-weight: 700;
}

.folder {
  cursor: pointer;
  margin: 6px 0;
}

.file {
  margin-left: 15px;
}

img {
  width: 120px;
  margin: 5px;
  display: block;
}

pre {
  background: #222;
  color: #0f0;
  padding: 10px;
  max-height: 200px;
  overflow: auto;
}

#toggleWorkspace {
  margin-right: 200px;  
  background-color: red;
  border-radius: 10px;
  border: 4px double #b40fc3;
  color: black;
  text-align: center;
  width: 400px;
  padding: 10px;
  transition: all 0.5s;
  cursor: pointer;

  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-size: 120%;
}
#toggleWorkspace:hover {
  background-color: #b40fc3;
  border: 4px double #ff0000;
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: rgba(0,0,0,0.9);
  border: 2px solid #333;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  z-index: 1000;
  padding: 10px;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup.hidden {
  display: none;
}

#popupContent img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #fff;
}
#popup button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
}


#videoShogi {
  width: 525px;
  height: 590px;
}

.graphicDesign {
  color: purple;
}
.graphicDesign:hover{
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.overlay {
  position: absolute;
  bottom: 120%; /* position au-dessus du mot */
  left: 50%;
  transform: translateX(-50%);
  width: 200px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay img {
  width: 100%;
  border-radius: 10px;
}
.graphicDesign:hover .overlay {
  opacity: 1;
}


#CV {
  border-radius: 5px;
  text-align: center;
}
#CV a {
  padding: 10px;
  border: 2px solid red;
  text-decoration: none;
  color: red;
}
#CV img {
  display: block;
  margin: 0 auto;
  width: 80vh;
}
