/* Style général */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #ffeb3b;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: url("../images/micro 2_edited.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    opacity: 1;
    min-height: 100vh;
}

header .top-nav {
    display: flex;
    justify-content: center; /* Centre les liens dans la navigation */
    background-color: #000; /* Fond noir pour contraster avec les boutons */
    padding: 1rem 0.5rem;
    gap: 15px; /* Espace entre chaque bouton */
    flex-wrap: wrap;
}

header .top-nav a {
    background-color: #007ae0; /* Couleur de fond bleu vif */
    color: white;
    padding: 5px 10px; /* Réduit le padding pour diminuer la taille */
    font-size: 0.75rem; /* Réduit la taille de la police */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px; /* Bord arrondi */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Ombre pour effet de bouton */
    transition: background-color 0.3s ease; /* Transition pour effet de survol */
}

header .top-nav a:hover {
    background-color: #005bb5; /* Couleur légèrement plus foncée au survol */

}

main{
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.5rem;
}

.menu_title{
    font-size: 1rem;
}
.logo {
    width: 12rem;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.content {
  align-items: center;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

.intro {
    color: #ffeb3b;
    font-size: 1rem;
    margin-bottom: 20px;
    transform: rotate(-5deg);
    
    position: relative;
    align-self: center;
}

.emoji {
    font-size: 1.5em;
}

.tilted-text {
    color: #ffeb3b;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
    transform: rotate(-5deg);
    display: inline-block;
    padding: 0.2em 0.5em;
    position: relative;
    z-index: 1;
    text-align: center;
    align-self: center;
}

.tilted-text::before,
.tilted-text::after {
    content: "";
    position: absolute;
    left: -10px; /* Décale un peu vers la gauche pour dépasser légèrement le texte */
    right: -10px; /* Décale un peu vers la droite pour dépasser légèrement le texte */
    height: 0.5em; /* Hauteur de la bande bleue */
    background-color: #007ae0; /* Couleur de la bande */
    z-index: -1; /* Derrière le texte */
}

.tilted-text::before {
    top: 1.1rem; /* Positionne la bande supérieure au-dessus du texte */
}

.tilted-text::after {
    bottom: 0.2rem; /* Positionne la bande inférieure en dessous du texte */
}


.schedule {
    position: relative;
  align-self: center;
  transform: rotate(-5deg);
  font-size: 1.3em;
  color: #ffeb3b;
  margin: 10px 0;

    
}

.button {
    display: inline-block;
    background-color: #004e8f;
    color: #ffeb3b;
    padding: 10px 20px;
    margin: 20px 0;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    align-self: center;
    width: 90%;
    max-width: 300px;
}

.button a {
    color: #ffeb3b;
    text-decoration: none;
}

.button:hover {
    background-color: #007acc;
}

.info {
    font-size: 1.2em;
    color: #ffeb3b;
    margin-top: 2rem;
    position: relative;
    align-self: center;
    transform: rotate(-5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info img {
    max-width: 40px;
    height: auto;
    border-radius: 50%;
    margin-top: 0.5rem;
}

.details {
    font-size: 1em;
    color: #ffeb3b;
    margin: 1.5rem 0;
    line-height: 1.6;
    position: relative;
    /*transform: rotate(-5deg);*/
    align-self: center;
    border: #00aaff 1px groove;
    border-radius: 2rem;
    padding: 1.5rem;
    width: 90%;
    max-width: 500px;
}

.contact-info {
    font-weight: bold;
    color: #ffeb3b;
    margin: 20px 0;
    position: relative;
  
    

    align-self: center;
}

.social-link {
    color: #00aaff;
    text-decoration: none;
    position: relative;
  
    
 
    align-self: center;
}

.social-link:hover {
    text-decoration: underline;
}

.social-icon {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
}

/* Styles pour la section de téléchargement d'application */
.app-download {
    margin: 1.5rem 0;
    text-align: center;
    width: 90%;
    max-width: 300px;
    transform: rotate(-5deg);
}

.download-text {
    color: #ffff00;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.arrow {
    color: #ffff00;
    font-size: 1.5em;
    display: inline-block;
    vertical-align: middle;
}

.google-play-link {
    display: inline-block;
    margin-top: 0.5rem;
}

.google-play-icon {
    max-width: 150px;
    height: auto;
}



.content_replay {
    align-items: start;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    min-height: 80rem;
  }
  

  .replay-item {
    margin: 20px auto;
    padding: 10px;
   /* border: 1px solid #007ae0;*/
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffeb3b;
    max-width: 600px;
    text-align: left;
}

.replay-item p {
    margin: 5px 0;
}

.replay-item audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.intro_replay {
    color: #ffeb3b;
    font-size: 1.2rem;
    margin-bottom: 20px;
   
    
    position: relative;
    align-self: center;
}

/* Style pour le grand logo Facebook */
.facebook-large {
    width: 120px;
    height: auto;
    max-width: 30%;
    border-radius: 50%;
    margin: 10px auto;
    display: block;
}

/* Styles pour la page concours */
.hidden {
    display: none;
}

.loading-spinner {
    text-align: center;
    color: #ffeb3b;
    font-size: 1.2em;
    margin: 2rem 0;
}

.concours-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.concours-item {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #007ae0;
    padding: 1.5rem;
    border-radius: 10px;
    color: #fff;
    transform: rotate(-1deg);
    transition: transform 0.3s;
}

.concours-item:hover {
    transform: rotate(0);
}

.concours-item h3 {
    color: #ffeb3b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.concours-dates {
    color: #fff;
    margin-bottom: 0.5rem;
}

.status-actif {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-termine {
    color: #F44336;
    font-weight: bold;
    margin-bottom: 1rem;
}

.concours-description {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #eee;
}

.concours-medias, .concours-results {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
}

.concours-media {
    width: 48%;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.concours-image, .concours-video {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.concours-audio {
    width: 100%;
    margin-bottom: 0.5rem;
}

.concours-file-link {
    display: inline-block;
    background-color: #007ae0;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0.5rem 0;
    transition: background-color 0.3s;
}

.concours-file-link:hover {
    background-color: #0056b3;
}

.media-description {
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
}

.concours-results-title {
    color: #ffeb3b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.concours-termine {
    opacity: 0.8;
}

/* Media Queries pour responsive design */
@media screen and (max-width: 768px) {
    .content {
        padding: 0.5rem;
    }
    
    .tilted-text {
        font-size: 1.1em;
    }
    
    .schedule {
        font-size: 1.1em;
    }
    
    .details {
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    header .top-nav {
        gap: 10px;
    }
    
    header .top-nav a {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .logo {
        width: 10rem;
    }
    
    .tilted-text {
        font-size: 1em;
    }
    
    .intro {
        font-size: 0.9rem;
    }
    
    .schedule {
        font-size: 1em;
    }
    
    .button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .details {
        font-size: 0.9em;
        padding: 0.8rem;
    }
    
    .app-download {
        transform: rotate(-3deg);
    }
    
    .download-text {
        font-size: 0.95rem;
    }
    
    .google-play-icon {
        max-width: 120px;
    }
    
    /* Styles responsives pour la page concours */
    .concours-item {
        padding: 1rem;
    }
    
    .concours-item h3 {
        font-size: 1.2rem;
    }
    
    .concours-media {
        width: 100%;
    }
    
    .concours-medias, .concours-results {
        flex-direction: column;
        gap: 0.5rem;
    }
}