/* ================= BASE ================= */
* {
    box-sizing: border-box;
}
:root {
    --header-height: 253px; /* valeur par défaut */
}

section[id] {
    scroll-margin-top: var(--header-height);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(
        to right,
        rgba(243,176,242,0.78),
        rgba(253,245,185,0.83)
    );
    color: black;
}

/* ================= HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(
        to right,
        rgba(243,176,242,1),
        rgba(253,245,185,1)
    );
    padding: 15px 20px;
}

.header-top {
    display: flex;
    flex-direction: column;
    align-items:top;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.logo img {
    max-width: 80px;
    width: 100%;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 10px 0 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content:center;
}
#accueil,
#approche,
#outils,
#public,
#seances,
#presentation {
    scroll-margin-top: var(--header-height);
}

nav a {
    text-decoration: none;
    color: black;
    white-space: nowrap;
    font-size: 1.1em;
}

nav a:hover {
    color: red;
    background-color: yellow;
}

/* ================= MAIN ================= */
main {
    padding-top: 5px;
}

/* ================= INTRO ================= */
.intro {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 30px auto;
    max-width: 1100px;
}

.intro img {
    max-width: 300px;
    border-radius: 10px;
}

.textintro {
    font-family: "Segoe Script", Arial, sans-serif;
    padding: 20px;
    border: 1px solid black;
    border-radius: 25px;
    background: rgba(255,255,255,0.4);
}

/* ================= CONTENT ================= */
.content {
    display: flex;
    gap: 40px;
    margin: 60px auto;
    max-width: 1100px;
}

.col {
    flex: 1;
}

aside {
  /*  background: rgba(255,255,255,0.35);*/
    padding: 20px;
    border-radius: 10px;
    background-color: #f3b0f2;
	background: linear-gradient(to right,rgba(243,176,242),rgba(253,245,185));
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .intro,
    .content {
        flex-direction: column;
    }
	:root {
        --header-height: 170px;
    }
/*    nav ul {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {*/

    nav ul {
        gap: 6px;
        padding-top: 5px;
    }

    nav a {
        font-size: 0.95em;
        padding: 2px 0;
    }
      .logo h2 {
        display: none;
    }
     
}
