* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --paler-green: #cdfce3;
    --main-green: #7fcba3;
    --darker-green: #415d4b;
    --paler-violet: #f3dcff;
    --main-violet: #c59cd8;
    --darker-violet: #7c3d9a;
    --on-green-violet: #412050;
    --main-yellow: #fec90d;
    --darker-yellow: #754E00;

    --text-size: 1rem;
    --menu-text-size: 1.3rem;
    --second-title-size: 2.5rem;
    --third-title-size: 1.625rem;
    --fourth-title-size: 1.3rem;
}

body {
    background-color: white;
    color: black;
    min-width: 355px;
    font-size: var(--text-size);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

    &.menu-open {
        overflow-y: hidden;
    }

    &.menu-open {
        #body-overlay {
            display: block;
        }
    }

    &.menu-open {
        .menu-container {
            right: 0;
        }
    }
}

p,
li {
    line-height: 1.5rem;
}

a {
    text-decoration: none;
}

.section-inner-container {
    padding: 6vh 4% 2vh 4%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.text-bold {
    font-weight: bold;
}

/* Hero section */
#hero-section {
    background-image: linear-gradient(#303506af, #303506af), url(assets/tropicalForest.jpg);
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    min-height: 100dvh;
}

.hero-logo {
    min-width: 150px;
    max-width: 80dvw;
    min-height: 50px;
    max-height: 30dvh;
    margin-bottom: 1rem;
}

.hero-catch-phrase {
    font-size: var(--third-title-size);
    font-family: 'Anelo', sans-serif;
}

.hero-list {
    margin-top: 1rem;
}

#hero-section ul {
    margin-top: 1rem;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

#hero-section ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: start;
}

#hero-section ul li img {
    max-height: 2rem;
}

.hero-arrow-discover {
    margin-top: 0.5rem;
    max-width: 100%;
    max-height: 10vh;
}

/* header */
header {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 20px -2px rgb(188, 188, 188);
    background-color: white;
}

.logo-container {   
    display: flex;
    grid-column: 2;
    justify-content: center;
}

.logo-container img {
    height: 10vh;
}

.menu-button-container {
    display: flex;
    justify-content: right;
    align-items: center;
    grid-column: 3;
}

#menu-button {
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
    margin: 0;
    border: none;
    background-color: white;

    &:hover img{
        border: solid black 1px;
        border-radius: 4px;
    }
}

#menu-button img {
    height: 2.5rem;
    width: 2.5rem;
}

#body-overlay {
    width: 100dvw;
    height: 100dvh;
    display: none;
    position: fixed;
    z-index: 3;
    top: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.menu-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    right: -30dvw;
    z-index: 5;
    width: 30dvw;
    height: 100vh;
    padding: 0;
    box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
    background-color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: ease 0.2s all;
}

@media screen and (max-width: 850px) {
    .menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 4;
        width: 100%;
        height: 100dvh;
        padding: 0;
        box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
        background-color: white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: ease 0.2s all;
    }
}

@media screen and (min-width: 850px) and (max-width: 1080px) {
    .menu-container {
        position: fixed;
        top: 0;
        right: -45dvw;
        z-index: 4;
        width: 45dvw;
        height: 100dvh;
        padding: 0;
        box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
        background-color: white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: ease 0.2s all;
    }
}

@media screen and (min-width: 1080px) and (max-width: 1280px) {
    .menu-container {
        position: fixed;
        top: 0;
        right: -40dvw;
        z-index: 4;
        width: 40dvw;
        height: 100dvh;
        padding:0;
        box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
        background-color: white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: ease 0.2s all;
    }
}

@media screen and (min-width: 1580) {
    .menu-container {
        position: fixed;
        top: 0;
        right: -20dvw;
        z-index: 4;
        width: 20dvw;
        height: 100dvh;
        padding: 0;
        box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
        background-color: white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: ease 0.2s all;
    }
}

.close-menu-button-container {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 1rem;
    height: 130px;
}

#close-menu-button {
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
    margin: 0;
    border: none;
    background-color: white;

    &:hover img{
        border: solid black 1px;
        border-radius: 4px;
    }
}

#close-menu-button img{
    height: 2.5rem;
    width: 2.5rem;
}

.menu-container nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.menu-container ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style-type: none;
}

.menu-container ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    text-align: start;
}

.menu-container ul li img {
    max-height: 2rem;
}

.nav-link {
    font-size: var(--menu-text-size)!important;
    width: fit-content;
    word-wrap: wrap;
}

