
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}


body {
  margin: 0px auto;
  font-size: 16px;

  flex-direction: column;
  align-items: center;


  background-image: url("../images/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 100vh; 
  overflow: auto;
}

.flex {
  display: flex;
}

.title {
  background-color: transparent;
  padding: 0;
  width: 100%; 
  text-align: center;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1); 

  position: relative;

  height: 110px;

  transition: height 0.1s linear;
  overflow: visible;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, rgba(5, 15, 50, 0.85), transparent);
  pointer-events: none;
  z-index: 10;
}
.overlap {
  z-index: 1;
  height: 100%;
}
.title > .loader {
  position: absolute;
  height: 115px;
  width: 200px;
  
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.title > img {
  width: 100%;
  height: 110px;
  object-fit: cover;        
  object-position: center;
  display: block;
}

.title-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.divider {
  height: 5px;
  border-radius: 50%;
  width: 75vw;
  background-color: rgb(255, 255, 255);
  margin: 2rem 0;
}

.bottom {
  position: absolute;
  bottom: 8rem;
}
.bottom-more {
  position: absolute;
  bottom: 5rem;
}
.bottom-more-more{
  position: absolute;
  bottom: 2rem;
}

.main-item {
  display: inline-block;
  margin: 100px 70px;
  cursor: pointer;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  vertical-align: top;
  color: white !important;
  text-decoration: none; /* ← ajouté */

  background: rgba(0, 0, 0, 0.65);
  padding: 25px 35px;
  border-radius: 14px;
  max-width: 900px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: 0.25s ease;
}

.main-item:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 2px 18px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.main-item:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile */
@media (max-width: 768px) {
  .main-item {
    margin: 30px 20px;
    padding: 18px 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.75); /* plus opaque pour lisibilité */
  }
}

.secondary {
  color: black;
  margin-top: 2rem;
  font-size: 12px;
  padding: 0rem 0;
  border-radius: 3px;
  background-color: white;
  overflow: hidden;
}

.secondary > span {
  padding: 1rem 2rem; 
  display: block;
  margin: 0.5rem 0;
}

.secondary > span:hover {
  background-color: #ddd;
}

.hidden {
  opacity: 0;
}

.show {
  opacity: 1;
  transition: all linear 0.2s;
}

a:not(.main-item),
a:not(.main-item):active,
a:not(.main-item):visited {
  text-decoration: none;
  color: black;
}

.fa {
  padding: 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  margin-left: 10px;
}
.fa > img {
  height: 20px;
  width: 20px;
}
.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-twitter {
  background: #55acee;
  color: white;
}

.fa-instagram {
  background: #e4405f;
  color: white;
}
.height100 {
  height: 100%;
}


.background {
  background: url("../images/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-item,
.main-item * {
  color: white !important;
}



















