/* Déclaration de la police Beloved Sans */
@font-face {
    font-family: 'Beloved Sans';
    src: url('/static/fonts/Beloved_Sans_Bold.woff2') format('woff2'),
         url('/static/fonts/Beloved_Sans_Bold.woff') format('woff'),
         url('/static/fonts/Beloved_Sans_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Animation du logo */
@keyframes rainbow {
    0% { fill: red; }
    70% { fill: orange; }
    90% { fill: yellow; }
}

#logo svg .cls-1,
#logo svg .cls-2 {
    animation: rainbow 10s linear infinite;
}

/* Styles de base */
body {
    background-color: black;
    color: white;
    font-family: 'Beloved Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Styles de l'en-tête */
header {
    margin-top: 20px;
}

#logo {
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

#logo svg {
    width: 100%;
    height: 100%;
}

#logo-link {
    display: inline-block;
    text-decoration: none;
}

/* Styles des icônes de liens */
.icon-links {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-links a {
    margin: 10px;
}

.icon-links img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.icon-links img:hover {
    transform: scale(1.1);
}

/* Styles du formulaire de connexion */
.login-form {
    margin-top: 50px;
}

.buttons {
    margin-top: 20px;
}

.buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style général pour toutes les sections */
.section, .branding-section, .agenda-section {
    width: 90%;
    max-width: 800px;
    margin: 20px auto 50px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
}

.audio-players, .photo-gallery, .branding-content, .agenda-content, .presskit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-player, .photo-item, .font-item, .presskit-item {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.photo-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Styles des listes (fonts, logos, events) */
.font-list, .logo-list, .event-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0;
    list-style-type: none;
}

.font-item, .logo-item, .event-item {
    width: 100%;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-item img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 10px;
}

.font-item a, .logo-item a, .presskit-item a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

/* Styles des titres */
h2, h3, h4, h5 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
}

/* Styles spécifiques pour l'agenda */
.agenda-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.future-events, .past-events {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.future-events h3, .past-events h3 {
    margin-bottom: 20px;
    color: #e30613;
}

.event-item {
    text-align: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.past-event {
    opacity: 0.6;
}

.event-date {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-name {
    margin-bottom: 5px;
}

.event-location {
    font-style: italic;
}

.event-location a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.event-location a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Styles du pied de page */
footer {
    margin-top: 50px;
    padding: 20px;
}

/* Styles responsives */
@media (min-width: 600px) {
    .icon-links img {
        width: 80px;
        height: 80px;
    }

    .font-item, .logo-item {
        width: calc(50% - 20px);
        margin: 10px;
    }
}

@media (min-width: 1024px) {
    #logo {
        width: 500px;
        height: 500px;
    }

    .icon-links img {
        width: 100px;
        height: 100px;
    }

    .font-item, .logo-item {
        width: calc(33.33% - 20px);
    }
}