main .hero {
  height: calc(100vh - var(--header-height));
  width: 100%;
  position: relative;
  padding-top: 0;
  min-height: 700px;
}

main .hero .section-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: auto;
  position: relative;
}

main .hero .section-wrapper .content-container {
  height: fit-content;
  position: relative;
  display: flex;
  width: 100%;
}

main .hero .mouse-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 15px;
}

main .hero .mouse-container .mouse {
  width: 25px;
  height: 35px;
  border: 2px solid #333;
  border-radius: 60px;
  cursor: pointer;
}

main .hero .mouse-container .mouse::before {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  border-radius: 50%;
  opacity: 1;
  animation: 1.3s infinite wheel;
  -webkit-animation: 1.3s infinite wheel;
}

@keyframes wheel {
  to {
    opacity: 0;
    top: 27px;
  }
}

main .hero .left .rounded-border {
  width: clamp(250px, 40vw, 480px);
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.4784313725);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: end;
  background-color: #010b25;
  overflow: hidden;
  position: relative;

  background: var(--linear-loading-gradient);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;

}

@media (min-width: 768px) and (max-width: 1200px) {
  main section.hero .left {
    flex-shrink: 1;
    width: 45%;
  }

  main section.hero .left .rounded-border {
    min-width: unset;
    min-height: unset;
  }

  body main section.hero .left .rounded-border img.profile-picture {
    width: 100%;
    height: auto;
  }

  main section.hero .right {
    flex-grow: 1;
    padding-left: 15px;
  }

  main section.hero .right .intro-text h1 span.small {
    display: block;
  }

  main section.hero .right .post-text {
    font-size: 25px;
    align-items: center;
  }
}

@media (max-width: 880px) and (min-width: 700px) {
  main section#home.hero {
    min-height: 1000px;
  }

  main section#home.hero .section-wrapper {
    padding: 30px 0;
  }

  main section#home.hero .section-wrapper .content-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  main section#home.hero .section-wrapper .content-container .left {
    width: 75%;
  }

  main section#home.hero .section-wrapper .content-container .right {
    width: 75%;
  }

  main section.hero .right .post-text {
    align-items: center;
  }
}

/* Keyframes pour le mouvement */
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

main .hero .left .rounded-border span.square-form {
  display: block;
  width: 10px;
  height: 10px;
  background-color: purple;
  /* #07f */
  position: absolute;
  bottom: 10px;
  transform: rotate(45deg);
  transition: 0.3s;
  z-index: 5;
}

main .hero .left .rounded-border img.profile-picture {
  display: block;
  width: 100%;
  z-index: 0;
  transition: 0.1s ease-in-out;
  height: 100%;
  object-fit: cover;
}

main .hero .left .rounded-border:hover span.square-form {
  transition: 0.3s;
  transform: translateY(-90%);
  width: fit-content;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 19%;
  border-radius: 50px;
}

main .hero .left .rounded-border:hover span.square-form::after {
  content: "I'm a Process lover ! ";
  background-color: transparent;
  transition: 0.3s;
  line-height: 20px;
  padding: 10px;
  font-family: Montserrat, serif;
  height: 60%;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: white;
}

main .hero .right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;

  @media (min-width: 1000px) {
    padding-left: 30px;
  }
}

main .hero .right .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  max-width: 600px;
  gap: 50px;
}

main .hero .right .intro-text {
  display: flex;
  flex-direction: column;
  height: fit-content;
  justify-content: space-between;
}

main .hero .right .intro-text h1 {
  font-size: max(3vw, 40px);
}

main .hero .right .intro-text h1 span.small {
  font-weight: 500;
  font-size: 30px;
}

main .hero .right .intro-text h1 div span.small {
  font-size: 30px;
}

main .hero .right .intro-text h1 span.big {
  font-size: 50px;
}

main .hero .right .intro-text h1 .f-letter {
  color: transparent;
  background: linear-gradient(25deg, #00b7ff, #ba3de0, #a70101);
  -webkit-background-clip: text;
  background-clip: text;
  animation: bg-move 2s ease-in-out infinite alternate-reverse;
}

main .hero .right .intro-text h1 img {
  width: 50px;
  position: relative;
  top: 6px;
  margin-left: 10px;
  transform: rotate(-25deg);
  animation: hello 2s 2 linear reverse;
  transform-origin: bottom;
  user-select: none;
  transition: 0.5s;
}

main .hero .right .intro-text h1 img:hover {
  animation: hello 0.7s 2 ease-in-out alternate-reverse;
}

@keyframes hello {
  from {
    transform: rotate(-20deg);
  }

  to {
    transform: rotate(30deg);
  }
}

@keyframes bg-move {
  from {
    background-size: 100%;
  }

  to {
    background-size: 300%;
  }
}

.contact-me .wrapper .left form button:focus,
.contact-me .wrapper .left form button:hover {
  background-color: #01b179;
  box-shadow: 0 2px 10px 0 #00fcac;
}

main .hero .right .post-text {
  display: flex;
  align-items: end;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  min-height: 34px;
  font-size: 30px;
  font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
}

main .hero .right .post-text .effect-wrapper {
  display: flex;
  gap: 5px;
  height: -moz-fit-content;
  height: fit-content;
  min-height: 30px;
  border: none;
  border-right: 2px solid #020216;
  animation: 0.75s step-end infinite blink;
  margin-left: 5px;
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #333;
  }
}

main .hero .right .line-container {
  gap: 10px;
  align-items: center;
  height: 100%;
  display: flex;
}

main .hero .right .line-container span.line {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('./../images/svg/line-wave.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-color: rgba(111, 0, 255, 0.631372549);
  border-radius: 50%;
}

main .hero .right .intro-text p#text {
  padding-left: 5px;
  transition: 0.5s;
  height: 100%;
}

main .hero .right .cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 998;
}

main .hero .right .cta .item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 45%;
  padding: 7px 10px;
  height: 70px;
  cursor: pointer;
  border-radius: 500px;
  transition: 0.3s ease-in-out;
  border: 2px solid transparent;
  color: var(--text-high-contrast-inverted);
  text-decoration: none;
  background-repeat: no-repeat;
  font-weight: 600;
}

main .hero .right .cta .item:hover {
  box-shadow: 0 5px 10px -5px #000;
  color: var(--text-high-contrast);
  background: transparent !important;
}

main .hero .right .cta .item.hire {
  background-color: purple;
  /* background: red; */
}

main .hero .right .cta .item .icon.partner {
  background-image: var(--handshake-icon-white);
}

main .hero .right .cta .item.hire:hover {
  border: 2px solid purple;
}

main .hero .right .cta .item.hire:hover .icon.partner {
  background-image: var(--handshake-icon-black);
}

main .hero .right .cta .item .icon.download {
  background-image: var(--arrow-down-black-inverted);
  background-size: 50%;
}

main .hero .right .cta .item.hire:hover .icon.partner,
main .hero .right .cta .item.resume:hover .icon.partner {
  animation: 1s handshake;
}

main .hero .right .cta .item.resume {
  color: var(--text-high-contrast-inverted);
  background-color: #008ab4;
}

main .hero .right .cta .item.resume:hover {
  color: var(--text-high-contrast);
  border: 2px solid #008ab4;
}

main .hero .right .cta .item.resume:hover .icon.download {
  background-image: var(--arrow-down-black);
}

.why-us .box .scrolling-content .element .icon,
body.dark .why-us .box .scrolling-content .element .icon {
  background-color: rgba(255, 255, 255, 0.5333333333);
}

main .hero .right .cta .item .icon {
  height: 30px;
  background-size: 80%;
}
