@charset "utf-8";

/* Fond vidéo plein écran */
#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: Verdana, sans-serif;
    background: transparent;
    color: #000;
}

/* Menu fixe */
.menuWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 50, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10;
    box-sizing: border-box;
}

.logo {
    width: clamp(80px, 10vw, 120px);
    height: auto;
    flex-shrink: 0;
    max-width: 1200px;
}

.menuButtons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    flex-grow: 1;
    padding: 0 10px;
    min-width: 0;
}

.menuButton {
    font-size: clamp(14px, 2vw, 20px);
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
    padding: 6px 8px;
    border-radius: 14px;
    background-color: rgba(0, 120, 0, 0.65);
    transition: background-color 0.3s ease;
}

.menuButton:hover {
    background-color: #C16000;
}

.content {
    padding-top: 20px;
    position: relative;
    z-index: 5;
    transition: margin-top 0.3s ease;
}

#contenu0 {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.text-box-wrapper {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.text-box {
    background-color: rgba(0, 70, 0, 0.50);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    color: #FFF;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.text-box a {
    color: #50B0FF;
    text-decoration: underline;
    font-weight: bold;
}

.date-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.date {
    font-weight: bold;
    font-size: 14px;
}

.responsive-logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.shadow-text {
    font-family: Verdana, sans-serif;
    font-size: 22px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

center {
    margin: 20px 0;
}

.no-pointer {
    cursor: default;
}

/* Pied de page */
footer {
    background-color: rgba(69, 79, 18, 0.7);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    max-width: 100%;
    border-radius: 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons img {
    width: 24px;
    margin-left: 10px;
    vertical-align: middle;
}

footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    text-align: center;
}

/* Images du bas de page */
.image-links, .image-links2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
}

.image-links img, .image-links2 img {
    width: 100%;
    max-width: 600px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.image-links img:hover, .image-links2 img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .menuButtons {
        flex-direction: column;
        align-items: center;
    }

    .text-box-wrapper {
        padding: 0 10px;
    }

    .responsive-logo {
        max-width: 100%;
    }

    .image-links,
    .image-links2 {
        padding: 10px 0;
        gap: 15px;
    }

    .text-box {
        padding: 15px;
        font-size: 14px;
    }

    .logo {
        width: 80px;
        max-width: 100%;
    }

    footer p {
        flex-direction: column;
        font-size: 14px;
    }

    footer .social-icons img {
        margin-left: 0;
    }
}
