body {
  font-family: "koho";
  font-weight: bold;
  height: 100%;
  position: absolute;
  width: 100vw;
  left: 0;
  right: 0;
  overflow-x: hidden;
}
video#bgVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  width: auto;
  min-width: 100%;
  height: auto;
  min-height: 100%;
  z-index: -100;
  background-size: cover;
}
.imgscale {
  width: 17rem;
  height: 17rem;
}
.imgzoom {
  width: 60%;
  height: 60%;
}
.video-opacity {
  opacity: 0.55;
}
h6 {
  font-weight: bold;
}
.accueil {
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.retour {
  position: absolute;
}
h1 {
  font-size: 7rem;
  font-weight: bold;
}
h3 {
  text-align: center;
}
img {
  height: 150px;
  margin: 5px;
}
.image span {
  visibility: hidden;
}
.colonne {
  flex-direction: column;
  display: flex;
  align-items: center;
}
.corps {
  margin: 50px;
}
.corps a {
  padding: 10px;
}
.haut {
  margin-bottom: 52px;
  border-radius: 5%;
}
.bouton {
  background-color: black;
  padding: 10px 5px;
  border-radius: 5px;
  color: aliceblue;
  margin: 100px;
  margin-bottom: 20px;
}
a {
  text-decoration: none;
  color: black;
}
i {
  color: black;
}
.paccueil {
  bottom: 0px;
  right: 10px;
}
#titreaccueil {
  display: flex;
  height: 800px;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
}
.pmoi {
  bottom: 0px;
  right: 10px;
  height: 400px;
  border-radius: 20%;
}
.navbar {
  position: sticky;
  top: 0px;
  z-index: 90;
}
p {
  font-size: x-large;
  text-align: justify;
}
h5 {
  text-align: justify;
}
.rounded {
  width: 200px;
}
.zoom div img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.zoom div:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
@font-face {
  font-family: "koho";
  src: url("../font/KoHo-Light.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "opendyslexic";
  src: url("../font/OpenDyslexicMono-Regular.otf");
  font-weight: normal;
  font-style: normal;
}
.dyslexie {
  font-family: "opendyslexic";
}
@font-face {
  font-family: "abbasy";
  src: url("../font/Fontjek.otf");
  font-weight: normal;
  font-style: normal;
}
h2 {
  font-family: "abbasy";
  text-align: center;
  font-size: 3rem;
}

.videoDislexie {
  opacity: 0.3;
}

/* Carte */
.card {
  width: 20rem;
  height: 30rem;
  text-align: center;
  border-radius: 2rem;
  background: rgb(182, 145, 208);
  margin-top: 3rem;
  margin-bottom: 1rem;
  margin-left: 2.5rem;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.card:hover .card-inner {
  transform: rotateY(180deg);
}
.card-front,
.card-back {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem 0 rgb(182, 145, 208);
}
.card-front {
  background-image: url("../ressources/competence.webp");
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.card-front:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  background: linear-gradient(0deg, rgb(182, 145, 208), transparent);
}
.card-front .card-content {
  z-index: 1;
}
.card-back {
  transform: rotateY(180deg);
  background: rgb(182, 145, 208);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-back p {
  margin-top: 4rem;
}
.card-front {
  transition: opacity 0.6s;
}
.card:hover .card-front {
  opacity: 0;
}
.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  padding: 1rem;
}
.image-container .image {
  height: 22rem;
  width: 22rem;
  border-radius: 1rem;
  border: 0.5rem solid #fff;
  box-shadow: 0 1rem 2rem rgb(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
}
.image-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.2s linear;
}
.popup-image {
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0.9);
  height: 100%;
  width: 100%;
  z-index: 100;
  display: none;
}
.popup-image span {
  position: absolute;
  top: 0;
  right: 2rem;
  font-size: 5rem;
  font-weight: bolder;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}
.popup-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1rem solid #fff;
  border-radius: 1rem;
  width: 50rem;
  height: 50rem;
  object-fit: cover;
}
.image-container .image:hover img {
  transform: scale(1.1);
}
@media (max-width: 700px) {
  h1 {
    font-size: 4rem;
  }
  .retour img {
    height: 80px;
  }
  h2 {
    font-size: 30px;
  }
  .popup-image img {
    width: 95%;
    height: 50%;
  }
  .card {
    width: 30rem;
    height: 15rem;
    text-align: center;
    border-radius: 2rem;
    background: rgb(182, 145, 208);
    margin-top: 2rem;
    margin-bottom: 3rem;
    margin-left: 0rem;
    margin-right: 2rem;
  }
}
