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

h1, h2, h3, h4 {
  font-family: "IBM Plex Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  font-family: "Inter", sans-serif;
}

main {
  padding-top: 11vh; /* matches your navbar height */
}

section {
  scroll-margin-top: 11vh;
  width: 100%;
  min-height: 89vh;
  color: var(--text);
  padding: 10vh 0;
  /*border-bottom: 0.1rem solid var(--text2);*/
}

p {
  color: var(--text2);
}

:root {
  --bg: white;
  --text: rgb(29, 29, 29);
  --text2: rgb(66, 66, 66);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181717;
    --text: rgb(230, 227, 227);
    --text2: rgb(105, 105, 100);
  }
}
nav {
  position: fixed;
  z-index: 100000000;
  height: 11vh;
  width: 100%;
  background-color: var(--bg);
  border-bottom: 0.1rem solid var(--text2);
  display: grid;
  grid-template-columns: 6fr 1fr 1fr 1.5fr 1.5fr 1fr;
}
nav .navTitle {
  display: flex;
  align-items: center;
  justify-self: start;
  padding-left: 1rem;
  gap: 1rem;
  height: 11vh;
}
nav .navTitle img {
  height: 90%;
}
nav a {
  place-self: center;
  text-decoration: none;
  color: var(--text);
  font-size: large;
  font-weight: bold;
}
nav div {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav div #competences {
  color: var(--text);
  font-size: large;
  font-weight: bold;
}
nav div .menu {
  opacity: 0;
  flex-direction: column;
  gap: 0.5rem;
  background: white;
  border-bottom: 0.1rem solid black;
  padding: 0.3rem;
  position: absolute;
  top: calc(11vh - 0.1rem); /* position finale directement */
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
nav div .menu::before {
  content: none;
}
nav div:hover .menu {
  opacity: 1;
  transform: translateY(0);
}

#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10%;
}
#home h1 {
  margin-top: 9%;
}
#home h2 {
  color: #8a8a8a;
}
#home h3 {
  margin-bottom: 1rem;
  font-size: xx-large;
}
#home article {
  align-self: flex-end;
  width: 70%;
  margin: 10% 10%;
}
#home article p {
  width: 100%;
  text-align: center;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}

#about {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#about article {
  width: 60%;
  margin: 0 10%;
  margin-bottom: 15vh;
}
#about article h1 {
  margin-bottom: 1rem;
}
#about article p {
  text-align: justify;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}
#about article p strong {
  color: var(--text2);
  font-size: x-large;
}
#about .float-left {
  align-self: flex-start;
}
#about .float-right {
  align-self: flex-end;
}

#project {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#project > p {
  width: 80%;
  text-align: justify;
  margin-top: 5vh;
  margin-bottom: 8vh;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
  text-indent: 2em;
}
#project .cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.6%;
  width: 100%;
}
#project .cards article {
  display: flex;
  flex-direction: column;
  width: 25%;
  height: 35vw;
  background-color: var(--bg);
  border: 0.1rem solid var(--text2);
  border-radius: 1rem;
  transition: transform 0.5s;
}
#project .cards article img {
  width: 90%;
  margin: 5%;
  margin-bottom: 5%;
  border-radius: 5%;
  align-self: center;
}
#project .cards article h2 {
  margin-left: 9%;
  font-size: large;
}
#project .cards article p {
  margin-top: 0.5rem;
  width: 90%;
  text-align: left;
  margin-left: 5%;
  flex: 1;
}
#project .cards article .tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 0.2rem;
  width: 80%;
  margin: 1.5rem 9%;
}
#project .cards article .tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  padding: 0.75rem;
  font-weight: bold;
  background-color: rgba(168, 85, 247, 0.2);
  border: 0.1rem solid rgba(168, 85, 247, 0.3019607843);
  border-radius: 5%;
  font-size: small;
}
#project .cards article .more {
  display: grid;
  grid-template-columns: 3fr 1fr;
  width: 90%;
  margin-left: 3%;
  margin-bottom: 8%;
  height: 2.25rem;
}
#project .cards article .more button {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: rgb(192, 132, 252);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#project .cards article .more a {
  color: rgb(192, 132, 252);
  text-decoration: none;
  background-color: rgba(168, 85, 247, 0.2);
  border: 1px solid #e5e7eb;
  border-radius: 5%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#project .cards article:hover {
  transform: scale(1.1);
}

#skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20vh 0;
}
#skills > p {
  width: 80%;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 8vh;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}
#skills .skill-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex: 1;
  margin-top: 5vh;
}
#skills .skill-bar article {
  width: 25vw;
  height: 5vw;
  display: grid;
  grid-template-columns: 1fr 3fr;
}
#skills .skill-bar article img {
  width: 90%;
  height: 90%;
  -o-object-fit: contain;
     object-fit: contain;
  place-self: center;
}
#skills .skill-bar article div {
  align-self: center;
  width: 100%;
}
#skills .skill-bar article div div {
  margin-bottom: 0.3rem;
}
#skills .skill-bar article div div .skill-name {
  font-weight: bold;
}
#skills .skill-bar article div div .skill-level {
  float: right;
}
#skills .skill-bar article div .bar {
  width: 100%;
  height: 0.5rem;
  background-color: var(--text2);
  border-radius: 1rem;
}
#skills .skill-bar article div .bar .fill {
  height: 100%;
  background-color: rgb(192, 132, 252);
  border-radius: 1rem;
}

#skills:not(.visible) .fill {
  width: 0;
  transition: width 0.5s ease;
}

#skills.visible .bar .fill {
  width: var(--target);
  transition: width 3s ease;
}

#experience {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#experience > p {
  width: 60%;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 8vh;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}

#education {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#education > p {
  width: 80%;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 8vh;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}
#education article {
  width: 60%;
  height: 18vw;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 7.5fr;
  border: 0.1rem solid rgb(102, 0, 133);
  border-radius: 1rem;
  margin: 0 10%;
  margin-bottom: 5vh;
}
#education article .edu-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 0.1rem solid rgb(102, 0, 133);
  background-color: rgba(97, 12, 153, 0.233);
}
#education article .edu-left img {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  border: 0.1rem solid black;
  margin-bottom: 0.5rem;
}
#education article .edu-right {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: rgba(90, 2, 141, 0.068);
}
#education article .edu-right .edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#education article .edu-right .edu-header .edu-year {
  height: 1.8rem;
  padding: 0 0.5rem;
  margin: 0;
  float: right;
  border-radius: 2rem;
  border: 0.1rem solid rgb(102, 0, 133);
  background-color: rgba(97, 12, 153, 0.233);
  color: rgb(66, 0, 128);
  align-content: center;
  font-size: x-small;
  font-weight: bold;
}
#education article .edu-right h3 {
  margin: 0.4rem 0;
  font-weight: 600;
  font-size: 30;
  color: rgb(66, 0, 128);
}
#education article .edu-right .line {
  height: 0.1rem;
  width: 70%;
  background-color: rgb(102, 0, 133);
}
#education article .edu-right p {
  margin-top: 0.5rem;
  color: rgb(80, 80, 80);
}
#education article .edu-right .edu-button {
  height: 10%;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
  align-self: flex-end;
  gap: 1.5rem;
}
#education article .edu-right .edu-button .edu-diploma {
  height: 180%;
  padding: 0 0.7rem;
  align-content: center;
  font-size: medium;
  font-weight: 550;
  border-radius: 0.2rem;
  border: 0.1rem solid rgb(102, 0, 133);
  background-color: rgba(90, 2, 141, 0.075);
  cursor: pointer;
}
#education article .edu-right .edu-button .edu-website {
  height: 180%;
  padding: 0 0.7rem;
  font-size: medium;
  font-weight: 550;
  color: rgb(66, 0, 128);
  border: none;
  background: none;
  align-content: center;
  text-decoration: none;
}
#education article {
  transition: transform linear 250ms;
}
#education article:hover {
  transform: scale(1.05);
}

