#box2{
  position: relative;
  display: flex;
  height:auto;
  justify-content: center;
  margin-top:1.5%;
  width:80%;
  left:10%;
}

.desc {
  display:table-cell;
  font-size: clamp(12px, 1.9vw, 22px);
  font-weight:bold;
  text-align:justify;
  vertical-align: middle;
  text-align-last: center;
  letter-spacing: 0.08em;
  word-spacing: 0.05em;
  font-family: Arial Black;
  color: white;
}

#box3{
  position: relative;
  display: flex;
  gap: 5%;
  justify-content: center;
  width:100%;
  margin-top:25px;
}

.desc-filigrane {
    font-size: clamp(12px, 1.5vw, 24px);
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-align: justify;
    color: white;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    width: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2%;
    border-radius: 10px;
}

.visible {
    opacity: 1;
}


#box10{
  position: relative;
  display: flex;
  justify-content: center;
}

#box11{
  position: relative;
  display: flex;
  justify-content: center;
  width:100%;
  height:20vw;
  margin-top:5px;
  padding-top:1%;
  padding-bottom:3%;
}

.rounded-img2 {
  width: 45%;
  object-fit: fill;
  border-radius: 50px;
}

.rounded-img {
  width: 30%;
  object-fit: fill;
  border-radius: 50px;
}

#carousel-container {
    position: relative;
    width: 100%;             
    overflow: hidden;        
    margin: 5% auto;       
    display: flex;           
    justify-content: center;
    flex-direction: column; 
}

#banner {
    position: relative;  
    width: 100%;         
    text-align: center;  
}

#banner p {
    font-size: clamp(14px, 2vw, 30px);
    color: white;         
    font-weight: bold;    
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 10px 0;     
}

#carousel {
    position:relative;
    display: flex;           
    width: 100%;          
    transition: transform 1s ease-in-out; 
}

.carousel-img {
    width: calc(100% / 3 - 20px);   
    flex-shrink: 0;          
    border-radius: 15px;     
    margin: 0 10px;          
    object-fit: cover;       
}

#carousel2-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 5% auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#banner2 {
    position: relative;
    width: 100%;
    text-align: center;
}

#banner2 p {
    font-size: clamp(14px, 2vw, 30px);
    color: white;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

#carousel2 {
    position: relative;
    display: flex;
    width: 100%;
    transition: transform 1s ease-in-out;
}

.carousel2-item {
    position: relative;
    width: 19%;
    margin: 0 0.5%;
    display: flex;
    flex-direction: column;
}

.carousel2-img {
    width: calc(100% /5 -0px);
    border-radius: 15px;
    object-fit: cover;
}

.overlay-left {
    background-color:white;
    padding-top:2%;
    padding-bottom:2%;
    position: absolute;
    bottom: 0;
    width: 30%; 
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-center {
    background-color:darkred;
    padding-top:2%;
    padding-bottom:2%;
    position: absolute;
    bottom: 0;
    width: 40%; 
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-right {
    background-color:black;
    padding-top:2%;
    padding-bottom:2%;
    position: absolute;
    bottom: 0;
    width: 30%; 
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-left {
    left: 0;
    border-bottom-left-radius: 15px;
}

.overlay-center {
    left: 30%;
}

.overlay-right {
    right: 0;
    border-bottom-right-radius: 15px;
}

.overlay-center img,
.overlay-left img,
.overlay-right img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

#box4 {
  margin: 5% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  padding: 1%;
  width: 90%;
  border: 2px solid grey;
}

#conteneur4 {
  text-align: center;
  margin-bottom: 2%;
}

.chaines {
  position:relative;
  display:flex;
  align-items: center;
  font-size:35px;
  font-weight:bold;
  text-decoration: underline;
  letter-spacing: 0.08em;
  word-spacing: 0.05em;
  font-family: Arial Black;
  color: white;
}

#conteneur5 {
  display: flex;
  justify-content: space-between;
  margin:0 10%;
}

#conteneur5 .channel {
  width: 20%;
  text-align: center;
  border-radius: 25px;
}

#conteneur5 .channel img {
  width: 100%;
  height:100%;
  border-radius: 25px;
  object-fit: contain;
}

.desc span {
  opacity: 0;
  animation: fadeIn 1s linear forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

#mobile-banner {
    top: 0;
    position: fixed;
    display: none;
    z-index: 1001;
}


#mobile-banner img {
  flex-grow: 1;
  width:50%;
  height:20px;
  object-fit: contain;
  padding: 0 10px;
}

.icon-container {
  flex-grow: 1;
  text-align: center;
}

.icon-container a {
  display: block;
  color:white;
}

