/* HEADER */
header {
    background: url("../img/img_header.JPG") no-repeat center center;
    background-size: cover;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

/* NAVBAR */
.navbar {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 6%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    padding: 6px 0;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.navbar ul li a:hover {
    text-decoration: underline;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: 3%;
}

.burger-menu .line {
    width: 100%;
    height: 3px;
    background-color: white;
}

/* En petit écran, masquer par défaut */
@media (max-width: 768px) {
    #nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 999;
    }

    #nav-links.active {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }

    .navbar {
        justify-content: space-between;
        padding: 10px 20px;
    }

    .navbar ul li {
        margin-bottom: 3%;
    }
}