﻿body {
    margin: 0;
    background-color: #FAFAFA;
    font-family: Rockwell;
    opacity: 1;
    transition: opacity 0.5s ease;
}

    body.fade-out {
        opacity: 0;
    }

* {
    box-sizing: border-box;
    text-decoration: none;
}

/* HEADER */
.header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.header_only {
    width: 100%;
    height: 20vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* NAVIGATION */
nav {
    background-color: #fff;
    margin: 20px auto;
    padding: 0 20px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
    display: flex;
    overflow: hidden;
    overflow-x: auto;
    position: sticky;
    width: 500px;
}

.nav-item {
    color: black;
    font-family: arial, sans-serif;
    padding: 20px;
    margin: 0 6px;
    position: relative;
}

.nav_item is active {
    color: red;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    background-color: red;
    height: 5px;
    width: 100%;
    border-radius: 8px 8px 0 0;
    left: 0;
    transition: .3s;
}

.nav-item:not(.is-active):hover:before {
    bottom: 0;
}

.nav-item:not(.is-active):hover {
    color: red;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    transition: .4s;
    border-radius: 8px 8px 0 0;
}

/* IMAGE FOND */
.image_fond {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
}

    .wave-bottom svg {
        width: 100%;
        height: 100%;
        display: block;
    }

/* TITRE */
.titre_1 {
    border-radius: 10px;
    background-color: rgba(0,0,0,0.8);
    padding-left: 20px;
    margin: auto;
    margin-left: 10px;
    margin-top: 250px;
    z-index: 150;
    position: absolute;
    font-size: 50px;
    color: #98FF98;
    width: 850px;
}

.btn {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80vh;
    z-index: 150;
    position: absolute;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: solid 1px black;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 200, 200, .8);
    left: 50%;
    transform: translateX(-50%);
}

    .btn:hover {
        background-color: rgba(0, 0, 0, .6);
    }

/* VIDEO */
.video {
    width: 700px;
    margin-top: 100px;
    text-align: center;
    margin-bottom: 35px;
    margin-left: auto;
    margin-right: auto;
}

    .video video {
        border-radius: 20px;
        filter: brightness(1.1) contrast(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.titre_video {
    text-decoration: underline;
}

/* CALENDRIER */
.calendrier {
    margin-top: 200px;
    background-color: #F9F9F9;
    height: 60vh;
    overflow: hidden;
}

.contener_photo {
    margin-left: 50px;
    width: 500px;
    height: 500px;
    float: left;
}

.photo-calendrier {
    border-radius: 30px;
    width: 100%;
    height: 100%;
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.text-contener {
    text-align: center;
    margin-left: 600px;
    margin-right: 50px;
}

.titre-calendrier {
    text-align: center;
    color: #2E2E2E;
    text-decoration: underline;
}

.description-calendrier {
    text-align: center;
    font-family: Rockwell;
    font-size: 20px;
    color: #2E2E2E;
}

.bouton-calendrier {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: solid 1px white;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 200, 200, .8);
    margin-top: 180px;
}

    .bouton-calendrier:hover {
        background-color: rgba(0, 0, 0, .6);
    }

/* TO DO LIST */
.list {
    margin-top: 200px;
    background-color: #F9F9F9;
    height: 60vh;
    overflow: hidden;
}

.contener_photo2 {
    margin-right: 50px;
    width: 500px;
    height: 400px;
    float: right;
}

.photo-list {
    border-radius: 30px;
    width: 100%;
    height: 100%;
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.text-contener2 {
    text-align: center;
    margin-left: 50px;
    margin-right: 600px;
}

.titre-list {
    text-align: center;
    color: #2E2E2E;
    text-decoration: underline;
}

.description-list {
    text-align: center;
    font-family: Rockwell;
    font-size: 20px;
    color: #2E2E2E;
}

.bouton-list {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: solid 1px white;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 200, 200, .8);
    margin-top: 120px;
}

    .bouton-list:hover {
        background-color: rgba(0, 0, 0, .6);
    }

/* FOOTER */
.footer {
    margin-top: 100px;
    background-color: #2E2E2E;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* DÉPENSE PAGE */
.container_depense {
    max-width: 70%;
    width: 100%;
    margin: auto;
    background: white;
    padding: 5vw;
    border-radius: 1em;
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1, h2 {
    text-align: center;
    color: #333;
}

input, .button {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.button {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

    .button:hover {
        background-color: #0056b3;
    }

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 5px;
    display: flex;
    width:550px;
    justify-content: space-between;
}

.totals {
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px 0;
}

/* 🔄 RESPONSIVE */
@media (max-width: 768px) {

    .titre_1 {
        font-size: 6vw;
        width: 90vw;
        margin-top: 30vh;
        padding-left: 5vw;
    }

    .btn {
        width: 60vw;
        font-size: 4vw;
        margin-top: 55vh;
    }

    .video {
        width: 90%;
        margin-top: 15vw;
    }

    .contener_photo,
    .contener_photo2 {
        width: 90%;
        height: auto;
        float: none;
        margin: auto;
    }

    .photo-calendrier,
    .photo-list {
        height: auto;
    }

    .text-contener,
    .text-contener2 {
        margin: 20px auto;
    }

    .calendrier,
    .list {
        height: auto;
        padding: 5vw 0;
    }

    .description-calendrier,
    .description-list {
        font-size: 4vw;
    }

    .bouton-calendrier,
    .bouton-list {
        font-size: 4vw;
        padding: 2vw 4vw;
        margin-top: 10vw;
    }

    nav {
        width: 95%;
        padding: 10px;
    }

    .nav-item {
        padding: 10px;
        font-size: 4vw;
    }
}
