@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
:root {
  --color-primary: #3498db;
  --color-primary-light: #0f635b;
  --color-primary-dark: #0a423c;
  --color-white: #c5c5c5;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins' sans-serif;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
.header .logo{
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .logo img{
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.header .logo h1{
  font-size: 25px;
  text-transform: uppercase;
  color: var(--color-white);
}

.header .navigation ul {
  list-style: none;
}

.header .navigation ul li {
  float: left;
  position: relative;
}

.header .navigation ul li a {
  font-size: 20px;
  color: var(--color-white);
  text-decoration: none;
  padding: 20px;
  display: block;
  transition: all .2s ease;
}

.header .navigation ul li a:hover {
  background: var(--color-primary-light);
}

.header .navigation ul li ul {
  position: absolute;
  right: 0;
  width: 250px;
  background: var(--color-primary);
  display: none;
}


.header .navigation ul li ul li a {
  font-size: 15px;
  text-transform: capitalize;
}

.header .navigation ul li ul li ul {
  position: absolute;
  top: 0;
  right: 250px;
}

.header .navigation ul li ul li {
  width: 100%;
  border-top: 1px solid var(--color-primary-light);
}

.header .navigation ul li:hover ul {
  display: initial;
}


#toggle ,
.header label {
  display: none;
  cursor: pointer;
}

.header label img {
  width: 45px;
  height: 45px;
  object-fit: cover;
}


section{
  position: relative;
  top: 5.2rem;
}

hr{
  width: 20%;
}

.actualite{
  top: 9rem;
  width: 100%;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.actualite h1{
  font-size: 50px;
  text-transform: uppercase;
}

.actualite .actuCard{
  margin-top: 30px;
  width: 100%;
  height: 95%;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.actualite .actuCard .card{
  width: calc(100% / 3.5);
  height: 100%;
  border-radius: 10px;
}

.actualite .actuCard .card img{
  width: 100%;
  height: 55%;
  object-fit: cover;
}

.actualite .actuCard .card .desc{
  width: 100%;
  height: 45%;
  margin-top: 10px;
}


.actualite .actuCard .card .desc h2{
  text-align: start;
  font-size: 25px;
  font-weight: bold;
  text-transform: capitalize;
}


.actualite .actuCard .card .desc p{
  font-size: 18px;
  margin: 5px;
}

.actualite .actuCard .card a{
  width: 40%;
  font-size: 20px;
  text-decoration: none;
  color: #333;
  padding: 20px;
  background: var(--color-primary);
}

.events{
  top: 15rem;
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.events h1{
  font-size: 50px;
  text-transform: uppercase;
}

.events .listEvents{
  width: 95%;
  height: 90%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.events .listEvents .event{
  width: 40%;
}

.events .listEvents .event h2{
  color: #c0392b;
  font-size: 160%;
  font-weight: 800;
  text-align: center;
}

.events .listEvents .event p{
  text-align: justify;
}

footer {
  background-color: var(--color-primary);
  position: relative;
  top: 20.5rem;
}
footer .services_list {
  padding: 10px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}



.service {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 25px auto;
}
.service  p {
  color: var(--color-white);
  font-size: 20px;
}

.service  p a{
  font-size: 20px;
  color: var(--color-white);
  text-decoration: none;
}

.service  h2{
  font-size: 25px;
  margin-bottom: 30px;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 2px;
  width: 100%;
}

.connect{
  display: flex;
  justify-content: center;
  gap: 30px;
}

.connect p a i{
  font-size: 70px;
}

.connect p .fa-google-plus-g{
  color: #eb190d;
}

.connect p .fa-youtube{
  color: #eb190d;
}

.connect p a{
  text-decoration: none;
  color: #333;
}

.fa-facebook{
  color: rgb(21, 66, 213);
}
.footer_text {
  text-align: center;
  font-size: 15px;
  padding: 8px 0;
}
.footer_text span {
  color: #0d534c;
}


@media(max-width: 750px) {
  .header label {
    display: initial;
  }

  .header {
    width: 100%;
    padding: 20px 10%;
  }


  .header .logo{
    display: none;
  }

  .header .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    display: none;
  }

  .header .navigation ul li {
    width: 100%;
    border-top: 1px solid var(--color-primary-light);
  }

  .header .navigation ul li a {
    padding: 8px 30px 8px 10%;
  }

  .header .navigation ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }

  .header .navigation ul li ul li {
    background: var(--color-primary);
  }

  .header .navigation ul li ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }

  .header .navigation ul li ul li span {
    padding: 4px 10px;
    font-size: 10px;
  }

  #toggle:checked ~ .navigation {
    display: block;
  }
  
  header{
      width: 100%;
    }
  
    header .logo{
      display: none;
    }

    .actualite{
      width: 100%;
    }

    .actualite .actuCard{
      width: 100%;
    }

    .actualite .actuCard .card{
      width: 90%;
    }

    .events{
      top: 90rem;
    }

    .events .listEvents{
      display: flex;
      flex-direction: column;
    }

    footer{
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      top: 98rem;
    }
}

@media(max-width: 999px){
  .header label {
    display: initial;
  }

  .header {
    width: 100%;
    padding: 20px 10%;
  }

  .header .logo{
    display: none;
  }

  .header .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    display: none;
  }

  .header .navigation ul li {
    width: 100%;
    border-top: 1px solid var(--color-primary-light);
  }

  .header .navigation ul li a {
    padding: 8px 30px 8px 10%;
  }

  .header .navigation ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }

  .header .navigation ul li ul li {
    background: var(--color-primary);
  }

  .header .navigation ul li ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }

  .header .navigation ul li ul li span {
    padding: 4px 10px;
    font-size: 10px;
  }

  #toggle:checked ~ .navigation {
    display: block;
  }

  header{
      width: 100%;
    }
  
    header .logo{
      display: none;
    }

    footer{
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
}