:root {
    /*--primary: #efd694;*/
    --primary: #fff;
    --secondary: #53a230;
    /*--secondary: #f2bb2b;*/
    --accent: #e576d0;
    --dark: #292929;

    --light: #ffffff;

    --green: #53a230;
    --background: #fff;
    --black-text: #292929;
    --black-text-lighter: #525252;
}

.text-handwritten {
    font-family: "La Belle Aurore", cursive;
    font-weight: 400;
    font-style: normal;
}

.inter-title {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    color: var(--black-text);

    background: #efd694;
    background: linear-gradient(
        180deg,
        rgba(239, 214, 148, 0) 0%,
        rgba(239, 214, 148, 0.5) 29%,
        rgba(237, 199, 157, 1) 70%,
        rgba(229, 118, 208, 1) 100%
    );
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.static-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    height: 4rem;
    padding-top: 0.8rem;
    color: white;
    font-size: 0.9rem;
    background-color: #53a230;
    clip-path: polygon(0 0, 100% 0%, 100% 50%, 0 83%);
}

.static-header .separator {
    margin-inline: 0.3rem;
}

main {
    width: 920px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading-section {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

h1,
h2,
h3 {
    margin: 0;
}

.heading {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    font-size: 7rem;
    font-weight: 800;
}
.heading .title-box {
    padding-inline: 1rem;
    color: white;
    font-size: 8rem;
    line-height: 8rem;
    font-weight: 800;
    background-color: #53a230;
    margin-bottom: 0.5rem;
}
.heading .title-small {
    font-size: 2rem;
}

.heading-team {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: right;
    font-style: italic;
    align-self: end;
    margin-right: 3rem;
    margin-bottom: 3rem;
}

.catchword {
    font-size: 2.8rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    margin-top: 1.2rem;
}

.catchword::before {
    content: "\201C";
    font-family: "Sanchez", serif;
    position: absolute;
    left: -1.5rem;
    top: -1rem;
    font-size: 5rem;
    color: var(--secondary);
    line-height: 1;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    width: 100%;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
}
.cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding: 0.25rem;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: var(--black-text-lighter);
    position: relative;
    border-radius: 1.5rem;
}
.cta i {
    font-size: 1.2rem;
}

.img-team {
    width: 100%;
}

.teamhead-section {
    display: flex;
    flex-direction: row;
    margin-bottom: 3rem;
}
.teamhead-card {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: 7rem;
    width: 55rem;
    padding: 3rem;
    background: #ffffff4d;
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: justify;
}

.teamhead-card .avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.teamhead-card .avatar img {
    width: 18rem;
    height: 18rem;
    object-fit: cover;
    border-radius: 50%;
}

.teamhead-card .text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--black-text);
}

.team-section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 2.5rem;
}

.team-section-title small {
    font-size: 2rem;
    line-height: 1.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--green);
}

.team-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 5rem;
}
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 2rem;
    text-align: justify;
    overflow: hidden;
}
.team-card .avatar-group {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 2.5rem;
    text-align: center;
}
.team-card .avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.team-card .avatar img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
}

.team-card .text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--black-text);
}

footer {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    height: 10rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-image: url(./assets/unisparbrasparts-montsaintmichel.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
}

@media (max-width: 900px) {
    .static-header {
        padding-top: 0.6rem;
        font-size: 0.6rem;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }
    .static-header .separator {
        display: none;
    }

    main {
        width: 100%;
    }

    .heading {
        font-size: 3rem;
    }
    .heading .title-box {
        font-size: 5rem;
        line-height: 5rem;
    }

    .catchword {
        font-size: 1rem;
        padding-left: 0rem;
    }
    .catchword::before {
        font-size: 3rem;
    }

    .heading-team {
        font-size: 0.8rem;
    }
    .teamhead-card {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    .team-section-title {
        text-align: center;
        font-size: 3rem;
    }
    .team-section-title small {
        font-size: 2rem;
    }
     .team-section {
        padding-inline: 3rem;
     }
    
    .cta {
        font-size: 0.75rem;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    footer {
        background-size: contain;
        background-position: center bottom;
    }
}

@media (max-width: 500px) {
    .team-section {
        flex-direction: column;
        align-items: center;
    }
}