/* Linchpin section */
.linchpin-inner-container {
    padding-bottom: 10vh;
}

h2 {
    font-family: 'Anelo', sans-serif;
    font-size: var(--second-title-size);
    font-style: italic;
    color: var(--darker-green);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: var(--third-title-size);
    font-family: 'Anelo', sans-serif;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.linchpin-card {
    display: flex;
    border: solid 1px var(--darker-yellow);
    border-radius: 1rem;
    padding: 1rem;
    align-items: center;
    gap: 1.5rem;
    width: 450px;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.linchpin-card-img {
    max-width: 200px;
    height: fit-content;
}

@media screen and (max-width: 510px) {
    .linchpin-card {
        width: 300px;
        flex-direction: column;
    }

    .linchpin-card-img {
        max-width: 200px;
        height: fit-content;
    }
}

.linchpin-card-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.violet-emphasis {
    font-family: 'Anelo', sans-serif;
    color: var(--darker-violet);
    font-size: 1.25rem;
}

/* Presentation section */
#presentation-section {
    background-color: var(--main-green);
    display: flex;
    gap: 2rem;
    padding: 0 8% 0 14%;
    min-height: 80vh;
}

.presentation-img {
    width: 40vw;
    object-fit: cover;
    object-position: top;
}

.presentation-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10vh 0;
}

.presentation-title {
    text-align: left;
    color: black;
    margin-bottom: 0;
}

.subtitle-dark-violet {
    margin-bottom: 3rem;
    color: var(--on-green-violet);
    font-family: 'Anelo', sans-serif;
    font-size: var(--third-title-size);
    line-height: normal;
}

.space-between-paragraph {
    margin-top: 2rem;
}

.presentation-intention-list {
    margin-left: 1rem;
}

@media screen and (max-width: 1080px) {
    #presentation-section {
        flex-direction: column-reverse;
        padding: 0;
    }

    .presentation-img {
        width: 100%;
        max-height: 100vh;
    }

    .presentation-text {
        margin: 10vh 8% 2vh 8%;
    }
}

/* activities section */
.activities-inner-container {
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 0 2vh 0;
}

.activities-title {
    margin-left: 4%;
    margin-bottom: 1rem;
}

.activities-part-content {
    padding: 10vh 0 2vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activities-part-title-container {
    text-align: center;
}

.activities-part-above-title {
    color: var(--darker-green);
    font-family: 'Anelo', sans-serif;
    font-size: var(--fourth-title-size);
}

.activities-part-title {
    color: var(--darker-green);
    font-style: italic;
}

    /* documentary */
.documentary-content{
    padding: 10vh 4% 2vh 4%;
}

.documentary-title-container {
    margin-left: 15vw;
}

.subtitle-violet {
    color: var(--darker-violet);
    font-family: 'Anelo', sans-serif;
    font-style: italic;
    font-size: var(--fourth-title-size);
}

.documentary-desc-content {
    display: flex;
    align-items: center;
    margin-top: 2vh;
    max-width: 100vw;
    height: fit-content;
}

.documentary-img {
    max-width: 25vw;
    margin: 0 4rem 2rem 0;
    object-fit: cover;
    object-position: center;
}

.documentary-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    max-width: 100vw;
    height: 100%;
}

.fill-space-width {
    width: 100%;
}

.green-emphasis {
    color: var(--darker-green);
    font-family: 'Anelo', sans-serif;
    max-width: 35vw;
    font-style: italic;
    font-size: 1.25rem;
}

.right-align {
    text-align: end;
}