.icon-container p {
  margin: 0;
  font-size: clamp(11px,2vw,16px);
  font-family:Bahnschrift;
}

#artistes-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top:3%;
    border-radius: 10px;
}

#add-song-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

#add-song-btn.glow-on-hover {
    width: 80%;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    padding: 18px 32px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

#add-song-btn.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(255, 75, 43, 0.8);
    transform: scale(1.05);
}

#artistes-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.carousel-item {
    flex: 0 0 calc(100% / 4);
    box-sizing: border-box;
    padding: 10px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.glow-on-hover {
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(255, 75, 43, 0.8);
    transform: scale(1.05);
}

#add-song-form {
    margin-top: 20px;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.song-form-block {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.song-form-block label {
    color: white;
    font-weight: bold;
}

.song-form-block input {
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-row input {
    flex: 1;
}

.input-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 5px;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.form-buttons button {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.form-buttons button[type="submit"] {
    flex-basis: 75%;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    margin-right:5%;
}

#close-form-btn {
    flex-basis: 20%;
    background-color: darkred;
    color: white;
}

.upload-btn-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.upload-btn {
    position: relative;
    display: inline-block;
    width: 60%;
    padding: 14px 28px;
    color: white;
    background: linear-gradient(135deg, #1cb5e0, #000851);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 12px rgba(28, 181, 224, 0.5);
    text-align: center;
    z-index: 1;
}

.upload-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(28, 181, 224, 0.9);
}

.upload-btn-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    pointer-events: none;
}

#image-preview-container {
    display: flex;
    justify-content: center;
}

#imagePreview {
    max-width: 500px;
    max-height: 500px;
    border-radius: 15px;
    animation: fadeInPreview 0.8s ease-in-out;
    object-fit: cover;
}

@keyframes fadeInPreview {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

a {
  text-decoration: none;
  color: rgb(32, 109, 224); 
}

c{
  text-decoration: none;
  color:white;
}

* {
 margin:0;
 padding:0;
 }

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 200vw;
  height: 200vh;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: float 30s infinite alternate ease-in-out;
}

.gradient-overlay.red {
  background: radial-gradient(circle, rgba(255, 0, 0, 0.3), transparent 60%);
}

.gradient-overlay.blue {
  background: radial-gradient(circle, rgba(0, 150, 255, 0.2), transparent 60%);
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-40%, -60%) scale(1.2);
  }
}

.navbar {
    border-bottom: 1.5px solid black;
    top: 0;
    padding: 0.75% 1.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #c043e5, #4a7aff);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(12px);
    position: sticky;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 60px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.08);
}

.nav-links {
    width:75%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12%;
}

.nav-links.connected {
    width: 60%;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 26px);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: lightgrey;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.user-avatar {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s;
}

.user-avatar-link:hover .user-avatar {
    transform: scale(1.1);
}

.user-avatar-link:hover {
    color: #ff416c;
}

.logout-btn, .login-btn {
    padding: 1% 2%;
}

.logout-btn:hover, .login-btn:hover {
    transform: translateY(-2px);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(-45deg, #001a33, #002244, #003366, #001a33);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.bas {
  position:relative;
  bottom: 0;
  width:100%;
}

.break{
  color:white;
  box-sizing: border-box;
  width:100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  background: black;
  border-top:3px solid lightgrey;
  border-bottom:3px solid lightgrey;
}

@font-face {
    font-family: "Bahnschrift";
    src: url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.eot");
    src: url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.svg#Bahnschrift")format("svg");
    font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../style/polices/AgencyFB.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media screen and (min-width: 0px) and (max-width: 600px) and (orientation: portrait) {
    .navbar {
        display: none;
    }
    
    .main-content {
      margin-top: 80px;
      margin-bottom: 30px;
    }
    
    #mobile-banner {
        top: 0;
        position: fixed;
        display: flex;
        width:96.5%;
        background: linear-gradient(90deg, #c043e5, #4a7aff);
        justify-content: space-between;
        align-items: center;
        border: 1px solid white;
        padding: 1% 1.5%;
        z-index: 1001;
    }
    
    #mobile-banner .profil-box {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    #mobile-banner .profil-box a img {
        margin: 0;
        padding: 0;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
     
    #mobile-banner .icon-container img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        background: transparent;
    }
    
    #mobile-banner .icon-container:first-child img {
        width: 60px;
        height: 25px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
        
    .break{
        border-top:1px solid lightgrey;
        border-bottom:1px solid lightgrey;
    }
    
    .my-iframe {
        height: 80px !important;
    }
    
    .carousel2-item {
        width: 46% !important; 
        margin: 2% !important;
    }
    
    .carousel2-img {
        width: calc(100% /3 -0px);
    }
}
