body {
  margin: 0;
}

* {
 cursor: none;
}

* {
  font-family: "Helvetica", "Arial", sans-serif;
  box-sizing: border-box;
}

.container {
  position: fixed;
  background-color: ivory;
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-gap: 10px;

  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: 2fr 7fr 1fr;
  grid-template-areas: ' . . . . header . . . .                                         '
                       ' .      . contenu contenu contenu contenu contenu .      .      '
                       ' footer footer footer footer footer footer footer footer footer ';
  justify-items: stretch;
  align-items: center;
  justify-content: start;
}

.header {
  grid-area: header;
  display: flex;
  flex-direction: column;

}
#name {
  font-weight: bolder;
}

#basicInfos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  padding: 10px;
  height: 60px;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}
#advancedInfos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  padding: 10px;
  /* height: 60px; */
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.projectList {
  grid-area: contenu;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr 1fr;
  grid-template-areas: 'IA algorithms'
                       'cellularAutomaton others';
}

.projectList > div {
  display: flex;
  flex-direction: column;
}

.footer {
  grid-area: footer;
  /* color: white; */
}

.typeProjects {
  background-color: rgba(255, 255, 255, 0.95);
  color: black;
  padding: 10px 20px;
  margin-bottom: 2px;
  font-family: monospace;
  font-weight: bolder;
}

.projectLink:link, .projectLink:visited {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
}
.projectLink:link:not(:last-child), .projectLink:visited:not(:last-child) {
  border-bottom: 1px solid #dadde1;
}


.IA, cellularAutomaton {
  grid-area: IA;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}
.cellularAutomaton {
  grid-area: cellularAutomaton;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}
.algorithms {
  grid-area: algorithms;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}
.others {
  grid-area: others;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

@@keyframes cacher {
  from{
    display: none;
  }
  to{
    display: block;
  }
}

/* #myCanvas{
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
} */

#mouseCanvas {
  position: absolute;
  /* width: 100%; */
  /* height: 100%; */
  /* z-index: 4; */
  pointer-events: none;
}

.icon {
  padding-left: 15px;
}

.blurred{
  animation-name: blur;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes blur {
  from{filter: blur(0px);}
  to {filter: blur(1px);}
  /* from{padding: 10px 20px;}
  to {padding: 5px 10px;} */
}




@media (max-width: 920px) {
  .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 7fr 1fr;
    grid-template-areas: ' header '
                         ' contenu '
                         ' footer ';
    justify-items: stretch;
    align-items: center;
    justify-content: start;
  }
}

@media (min-width: 920px) and (max-width: 1600px) {
  .container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 2fr 7fr 1fr;
    grid-template-areas: ' . . . header header header header . . .                                '
                         ' .      . contenu contenu contenu contenu contenu contenu .      .      '
                         ' footer footer footer footer footer footer footer footer footer footer ';
    justify-items: stretch;
    align-items: center;
    justify-content: start;
  }
}

@media (min-width: 1600px) and (max-width: 2200px) {
  .container {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: 2fr 7fr 1fr;
    grid-template-areas: ' . . . . header header header . . . .                                         '
                         ' .      . contenu contenu contenu contenu contenu contenu contenu .      .      '
                         ' footer footer footer footer footer footer footer footer footer footer footer ';
    justify-items: stretch;
    align-items: center;
    justify-content: start;
  }
}


@media (min-width: 2200px) {
  .container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 2fr 7fr 1fr;
    grid-template-areas: ' . . . . header header . . . .                                         '
                         ' .      . contenu contenu contenu contenu contenu contenu .      .      '
                         ' footer footer footer footer footer footer footer footer footer footer ';
    justify-items: stretch;
    align-items: center;
    justify-content: start;
  }
}
