body {
    font-family: 'Roboto', sans-serif; /* Changed font to Roboto */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ece1e1;
    color: #300000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #300000;
    color: #fffcfc;
    padding: 1rem 0; /* Reduced padding for a shorter header */
    box-shadow: 0 4px 10px rgba(30,0,0,0.2);
    position: relative; /* Changed from fixed to relative to not cover the top of the page */
    width: 100%;
    z-index: 1000;
}

header img {
    margin-top: -30px; /* Ajustez la valeur selon vos besoins */
    margin-left: -36px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    nav ul li {
        margin: 5px;
    }
}

nav ul li {
    margin: 0 20px;
    position: relative; /* Nécessaire pour le positionnement du dropdown */
}

nav ul li a {
    color: #fffcfc;
    font-size: 24px;
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: bold; /* Made menu header text bold */
}

nav ul li a:hover {
    text-decoration: none;
    font-size: 24px;
    color: #F03;
}

h1 {
    color: #300000;
    margin-bottom: 30px;
}

h2 {
    color: #300000;
    margin-bottom: 30px;
}

h3 {
    color: #300000;
    margin-bottom: 30px;
}

.content {
    background-color: #fffcfc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    font-size: 16px;
}

a {
    color: #300000;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF0033;
    font-size: 20px;
}

footer {
    background-color: #300000;
    color: #fffcfc;
    padding: 0px 0; /* Reduced padding for a shorter footer */
    text-align: center;
    margin-top: auto; /* Changed to ensure footer is at the bottom of the page */
    width: 100%;
    position: relative; /* Changed to absolute to ensure footer is at the bottom of the page */
    bottom: 0; /* Ensures footer is at the very bottom of the page */
    z-index: 1000;
}

footer a, footer span {
    color: #fffcfc;
}

footer a:hover {
    text-decoration: underline;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-list, .genre-list {
    list-style-type: none;
    padding: 0;
}

.category-list > li {
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(26,0,0,0.05);
    transition: transform 0.3s ease;
}

.category-list > li:hover {
    transform: translateY(-5px);
}

.category-list h3 {
    color: #FF0033;
    margin-top: 0;
}

.genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.genre-list li {
    background-color: #FF0033;
    color: #fffcfc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.genre-list li:hover {
    background-color: #FF0033;
    transform: scale(1.05);
}

.music-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.music-cloud a {
    text-decoration: none;
    background-color: #300000;
    color: #fffcfc;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.music-cloud a:hover {
    background-color: #FF0033;
    transform: scale(1.05);
    color: #000;
}

.dropdown-content {
    display: none; /* Masquer le contenu du dropdown par défaut */
    position: absolute; /* Positionner le dropdown par rapport à son parent */
    background-color: #300000; /* Couleur de fond du dropdown */
    z-index: 1000; /* Assurer que le dropdown est au-dessus des autres éléments */
}

.dropdown:hover .dropdown-content {
    display: block; /* Afficher le dropdown au survol */
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static; /* Positionner le dropdown normalement sur mobile */
    }
    .dropdown-content.active {
        display: block; /* Afficher le dropdown lorsque actif */
    }
}

.creator-content {
    margin-top: 20px; /* Adds space above the creator content */
    font-size: 18px; /* Adjusts the font size */
    color: #300000; /* Sets the text color */
}
