:root {
  --bulma-primary-h: 320deg;
  --bulma-primary-l: 47%;
  --bulma-link-h: 267deg;
  --bulma-link-s: 49%;
  --bulma-link-l: 42%;
  --bulma-info-h: 279deg;
  --bulma-success-h: 166deg;
  --bulma-success-s: 63%;
  --bulma-success-l: 58%;
  --bulma-warning-h: 329deg;
  --bulma-warning-l: 47%;
  --bulma-danger-h: 0deg;
  --bulma-danger-l: 48%;
  --StoryRH-link:hsl(320, 100%, 47%);
  --StoryRH-purple:hsl(267, 50%, 42%);
  
}


.navbar-item.is-selected {
    background-color: hsl(0, 0%, 100%) !important; /* Change la couleur de fond */
    color: var(--StoryRH-link) !important; /* Change la couleur du texte */
    border-bottom: 2px solid hsl(320, 100%, 47%); /* Ajoute une bordure en bas */
  }

.logo {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    margin: 0;
    width: 100%;
}
.bandeau {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    margin: 5px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-burger {
color: var(--StoryRH-link);
}

.search-input {
  border-radius: 25px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  position: relative;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #dbdbdb;
  padding: 0.5rem 0;
  z-index: 1000;
}

.footer-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
}

.footer-icons a {
  color: #4a4a4a;
  text-align: center;
  font-size: 1.2rem;
  position: relative;
  transition: color 0.3s ease;
}

.footer-icons a.is-active {
  color:var(--StoryRH-link);
}

.footer-icons a.is-active::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background-color:var(--StoryRH-link);
  border-radius: 2px;
}

.footer-icons a:hover {
  color: var(--StoryRH-link);
}

  /* Podcast card overlay effect */
  .card-image {
    position: relative;
    overflow: hidden;
  }

  .card-image:hover .overlay {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
  }


/* Overlay styles */
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center; /* Centrer horizontalement */
align-items: center; /* Centrer verticalement */
opacity: 0;
transition: opacity 0.3s ease-in-out;
}

.card-image:hover .overlay {
opacity: 1;
transition: opacity 0.3s ease-in-out;
}

.overlay .icon {
color: #fff;
font-size: 3rem;
cursor: pointer;
margin: 30px; /* Espacement entre les icônes */
}

.overlay .icon:hover {
transform: scale(1.2);
transition: transform 0.3s ease-in-out;
}

/* Styling the icons differently */
.play-icon {
margin-right: 20px;
}

.view-icon {
margin-left: 20px;
}
  .overlay .icon {
    color: #fff;
    font-size: 3rem;
  }

  .card:hover .overlay .icon {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
  }

  .modal-player {
    display: none; /* Cachée par défaut */
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    justify-content: center;
    align-items: center;
}

.modal-player iframe {
    width: 100%;
    height: 100%;
    border: none; /* Supprime les bordures */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2; /* Assurez-vous que le bouton est au-dessus de l'iframe */
}

.close-btn:hover {
    color: #ccc;
}

