/* ==============================
   RÉGLAGES GÉNÉRAUX
   ============================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: #333333;
    background-color: #faf8f3;
    line-height: 1.7;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    font-weight: normal;
}


/* ==============================
   EN-TÊTE
   ============================== */

header {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;

    background-color: #6B2737;
    color: #FAF8F3;
}

/*.logo {
    width: 180px;
    height: 180px;
    border: 1px solid #FAF8F3;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;
    font-size: 14px;
    letter-spacing: 2px;
}*/

.logo img {
    width: 30%;
    height: 30%;
    object-fit: contain;
}

header h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    letter-spacing: 2px;
}


/* ==============================
   SECTIONS
   ============================== */

section {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 30px;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}


/* ==============================
   ACTIVITÉ
   ============================== */

#activite {
    text-align: center;
}

#activite p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}


/* ==============================
   À PROPOS
   ============================== */

#a-propos {
    display: flex;
    align-items: center;
    gap: 70px;
}

.photo {
    flex: 0 0 300px;
    height: 380px;

    border: 1px solid #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    letter-spacing: 2px;
}

.presentation {
    flex: 1;
}


/* ==============================
   CONTACT
   ============================== */

#contact {
    text-align: center;
}

#contact a {
    color: #333333;
    font-size: 1.2rem;
    text-decoration: none;
    border-bottom: 1px solid #777777;
}

#contact a:hover {
    opacity: 0.6;
}


/* ==============================
   PIED DE PAGE
   ============================== */

footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85rem;
    color: #777777;
}

/* ==============================
   NAVIGATION
   ============================== */

nav {
    height: 75px;
    padding: 0 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #faf8f3;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid #6B2737;
}

.nav-logo {
    color: #333333;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #6B2737;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 15px;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a.active {
    background-color: #6B2737;
    color: #FAF8F3;
}

.nav-links a.active:hover {
    opacity: 1;
}

/* ==============================
   VERSION MOBILE
   ============================== */

@media (max-width: 700px) {

    header {
        min-height: 80vh;
    }

    header h1 {
        font-size: 2.8rem;
    }

    #a-propos {
        flex-direction: column;
        text-align: center;
    }

    .photo {
        width: 250px;
        flex-basis: 320px;
    }

    section {
        padding: 70px 25px;
    }
    nav {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
}

.nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
}