.user-image {
    margin-right: 3vw;
}

.user-name {
    margin-right: 3vw;
}

button[type="text"]:hover{
    background-color: rgb(0, 0, 0);
}

.addMargin {
    margin-top: 10%;
}

.footer {
    bottom:0;
    flex-shrink: 0;
}

#artistSearch {
    width: 63%;
    flex: none;
}

#singleSearch {
    width: 30%;
    flex: none;
}

.carousel-controls {
    margin: 10px 5% 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 94%;
    gap: 1%;
    flex-wrap: nowrap;
}

.carousel-search {
    flex: 1;
    width: 90%;
    padding: 10px 15px;
    border: 2px solid #50dfdb;
    border-radius: 8px;
    background-color: #0e1c2f;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.carousel-search::placeholder {
    color: #aee5e3;
}

.carousel-search:focus {
    border-color: #aee5e3;
    background-color: #1f2f49;
}

#load-more {
    display: block;
    margin-left: 4.8%;
    width: 60%;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    font-family:"Arial Black";
    font-size: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#load-more:hover {
    background-color: #0056b3;
}

.plus2 {
    background: #007bff;
    margin-left:1%;
    padding-right:0.5%;
    padding-left:0.5%;
    border: 0.4vw solid white;
    border-radius: 20%;
    font-size: clamp(5px, 2vw, 16px);
    top:0;
}

.container {
    display: flex;
    align-items: flex-start;
}

.search-singles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 32%;
}

.single-card {
    width: 43.5%; 
    text-align: center; 
}

.single-card img {
    width: 100%; 
    height: auto; 
}

.single-card p {
    margin-bottom:15%;
    font-size: clamp(7px, 1vw, 14px);
    font-weight: bold;
    font-family:"Arial Black";
}

.single-card a {
    color:white;
}

.artistes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3%;
    margin: 0 4.7%;
    width: 60%;
}

.artiste-card {
    margin-top: 1%;
    margin-bottom: 1.5%;
    width: 12.5%;
    text-align: center;
}

.artiste-card img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    height: 8vw;
    cursor: pointer;
}

.artiste-card p {
    font-size: clamp(7px, 1vw, 14px);
    font-weight: bold;
    font-family:"Arial Black";
    margin-top: 1%;
    margin-bottom:15%;
    cursor: pointer;
}

.artiste-card p {
    color: white;
}

.artiste-card p a {
    color: white;
}

#mobile-banner {
  display: none;
}

.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;
}
    
@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%;
  }
}

@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 {
    margin: 0;
    padding: 0;
    background: linear-gradient(-45deg, #001a33, #002244, #003366, #001a33);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  min-height: 100%;
  flex: 1;
}

.bas {
  position: relative;
  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) {
    #artistSearch {
        width: 52.5%;
        flex: none;
    }
    
    #singleSearch {
        width: 22.5%;
        flex: none;
    }

    .artistes-container {
        justify-content: space-between;
    }

    .artiste-card {
        height:80px;
        width: 28%;
        margin-bottom: 3%;
    }

    .artiste-card img {
        height: 75%;
    }

    .single-card {
        width: 100%;
        margin-bottom: 4%;
    }

    .single-card img {
        width: 100%;
    }
    
    .navbar {
        display: none;
    }
    
    .main-content {
      margin-top: 60px;
      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;
    }
}
