@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  font-size: 12pt;
  font-family: Poppins, Segoe UI, Tahoma, sans-serif;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 9999;
  background-color: white;
  color: black;
  font-weight: 500;
}
.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}
nav a:hover {
  color: rgb(245, 127, 1);
}
nav .home-link {
  margin-right: auto;
}
nav svg {
  fill: var(--text-color);
}

.sinscrire {
  background-color: black;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  z-index: 100;
  gap: 12px;
  border: 1px solid orange;
  padding: 12px;
  margin-right: 8px;
}
.links-container button a:hover {
  color: #fff;
}
.sinscrire:hover {
  background-color: orange;
  color: #fff;
  transform: scale(1.09);
  transition: 0.1s ease-out;
}

#sidebar-active {
  display: none;
}
.open-sidebar-button,
.close-sidebar-button {
  display: none;
}

/* style du homepage */
.home {
  height: 100vh;
  background-image: url("./images/confcover.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  padding-left: -33px;
}

.homecontent {
  margin-left: 123px;
  max-width: 600px;
}
.homecontent h3 a {
  text-decoration: none;
  color: orange;
}
.homecontent h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

.homecontent h3 {
  font-size: 32px;
  font-weight: 700;
  color: rgb(248, 143, 5);
  margin-top: 18px;
}

.homecontent p {
  font-size: 16px;
  font-weight: lighter;
  margin: 20px 0 40px;
  line-height: 1.6;
}

.homecontent .btnbox {
  display: flex;
  justify-content: space-between;
  width: 345px;
  height: 50px;
}

.btnbox a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100%;
  background: orange;
  border: 2px solid orange;
  border-radius: 8px;
  font-size: 19px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}

.btnbox a:hover {
  color: #fff;
  background: transparent;
}

.btnbox a:nth-child(2) {
  background: transparent;
  color: rgb(251, 252, 252);
}

.btnbox a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: orange;
  z-index: -1;
  transition: 0.5s;
}

.btnbox a:hover::before {
  width: 100%;
}

.homesci {
  position: absolute;
  margin-left: 122px;
  margin-bottom: 19px;
  bottom: 70px;
  width: 300px;
  display: flex;
  justify-content: space-between;
}

.homesci a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0f0f0f;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}

.homesci a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  background: orange;
  transition: 0.5s;
}

.homesci a:hover::before {
  width: 100%;
}
.homesci a i {
  font-size: 20px;
}
.homeimghover {
  position: absolute;
  top: 0;
  right: 0px;
  width: 800px;
  height: 100%;
  background: transparent;
  transition: 3s;
}

.homeimghover:hover {
  background: #010101;
  opacity: 0.6;
}

.apropos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.section1 {
  width: 700px;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
}
.section1 p {
  font-size: 21px;
}
.desc1 {
  font-size: 17px;
  margin-top: 13px;
  margin-bottom: 29px;
}
.ha {
  margin-top: 50px;
  color: red;
  font-size: 19px;
  text-align: start;
}
.section1 button a {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: bold;
}
.section2 {
  background-color: rgb(17, 16, 16);
  color: white;
  width: 800px;
  height: 600px;
  padding: 70px;
}

.ensavoirplus {
  font-size: 21px;
  text-decoration: none;
  background-color: #010101;
  color: #fff;
  padding: 15px 30px;
  width: 16px 20px;
}
.section1 button {
  position: relative;
  left: 160px;
  width: 168px;
  height: 55px;
}
.ri-checkbox-circle-fill {
  color: orange;
}
.liste {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 19px;
  gap: 13px;
}

.title {
  margin-top: 25px;
}

.title1 {
  font-size: 33px;
}
.desc2 {
  margin-top: 36px;
  font-size: 27px;
}

.title {
  margin-top: 25px;
}

.title1 {
  font-size: 33px;
}
.desc2 {
  margin-top: 36px;
  font-size: 27px;
}

.sect1 {
  background-color: #f67701f8;
  width: 100%;
  height: 320px;
}

.sect2 {
  position: absolute;
  left: 260px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  bottom: -980px;
  border-bottom-right-radius: 100px;
  width: 920px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fffefe;
  box-shadow: 1px solid black;
}
.sect2 .soussect21 {
  background: #000000;
  color: #fff;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.imgslide {
  width: 400px;
  height: 250px;
}

