/* defaults */

/* vw = largeur de l'écran 
vh = hauteur de l'écran*/

html,
body {
  margin: 0;
  padding: 0;
  /* background-color: black; */
}

body {
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-rows: auto;
  background-color: black;
}

p {
  font-family: monospace;
}

/* @import url(https://fonts.googleapis.com/css?family=Roboto:400, 900); */
body,
html {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  background-color: black;
}

.circlemouse {
  position: absolute;
  border: solid 2px;
  border-color: rgba(255, 124, 124, 0.527);
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/************
SECTION 1
************/
#home {
  grid-row: 1;
  min-height: 100vh;

  display: grid;
  grid-template-columns: repeat(10, 10%);
  grid-template-rows: repeat(10, 10%);
}

.title {
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: right;
  /* Vertical */
  font-size: 2vw;
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 1/2;
  grid-row: 1/2;
  padding: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate 10s linear infinite;
  /* transition-timing-function: ease; */
}


@keyframes animate
{
  0%
  {
    transform: translateY(5px) rotate(1deg);
  }
  25%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  50%
  {
    transform: translateY(-5px) rotate(1deg);
  }
  75%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  100%
  {
    transform: translateY(5px) rotate(1deg);
  }
}

.title2 {
  z-index: 1;
  display:flex;
  /* Horizontal */
  justify-content:right;
  /* Vertical */
  font-size: 2vw;
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 1/2;
  grid-row: 6/7;
  padding: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate2 10s linear infinite;
}


@keyframes animate2
{
  0%
  {
    transform: translateY(5px) rotate(1deg);
  }
  25%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  50%
  {
    transform: translateY(-5px) rotate(1deg);
  }
  75%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  100%
  {
    transform: translateY(5px) rotate(1deg);
  }
}

.title3 {
  z-index: 1;
  display:flex;
  /* Horizontal */
  justify-content:right;
  /* Vertical */
  font-size: 2vw;
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 1/11;
  grid-row: 10/11;
  padding-left: 20px;
  padding-top: 35px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate3 10s linear infinite;
}


@keyframes animate3
{
    0%
    {
      transform: translateY(5px) rotate(1deg);
    }
    25%
    {
      transform: translateY(0px) rotate(-1deg);
    }
    50%
    {
      transform: translateY(-5px) rotate(1deg);
    }
    75%
    {
      transform: translateY(0px) rotate(-1deg);
    }
    100%
    {
      transform: translateY(5px) rotate(1deg);
    }
}

.sous-title1{
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: flex-start;
  /* Vertical */
  align-items: center;
  font-size: 2vw;
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 8/11;
  grid-row: 1/2;
  padding-left: 120px;
  padding-bottom: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate4 10s linear infinite;
}

@keyframes animate4
{
  0%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  25%
  {
    
    transform: translateY(5px) rotate(1deg);
  }
  50%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  75%
  {
   
    transform: translateY(5px) rotate(1deg);
  }
  100%
  {
    transform: translateY(0px) rotate(-1deg);
  }
}

.sous-title2{
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: flex-start;
  /* Vertical */
  align-items: center;
  font-size: 2vw;
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 8/11;
  grid-row: 10/11;
  padding: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate5 10s linear infinite;
}

@keyframes animate5
{
  0%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  25%
  {
    
    transform: translateY(5px) rotate(1deg);
  }
  50%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  75%
  {
   
    transform: translateY(5px) rotate(1deg);
  }
  100%
  {
    transform: translateY(0px) rotate(-1deg);
  }
}


.text-01 {
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: right;
  padding-left: 20%;
  /* Vertical */
  /* align-items: right; */
  /* font-size: 1.2vw; */
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 4/5;
  grid-row: 5/6;
  padding: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate7 10s linear infinite; 
}

.text-01:hover {
  color: rgb(183, 0, 255);
  cursor: pointer;
 }

@keyframes animate7
{
  0%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  25%
  {
    
    transform: translateY(5px) rotate(1deg);
  }
  50%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  75%
  {
   
    transform: translateY(5px) rotate(1deg);
  }
  100%
  {
    transform: translateY(0px) rotate(-1deg);
  }
}

