.hero_container {
  position: relative;
  background-image: url("../assets/imgs/bg_looking_musician.webp");
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.greetings_container h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.book_container {
  position: relative;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  z-index: 2;
}

.text-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero_container h1 {
  font-size: 100px;
  margin: 0;
}

.circle_profile {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #f805fe, #548cdd);
  position: absolute;
  top: -10%;
  left: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.circle_profile::before {
  content: "";
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: black;
  position: absolute;
  top: 20;
  left: 20;
}

.inner_circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #f805fe, #548cdd);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.inner_circle::before {
  content: "";
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 20;
  left: 20;
}

.book_container h2 {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px 50px;
  border-radius: 50px;
  color: #333;
  font-size: 2.5rem;
  display: inline-block;
  margin: 0;
  width: 280px;
  height: 65px;
}

.popup {
  display: none;
  position: absolute;
  z-index: 100;
  top: 110px;
  right: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #888;
  width: 300px;
  border-radius: 30px;
}

.popup-content {
  padding: 20px;
}

.popup-content textarea {
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  color: black;
  resize: none;
  height: 80px;
  border-radius: 20px;
}

.popup-content textarea::placeholder {
  color: black;
  opacity: 1;
}

.input_form {
  border: none;
  background-color: transparent;
  color: black;
  font-size: 16px;
}

.input_form::placeholder {
  color: black;
  opacity: 1;
}

.close {
  position: absolute;
  top: -5px;
  right: 15px;
  color: black;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #f805fe;
  text-decoration: none;
}

.btn_form {
  background-color: transparent;
  border: none;
  color: black;
}

.musician-visible {
  opacity: 1;
  margin: 10px 0;     
  position: relative; 
  max-height: 1000px; 
  transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}

.musician-hidden {
  opacity: 0;
  margin: 0;          
  max-height: 0;      
  position: absolute; 
  overflow: hidden;  
  transition: opacity 0.05s ease, max-height 0.05s ease, margin 0.05s ease;
}



.artists_section {
  display: flex;
  gap: 20px;
  justify-content: center;
  z-index: 1;
}

.artist_item {
  width: 200px;
  display: flex ;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artist-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.artist_item h3,
.artist-description {
  margin: 10px 0;
}

.artist-description {
  color: #666;
  font-size: 0.875rem;
  padding: 0 10px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}


.form-select {
  appearance: none; 
  position: relative;
  display: inline-block;
  width: 280px; 
  height: 65px; 
  padding: 15px 20px;
  font-size: 1.6rem; 
  font-family: inherit;
  color: #333;
  text-align: center; 
  border: none;
  border-radius: 50px; 
  background: rgba(255, 255, 255, 0.5); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Bordure dégradée autour */
.form-select::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(to bottom, #f805fe, #548cdd); /* Dégradé similaire */
  z-index: -1;
}
#selected-genre-input{
  margin-top: 15px;
  padding-top: 17px;
}
#selected-category-input{
  padding-top: 17px;
}
/* Effet hover */
.form-select:hover {
  background: rgba(255, 255, 255, 0.7); /* Plus visible au survol */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Effet focus */
.form-select:focus {
  outline: none; /* Supprime le contour bleu natif */
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Surbrillance au focus */
}

/* Options dans le dropdown */
.form-select option {
  font-size: 1.5rem;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px; /* Arrondi des options */
  cursor: pointer;
}

/* Container global pour bien espacer */
.music_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* Ajout d'icône pour ressembler à l'ancien design */
.form-select::after {
  content: '\f0d7'; /* Flèche vers le bas (Font Awesome) */
  font-family: 'Font Awesome 5 Free'; /* Nécessite Font Awesome */
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Empêche le clic sur l'icône */
}


@media (max-width: 600px) {
  .greetings_container h1 {
    font-size: 4rem;
  }

  .greetings_container h2 {
    font-size: 0.9rem;
    margin: 0.75rem;
    white-space: normal;
    word-break: break-word;
  }

  .circle_profile {
    width: 60px;
    height: 60px;
    top: -5%;
    left: 70%;
  }

  .circle_profile::before {
    width: 85%;
    height: 85%;
    top: 15;
    left: 15;
  }

  .inner_circle {
    width: 20px;
    height: 20px;
  }

  .inner_circle::before {
    width: 70%;
    height: 70%;
    top: 15;
    left: 15;
  }

  .book_container h2 {
    font-size: 1.3rem;
    width: 200px;
    height: 50px;
    padding: 10px 15px;
  }

  .category_container select,
  .music_container span {
    width: 230px;
    height: 50px;
    font-size: 1.25rem;
  }
}
