body {
    user-select: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

html, body {
    overflow: hidden;
    height: 100%;
}

.baremissions {
    top: 20px;
    display: none;
    position: static;
}

header,
.navbar-bottom-phone {
    display: none;
}

#mentions-legales {
    bottom : 5px;
    left: 5px;
    position: absolute;
    color: white;
}

#iframe_proposer {
    z-index: 1000;
    width: 80%;
    max-width: 800px;
    height: 70%;
    max-height: 600px;
    border: none;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    border-radius: 12px;
}

.reseaux-container img{
  transition: transform 0.2s ease;
}

.reseaux-container img:hover {
  transform: translateY(-13px) scale(1.12);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: rgba(33, 9, 65, 0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 999;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-left {
  display: flex;
  align-items: stretch; 
  gap: 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.b {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

a {
  text-decoration: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  outline: none;
  padding: 2px 1px 0;
}

a:hover {
  text-decoration: none;
}

.ctkoi {
    top: 20px;
    left: 16%;
    position: absolute;
}

.podcasts {
    left: 30%;
    top: 21px;
    position: absolute;
}

.equipe {
    right: 30%;
    top: 21px;
    position: absolute;
}

.annonces {
    top: 20px;
    right: 16%;
    position: absolute;
}

.contact {
    top: 20px;
    right: 6%;
    position: absolute;
}

.Emissionsbutton {
    top: 20px;
    left: 6%;
    position: absolute;
}

.ctkoi, .podcasts, .contact a {
    color: white;
}

.paypal-logo {
  height: 30px;
}

.logo {
  height: 60px;
  margin-top: 5px;
}

.listencontainer {
  position: relative;
  display: inline-block;
}

#elemde {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -99 !important;
}

.sheader {
    top: 42%;
    right: 22%;
    position: absolute;
}

#btn {
  padding: 15px 30px;
  font-size: 18px;
  background-color: #6abff3;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease-in-out;
}

#btn:hover {
  background-color: #7DF9FF;
}

.listencompartiment {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  background-color: #003366;
  padding: 15px 30px;
  border-radius: 0 0 5px 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-55px);
  transition: 
    opacity 0.5s ease, 
    visibility 0.5s ease, 
    transform 0.5s ease;
  box-sizing: border-box;
  color: white;
  z-index: -1; 
}

@media (min-width: 992px) {
  .listencompartiment {
    display: block;
  }
    
  .listencontainer:hover #btn {
    border-radius: 5px 5px 0 0;
  }

  .listencontainer:hover .listencompartiment {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: -1;
  }
}

#offlineMessage {
    color: red; 
    font-size: 0.7em; 
    display: none; 
    margin-top: 4px;
}

#songTitle {
    font-size: 0.8em; 
    color: white;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.reseaux-container {
  bottom: 0px;
  right: 0px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  justify-content: space-between;
  display: flex;
  gap: 8px;
  flex-direction: row;
}

#albumArt {
  width: 50px; 
  height: 50px; 
  margin-right: 8px; 
  display: none; 
  border-radius: 10px;
}

#statusMessage {
  font-size: 0.7em; 
  color: #ccc; 
  margin-bottom: 4px;
}

#content {
  flex: 1;
  padding: 20px;
}

@media (max-width: 550px) {
    .logo {
        width: 100px;
        height: 100px;
    }

    .button-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    #elemci,
    elemsi {
        bottom: 15%;
        position: absolute;
    }
}

#elemsi {
    right: 355px;
    bottom: 35px;
    position: absolute;
    font-family: "Courier New", monospace;
    color: blue;
    text-align: center;
}

#don {
    right: 5px;
    top: 5px;
    position: absolute;
    font-family: "Courier New", monospace;
    color: blue;
    text-align: center;
}

#annonces {
    bottom: 3px;
    left: 47%;
    position: absolute;
}

.boutonannonces {
    background-color: #37a6ed;
    padding: 10px 20px;
    border: 2px solid black;
}

.boutonannonces:hover {
    border: 2px solid #7DF9FF;
    transition: ease 0.5s;
}

#elemcloture {
    left: 50px;
    bottom: 6px;
}

