@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap");
html {
  scroll-behavior: smooth;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}

body {
  background-color: #ededed;
}

p, h1, h3 {
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: #051129;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.header .navbar a {
  display: inline-block;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}
.header .navbar a:hover {
  color: #0ef;
}
.header .burger {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
@media screen and (max-width: 1250px) {
  .header .navbar a {
    display: none;
  }
  .header .burger {
    display: block;
  }
}

.subnavbar {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: #0e337d;
  z-index: 100;
}
.subnavbar .navbar {
  display: flex;
  flex-direction: column;
}
.subnavbar .navbar a {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.subnavbar .navbar a:hover {
  color: #0ef;
}

.subnavbar.show {
  display: block;
  animation: slideBottom 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.logo {
  position: relative;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  animation: slideRight 1s ease forwards;
}

main {
  background-color: #081b29;
  padding: 70px 10% 0;
}

.home {
  margin-top: 50px;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.home .profile-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home .profile-image img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .home {
    grid-template-columns: 1fr;
  }
}

.home-content h3 {
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
}
.home-content h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.7s;
}
.home-content h1 {
  font-size: 45px;
  font-weight: 700;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
  margin-bottom: 10px;
}
.home-content p {
  font-size: 25px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}

.home-sci {
  display: flex;
  justify-content: space-evenly;
}
.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #0ef;
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  margin: 30px 15px 30px 0;
}
.home-sci a:hover {
  background-color: #0ef;
  color: #081b29;
}

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border-radius: 40px;
  font-size: 16px;
  color: #0ef;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;
  border: 2px solid #0ef;
}

.btn-box:hover {
  color: black;
  background: #0ef;
  transition: 0.5s ease;
}

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
@keyframes slideTop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
#competences, #creations, #parcours, #contact {
  scroll-margin-top: 30px;
  text-align: center;
  padding: 50px 0;
}
#competences span, #creations span, #parcours span, #contact span {
  font-size: 36px;
  font-weight: bold;
  color: #0ef;
}
#competences hr, #creations hr, #parcours hr, #contact hr {
  width: 50px;
  height: 3px;
  background: #0ef;
  margin: 10px auto;
  border: none;
}
#competences a, #creations a, #parcours a, #contact a {
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  color: #0ef;
  text-decoration: none;
  transition: 0.3s;
}
#competences a:hover, #creations a:hover, #parcours a:hover, #contact a:hover {
  color: #fff;
}

#competencesDiv, #creationsDiv, #parcoursDiv {
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
  flex-wrap: wrap;
}
#competencesDiv div, #competencesDiv a, #creationsDiv div, #creationsDiv a, #parcoursDiv div, #parcoursDiv a {
  text-decoration: none;
  background: #051129;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 30%;
  min-width: 260px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}
#competencesDiv div img, #competencesDiv a img, #creationsDiv div img, #creationsDiv a img, #parcoursDiv div img, #parcoursDiv a img {
  max-width: 200px;
  width: calc(100% - 40px);
  margin-bottom: 10px;
}
#competencesDiv div p, #competencesDiv a p, #creationsDiv div p, #creationsDiv a p, #parcoursDiv div p, #parcoursDiv a p {
  font-size: 25px;
  width: 100%;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
#competencesDiv a:hover, #creationsDiv a:hover, #parcoursDiv a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.8);
}

#contactDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contactDiv div {
  background: #051129;
  padding: 20px;
  margin: 10px 0;
  width: 98%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
  text-align: center;
}
#contactDiv div p {
  width: 100%;
  font-size: 25px;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
#contactDiv div a {
  margin: 0 10px;
}
#contactDiv div a img {
  max-width: 200px;
  width: calc(100% - 40px);
  transition: 0.3s;
}
#contactDiv div a img:hover {
  transform: scale(1.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}
.competencesDiv, .creationsDiv, .parcoursDiv, .contactDiv {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.competencesDiv:not(.animate),
.creationsDiv:not(.animate),
.parcoursDiv:not(.animate),
.contactDiv:not(.animate) {
  animation: fadeOutDown 0.8s ease-out forwards;
}

.imageProfile {
  margin-top: 0px;
  width: 450px;
}

/*# sourceMappingURL=stylesheet.css.map */