.text-02 {
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: flex-start;
  /* Vertical */
  align-items: center;
  /* font-size: 1.2vw; */
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  grid-column: 7/8;
  grid-row: 7/8;
  padding: 20px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate6 10s linear infinite; 
}
.text-02:hover {
  color: rgb(183, 0, 255);
  cursor: pointer;
 }

@keyframes animate6
{
  0%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  25%
  {
    
    transform: translateY(5px) rotate(1deg);
  }
  50%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  75%
  {
   
    transform: translateY(5px) rotate(1deg);
  }
  100%
  {
    transform: translateY(0px) rotate(-1deg);
  }
}

/* pp {
  align-items: center;
  font-size: 1em;
  grid-column: 1/3;
  grid-row: 4/9;.
  color: rgb(204, 204, 204);
  padding: 20px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0em;
} */

/* PHONE */
.planet-container {
  width:10%;
  position: absolute;
  top:45%;
  left:45%;

  /* display: block;
  margin-left: auto;
  margin-right: auto; */
}

/* .planet2-container {
  grid-column: 5/11;
  grid-row: 4/8;
} */
/* 




/* FIN SECTION 1 */

/* DEBUT SECTION 2 */
#page2 {
  background-color: rgb(0,0,0);
  display: block;
  grid-template-columns: repeat(10, 10%);
  grid-template-rows: repeat(10, 10%);
  width: 100%;
  height: 100%;;
}

.minitxt-01 {
  /* background-color: red; */
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: center;
  /* Vertical */
  align-items: center;
  /* font-size: 1vw; */
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  height:auto;
  grid-column: 1/11;
  padding-top: 20px;
  margin:0px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate11 10s linear infinite;
  /* transition-timing-function: ease; */
}


@keyframes animate11
{
  0%
  {
    transform: translateY(10px) rotate(1deg);
  }
  25%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  50%
  {
    transform: translateY(-10px) rotate(1deg);
  }
  75%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  100%
  {
    transform: translateY(10px) rotate(1deg);
  }
}

#ellipseBox{
/* position: absolute; */


}
.ellipse:hover{
  stroke: blueviolet;
  cursor: pointer;
      stroke-width: 10 !important;

 }

 
 .ellipse-1 {
     stroke: rgb(204, 204, 204);

 }
 
 
 .ellipse-2 {
     stroke: rgb(204, 204, 204);

 }
 
 .ellipse-3 {
     stroke: rgb(204, 204, 204);
 
 }
 
 .ellipse-4 {
     stroke: rgb(204, 204, 204);
 
 }

#fullorbits {
  min-height: 300px;
  min-width: 300px;
  height: 100vh;
  width: 100vw;
  grid-column: 1/10;
  grid-row: 1/10;

  /* pour pas qu'on clique dessus mais en dessous */
  pointer-events: none;
}

.p1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1em;
  overflow: hidden;
  color: #000;
  /* background: linear-gradient(90deg, #000, rgba(197, 94, 94, 0.61), #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 7s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0); */
  grid-column: 2/6;
  grid-row: 2/4;
}
.p2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1em;
  overflow: hidden;
  color: #000;
  /* background: linear-gradient(90deg, #000, rgba(197, 94, 94, 0.61), #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 7s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0); */
  grid-column: 4/9;
  grid-row: 6/7;
}

.orbites {
  /* display: grid; */
  width: 100%;
  height: 100%;
}


#orbit-text {
  color:rgb(204, 204, 204);
  padding-left: 20px;
  padding-top: 20px;
  position: relative;
  line-height: 18px;
  height: 0;
  overflow: visible;
  bottom: 70vh;
  left:0;
  width : 30%;
  grid-column: 2/5;
  grid-row: 3/6;
  /* grid-column: 1/5;
  grid-row: 2/8; */
}

/* Phone
@media (max-width: 480px) {  
  #orbit-text {
  color:rgb(204, 204, 204);
  padding-left: 20px;
  padding-top: 20px;
  position: relative;
  line-height: 18px;
  height: inherit;
  overflow: visible;
  bottom: 0vh;
  left:0;
  width : 100%;
  grid-column: 2/5;
  grid-row: 3/6;

  }
} */


