@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat&family=Nunito&display=swap");

:root {
  --color: rgb(165, 6, 6);
  --bg_color: rgba(165, 6, 6, 0.856);
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  color: black;
}

p {
  font-size: 1.2em;
}

h1 {
  font-family: "Bebas Neue";
  font-size: 2.8em;
}

/* code bannière */

nav .logo {
  position: fixed;
  left: 5px;
  top: 5px;
  z-index: 5;
  height: 60px;
  width: 60px;
  padding: 8px;
  background-color: white;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.452);
}

.baniere {
  height: 90vh;
  width: 100vw;
  background-image: linear-gradient(
      rgba(15, 15, 15, 0.274),
      rgba(15, 15, 15, 0.274)
    ),
    url("../images/today.jpg");

  background-size: cover;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: cool 13s infinite;
}

@keyframes cool {
  0% {
    background-position: Top;
  }
  50% {
    background-position: center;
  }
  100% {
    background-position: Top;
  }
}

.baniere .titre {
  width: 50%;
}

.titre h1,
p,
a {
  color: white;
  display: inline-block;
  margin: 3px;
}
.titre h1 {
  font-size: 2.8em;
}

.titre a {
  background-color: var(--color);
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
}

.titre a:hover {
  background-color: white;
  color: var(--color);
  cursor: pointer;
}

.baniere svg {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Responsive bannière */

@media (max-width: 800px) {
  .baniere {
    height: 80vh;
    animation: cool2 13s infinite;
  }
  @keyframes cool2 {
    0% {
      background-position: left;
    }
    50% {
      background-position: center;
    }
    100% {
      background-position: left;
    }
  }
  .baniere .titre {
    width: 80%;
    margin-right: 20px;
  }
}

@media (min-width: 600px) {
  .baniere .titre {
    margin-bottom: 50px;
  }
  .titre h1 {
    font-size: 3em;
  }
}

/* main code  */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.point {
  color: var(--color);
}

.icone_whatsapp {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.icone_whatsapp p {
  color: black;
  background-color: rgb(202, 202, 202);
  border-radius: 8px;
  padding: 7px;
  font-family: "Nunito", sans-serif;
  font-size: 0.8em;
}
.name {
  text-align: center;
  width: 100%;
  margin-top: 50px;
}
.name p {
  color: black;
  width: 80%;
}
.intervenants {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.intervenant {
  text-align: center;
  width: 90%;
  margin-top: 30px;
}

.profil {
  width: 200px;

  border-radius: 100%;
  background-size: cover;
  border: 1px solid var(--color);
  padding: 10px;
}
.nom {
  color: var(--color);
}
.intervenant p {
  color: black;
  font-size: 1.1em;
}

@media (min-width: 600px) {
  .intervenants {
    flex-direction: row;
    justify-content: space-around;
  }
}

.module {
  background-image: linear-gradient(var(--bg_color), var(--bg_color)),
    url("../images/today.jpg");
  background-size: cover;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  border-radius: 8px;
}
.module div {
  width: 90%;
  margin-bottom: 50px;
  margin-top: 30px;
}

.module h1 {
  color: white;
}
.mini-titre {
  color: var(--color);
  font-size: 10px;
}
li {
  color: white;
  font-size: 1.2em;
}

.partenaires {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

.partenaire {
  width: 300px;
  display: flex;
  border-radius: 8px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.card {
  scroll-snap-align: center;
  background-color: rgb(245, 245, 245);
  height: 400px;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo_para {
  width: 200px;
}

.down {
  padding: 15px;
  background-color: var(--color);
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 50px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  /* box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.452); */
  font-size: 1.1em;
}

/* footer code  */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer div {
  margin-bottom: 40px;
}
