﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@600&family=Croissant+One&display=swap');

:root {
    --rose-clair: #ffe6ef;
    --rose: #f8b5c3;
    --rose-fonce: #d87ca3;
    --mauve: #a86f8b;
    --texte: #3a2b33;
    --fond-blanc: #fffafc;
    --ombre: rgba(216, 124, 163, 0.2);
}

body {
    background: linear-gradient(135deg, var(--rose-clair), #fff);
    font-family: 'Poppins', sans-serif;
    color: var(--texte);
    margin: 0;
    padding: 0;
}

#page {
    max-width: 1000px;
    margin: 50px auto;
    background: var(--fond-blanc);
    border-radius: 20px;
    box-shadow: 0 6px 20px var(--ombre);
    overflow: hidden;
    padding: 30px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--rose);
    padding-bottom: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: var(--rose-fonce);
    margin: 0;
}

header h2 {
    font-family: 'Croissant One', cursive;
    font-size: 1.1em;
    color: var(--mauve);
    margin: 5px 0 0 0;
}

nav {
    text-align: right;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    font-size: 1em;
    font-weight: 500;
    color: var(--mauve);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--rose-fonce);
    color: white;
    box-shadow: 0 4px 10px var(--ombre);
}


main {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
}


article {
    flex: 1 1 630px;
    text-align: justify;
}

article h1,
article h2,
article h3 {
    font-family: 'Playfair Display', serif;
    color: var(--rose-fonce);
    font-size: 1.8em;
    margin-bottom: 10px;
}

article p {
    font-size: 0.95em;
    line-height: 1.7em;
    margin-bottom: 15px;
}

aside {
    flex: 0 0 280px;
    background-color: var(--rose-clair);
    border: 1px solid #f3c9d8;
    border-radius: 15px;
    box-shadow: 0 3px 8px var(--ombre);
    padding: 20px;
    color: var(--texte);
}

aside h3 {
    font-family: 'Croissant One', cursive;
    color: var(--rose-fonce);
    margin-top: 0;
    font-size: 1.2em;
    text-align: center;
}

aside p {
    font-size: 0.9em;
    line-height: 1.5em;
}

#photo {
    text-align: center;
    margin-bottom: 15px;
}

#photo img {
    max-width: 100%;
    border: 3px solid var(--rose);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


footer {
    text-align: center;
    color: var(--mauve);
    font-size: 0.85em;
    border-top: 1px solid var(--rose);
    padding-top: 20px;
    margin-top: 40px;
}

footer a {
    color: var(--rose-fonce);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--mauve);
}

a, button {
    transition: all 0.3s ease;
}

@media screen and (max-width: 900px) {
    #page {
        padding: 20px;
        margin: 20px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        text-align: center;
        margin-top: 15px;
    }

    main {
        flex-direction: column;
        align-items: center;
    }

    article, aside {
        width: 100%;
    }
}


#about {
    background: #fffafc;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(216, 124, 163, 0.15);
    margin-bottom: 40px;
}

#about h1, #about h2 {
    color: #d87ca3;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 15px;
}

#about p {
    color: #4b3d46;
    line-height: 1.6em;
    font-size: 1em;
    text-align: justify;
}


.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    margin-top: 20px;
}

.card {
    background-color: #ffe9f0;
    border-radius: 15px;
    padding: 15px;
    flex: 1 1 200px;
    box-shadow: 0 3px 8px rgba(216, 124, 163, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}


.funfacts ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.funfacts li {
    background-color: #fff3f8;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    font-size: 0.95em;
    box-shadow: 0 2px 6px rgba(216, 124, 163, 0.1);
}


nav a.active {
    background-color: #d87ca3;
    color: white;
    box-shadow: 0 3px 8px rgba(216, 124, 163, 0.3);
    border-radius: 8px;
    padding: 5px 10px;
}

.menu-onglets {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.menu-onglets li {
    position: relative;
}

.menu-onglets a {
    text-decoration: none;
    color: #c26a95;  
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu-onglets a:hover {
    background-color: #f6e1f0; 
    color: #760001;
}

.menu-onglets {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: right;
    gap: 15px;
    margin-top: 20px;
}

.menu-onglets li {
    position: relative;
}

.menu-onglets a {
    text-decoration: none;
    color: #c26a95;  
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu-onglets a:hover {
    background-color: #f6e1f0; 
    color: #760001;
}

.onglets {
    text-align: center;
    margin-top: 20px;
}

.menu-onglets {
    list-style: none;
    padding: 0;
    display: inline-flex; 
    gap: 15px;
}

.menu-onglets li {
    position: relative;
}

.menu-onglets a {
    text-decoration: none;
    color: #c26a95;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu-onglets a:hover {
    background-color: #f6e1f0;
    color: #760001;
}


.langues {
    text-align: right;
    margin-top: 10px;
}

.langues ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.langues li {
    display: inline-block;
    margin-left: 15px;
}

.langues a {
    text-decoration: none;
    color: #181818;
    font-weight: bold;
}

.langues a:hover {
    color: #760001;
    border-bottom: 2px solid #760001;
}
#btnTop:hover {
    background-color: var(--rose-fonce);
}
