* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Josefin Sans", "Playfair Display", system-ui, serif;
}
.all {
  overflow: hidden;
}
:root {
  --principal: black;
  --principal-red: red;
}
.search-part {
  width: 50%;
  margin: 0 auto;
}
.brand {
  height: 40px;
}
.brand a {
  float: left;
}
.brand img {
  width: 100px;
  margin-top: 10px;
}
.menu ul li a,
.menu ul li button {
  color: var(--principal);
  /* text-transform: uppercase; */
  font-weight: 600;
  padding: 10px 15px;
  height: 100%;
  text-decoration: none;
  display: inline-block;
}
.menu ul li a:hover {
  background-color: var(--principal-red);
}
#la-une {
  position: relative;
}
#tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px;
  width: auto;
  height: 40px;
  text-transform: uppercase;
  background: var(--principal-red);
  font-weight: 900;
  color: white;
}
#la-une img {
  width: 100%;
}

#publie img {
  width: 150px;
  float: left;
  margin: 0 10px 10px 0;
}
#publie h2 {
  font-size: 16px;
  margin: auto;
  font-weight: 600;
}
#publie p {
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
}
#recent {
  padding: 80px 10px 3px 10px;
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  position: relative;
}
#recent2 {
  position: relative;
}
#recent2 .tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px;
  width: auto;
  height: 40px;
  text-transform: uppercase;
  background: var(--principal-red);
  font-weight: 900;
  color: white;
}
#recent2 h2 {
  font-size: 16px;
  font-weight: 600;
}
#recent h2 {
  font-size: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
#recent p {
  font-size: 16px;
  color: var(--principal-red);
  line-height: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
#recent .tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px;
  width: auto;
  height: 40px;
  text-transform: uppercase;
  background: var(--principal-red);
  font-weight: 900;
  color: white;
}
#moi {
  margin-top: 50px;
  transition: 0.5s;
}
#personne-public {
  position: relative;
  padding: 60px 20px 0 20px;
}
#personne-public .tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px;
  width: auto;
  height: 40px;
  text-transform: uppercase;
  background: var(--principal-red);
  font-weight: 900;
  color: white;
}
#footer .categorie a {
  text-decoration: none;
  color: whitesmoke;
  display: block;
  padding: 5px 0;
}
#description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}
.miniature {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.miniature2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.box {
  display: flex;
  margin-top: 10px;
}

#checkbox {
  width: 40px;
  height: 40px;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  background: white;
  position: relative;
}
#checkbox:hover {
  background: rgba(255, 255, 255, 0.7);
}

#checkbox::before {
  content: "\f1e0";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "font awesome 5 free";
  font-weight: 700;
  font-size: 1.5rem;
  color: rgb(41, 41, 41);
  transition: all 1.5s;
}
#checkbox:checked::before {
  content: "\f00d";
}
#checkbox:checked ~ .menu-share {
  width: 264px; /* 4 * 65 + 4 * 1 pour la bordure */
  display: flex;
}
.menu-share {
  width: 0;
  display: none;
  overflow: hidden;
  transition: all 0.5s;
  gap: 10px;
  padding: 0 5px;
}
.menu-share a {
  text-decoration: none;
}
.menu-share .menuItems {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid rgba(165, 165, 165, 0.5);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.menu-share .menuItems:hover {
  background: rgba(165, 165, 165, 0.2);
}

.reseau-social {
  width: 264px;
  display: flex;
  overflow: hidden;
  transition: all 0.5s;
  gap: 10px;
  padding: 0;
}
.reseau-social a {
  text-decoration: none;
}
.reseau-social .menuItems {
  width: 30px;
  height: 30px;
  background: white;
  border: 1px solid rgba(165, 165, 165, 0.5);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.reseau-social .menuItems:hover {
  background: rgba(165, 165, 165, 0.2);
}
.reseau-social .menuItems i {
  font-size: 1.3rem;
}


.swiper-button-next::after,
.swiper-button-prev::after {
  content: "" !important;
}
.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background: rgba(65, 78, 156, 0.7);
  color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