@media screen and (max-width: 1280px)  {
    .documentary-content{
        padding: 10vh 0 2vh 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .activities-title {
        margin: 0 2% 1rem 2%;
        text-align: center;
    }

    .documentary-title-container {
        margin: auto 2%;
        text-align: center;
    }

    .documentary-desc-content {
        display: block;
    }

    .documentary-img {
        max-width: 100vw;
        max-height: 50vh;
        width: 100vw;
        float: none;
        margin: 0 0 2rem 0;
    }

    .documentary-text {
        padding: 0 4% 0 4%;
        align-items: center;
    }

    .green-emphasis {
        max-width: 100vw;
    }
}

/* joy mural */
.joy-mural-content {
    margin: 0 10%;
}

.joy-mural-title {
    background-color: var(--main-violet);
    padding: 1rem 3rem;
    border-radius: 1rem;
    width: fit-content;
    text-align: center;
    transform: rotate(-5deg);
    margin-bottom: -1.7rem;
}

.joy-mural-text {
    background-color: var(--paler-violet);
    border-radius: 2rem;
    padding: 4%;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.inner-element-joy-mural-text {
    flex-basis: 50%;
    min-width: 320px;
}

.joy-mural-goal {
    border: solid 1px var(--main-violet);
    border-radius: 2rem;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.joy-mural-goal-title {
    text-align: center;
    font-weight: bold;
}

.joy-mural-goal-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.joy-mural-goal-list-item {
    background-image: url(assets/checkSmall.svg);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    padding-left: 30px;
}

.joy-mural-catch-phrase {
    width: 100%;
    display: flex;
    align-items: end;
}

.joy-mural-catch-phrase-arrow {
    width: 75px;
    margin-top: -1rem;
}

.joy-mural-catch-phrase-text {
    font-family: 'Anelo', sans-serif;
    font-size: var(--third-title-size);
}


@media screen and (max-width: 1280px) {
    .joy-mural-text {
        flex-wrap: wrap;
        padding: 4rem 4% 2rem 4%;
        gap: 2rem;
    }

    .inner-element-joy-mural-text {
        flex-basis: 100%;
    }
}

    /* children formation part */
.children-formation-content {
    margin: 0 4%;
    text-align: center;
    gap: 4rem;
    padding-bottom: 10vh;
}


.children-formation-intro-paragraph {
    width: 50vw;
}

.children-formation-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.children-formation-wrap article {
    width: 25vw;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.children-formation-wrap img {
    height: 15vh;
    object-fit: contain;
}

.children-formation-wrap h4 {
    color: var(--darker-green);
    font-family: 'Anelo', sans-serif;
    font-size: var(--fourth-title-size);
}

@media screen and (max-width: 1280px) {
    .children-formation-intro-paragraph {
        width: 80vw;
    }
}

@media screen and (max-width: 750px) {
    .children-formation-wrap article {
        width: 75vw;
    }
}

    /* all public workshop */
.all-public-workshop-content {
    align-items: center;
    gap: 4rem;
    background-color: var(--paler-green);
    padding-bottom: 10vh;
}

.all-public-workshop-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.all-public-workshop-wrap article {
    min-width: 320px;
    width: 40vw;
}

.all-public-workshop-wrap div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.all-public-workshop-text {
    margin-left: 66px;
}

@media screen and (max-width: 750px) {
    .all-public-workshop-wrap article {
        width: 75vw;
    }
}

    /* teachers and students workshop part */
.teachers-students-workshop-content {
    padding: 10vh 4% 2vh 4%;
}

.teachers-students-workshop-content h3 {
    text-align: center;
}

.teachers-students-workshop-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 4rem;
}

.teachers-students-workshop-wrap article {
    width: 40vw;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teachers-students-workshop-image-container {
    width: 40vw;
    min-width: fit-content;
}

.teachers-students-workshop-wrap img {
    width: 320px;
}

.teachers-students-workshop-wrap ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teachers-students-workshop-wrap li {
    background-image: url(assets/checkSmall.svg);
    background-repeat: no-repeat;
    background-position: -1% 0%;
    padding-left: 30px;
}

@media screen and (max-width: 780px) {
    .teachers-students-workshop-wrap {
        justify-content: center;
    }
    
    .teachers-students-workshop-wrap article {
        width: 75vw;
    }

    .teachers-students-workshop-wrap p {
        max-width: 100%;
    }
}

/* contact section */
.contact-inner-container {
    margin-top: 10vh;
    justify-content: center;
    height: fit-content;
    text-align: center;
    gap: 10rem;
    min-width: 320px;
    padding-bottom: 10vh;
}

.contact-all-infos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    min-width: 320px;
    flex-wrap: wrap;
}

.contact-text {
    text-align: end;
    max-width: 25vw;
    min-width: 320px;
}

.contact-catch-phrase {
    font-size: var(--second-title-size);
    line-height: normal;
    font-style: normal;
    min-width: 320px;
}

.contact-img {
    max-width: 20vw;
    min-width: 320px;
}

.contact-news {
    max-width: 75vw;
    font-size: var(--second-title-size);
    font-family: 'Anelo', sans-serif;
    font-style: italic;
}

.reset-line-height {
    line-height: normal;
}

@media screen and (max-width: 750px) {
    .contact-text {
        text-align: center;
        max-width: 50vw;
    }

    .contact-news {
        font-size: var(--third-title-size);
    }
}

/* footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem;
    gap: 1rem;
    margin-top: 2vh;
}
footer div {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
}

footer img {
    width: 60px;
}