html {
  font-size: 10px;
  scroll-behavior: smooth;
  cursor: url(cursor/cursor.png),default;
}

body {
  margin: 0;
  padding: 0;
}


/*Font*/

@font-face {
  font-family: Authentic-60;
  src: url(font/AUTHENTICSans-Condensed-60.woff2);
}

@font-face {
  font-family: Authentic-90;
  src: url(font/AUTHENTICSans-Condensed-90.woff2);
}

@font-face {
  font-family: Authentic-130;
  src: url(font/AUTHENTICSans-Condensed-130.woff2);
}

@font-face {
  font-family: Authentic-150;
  src: url(font/AUTHENTICSans-Condensed-150.woff2);
}


/*Scrollbar*/


::-webkit-scrollbar {
  width: 25px;
  padding-left: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgb(240, 240, 240);
  border-radius: 50px;
  border-style: solid;
  border-width: 5px;
  ;
}

::-webkit-scrollbar-track {
  background: rgb(240, 240, 240);
}


/*Shake shake shake*/

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-2deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-2deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}


/*Sticky Header + menu */


.header {
  display: flex;
  flex: 10;
  font-family: Authentic-90;
  font-size: 6.5rem;
  padding: 15px;
  justify-content: flex-start;
  background: linear-gradient(rgb(240, 240, 240), rgba(255, 0, 0, 0));
}


@media (max-width: 768px) {
  .header {
    display: none;
  }
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.sticky+.container-work {
  margin-top: 100px;
  padding-top: 155px;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: black;
  text-decoration: underline;
  cursor: url(cursor/cursor.png), auto;
}

.menu a:link {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .menu {
    gap: 10px;
  }
}

/*sticky Header spécial mobile */


.header-mobile {
  display: none;
  flex: 10;
  font-family: Authentic-90;
  font-size: 6.5rem;
  background-color: none;
  padding: 15px;
  justify-content: flex-start;
  font-size: 4em;
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(rgb(240, 240, 240), rgba(255, 0, 0, 0));

}

@media (max-width: 768px) {
  .header-mobile {
    display: flex;
  }
}


/* Les yeux*/

.eyes-container {
  display: flex;
  margin-left: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .eyes-container {
    display: none;
  }
}

.eye-white {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 55px;
  height: 50px;
  border-radius: 50%;
  border-style: solid;
  border-width: 5px;
  background-color: rgb(240, 240, 240);
  margin-left: -15px;
}

.eye-ball {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
}


.eyes-mobile {
  display: none;
  position: fixed;
  top: 2vh;
  left: 75vw;
  width: 70px;
  z-index: 10;
}

@media (max-width: 768px) {
  .eyes-mobile {
    display: block;
  }
}


/*Container général du site*/

.container {
  background-color: rgb(240, 240, 240);
}

/*Container Welcome, composé de texte + header*/

.container-welcome {
  max-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: rgb(240, 240, 240);
}

@media (max-width: 768px) {
  .container-welcome {
    height: 80%;
  }
}


.texte-welcome {
  flex: 90;
  font-family: Authentic-90;
  font-size: 6.5rem;
  background-color: rgb(240, 240, 240);
  padding: 15px;
  letter-spacing: -1px;
  word-spacing: -1px;
}

@media (max-width: 768px) {
  .texte-welcome {
    font-size: 4rem;
    padding-top: 20%;
  }
}



/* Mots ciblés du paragraphe*/

.vert {
  color: rgb(0, 255, 0);
  text-decoration: underline;
}

.vert a:link {
  color: rgb(0, 255, 0);
}

.bleu {
  color: rgb(0, 0, 255);
  text-decoration: underline;
}

.bleu a:link{
  color: rgb(0, 0, 255);
  text-decoration: underline;
}

.rouge {
  color: rgb(255, 0, 0);
  text-decoration: underline;
}


/* Le mot "projet" encerclé sur mobile*/

.project-section {
  display: none;
  height: 5vh;
  background-color: rgb(240, 240, 240);
  justify-content: center;
  align-items: center;
}

.project-section img {
  width: 270px;
}

@media (max-width: 768px) {
  .project-section {
    display: none;
  }
}

/* La grille projet*/

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
  text-decoration: none;
}