@media (max-width: 910px) {
  #orbit-text {
      color:rgb(204, 204, 204);
      padding-left: 20px;
      padding-top: 20px;
      position: relative;
      line-height: 18px;
      height: inherit;
      overflow: visible;
      bottom: 0vh;
      left:0;
      width : 90%;
   
    
    
      }
  }
}




#orbit-num {
  cursor: pointer;
  grid-column: 1/11;
  grid-row: 10/11;
  display: flex;
  justify-content: flex-end;
}

canvas {
  grid-column: 1/11;
  grid-row: 1/11;
  pointer-events: none;
}

.button-orbit:hover {
  background-color: rgba(197, 94, 94, 0.61);
}

.button-orbit {
  padding: 30px;
  font-family: 'IBM Plex Mono', monospace;

  font-size: 1em;
  height: auto;
  border: 1px solid black;
  min-width: 20px;
  display: flex;
  margin-right: 20px;
  margin-bottom: 20px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

/* @keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
} */


/* \ */

/* DEBUT SECTION 3 */

#page3 {
  background-color: rgb(204, 204, 204);
  display: grid;
  grid-template-columns: repeat(10, 10%);
  grid-template-rows: repeat(10, 10%);
}

.main {
  grid-column: 4/7;
  grid-row: 4/8;
  width: 20em;
  height: 20em;
  border: 1px solid black;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 50%;
}

/* .circle {
  width: 40px;
  height: 40px;
  grid-column: 4/7;
  grid-row: 4/8;
  background: linear-gradient(
    90deg,
    rgba(255, 16, 16, 0.61),
    rgba(197, 94, 94, 0.61),
    rgb(255, 202, 152)
  );
  border-radius: 50%;
  top: 10em;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  margin: auto;
  animation: circle 6s linear infinite;
}

@keyframes circle {
  0% {
    transform: rotate(0deg) translate(-165px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translate(-165px) rotate(-360deg);
  }
} */
/* FIN SECTION 3 */

/* DEBUT SECTION 4 */

#page4 {
  background-color: black;
  /* display: grid; */
  grid-template-columns: repeat(10, 10%);
  grid-template-rows: repeat(10, 10%);
}


.container-section-4 {
  color: rgb(204, 204, 204);
  display: inline-block;
  grid-column: 1/11;
  grid-row: 1/11;
}

.minitxt-02 {
  /* background-color: red; */
  z-index: 1;
  display: flex;
  /* Horizontal */
  justify-content: center;
  /* Vertical */
  align-items: center;
  /* font-size: 1vw; */
  text-transform: uppercase;
  color: rgb(204, 204, 204);
  height:auto;
  grid-column: 1/11;
  padding-top: 20px;
  margin:0px;
  line-height: 80%;
  font-family: 'IBM Plex Mono', monospace;
  animation: animate10 10s linear infinite;
  /* transition-timing-function: ease; */
}


@keyframes animate10
{
  0%
  {
    transform: translateY(10px) rotate(1deg);
  }
  25%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  50%
  {
    transform: translateY(-10px) rotate(1deg);
  }
  75%
  {
    transform: translateY(0px) rotate(-1deg);
  }
  100%
  {
    transform: translateY(10px) rotate(1deg);
  }
}

#mathematician-text {
  padding-left: 10px;
  padding-top: 30px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1em;
  letter-spacing: 1em;
  line-height: 200%;
  color: rgb(204, 204, 204);
}

.hide-sentence {
  transition: all 0.1s ease;
}

.important-word {
  transition: all 0.1s ease;
}

circle {
  padding-left: 0px;
  fill: rgb(183, 0, 255);
  cx: 40;
  cy: 40;
  animation: moving-circle 15s forwards infinite linear;
}
.circle:hover {
  fill: rgb(204, 204, 204);

 }

@keyframes moving-circle {
  0% {
    cx: -45;
  }
  25% {
    cy: 60; 
  }
  50% {
    cy: 40;
  }
  75% {
    cy: 60;
  }
  100% {
    /* fill: rgb(204, 204, 204); */
    cx: 330;
  }
}

/* FIN SECTION 4 */

/* Phone */
@media (max-width: 480px) {
}
/* Tablet */
@media (max-width: 768px) {
}
/* desktop */
@media (max-width: 1024px) {
}
/* big-desktop */
@media (max-width: 1201px) {
}
