@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Ubuntu:wght@300;400;500;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #141823;
  display: flex;
  flex-direction: row;
  justify-content: center;
  overflow-y: hidden;
  overflow-x: hidden;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.cursor {
  z-index: -2;
  background: radial-gradient(rgba(29, 78, 216, 0.15), transparent 50%);
  width: 800px;
  height: 800px;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, -50%);
}

header.col1 {
  width: 24%;
  display: flex;
  justify-content: center;
  height: 100vh;
  position: fixed;
  left: 0;
}

header.col1 svg.menu-line {
  height: 100vh;
  position: absolute;
  z-index: -1;
}

header.col1 nav {
  font-family: "Ubuntu";
  font-size: calc(18px + 0.1vw);
  height: 70.6vh;
  padding-top: 9.7vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

header.col1 nav a {
  color: #91a3c1;
  position: relative;
  text-align: center;
  font-weight: 400;
}

header.col1 nav a.active {
  font-weight: 600;
}

header.col1 nav a::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  position: absolute;
  background: #fff;
  transition: 0.2s ease-in-out;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%);
}

header.col1 nav a.active::after,
header.col1 nav a:focus::after,
header.col1 nav a:hover::after {
  width: 5px;
  height: 5px;
  margin-top: 2px;
  outline: none;
}

header.col1 nav a:active,
header.col1 nav a:focus {
  color: #fff;
  outline: none;
}

header.col1 nav a:hover {
  color: #fff;
  outline: none;
  font-weight: 600;
}

div.col2 {
  width: 27%;
  padding-top: 13vh;
  position: fixed;
  left: 24%;
}

div.col2 {
  width: 25%;
  padding-top: 13vh;
}

div.col2 div.nom {
  color: #91a3c1;
  margin-bottom: 14vh;
}

div.col2 div.nom h1 {
  color: #eaeaf9;
  font-family: Montserrat;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: calc(28px + 0.2vw);
}

div.col2 div.nom p {
  color: #eaeaf9;
  font-family: Montserrat;
  font-weight: normal;
  font-size: calc(14px + 0.1vw);
}

div.col2 h2 {
  color: #fff;
  font-size: calc(18px + 0.2vw);
  padding-top: 10vh;
  font-family: Montserrat;
  cursor: default;
}

div.col2 nav.nav-secondaire li {
  margin: 0 0 35px 0;
}

div.col2 nav.nav-secondaire a {
  color: #eaeaf9;
  font-family: Montserrat;
  font-weight: bold;
  text-transform: uppercase;
  font-size: calc(16px + 0.1vw);
  display: flex;
  align-items: center;
}

div.col2 nav.nav-secondaire a::before {
  content: "";
  display: inline-block;
  height: 10px;
  width: 0;
  background-color: #eaeaf9;
  transition: 0.2s ease-in-out;
  border-radius: 10px;
}

div.col2 nav.nav-secondaire a:hover::before,
div.col2 nav.nav-secondaire a:active::before,
div.col2 nav.nav-secondaire a:focus::before {
  content: "";
  height: 5px;
  width: 5px;
  margin-right: 20px;
}

div.col2 nav.nav-secondaire.nav-resume,
div.col2 nav.nav-secondaire.nav-projects {
  display: none; /* Deviens flex onClick */
  flex-direction: column;
}