.container-grid {
  display: flex;
  flex-direction: column;
  min-height: 84vh;
  max-width: 100vw;
  background-color: rgb(240, 240, 240);
  font-family: Authentic-90;
  font-size: 6.5rem;
  padding-top: 10vh;
  letter-spacing: -1px;
  word-spacing: -1px;

}

@media (max-width: 768px) {
  .container-grid {
    font-size: 3.5rem;
    min-height: 50vh;
    line-height: 40px;
    padding: 15px;
    height: 80%;
  }
}

.row {
  display: flex;
  width: 99%;
}

.part {
  height: 20vh;
}


@media (max-width: 768px) {
  .part {
    height: 15vh;
  }
}

.part-left {
  display: flex;
  flex: 15%;
  align-items: center;
  justify-content: center;
}

.part-left a {
  cursor: url(cursor/cursor.png), auto;
}

.part-left img {
  width: 130px;
  padding-left: 5px;
  padding-right: 5px;
}

@media (max-width: 768px) {
  .part-left img {
    width: 85px;
    padding-left: 15px;
  }
}

.part-middle {
  display: flex;
  flex: 65%;
  flex-direction: column;
  padding-left: 15px;
}


.part-middle a{
  cursor: url(cursor/cursor.png), auto;
}

.row:hover .part-middle-top {
  animation-name: shake;
  animation-duration: 0.7s;
  animation-iteration-count: infinite;
}

.row:hover .part-middle-bottom {
  animation-name: shake;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
}

.row:hover .part-left {
  animation-name: shake;
  animation-duration: 0.7s;
  animation-iteration-count: infinite;
}

.row:hover .part-right {
  animation-name: shake;
  animation-duration: 0.6s;
  animation-iteration-count: infinite;
}

@media (max-width: 768px) {
  .row:hover .part-middle-top {
    animation-name: none;
  }
}

@media (max-width: 768px) {
  .row:hover .part-left {
    animation-name: none;
  }
}

.part-middle-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 60%;
  
}


@media (max-width: 768px) {
  .part-middle-top {
    font-size: 4rem;
    text-transform: none;
    
  }
}

.part-middle-bottom {
  display: flex;
  flex: 40%;
  font-size: 4rem;
  font-family: Authentic-130;
  margin-top: -25px;
}

@media (max-width: 768px) {
  .part-middle-bottom {
    display: none;
    font-size: 1.8rem;
    text-transform: none;
    justify-content: center;
  }
}

.part-right {
  display: flex;
  flex: 20%;
  align-items: center;
  justify-content: center;
}

.part-right a{
  cursor: url(cursor/cursor.png), auto;
}

.part-right img {
  width: 190px;
  padding-left: 5px;
  padding-right: 5px;
}

@media (max-width: 768px) {
  .part-right {
    display: none;
  }
}


/*Pop-up*/


/* Styles pour le bouton d'ouverture */
#openBtn {
  cursor: url(cursor/cursor.png), auto;
}

/* Styles pour la fenêtre pop-up */
.popup-wrapper {
  z-index: 1000;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .pop-wrapper {
  z-index: 1000;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  }
}

.popup-content {
  z-index: 1000;
  position: relative;
  background-color: rgb(240, 240, 240);
  width: 60%;
  height: 60%;
  border-style: solid;
  border-width: 5px;
  font-family: Authentic-90;
  font-size: 6.5rem;
  text-align: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 2%;
  padding-right: 2%;
}

@media (max-width: 768px) {
  .popup-content {
    font-size: 4rem;
    width: 100%;
    height: 60%;
    border-width: 4px;
  }
}

.popup-content a{
  text-decoration: underline;
  color: black;
}

.popup-content a:visited{
  color: black;
}

.popup-content::-webkit-scrollbar {
  display: none;
}

.popup-content img {
  width: 650px;
  padding: 5%;
}

.close-btn img {
  display: none;
}

/*SVG qui suit la souris sur la partie droite de l'écran*/

#svgCursor {
  display: none;
  position: fixed;
  position: absolute;
  pointer-events: none;
  z-index: 1000;
  width: 190px;
  height: 190px;
}
