@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit&display=swap");
@import url("./../global/rp_fonts.css");
@import url("./../blocs/rp_parraxllax.css");
@import url("./../blocs/rp_header.css");
@import url("./../blocs/rp_card.css");
@import url("./../blocs/rp_biogrid.css");
@import url("./../blocs/rp_bento.css");
@import url("./../blocs/rp_popup.css");
@import url("./../blocs/rp_level-design.css");
@import url("./../blocs/rp_illus.css");

:root {
  scrollbar-color: var(--color-red-dormant) var(--hue-dark3);
  scrollbar-width: 1rem;
  /* font-family: 'Days One', sans-serif; */
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-snap-type: proximity;
  scroll-snap-align: top;
}

*:focus-visible {
  outline: 0.25rem;
  outline-style: dashed;
  outline-color: rgb(190, 16, 16);
}
.beacon-bio,
.beacon-sub {
  position: absolute;
  width: 0;
  height: 0;
}
.beacon-bio {
  top: -6vh;
}
.beacon-sub {
  top: -14vh;
}
*::-webkit-scrollbar {
  width: 1rem;
  background-color: var(--hue-dark3);
}
*::-webkit-scrollbar-thumb {
  background-color: var(--color-red-dormant);
}
i > svg {
  height: 1.2rem;
}
.title-xl,
.title-l,
.title-m,
.title-s,
.title-xs {
  font-family: "Prompt", sans-serif;
}

main {
  scroll-behavior: smooth;
  scroll-snap-type: both mandatory;
}
main section {
  scroll-snap-align: start;
}
.section__header {
  width: 70vw;
  padding: 1vw;
  border-radius: 0.3vw;
  margin: 4vh 3vw 0 3vw

}
.section__header__inside {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.section__header__inside h2 {
  font-size: 1.8vw;
  font-family: "Prompt", sans-serif;
}

figure {
  position: relative;
}
figure img {
  position: absolute;
  height: 100%;
  width: 100%;
}
figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  font-size: 0.5vw;
  color: white;
}

.grow-img {
  background-position: center;
  transition: 0.3s ease-out;
}
.grow-img:hover {
  background-position: center;
  filter: contrast(80%);
}

.card-icon {
  height: 24px;
  aspect-ratio: 1/1;
  margin: 0 0 0 8px;
}

.outline-card {
  outline: 0.25rem solid var(--color-red);
  box-shadow: 0 0 20px 2px var(--color-red);
}
.s__listing--cimg {
  object-fit: cover;
}

.mentionLegalesContent p {
  padding: 2vh 0px 1vh 0px;
}
.glassmorphic,
.glassmorphic-low {
  background-color: rgba(128, 128, 128, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.glassmorphic {
  box-shadow: 0 0 1.5vw rgba(0, 0, 0, 0.3);
}
.glassmorphic-low {
  box-shadow: 0 0 0.75vw rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 581px) {
  .wip_projet {
    width: 60vw;
    padding: 10vw 5vw;
  }
  .wip_projet h2 {
    width: 65%;
    font-size: 2vw;
  }
  .wip_projet br {
    margin: 0;
  }
  .wip_figure {
    /* filter: grayscale(1); */
    width: 30%;
    aspect-ratio: 1 / 1;
  }
}
@media screen and (max-width: 580px) {
  .wip_projet {
    width: 95vw;
    padding: 15vw 10vw;
  }
  .wip_projet h2 {
    width: 65%;
    font-size: 3.5vw;
  }
  .wip_projet br {
    margin: 0;
  }
  .wip_figure {
    /* filter: grayscale(1); */
    width: 30%;
    aspect-ratio: 1 / 1;
  }

  .glassmorphic {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
  }
  .glassmorphic-low {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  }

  .section__header {
    width: 97vw;
    padding: 2vw;
    border-radius: 0.3vw;
  }
  .section__header__inside {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .section__header__inside hr {
    margin: 02vw 0;
  }
  .section__header__inside h2 {
    font-size: 6vw;
    font-family: "Prompt", sans-serif;
  }

  .beacon-bio,
  .beacon-sub {
    position: absolute;
    width: 0;
    height: 0;
  }
  .beacon-bio {
    top: -100vh;
  }

  .beacon-sub {
    top: -18vh;
  }
  .fAio__content_item--list i {
    font-size: 5vw;
  }
  .mentionLegalesHeader p {
    font-size: 3vw;
  }
  .mentionLegalesContent p {
    font-size: 3vw;
  }
}
