/*-- Créé par Joachim Espin / le 20.02.2025 */

/* Réinitialisation des marges, paddings, et des styles de liste */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* Configuration de la mise en page de base pour html et body */
html,
body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Style général du body avec le fond d'image */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: url(../ASSETS/img/supramk5.png) center/cover no-repeat;
    background-attachment: fixed;
    flex: 1;
}

/* Barre de navigation avec disposition horizontale */
.navbar {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Style pour le lien actuellement actif dans le menu */
#actuelle {
    color: #ffd900;
    font-weight: 600;
}

/* Logo et lien dans la barre de navigation */
.navbar a .logo {
    color: white;
    font-size: 2em;
    font-weight: bold;
    margin-left: 50px;
}

.navbar a .img-logo {
    position: absolute;
    left: 60px;
    width: 150px;
    height: 100px;
    margin-top: 40px;
}

/* Menu de navigation avec effet au survol */
.navbar a {
    color: white;
    font-size: 15px;
    transition: color 0.6s ease;
}

.navbar .nav-links {
    display: flex;
    justify-content: center;
}

.navbar .nav-links ul {
    display: flex;
    margin: 0;
}

.navbar .nav-links ul li {
    margin: 0 25px;
}

.navbar .nav-links ul li a:hover {
    color: #ffd900;
    font-weight: 600;
}

/* Menu hamburger visible sur les petits écrans */
.navbar .menu-hamburger {
    display: none;
    position: absolute;
    right: 30px;
    top: 40px;
    width: 35px;
    z-index: 3;
}

.Présentation {
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: center;
}

.Présentation h1 {
    font-size: xx-large;
    background-color: #534b4b;
    padding: 15px 15px;
    display: inline-block;
    border-radius: 5px;
    margin-left: 50px;
}

.evenement {
    margin-left: 200px;
    margin-right: 50px;
}

.Présentation .end {
    margin-top: 15px;
    background-color: #534b4b;
    padding: 7px 15px;
    display: inline-block;
    border-radius: 5px;
    margin-left: 50px;
    margin-right: 50px;
}

.Présentation .paragraphe {
    margin-top: 15px;
    background-color: #534b4b;
    padding: 7px 15px;
    display: inline-block;
    border-radius: 5px;
    margin-left: 50px;
    margin-right: 50px;
    text-align: justify;
}

.article {
    background-color: #534b4b;
}

.paragraphe p {
    padding: 10px;
}

.Présentation.blur {
    filter: blur(7px);
}

/* Style du footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
    flex-shrink: 0;
}

.intro{
    color: white;
    background-color: #534b4b;
}

/* Affichage du menu hamburger et ajustement du menu */
@media screen and (max-width: 900px) {
    .navbar {
        padding: 0;
    }

    .navbar .menu-hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        background: rgba(255, 255, 255, 0.256);
        backdrop-filter: blur(7px);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        margin-left: -100%;
        transition: margin 0.5s ease;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.mobile-menu {
        margin-left: 0;
        position: fixed;
    }

    .navbar .nav-links ul li {
        margin: 25px 0;
    }

    .navbar a {
        font-size: 1.2em;
    }

    .navbar a .logo {
        position: absolute;
        top: 40px;
        left: -10px;
    }

    .navbar a .img-logo {
        margin-top: 15px;
        ;
        width: 225px;
        height: 200px;
        padding-left: 45px;
    }

    .Présentation {
        padding: 5px 10px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 200px;
    }
}

/* Ajustements pour les résolutions intermédiaires */
@media screen and (max-width: 1323px) {
    .navbar a .logo {
        color: white;
        font-size: 2em;
        font-weight: bold;
        margin-left: 50px;
    }

    .navbar a .img-logo {
        left: 35px;
        width: 150px;
        height: 100px;
        margin-top: 80px;
    }
}

/* Ajustements pour les très petits écrans */
@media screen and (max-width: 600px) {
    .Présentation {
        padding: 3px 8px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media screen and (max-width: 3000px) {
    .Présentation {
        top: 250px;
    }
}