#certification {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20vh 0;
}
#certification > p {
  width: 80%;
  text-align: center;
  margin-top: 5vh;
  margin-bottom: 8vh;
  font-size: large;
  font-weight: bold;
  color: #8a8a8a;
}
#certification .cert {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
#certification .cert article {
  height: 40vh;
  width: 20%;
  border: 0.1rem solid black;
  border-radius: 0.5rem;
}
#certification .cert article .cert-top {
  height: 50%;
  width: 100%;
  border-bottom: 0.1rem solid black;
}
#certification .cert article .cert-top img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#certification .cert article .cert-top {
  transition: filter linear 250ms;
}
#certification .cert article .cert-bottom {
  height: 50%;
  width: 100%;
  padding: 5%;
  display: flex;
  flex-direction: column;
}
#certification .cert article .cert-bottom h2 {
  font-size: large;
}
#certification .cert article .cert-bottom h3 {
  margin-top: 0.2rem;
  font-size: medium;
  color: #8a8a8a;
}
#certification .cert article .cert-bottom div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 3%;
}
#certification .cert article .cert-bottom div span {
  font-weight: bold;
  margin-left: 0.5rem;
}
#certification .cert article .cert-bottom div button {
  height: 180%;
  padding: 0 0.7rem;
  font-size: medium;
  font-weight: 550;
  border-radius: 0.2rem;
  border: 0.1rem solid rgb(102, 0, 133);
  background-color: rgba(90, 2, 141, 0.075);
}
#certification .cert article .cert-bottom div button:hover {
  cursor: pointer;
  transform: scale(1.1);
}
#certification .cert article .cert-bottom div button {
  transition: transform ease 250ms;
}
#certification .cert article {
  transition: transform linear 250ms;
}
#certification .cert article:hover {
  transform: scale(1.05);
}
#certification .cert article:hover .cert-top {
  filter: blur(2px) brightness(0.95);
}

.scrollBlur {
  animation: scrollBlurAnimation linear both;
  animation-timeline: view();
}

@keyframes scrollBlurAnimation {
  0% {
    filter: blur(40px);
    opacity: 0;
  }
  20%, 70% {
    filter: blur(0);
    opacity: 1;
  }
  100% {
    filter: blur(40px);
    opacity: 0;
  }
}
.scrollPopLeft {
  animation: scrollPopLeftAnimation both;
  animation-timeline: view();
}

@keyframes scrollPopLeftAnimation {
  from {
    filter: blur(10px);
    transform: translateX(-1000px);
    opacity: 0.2;
  }
  50% {
    filter: blur(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.scrollPopRight {
  animation: scrollPopRightAnimation both;
  animation-timeline: view();
}

@keyframes scrollPopRightAnimation {
  from {
    filter: blur(10px);
    transform: translateX(1000px);
    opacity: 0.2;
  }
  50% {
    filter: blur(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.ui-window {
  position: fixed;
  top: 50px;
  left: 150px;
  width: 80vw;
  height: 46.4vw;
  display: none; /* hidden by default */
  border-radius: 0.3rem;
  border: 0.1rem solid black;
  background-color: var(--bg);
  z-index: 20000000000;
  overflow: hidden;
  transition: none;
}
.ui-window .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  height: 6%;
  width: 100%;
  padding: 0 1rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: grab;
}
.ui-window .top-bar .top-bar-name {
  place-content: center;
  font-family: Arial, sans-serif;
  font-weight: 600;
  color: white;
}
.ui-window .top-bar .top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ui-window .top-bar .top-bar-actions button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ui-window .top-bar .top-bar-actions button:hover {
  cursor: pointer;
  transform: scale(1.2);
}
.ui-window .top-bar .top-bar-actions button {
  transition: transform linear 100ms;
}
.ui-window .top-bar .top-bar-actions .action-one {
  background-color: #54FFCC;
  font-size: large;
  font-weight: bold;
  padding: 0.1rem;
}
.ui-window .top-bar .top-bar-actions .action-two {
  background-color: #FFD154;
  font-size: small;
  font-weight: bold;
}
.ui-window .top-bar .top-bar-actions .action-three {
  background-color: #FF51D1;
  font-weight: bold;
}
.ui-window .main {
  width: 100%;
  height: 94%;
}
.ui-window .main img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-user-drag: none;
}
.ui-window.fullscreen {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}/*# sourceMappingURL=main.css.map */