:root {
  --main-white-color: #f2f2f2;
  --main-black-color: black;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

button {
  background: none;
  outline: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Empêche tout débordement horizontal */
}

.page-main {
  font: 16px/1.5 "Dosis", sans-serif;
}

/* CONTAINER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* MAIN
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-main {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrage vertical */
  align-items: center; /* Centrage horizontal */
  flex-grow: 1;
  min-height: 350px;
  background: 
    url('../img/IMG-20220827-WA0002_cropped.png') no-repeat center / cover;
  background-blend-mode: luminosity;
  color: var(--main-white-color);
}

/* Utiliser le WebP si pris en charge par le navigateur */
@supports (background-image: url('../img/IMG-20220827-WA0002_cropped.webp')) {
  .page-main {
    background: 
      url('../img/IMG-20220827-WA0002_cropped.webp') no-repeat center / cover;
    background-blend-mode: luminosity;
  }
}

.page-main div {
  max-width: 500px;
}

.main-button {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.page-main h1 {
  margin-bottom: 20px;
  text-align: center;
}

.page-main h2 {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
  }

.page-main p + p {
  margin-top: 10px;
}

.icon {
    height: 2.5em;
    width: 2.5em;
  }
 
/*================= BUTTONS CONTAINER =================*/
.buttons-container {
  display: flex;
  flex-direction: row; /* Aligner horizontalement */
  justify-content: center; /* Centrer les boutons */
  gap: 10px; /* Espace entre les boutons */
}

.custom-btn {
  background-color: white;
  border-radius: 50%; /* Rendre les boutons ronds */
  border: none;
  padding: 5px;
  width: 75px; /* Ajuster la taille si nécessaire */
  height: 75px; /* Assurez-vous que le bouton est bien un carré */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-btn img {
  width: 50px; /* Ajuster la taille de l'image à l'intérieur du bouton */
  height: auto;
}

.custom-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

  #copyBtn, #whatsappBtn, #spotifyBtn, #youtubeBtn {
    border-radius: 50%;  /* Boutons ronds */
    width: 75px;         /* Ajuster la taille si nécessaire */
    height: 75px;        /* Assurez-vous que le bouton est bien un carré */
    margin: 0;
    border: none;        /* Suppression de la bordure */
    background-color: white; /* Même couleur de fond que les autres boutons */
    transition: 0.3s;    /* Transition fluide pour l'effet hover */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #copyBtn img, #whatsappBtn img, #spotifyBtn img, #youtubeBtn img{
    border-radius: 0;  /* Boutons ronds */
    width: 50px;         /* Ajuster la taille de l'image */
    height: 50px;
  }
  
  /* Appliquer le même effet hover que sur les autres boutons */
  #copyBtn:hover, #whatsappBtn:hover {
    opacity: 0.8;
  }
  
  /*================= SHARE BUTTON & SPOTIFY =================*/
  #whatsappBtn {
    margin-right: 5px;
    background-color: #29A71A;
    border-radius: 50%;
    padding: 5px;
  }

  #spotifyBtn {
    margin-right: 5px;
    background-color: #1ED760;
    border-radius: 50%;
    padding: 5px;
  }

a:link, a:visited {
    color: blue;
    text-decoration: underline;
  }

  img, iframe {
    max-width: 100%;
    height: auto;
  }