.imgslide {
  border-radius: 32px 0 32px 0;
  margin-bottom: 12px;
}

.imgslide:hover {
  cursor: pointer;
  transform: scale(1.06);
  transition: 0.5s;
}

.ri-movie-fill {
  color: orange;
  font-size: 135px;
  cursor: pointer;
  margin-top: 12px;
}

/* section actu */
.actualite {
  margin: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.card2 h3 {
  text-align: center;
}
.card1 h4 {
  text-align: center;
}

/* section actu */
.actualite {
  margin: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.card2 h3 {
  text-align: center;
}
.card1 h4 {
  text-align: center;
}

/* Footerstyle */
.footcontainer {
  background-color: rgb(28, 28, 28);
  color: #fff;
  padding: 15px;
  width: 100%;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.foot1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 850px;
  height: 200px;
  background-color: black;
  padding: 34px;
  border-top-left-radius: 33px;
  border-bottom-right-radius: 33px;
}

.txt {
  display: inline-flex;
  gap: 7px;
}

.sss {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.foot2 {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 135px;
}
.sect1 {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.sect1 p {
  font-size: 15px;
  font-weight: 100;
}
.sect2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
  gap: 7px;
  background-color: #000000;
}
.social {
  position: absolute;
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 23px;
}
.copyright {
  margin-top: 17px;
  font-size: 13px;
}

.ri-contacts-line {
  color: orange;
  font-size: 35px;
}
.ri-mail-line {
  color: orange;
  font-size: 35px;
}
.ri-map-pin-fill {
  color: orange;
  font-size: 35px;
}

.foot2sect1 {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.foot2sect1 p {
  font-size: 15px;
  font-weight: 100;
}
.foot2sect2 {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  gap: 7px;
}

.social {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 23px;
  margin: 30px;
  right: 270px;
}

.social .icon {
  height: 25px;
  width: 25px;
}
.copyright {
  margin-top: 18px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .links-container {
    flex-direction: column;
    align-items: flex-start;

    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 300px;

    background-color: black;
    color: #fff;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }
  nav a {
    box-sizing: border-box;
    height: auto;
    width: auto;
    padding: 10px 10px;
    justify-content: flex-start;
  }
  .home {
    margin-left: -75px;
  }
  .homecontent h3 {
    font-size: 20px;
  }
  .homesci {
    display: none;
  }
  .section1 {
    padding: 80px;
    margin-top: -29px;
  }
  .section1 span {
    font-size: 21px;
  }
  .section1 h1 {
    font-size: 26px;
  }
  .section1 p {
    font-size: 19px;
  }
  .section2 {
    padding: 60px;
    margin-left: 60px;
    margin: auto;
    width: auto;
  }
  .section2 h1 {
    font-size: 30px;
  }
  .section2 p span {
    font-size: 17px;
  }
  .apropos {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .sect2 {
    position: relative;
    top: -100px;
    left: auto;
    width: auto;
    display: flex;
    flex-direction: column;
  }
  .actualite {
    margin-top: 6px;
  }
  .actualite .card {
    display: flex;
    flex-direction: column;
  }

  .footcontainer {
    display: flex;
    flex-direction: column;
  }
  .adresse {
    gap: 11px;
    margin: 10px;
  }
  .txt i {
    font-size: 24px;
  }
  .sss h2 {
    font-size: 16px;
  }
  .sss p {
    font-size: 12px;
  }
  .foot1 {
    margin: auto;
    width: auto;
  }
  .foot2 {
    margin-top: 16px;
  }
  .foot2sect1 h3 {
    font-size: 17px;
  }
  .foot2sect1 p {
    font-size: 10px;
    margin-top: 5px;
  }
  .foot2sect2 h3 {
    font-size: 17px;
  }
  .social {
    position: relative;
    left: -20px;
    top: -10px;
  }
  .foot2sect2 .copyright {
    margin-top: -28px;
  }
  .foot2sect1 .copyright {
    margin-top: 8px;
  }
  .open-sidebar-button,
  .close-sidebar-button {
    padding: 20px;
    display: block;
  }
  #sidebar-active:checked ~ .links-container {
    right: 0;
  }
  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}
