@charset "UTF-8";
html {
  font-size: 62.5%;
  font-family: "Ubuntu";
}

body {
  background-color: #ffffff;
}

body,
p {
  margin: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container1H {
  width: 100vw;
  height: 100vh;
}

.centered {
  display: grid;
  place-content: center;
}

/* ********** Carousel ********** */
#portfolio {
  position: relative;
  place-content: center;
  overflow: hidden;
  background-color: hsl(202, 100%, 17%);
  padding: 0 2rem;
  width: calc(100% - 4rem);
}
#portfolio .title {
  position: fixed;
  top: 10vh;
  color: #ffffff;
  font-family: "Lobster Two";
  font-size: 2rem;
}
@media only screen and (min-width: 600px) {
  #portfolio {
    padding: 0 5rem;
    width: calc(100% - 10rem);
  }
  #portfolio .title {
    font-size: 3rem;
  }
}
@media only screen and (min-width: 1080px) {
  #portfolio {
    padding: 0 10rem;
    width: calc(100% - 20rem);
  }
  #portfolio .title {
    font-size: 4rem;
  }
}
#portfolio .carousel-container {
  display: flex;
  overflow-inline: initial;
  align-items: center;
  gap: 2rem;
  height: 100vh;
  padding: 0rem 0rem;
  scrollbar-width: none;
}
#portfolio .horizontal-align-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transform: translateY(50px);
}
#portfolio .carousel-item {
  display: flex;
  flex-direction: column;
  opacity: 0;
  width: 80vh;
}
#portfolio .carousel-item .img-title {
  padding: 1rem 0rem 0rem 0rem;
  font-size: 2rem;
  font-weight: bolder;
  color: hsl(0, 0%, 100%);
}
#portfolio .carousel-item .img-description {
  padding: 0.8rem 0rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: hsl(0, 0%, 94%);
}
#portfolio .carousel-item .img-container {
  width: 80vh;
  height: 45vh;
  background-color: antiquewhite;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 0.4rem;
}
#portfolio .carousel-item .img-widthcontainer {
  /* Modifier ceci par animation de 50 à 0 */
  width: 80vh;
  height: 45vh;
  overflow: hidden;
  position: relative;
}
#portfolio .carousel-item .previewImage {
  width: 99.2vh;
  height: 45vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #890012;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0%;
  z-index: 2;
}
#portfolio .carousel-item .vid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: center no-repeat;
  background-color: black;
  background-size: 100% auto;
  z-index: 1;
}
#portfolio .carousel-item:nth-child(1) .previewImage {
  background-image: url(../assets/images/wesharebonds_logo.svg);
  background-color: white;
  background-size: 64vh auto;
  padding: 0 0;
}
#portfolio .carousel-item:nth-child(2) .previewImage {
  background-image: url(../assets/images/seef.webp);
  background-color: white;
  background-size: 64vh auto;
  padding: 0 0;
}
#portfolio .carousel-item:nth-child(3) .previewImage {
  background-image: url(../assets/images/wesharebonds_logo.svg);
  background-color: white;
  background-size: 64vh auto;
  padding: 0 0;
}
#portfolio .carousel-item:nth-child(4) .previewImage {
  background-image: url(../assets/images/lac.jpg);
}
#portfolio .carousel-item:nth-child(5) .previewImage {
  background-image: url(../assets/images/montagne.jpg);
}
#portfolio .carousel-item:nth-child(2) .vid {
  background-image: url(../assets/images/wesharebonds_main.gif);
}
#portfolio .carousel-item:nth-child(3) .vid {
  background-image: url(../assets/images/wesharebonds_main.gif);
}

.badge-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

badge,
.badge {
  border-radius: 0.8rem;
  padding: 0.75rem;
  background-color: hsla(45, 60%, 50%, 0.35);
  color: hsl(45, 60%, 50%);
  border: 0.01rem solid hsla(45, 60%, 50%, 0.7);
}
badge.back,
.badge.back {
  background-color: hsla(280, 39%, 73%, 0.35);
  color: hsl(280, 39%, 73%);
  border: 0.01rem solid hsla(280, 39%, 73%, 0.7);
}
badge.front,
.badge.front {
  background-color: hsla(25, 65%, 55%, 0.35);
  color: hsl(25, 65%, 55%);
  border: 0.01rem solid hsla(25, 65%, 55%, 0.7);
}
badge.api,
.badge.api {
  background-color: hsla(140, 45%, 50%, 0.35);
  color: hsl(140, 45%, 50%);
  border: 0.01rem solid hsla(140, 45%, 50%, 0.7);
}
badge.work,
.badge.work {
  background-color: hsla(10, 55%, 55%, 0.35);
  color: hsl(10, 55%, 55%);
  border: 0.01rem solid hsla(10, 55%, 55%, 0.7);
}/*# sourceMappingURL=carousel.css.map */