div.col3 {
  width: 50%;
  height: 100%;
  padding: 13vh 5% 13vh 30px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.col3::before,
div.col3::after {
  content: "";
  display: block;
  background-image: url(/img/shape.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 100px;
  width: 6%;
  position: absolute;
}

div.col3::before {
  top: 6vh;
  left: -1vw;
}

div.col3::after {
  bottom: 6vh;
  left: -1vw;
  transform: scaleY(-1);
}

div.col3 .container {
  overflow-y: scroll;
  max-height: 74vh;
  padding-right: 40px;
  scroll-behavior: smooth;
}

div.col3 .container::-webkit-scrollbar {
  width: 10px;
}

div.col3 .container::-webkit-scrollbar-track {
  background-color: transparent;
}

div.col3 .container::-webkit-scrollbar-thumb {
  background-color: #1e293f;
  border-radius: 10px;
}

div.col3 .container > div.all > div:first-of-type,
div.col3 .container > div.all > div.first {
  padding-top: 0;
  border-top: 0;
}

div.col3 p,
div.col3 div {
  color: #eaeaf9;
  font-family: Montserrat;
  font-size: calc(14px + 0.2vw);
  line-height: 2;
}

div.col3 p,
div.col3 div strong {
  color: #fff;
}

div.col3 .container > div p:not(:last-of-type),
div.col3 .container > div h2 {
  margin-bottom: 27px;
}

div.col3 .container > div h2 span,
div.col3 .container > div h3 span {
  font-size: calc(10px + 0.1vw);
}

div.col3 .about,
div.col3 .experience,
div.col3 .project {
  padding: 60px 0;
  border-top: 1px solid #1e293f;
  transition: 0.3s;
}

div.col3 .experience {
  display: none; /* deviens flex onClick*/
  flex-wrap: wrap;
  justify-content: flex-end;
}

div.col3 .experience span.annees {
  width: 30%;
  font-weight: bold;
  padding-top: 5px;
  padding-right: 20px;
}

div.col3 .experience > div {
  width: 70%;
}

div.col3 .experience > div .logo-list {
  background-color: #eaeaf9;
  border-radius: 10px;
  margin-top: 30px;
  display: flex;
  padding: 10px;
  width: auto;
  justify-content: space-around;
}

div.col3 .experience > div .logo-list span {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  margin: 0 10px;
  display: block;
}

/* logos compétences web */

div.col3 .experience > div .logo-list span.wordpress {
  background-image: url(./img/logos/icon-wordpress.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.html {
  background-image: url(./img/logos/icon-html.svg);
  height: 30px;
  width: 50px;
}
div.col3 .experience > div .logo-list span.css {
  background-image: url(./img/logos/icon-css.svg);
  height: 30px;
  width: 50px;
}
div.col3 .experience > div .logo-list span.sass {
  background-image: url(./img/logos/icon-sass.svg);
  height: 30px;
  width: 50px;
}
div.col3 .experience > div .logo-list span.js {
  background-image: url(./img/logos/icon-javascript.svg);
  height: 30px;
  width: 30px;
}

/* logos compétences audiovisuels */

div.col3 .experience > div .logo-list span.premierepro {
  background-image: url(./img/logos/icon-premiere-pro.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.finalcut {
  background-image: url(./img/logos/icon-final-cut-pro.png);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.aftereffect {
  background-image: url(./img/logos/icon-after-effects.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.davinci {
  background-image: url(./img/logos/icon-davinci-resolve.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.protools {
  background-image: url(./img/logos/icon-protools.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.lightroom {
  background-image: url(./img/logos/icon-adobe-lightroom.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.photoshop {
  background-image: url(./img/logos/icon-adobe-photoshop.svg);
  height: 30px;
  width: 30px;
}

/* logos compétences design */

div.col3 .experience > div .logo-list span.xd {
  background-image: url(./img/logos/icon-adobe-xd.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.illustrator {
  background-image: url(./img/logos/icon-adobe-illustrator.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.figma {
  background-image: url(./img/logos/icon-figma.svg);
  height: 30px;
  width: 60px;
}
div.col3 .experience > div .logo-list span.indesign {
  background-image: url(./img/logos/icon-adobe-indesign.svg);
  height: 30px;
  width: 30px;
}

/* logos compétences gestion de projets */

div.col3 .experience > div .logo-list span.monday {
  background-image: url(./img/logos/icon-monday.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.wrike {
  background-image: url(./img/logos/icon-wrike.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.trello {
  background-image: url(./img/logos/icon-trello.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.microsoft {
  background-image: url(./img/logos/icon-microsoft-365.svg);
  height: 30px;
  width: 30px;
}
div.col3 .experience > div .logo-list span.slack {
  background-image: url(./img/logos/icon-slack.svg);
  height: 30px;
  width: 30px;
}

div.col3 .project {
  display: none; /* deviens flex onClick*/
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #1e293f;
}

div.col3 .project a.video,
div.col3 .project a.thumbnail {
  display: block;
  width: 50%;
}

div.col3 .project video,
div.col3 .project a.thumbnail img {
  width: 100%;
  border-radius: 20px;
}

div.col3 .project div.project-infos {
  width: 50%;
  padding: 0 0 0 5%;
}

div.col3 .project div.project-infos h3 {
  margin-bottom: 10px;
}

div.col3 .container > div .skills {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 25px;
}

div.col3 .container > div .skills span {
  background-color: #eaeaf9;
  margin-right: 15px;
  border-radius: 50px;
  font-size: calc(14px + 0.1vw);
  font-weight: 600;
  color: #1e293f;
  padding: 7px 20px;
}

@media screen and (max-width: 1200px) {
  body {
    position: relative;
    display: block;
    overflow-y: scroll;
  }

  body .cursor {
    display: none;
  }

  header.col1 {
    width: 100%;
    position: relative;
    top: 0;
    display: block;
    height: 10vh;
    padding-top: 4vh;
  }

  header.col1 svg {
    display: none;
  }

  header.col1 nav {
    padding: 0;
    height: auto;
    flex-direction: row;
  }

  div.col2,
  div.col3 {
    width: 100%;
    position: relative;
    padding: 30px;
    left: 0;
  }

  div.col2 div.nom {
    margin: 50px auto;
  }

  div.col2 .nom h1 {
    font-size: calc(28px + 2vw);
    text-align: center;
  }

  div.col2 .nom p {
    font-size: calc(16px + 0.1vw);
    text-align: center;
  }

  div.col2 nav.nav-secondaire.nav-resume,
  div.col2 nav.nav-secondaire.nav-projects {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }

  div.col2 nav.nav-secondaire.nav-resume li,
  div.col2 nav.nav-secondaire.nav-projects li {
    padding: 0 15px;
  }

  div.col2 nav.nav-secondaire.nav-resume li a,
  div.col2 nav.nav-secondaire.nav-projects li a {
    font-size: calc(14px + 0.1vw);
    text-decoration: underline;
  }

  div.col3::before,
  div.col3::after {
    display: none;
  }

  div.col3 .container {
    padding: 30px;
    background: #1e293f;
    border-radius: 30px;
  }

  div.col3 .container::-webkit-scrollbar-thumb {
    background-color: transparent;
  }
}

@media screen and (max-width: 800px) {
  div.col3 .all > div {
    flex-direction: column;
  }

  div.col3 .about,
  div.col3 .experience,
  div.col3 .project {
    border-top: 1px solid #475979;
  }

  div.col3 .about {
    padding-bottom: 0;
  }

  div.col3 .all div {
    width: 100% !important;
    padding-left: 0 !important;
  }

  div.col3 .project a.video,
  div.col3 .project a.thumbnail {
    width: 100%;
    margin-bottom: 30px;
  }

  div.col3 .container > div .skills {
    justify-content: space-between;
    margin-top: 45px;
  }

  div.col3 .competences span.annees {
    width: 100%;
    font-size: calc(18px + 0.3vw);
    margin-bottom: 30px;
  }

  div.col3 .experience span.annees {
    color: #5f9ea0;
  }

  div.col3 .container > div .skills {
    flex-direction: column;
    margin-top: 30px;
  }

  div.col3 .container > div .skills span {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 550px) {
  div.col2 nav.nav-secondaire.nav-resume,
  div.col2 nav.nav-secondaire.nav-projects {
    flex-direction: column;
  }

  div.col2 nav.nav-secondaire.nav-resume li a,
  div.col2 nav.nav-secondaire.nav-projects li a {
    justify-content: center;
  }

  div.col2 nav.nav-secondaire.nav-resume li:last-of-type,
  div.col2 nav.nav-secondaire.nav-projects li:last-of-type {
    margin-bottom: 0;
  }
}