.navbar a,
.navbar-bottom-phone a {
  color: #fff; 
  text-decoration: none;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.navbar a:hover,
.navbar-bottom-phone a:hover {
  color: #ddd;
  text-shadow: 0 0 6px rgba(200, 200, 200, 0.8),
               0 0 12px rgba(200, 200, 200, 0.6),
               0 0 24px rgba(200, 200, 200, 0.4),
               0 0 48px rgba(200, 200, 200, 0.2);
}

.headeru {
    top: 3px;
    right: 3px;
    position: absolute;
}

@media (max-width: 1285.60px) {
    .annonces, .podcasts {
        display: none;
    }
    .ctkoi {
        left: 30%;
        position: absolute;
    } 
}

@media (max-width: 1200px) {
    .sheader {
        right: 15%;
    }
}

@media (max-height: 608px) {
    .reseaux-container {
        flex-direction: row;
    }
}

@media (max-width: 990px) {

    .navbar-bottom-phone {
        position: absolute;
        display: flex;
        bottom: 0px;
        left: 0px;
        right: 0px;
        height: 70px;
        background-color: #0a2a5200;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
        z-index: 50;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .navbar-bottom-phone a {
      color: white;
      text-decoration: none;
      font-size: 18px;
      font-weight: 500;
    }
        
    .baremissions {
        display: flex;
    }
    
    .bar, .bars-container, elemtr {
        display: none;
    }
    
    body {
        font-size: 14px;
    }
    
    .sheader,
    .reseaux-container,
    #reseau,
    #elemde,
    .podcasts,
    .contact,
    .paypal-box,
    .annonces,
    .equipe,
    .planningbutton,
    #emissions,
    #volumeSlider{
        display: none;
    }

    .annonces {
        left: 30% !important;
        position: absolute;
    }
    
    elemun {
        top: 50%;
        left: 50%;
        position: absolute;
    }

    .ctkoi {
        left: 4%;
    }

    .podcasts {
        right: 30%;
    }

    #content {
        padding: 10px;
    }
    
    #btn {
        left: 50%;
        font-size: 50px;
        right: 40%;
    }

    button {
        font-size: 50px;
        padding: 10px 20px;
    }

    header {
        font-size: 40px;
        top: 10%;
        position: absolute;
    }

    .bouton_proposer_chanson {
       height: 40px;
       lenght: auto;
    }

    #iframe_proposer {
        top: 45%;
        height: 55%;
    }

    .proposer_une_chanson_image {
        height: 250;
        lenght: auto;
    }
    
}

.icon-pause {
    background-image: url('illustrations/pause.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
}

.icon-play {
    background-image: url('illustrations/play.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
}

audio {
    position: relative;
    z-index: 1;
}

.audio-player {
  backdrop-filter: blur(3px);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  background-color: rgba(33, 9, 65, 0.6);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  z-index: 72;
  margin: 0;
  box-shadow:
    0 0 10px #69007C,
    0 0 20px #69007C,
    0 0 40px #69007C,
    0 0 80px #69007C,
}

.album-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
    margin-left: 15px;
}

.album-art {
    width: 120px !important;
    height: auto !important;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 10px;
    position: right;
}

.song-title {
    font-family: 'SpaceGrotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px !important;
    color: white;
    margin: 10px 0;
}

.offline-message {
    color: red;
    font-weight: bold;
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.audio-controls * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn {
    background-color: rgba(158, 157, 155, 0.25); 
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.control-btn:hover {
    background-color: rgba(189, 46, 255, 0.288);
}

.volume-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.a, .b {
    width: auto;
}

.volume-slider {
    position: absolute;
    right: 4%; 
    bottom: 6%;
    width: auto;
    max-width: 50%; 
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, #4a1dd1 0%, #7b04db 100%);
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    margin-left: 9%;
}

.volume-slider:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 40%, #2c3e50 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #5f27cd;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background-color: #1dd1a1;
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 40%, #2c3e50 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #5f27cd;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background-color: #1dd1a1;
}

.volume-slider::-webkit-slider-runnable-track {
    background: transparent;
}

.artist-name {
    font-family: 'SpaceGrotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
    color: white;
    font-size: 1em;
    margin-top: 5px;
}

.ckoi {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 1.2em;
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
}

.home {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 1.2em;
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(10, 25, 50, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
}

.ckoi:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 990px) {
    .ckoi {
        font-size: 1em;
        top: 82%;
        right: 41%;
    }

    .home {
        top: 9%;
        left: 3px;
        position: absolute;
    }

    .audio-player {
        left: 50%;
        position: absolute;
    }

    .audio-player {
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    #mentions-legales {
        display: none;
    }
}
