:root {
    --primary-color: #002b60;
    --secondary-color: #f4d7e6;
    --black-color: #1e1e1e;
    --white-color: #ffff;
}


*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*******COMMUNS********/
body {
    background-color: #f4d7e6;
    font-family: "Lora", sans-serif;
    color: rgb(51, 51, 51);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


@media screen and (max-width: 768px) {
    .container {
        padding: 20px;
    }

    #h1 {
        font-size: 30px;
    }
}

header {
    padding: 2rem;
}


.h2 {
    font-size: 2.5rem;
    text-align: center;
    font-family: "Alice", serif;
    margin: 1rem;
    color: var(--primary-color);

}

#h1 {
    font-family: "Alice", serif;
    color: var(--primary-color);
    font-size: 3rem;
    text-align: center;
}


@media screen and (max-width: 768px) {
    #h1 {
        font-size: 30px;
    }

    .h2 {
        font-size: 1.5rem;
    }
}

.h3 {
    font-family: "Alice", serif;
    color: var(--primary-color);


}

.h4 {
    font-family: "Alice", serif;
    color: var(--primary-color);


}

p,
ul,
li {
    font-family: "Lora", serif;
    font-size: 16px;

}


/*******HEADER - MENU********/

@media screen and (max-width: 768px) {
    #liste_menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0;

    }

    .lien {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
        width: 100%;
        text-align: center;
    }

    #menu {
        padding: 1rem;
        border-radius: 0;
    }
}




#liste_menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.lien {
    position: relative;
    text-decoration: none;
    color: #002b60;
    font-family: "Lora", serif;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.lien::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #002b60;
    transition: width 0.3s ease;
}

.lien:hover::after {
    width: 100%;
}

.lien:hover {
    color: white;
}

#menu {
    background: linear-gradient(135deg, #f8e8ef, #f4d7e6, #e6b8c8, #d4a5b5);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}



#menu {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/*******TACHES - PRESENTATION ********/

.section {
    margin: 3rem 0;
}

.img {
    width: 100%;
    display: block;
    border-radius: 12px;
    height: auto;
}

.img-small {
    width: 60%;
    margin: 0 auto;
    display: block;
}

.img-smaller {
    width: 40%;
    margin: 0 auto;
    display: block;

}


section ul li::before {
    content: "✔";
    /* ou un emoji, unicode, ou autre */
    color: var(--primary-color);
    margin-right: 10px;
}

section ul {
    list-style: none;
}

#responsiveFolder {
    display: flex;
    flex-wrap: wrap;
}

#responsiveFolder>img {
    width: 20%;
    margin: 0 auto;
}

#arborescence {
    display: flex;
    align-items: center;
}

#arborescence>p {
    margin-left: 1rem;

}



#btnScrollTop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 100;
    background-color: var(--primary-color);
    color: white;
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

#btnScrollTop:hover {
    background-color: #001e44;
}