@font-face {
  font-family: "Lilita One";
  src: url(/assets/fonts/LilitaOne-Regular.ttf);
}

@font-face {
  font-family: "Sansita";
  src: url(/assets/fonts/Sansita-Bold.ttf);
}

@font-face {
  font-family: "RobotoFlex";
  src: url(/assets/fonts/RobotoFlex.ttf);
  font-display: swap;
}

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

body {
  overflow: hidden;
  background: linear-gradient(
      65deg,
      #0000 0%,
      #ee088328 20%,
      #01052033 80%,
      #0000 100%
    ),
    linear-gradient(65deg, #0000 0%, #01052033 20%, #10ee0820 80%, #0000 100%),
    radial-gradient(circle, #020c51 0%, #010520 100%);
}

.page {
  height: 100dvh;
  width: 100dvw;
  overflow: hidden;
  position: relative;
}

.logo {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
}

.page-title {
  position: absolute;
  color: #ffffff;
  font-size: 18vw;
  line-height: 16vw;
  bottom: 0;
  left: 25px;
  cursor: default;
  user-select: none;
}

.page-title span {
  font-family: "RobotoFlex", sans-serif;
  font-variation-settings: "wdth" 100, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
}

.page-title span:hover {
  font-variation-settings: "wdth" 141, "YTLC" 500, "XTRA" 603;
}

/* Partie Réseaux */

.socials {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  gap: 14px;
  flex-direction: column;
  align-items: flex-end;
}

.social {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  cursor: pointer;
}

.social-text {
  font-family: "RobotoFlex", sans-serif;
  text-align: right;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
}

.social:hover .social-text {
  color: #fff;
  font-variation-settings: "wdth" 141, "YTLC" 500, "XTRA" 603;
}

.social-icon {
  width: 26px;
  height: 26px;
}
/* Partie Scroll Mouse */

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}
.icon-scroll {
  width: 25px;
  height: 45px;
  margin-left: -20px;
  top: 50%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px #fff;
  border-radius: 25px;
  top: 97%;
  left: 98%;
  bottom: 25px;
  right: 25px;
}
.icon-scroll:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}
/* Partie Formations */
.education-about-me {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  gap: 14px;
  flex-direction: column;
  align-items: flex-end;
  left: 67%;
}

.education-title {
  font-family: "RobotoFlex", sans-serif;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
}

.education-description {
  font-family: "RobotoFlex", sans-serif;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
}

/* Partie About me */

.about-description {
  font-family: "RobotoFlex", sans-serif;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
  margin: 5px;
}

.page2-h2-title {
  font-family: "RobotoFlex", sans-serif;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
  width: 100%;
  margin: 10px;
}
.page2-h2-title:hover {
  font-variation-settings: "wdth" 141, "YTLC" 500, "XTRA" 603;
  width: 98%;
}

/* caroussel Embeds YouTube*/
.slider-wrapper {
  margin: 1rem;
  position: relative;
  left: 2%;
  border-radius: 18px;
  margin-left: 5px;
  height: calc(43.5vh - 2rem);
  width: calc(30vw - 2rem);
}

.slides-container {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.slide-arrow {
  position: absolute;
  display: flex;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 4rem;
  background-color: white;
  border: none;
  width: 2rem;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
  z-index: 999;
}

.slide-arrow:hover,
.slide-arrow:focus {
  opacity: 1;
}

.prev {
  left: 0;
  padding-left: 0.25rem;
  border-radius: 0 2rem 2rem 0;
}

.next {
  right: 0;
  padding-left: 0.75rem;
  border-radius: 2rem 0 0 2rem;
}

.slide {
  width: 100%;
  height: 100%;
  flex: 1 0 100%;
}

.yt-embeds {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  background: #ffffff88;
}

.caroussel-description {
  font-family: "RobotoFlex", sans-serif;
  color: #fffd;
  font-variation-settings: "wdth" 90, "YTLC" 500, "XTRA" 603;
  transition: 500ms ease;
  margin: 5px;
  width: 100%;
}
