/*
 * Customisation et surcharge du Framework Bulma
 * 
 * 
 * @author LGI Sustainable innovation
 * @version 1
 * 
 */

/* html {
  scroll-behavior: smooth;
} */

:root {
    --bg-spring-wood: #fdfcfb;
    --bg-dark: #313638;
    --bg-green: #0b3d2c;
    --main-color-turquoise: #15e5c652;
    --main-color-turquoise-opac: #bafef4;
    --main-color-turquoise-dark: #15e5c6;
    --main-color-salmon: #d57c67;
}

@font-face {
    font-family: "Montserrat";
    src: url(../webfonts/Montserrat-VariableFont_wght.woff2);
    font-display: swap;
}
@font-face {
    font-family: "Syncopate";
    src: url(../webfonts/syncopate-bold.woff2);
    font-display: swap;
}

::selection {
    color: white;
    background-color: rgb(97, 97, 240);
}

body {
    font-family: "Montserrat", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif, Geneva, Verdana, sans-serif;
    font-weight: 400;
    background-color: var(--bg-spring-wood);
}
h1,
h2 {
    font-weight: 700;
}

h1 {
    font-size: clamp(35px, 4.5vw, 64px) !important;
}

p,
a {
    font-size: 16px;
    z-index: 10;
}

p {
    line-height: 30px;
}

.button {
    width: fit-content;
    z-index: 10;
}

hr {
    background-color: var(--main-color-salmon);
    width: 50%;
    margin: auto;
    height: 2px;
    margin-top: 100px;
}

/* ------------------ */
/* ------------------------Components */
/* ------------------ */

.is-primary {
    background-color: var(--main-color-salmon) !important;
    border-radius: 40px !important;
    transition: 0.15s ease-out;
}

.is-primary:hover {
    transform: translateX(3%);
}

.is-large {
    font-size: 16px !important;
    padding: 23px 40px !important;
}

@media screen and (max-width: 550px) {
    footer .is-large {
        font-size: 14px !important;
        padding: 19px 29px !important;
    }
}

/* -------------INTERSECTION OBSEVER------------------------------ */

/* Selecteur sur les atttributs "reveal-" */
[class*="reveal-"] {
    opacity: 0;
    transform: translateY(-30px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0px);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

/* Les elements 2 et plus seront révélés avec un délai, ce qui n'est pas le cas de reveal-1 */
.reveal-2 {
    transition-delay: 0.1s;
}
.reveal-3 {
    transition-delay: 0.2s;
}
.reveal-4 {
    transition-delay: 0.3s;
}
.reveal-5 {
    transition-delay: 0.4s;
}
.reveal-6 {
    transition-delay: 0.5s;
}
.reveal-7 {
    transition-delay: 0.55s;
}

/* *----------------- VIDEO ------------------------------------------ */

.card-video {
    min-height: 180px;
}

.video-container {
    display: flex;
    justify-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1250px;
    margin: auto;
    margin-block: 100px;
    padding: 0px 40px;
}

.card-video {
    width: 50%;
    min-width: 250px;
}

.card-video img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    margin-bottom: 30px;
    border-radius: 4px 4px 0 0;
}

.card-video p {
    text-align: justify;
    font-size: 16px;
}

@media screen and (max-width: 550px) {
    .video-container {
        grid-template-columns: 1fr;
        grid-template-rows: 45% 45%;
    }
}

/* -------------------------- */
/* ---video container -------------- */
/* -------------------------- */

.container-video-home {
    max-width: 650px;
    width: 100%;
    margin: 0px auto;
}

.container-video-home .video-container {
    position: relative;
    padding-bottom: 56.25%;
    border: -1px;
    height: 0;
    background: url(../../images/accueil/video-mini.webp) center/cover;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0px;
}

.consent-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.671);
    backdrop-filter: blur(5px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.consent-banner p {
    font-size: 15px !important;
    font-weight: 600;
    padding: 15px;
    color: black;
}

.consent-banner a {
    color: var(--main-color-turquoise-darke);
    text-decoration: none;
    border-bottom: 1px solid var(--main-color-turquoise-darke);
    transition: 0.1s ease-out;
}

.consent-banner a:hover {
    color: black;
    text-decoration: none;
    border-bottom: 2px solid var(--main-color-turquoise-dark);
}

.consent-button {
    width: 135px;
    height: 40px;
    color: rgb(22, 22, 22);
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 400;
    font-family: "ginora", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
    background: transparent;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
        7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    outline: none;
    background: var(--main-color-turquoise-opac);
    border: none;
    z-index: 1;
    background-image: none !important;
}

.consent-button:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: var(--main-color-turquoise);
    border-radius: 5px;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
        7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.consent-button:hover {
    /* color: #fff; */
}
.consent-button:hover:after {
    left: 0;
    width: 100%;
}
.consent-button:active {
    top: 2px;
}
@media screen and (max-width: 730px) {
    .container-video-home {
        width: 300px;
    }
    .consent-banner p {
        font-size: 12px !important;
        padding: 20px 30px;
    }
}

/* ------------------ */
/* ------------------------Navbar */
/* ------------------ */

body > .section.container {
    padding: 2rem 3rem 0 3rem;
}

.navbar {
    background-color: var(--bg-spring-wood);
}

#header-social {
    position: absolute;
    top: -18px;
    right: -5px;
}

#header-social > div,
.social > div {
    width: 140px;
    display: flex;
    justify-content: space-between;
}

#header-social a,
.social a {
    border-radius: 100px;
    transition: 0.1s ease-out;
}

#header-social a:hover,
.social a:hover {
    transform: translateY(-10%);
}

#header-social a div,
.social a div {
    font-size: 16px;
    color: white;
    background-color: var(--main-color-salmon);
    padding: 5px 11px;
    border-radius: 100px;
    position: relative;
    height: 36px;
    width: 36px;
}

#header-social a div i,
.social a div i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    position: relative;
}

.navbar-menu {
    margin-top: 40px;
}

.navbar-link:focus-within {
    color: #4a4a4a;
    background-color: var(--main-color-turquoise);
}

.navbar-dropdown {
    box-shadow: none;
    border: none;
    background-color: var(--main-color-turquoise-opac);
    backdrop-filter: blur(4px);
    border-radius: 20px;
}

.navbar-end a {
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 18px;
    font-weight: 500;
}

.navbar-end div {
    cursor: context-menu;
    font-size: 18px;
    font-weight: 500;
}

.navbar-end div:hover {
    color: black;
}

.navbar-end a:hover,
.navbar-end .has-dropdown:hover a:hover {
    background-color: var(--main-color-turquoise-opac);
    color: black;
}

.navbar-end {
    gap: 20px;
    height: 50%;
}

.navbar-item .navbar-link::after {
    border-color: #4a4a4a;
    font-size: 16px;
}

@media screen and (max-width: 750px) {
    .navbar-dropdown {
        background-color: #eeeeee00;
        backdrop-filter: blur(4px);
    }
}

/* ------------------ */
/* ------------------------Navbar-Mobile */
/* ------------------ */

.navbar-menu-burger.is-active {
    transform: translateX(0%);
}

.navbar-menu-burger {
    background: rgb(114, 239, 221);
    background: linear-gradient(
        0deg,
        rgba(114, 239, 221, 1) 0%,
        rgba(164, 245, 233, 1) 15%,
        rgba(185, 247, 238, 1) 30%,
        rgba(235, 253, 250, 1) 48%,
        rgba(238, 253, 251, 1) 66%,
        rgba(255, 255, 255, 1) 100%
    );
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 150vh;
    padding: 50px;
    transition: 0.5s ease-out;
}

.navbar-menu-burger .navbar-start a,
.navbar-menu-burger .navbar-start div {
    font-size: 18px;
    font-weight: 500;
}

.navbar-menu-burger .navbar-start a:hover {
    color: black;
    border-radius: 15px;
}

.navbar-menu-burger #header-social {
    right: 50%;
    top: 50%;
    transform: translateX(50%) scale(1.3);
    border-top: 1px solid var(--main-color-salmon);
    margin-top: 70px;
    padding-top: 30px;
}

@media screen and (max-width: 1024px) {
    .navbar-burger {
        left: 28%;
    }
    .navbar-burger span {
        transform: scale(1.8);
    }
    .navbar-burger span:first-child {
        transform: translateY(-5px) scale(1.8);
    }
    .navbar-burger span:last-child {
        transform: translateY(5px) scale(1.8);
    }
}

@media screen and (max-width: 550px) {
    .navbar-burger {
        left: 20%;
    }
}

/* ------------------ */
/* ------------------------Footer */
/* ------------------ */

.footer {
    background-color: var(--bg-dark);
    color: white;
    margin-top: 100px;
    font-weight: 300;
    padding-bottom: 3rem;
}

.footer a {
    color: var(--main-color-turquoise-dark);
    border-bottom: 1px solid var(--main-color-turquoise-dark);
    padding-bottom: 2px;
}

.footer a:hover {
    color: white;
    border-bottom: 2px solid var(--main-color-turquoise-dark);
}

.footer .column:nth-child(3) a {
    color: white;
    text-decoration: none;
    border-bottom: none;
}

.footer .social a {
    border-bottom: none;
}

.NewsSuscribe {
    background: url(../../images/accueil/newsletter.webp) center/cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 45px;
    border-radius: 10px;
    margin: -115px auto 50px auto;
    width: 90%;
    transform: scale(0.8);
}

.NewsSuscribe a {
    text-decoration: none;
    font-weight: 500;
}

.NewsSuscribe h3 {
    font-size: 40px;
    font-weight: 500;
    line-height: 51px;
}

.EUDisclaimer {
    margin-top: 16px;
    text-align: justify;
}

footer .columns {
    display: flex;
    gap: 4%;
    margin: 0 3rem;
}

footer .columns h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 50px;
}

footer .column:nth-child(2) .contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .contact-list div {
    display: flex;
    gap: 10px;
}

footer .contact-list div i {
    display: flex;
    align-items: center;
}

footer .column:nth-child(2) .contact-list div:last-child {
    margin-top: 5px;
}

footer li i {
    transition: 0.15s ease-out;
}

footer li:hover .fa-light {
    transform: translateX(3px);
}

footer .fa-light {
    margin-right: 7px;
}

footer .is-3 {
    width: 22% !important;
}

footer .newsBox.light {
    background-color: transparent !important;
    padding: 15px 0;
    color: white;
    filter: grayscale(0.7);
}
footer .newsBox.light:hover {
    background-color: transparent !important;
    box-shadow: none;
    filter: grayscale(0);
}

footer .newsBox.light h2 {
    color: white;
    -webkit-line-clamp: 2 !important;
}

.copyright {
    margin: 50px 150px 0 calc(3rem + 12px);
    display: flex;
    justify-content: space-between;
}

.social a div {
    color: var(--bg-dark);
    background-color: var(--bg-spring-wood);
}

@media screen and (max-width: 1150px) {
    footer .columns {
        gap: 0px;
    }
}

@media screen and (max-width: 750px) {
    .footer {
        padding: 3rem 1.5rem 2rem;
    }

    footer .is-3 {
        width: 100% !important;
    }

    footer .NewsSuscribe h3 {
        font-size: 30px;
        text-align: center;
    }
    footer .NewsSuscribe {
        /* flex-direction: column; */
        gap: 20px;
        padding: 20px;
        width: 100vw;
        margin: -115px auto 50px -24px;
        border-radius: 0px;
        transform: scale(1);
    }
    footer .columns {
        display: block;
    }
    footer .column {
        width: 100%;
    }
    .copyright {
        margin: 0;
    }
    .copyright {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }
}

@media screen and (max-width: 550px) {
    footer .columns {
        margin: 0;
    }
    footer .NewsSuscribe h3 {
        font-size: 25px;
        line-height: 30px;
    }
}

/* -------------------------------- */
/* ----------page d'accueil */
/* -------------------------------- */

.header {
    background: linear-gradient(
        0deg,
        #fdfcfb 0.85%,
        #a1f3e6 28.09%,
        #54ebd4 41.61%,
        #81f0df 55.6%,
        #95f2e3 72.01%,
        #fdfcfb 100.49%
    );
    max-width: 100% !important;
    height: calc(100dvh - 147, 99px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    overflow: hidden;
}

.section.container.header {
    padding: 0 16% 100px;
    position: relative;
    height: calc(100vh - 147.99px);
}

.header-container {
    width: 73%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
    max-height: 80%;
}

.header-container p {
    width: 80%;
}

.header img {
    position: absolute;
    top: 65%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 650px;
    z-index: 0;
}

#leaf2 {
    visibility: hidden;
    width: 50%;
    margin-left: 50px;
}

@media screen and (max-width: 750px) {
    .section.container.header {
        padding: 0 9%;
    }

    .header-container {
        width: 100%;
        align-items: center;
    }

    .header-container img {
        left: 50%;
    }

    #leaf2 {
        visibility: visible;
    }
    #leaf1 {
        visibility: hidden;
    }
}

@media screen and (max-width: 450px) {
    .header-container p {
        width: 100%;
    }
}

/* ----------------------- */

.has-centered {
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.img-anim img {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
    from {
        transform: translateY(10px);
    }

    to {
        transform: translateY(-10px);
    }
}

.card {
    cursor: pointer;
    background-color: var(--bg-spring-wood);
    border: 2px solid var(--main-color-salmon);
    border-radius: 10px;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 35px 25px;
    transition: 0.1s ease-out;
}

.card:hover {
    background-color: var(--main-color-salmon);
    color: var(--bg-spring-wood);
}

.card:hover h3 {
    color: var(--bg-spring-wood);
}
.card:hover a {
    color: var(--bg-spring-wood);
}

.card > div:first-child {
    background-color: #fff;
    filter: drop-shadow(0px 7px 60px rgba(0, 0, 0, 0.07));
    border-radius: 100px;
    width: 100px;
    height: 100px;
    position: relative;
}

.card img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card a {
    color: black;
    font-weight: 500;
}

.card p {
    line-height: 30px;
}

.card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.card-link i {
    transition: 0.05s ease-out;
}
.card:hover i {
    transform: translateX(5px);
}

@media screen and (max-width: 750px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 550px) {
    .card {
        width: 90%;
    }
}

/* ------------------------------------------ */

@media screen and (max-width: 750px) {
    .columns:has(.column.is-6) {
        flex-direction: column;
    }
}

/* ----------------------------------------- */

.bgBigNumber {
    background: url(../../images/accueil/black-and-white.webp) center/cover;
    max-width: 100% !important;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bgBigNumber .columns {
    margin: 0 12%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.bgBigNumber .is-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 220px;
    height: 220px;
    background-color: rgba(255, 255, 255, 67%);
    font-size: 26px;
    font-weight: 600;
    border-radius: 15px;
    user-select: none;
    backdrop-filter: blur(3px);
}

.bgBigNumber .is-3:nth-child(even) {
    transform: translateY(-20px);
}
.bgBigNumber .is-3:nth-child(odd) {
    transform: translateY(20px);
}

.bigNumber {
    font-size: 45px;
}

@media screen and (max-width: 1250px) {
    .bgBigNumber .is-3:nth-child(even) {
        transform: translateY(0px);
    }
    .bgBigNumber .is-3:nth-child(odd) {
        transform: translateY(0px);
    }

    .bgBigNumber .is-3 {
        width: 180px;
        height: 180px;
        font-size: 18px;
    }
}

@media screen and (max-width: 550px) {
    .bgBigNumber .columns {
        margin: 0;
    }
    .bigNumber {
        font-size: 35px;
    }
}

/* --------------------------------------- */

.card-news {
    border-radius: 20px;
    padding: 0;
    background-color: white;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
        0 0px 0 1px rgba(10, 10, 10, 0.02);
}

.card-news img {
    border-radius: 20px 20px 0 0;
    box-shadow: 0px 7px 60px 0px rgba(0, 0, 0, 0.07);
    aspect-ratio: 16/11;
    object-fit: cover;
}

.card-news h3 {
    font-size: 19px !important;
    cursor: pointer;
}

.card-news h3:hover {
    text-decoration: none;
}

.card-news p {
    line-height: normal;
    font-size: 14px;
}

.card-news-info {
    background-color: white;
    filter: drop-shadow(0px 10px 60px rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
    height: 60px;
    width: 270px;
    margin: -38px 0 10px -15px;
    user-select: none;
    cursor: pointer;
}

.card-news-info h3 {
    text-align: center;
    font-size: 16px !important;
    text-decoration: none;
}

.card-news-info hr {
    margin: 0;
    width: 32px;
}

.card-news-icon {
    position: relative;
    background-color: var(--main-color-salmon);
    border-radius: 15px;
    height: 45px;
    width: 45px;
    cursor: pointer;
}

.card-news-icon h4 {
    font-weight: 600;
}

.card-news-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    color: var(--bg-spring-wood);
    transition: 0.1s ease-out;
}

.card-news-info:hover i {
    transform: translate(-50%, -50%);
}

.card-news div:nth-child(2) {
    padding: 0 40px 15px;
}

.card-news div:nth-child(2) > hr {
    margin: 15px auto;
    background-color: rgb(215, 215, 215);
    width: 100%;
    height: 1px;
}

.project-partners {
    padding-bottom: 0 !important;
}

.project-partners h2 {
    margin-bottom: 50px;
}

.logo-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.logo-container img {
    width: 160px;
}

.logo-container-mobile {
    display: none;
}

@media screen and (max-width: 1408px) {
    .card-news-info {
        height: 55px;
        width: 220px;
    }
    .card-news-info h4 {
        font-size: 14px;
        line-height: 16px;
    }
    .card-news-icon {
        height: 38px;
    }
    .card-news-info i {
        font-size: 16px;
    }
}
@media screen and (max-width: 1216px) {
    .card-news-info {
        height: 48px;
        width: 173px;
        gap: 10px;
        padding: 0 15px;
    }
    .card-news-info i {
        font-size: 14px;
    }
    .card-news-icon {
        height: 30px;
    }
}
@media screen and (max-width: 1024px) {
    .card-news-info {
        width: 123%;
        gap: 10px;
        padding: 0 10px;
    }
}
@media screen and (max-width: 769px) {
    .card-news {
        margin: 0 20px;
    }
    .card-news-info {
        width: 104%;
    }
    .card-news-icon {
        height: 45px;
    }
    .card-news-info i {
        font-size: 18px;
    }
    .project-partners .logo-container {
        display: none !important;
    }

    .project-partners h2 {
        margin-bottom: 0px !important;
    }

    .logo-container-mobile {
        display: block;
    }
}
@media screen and (max-width: 450px) {
    .card-news-info {
        width: 107%;
        height: 60px;
        padding: 0 25px;
    }
}

/* ************ Slider CSS partenaire ********************** */

.slider-1 {
    max-width: 223px;
    margin: 30px auto;
    overflow: hidden;
    min-height: 117.5px;
}

.slider-1 .slider {
    display: flex;
    animation: slider-2 40s infinite ease-in-out;
}

.slider-1 img {
    height: 156.5px;
    width: auto;
    padding: 5px;
    object-fit: cover;
}

@keyframes slider-2 {
    0%,
    5% {
        transform: translateX(0);
    }
    6.5%,
    11.5% {
        transform: translateX(-100%);
    }
    13%,
    18% {
        transform: translateX(-200%);
    }
    19.5%,
    24.5% {
        transform: translateX(-300%);
    }
    26%,
    31% {
        transform: translateX(-400%);
    }
    32.5%,
    37.5% {
        transform: translateX(-500%);
    }
    39%,
    44% {
        transform: translateX(-600%);
    }
    45.5%,
    50.5% {
        transform: translateX(-700%);
    }
    52%,
    57% {
        transform: translateX(-800%);
    }
    58.5%,
    68.5% {
        transform: translateX(-900%);
    }
    71%,
    76.5% {
        transform: translateX(-1000%);
    }
    78%,
    83% {
        transform: translateX(-1100%);
    }
    84.5%,
    100% {
        transform: translateX(-1200%);
    }
}

/* --------------------------------------------------- */
/* -----------Project */
/* --------------------------------------------------- */

.header2 {
    background: url(../../images/header2-Edaphos.webp) center/cover;
    max-width: 100% !important;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 80px;
}

.header2 h1 {
    color: var(--bg-spring-wood) !important;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.35);
}

.a-b {
    display: flex;
    gap: 6%;
}

.a-b div:nth-child(2) {
    width: 60%;
}
.a-b div:nth-child(2) {
    width: 60%;
}

@media screen and (max-width: 769px) {
    .a-b {
        flex-direction: column;
        gap: 40px;
    }

    .a-b div:nth-child(2) {
        width: 100%;
    }
}

.a-c {
    max-width: 100% !important;
    min-height: 50vh;
    padding: 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 100px auto;
    position: relative;
}

.a-c div:nth-child(2) {
    color: var(--bg-spring-wood);
    background-color: var(--bg-dark);
    width: 55%;
    border-radius: 15px 0 0 15px;
    margin-top: 100px;
    padding: 60px 125px 60px 60px;
    z-index: 2;
}

.a-c div:nth-child(2) h2 {
    color: var(--bg-spring-wood);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--main-color-salmon);
    width: fit-content;
}

.a-c div:nth-child(2) p {
    max-width: 650px;
}

.a-c img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 50vw;
    border-radius: 0 40px 40px 0;
}

@media screen and (max-width: 1024px) {
    .a-c {
        justify-content: center;
        margin: 100px auto;
        position: relative;
    }

    .a-c div:nth-child(2) {
        width: 70%;
        border-radius: 15px;
        padding: 60px;
    }
}

@media screen and (max-width: 769px) {
    .a-c div:nth-child(2) {
        width: 85%;
        padding: 25px;
    }
}

.project-objective-container {
    display: flex;
    justify-content: space-evenly;
}

.project-objective-container div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.project-objective-container img {
    width: 85%;
    border-radius: 20px;
}

/* --------------------- */

.section.container.objective {
    position: relative;
    margin-bottom: 200px;
}

.section.container.objective .columns {
    position: absolute;
    top: 27%;
    left: 0%;
}

.column.is-4:has(.card-objective) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.card-objective,
.card-resources {
    background-color: var(--bg-spring-wood);
    border: 3px solid var(--main-color-turquoise-dark);
    border-radius: 20px;
    width: 82%;
    max-width: 400px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 25px;
    transition: 0.1s ease-out;
}

.card-objective p {
    line-height: 27px;
}

.card-objective:hover {
    box-shadow: 10px 10px 0px var(--main-color-turquoise-dark);
}

.card-objective .card-content {
    padding: 0;
}

.card-objective .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.card-objective .content div:first-child {
    height: 65px;
    width: 65px;
    border-radius: 100px;
    background-color: white;
    filter: drop-shadow(0px 10px 60px rgba(0, 0, 0, 0.1));
    position: relative;
}

.card-objective:hover .content div:first-child {
    background-color: var(--main-color-turquoise-dark);
}

.card-objective .content div:first-child span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    font-weight: 600;
    color: var(--main-color-turquoise-dark);
}

.card-objective:hover .content div:first-child span {
    color: var(--bg-spring-wood);
}

@media screen and (max-width: 769px) {
    .section.container.objective {
        margin-bottom: 50px;
    }
    .project-objective-container {
        flex-direction: column;
    }
    .project-objective-container div:nth-child(2) {
        margin-top: 50px;
    }
    .section.container.objective .columns {
        position: initial;
        margin-top: 50px;
    }
    .column.is-4:nth-child(2) {
        margin-top: 0px !important;
    }
    .column.is-4:nth-child(3) {
        margin-top: 0px !important;
    }

    .card-objective {
        width: 100%;
    }
}

/* ---------------------- */

.section.container.project-package {
    max-width: 100% !important;
    background-color: var(--main-color-salmon);
    margin-top: 300px;
    padding-bottom: 100px;
    min-height: 400px;
    margin-bottom: -100px;
}

.section.container.project-package h2 {
    color: var(--bg-spring-wood) !important;
    margin-bottom: 30px;
}

.project-package .section.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.project-package .columns {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-package .column.is-3,
.project-package .column.is-4 {
    display: flex;
    justify-content: center;
}

.card-project-package {
    cursor: pointer;
    background-color: var(--bg-spring-wood);
    border-radius: 24px;
    height: 350px;
    aspect-ratio: 9/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.1s ease-out;
}

.card-project-package.discover {
    aspect-ratio: auto !important;
}
.card-project-package.discover h3 {
    font-size: 16px !important;
}

.card-project-package .card-content {
    height: 100%;
    padding: 10px;
}

.card-project-package .content {
    height: 100%;
    display: grid;
    grid-template-rows: 40% 60%;
    position: relative;
    overflow: hidden;
}

.card-project-package .content div:first-child {
    padding: 5px 15px 0;
}

.card-project-package .content span {
    color: var(--main-color-turquoise-dark);
    font-weight: 700;
    font-size: 22px;
}

.card-project-package .content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-project-package .content-img {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-project-package .content-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.content-img-verso {
    position: absolute;
    top: 0%;
    left: 0%;
    background-color: #81f0df;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transform: translateY(100%);
    transition: 0.6s ease-in-out;
    z-index: 2;
}

.content-img-verso p {
    line-height: 20px;
    font-size: 1rem;
    padding: 24px;
    text-align: center;
    font-weight: 600;
}

.card-project-package:hover .content-img-verso {
    transform: translateY(0%);
}

.card-project-package .content > div:last-child {
    position: absolute;
    top: 32%;
    left: 62%;
    background-color: white;
    width: 55px;
    height: 55px;
    border-radius: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.card-project-package .content .icon-container {
    background-color: var(--main-color-turquoise-dark);
    width: 45px;
    height: 45px;
    border-radius: 17px;
    position: relative;
    z-index: 1;
}

.card-project-package .content .icon-container i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 18px;
    transition: 0.2s ease-out;
}

.card-project-package:hover .icon-container i {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* .card-project-package .card-content {
  aspect-ratio: 8/10;
} */

@media screen and (max-width: 1215px) {
    .card-project-package {
        aspect-ratio: 9/11;
    }
}
@media screen and (max-width: 1023px) {
    .card-project-package {
        aspect-ratio: 9/13;
    }
}

@media screen and (max-width: 769px) {
    .section.container.project-package {
        margin-top: 0px;
        padding-bottom: 80px;
        margin-bottom: -100px;
    }
    .card-project-package {
        aspect-ratio: auto;
    }
}

/* ---------------------------------- */
/* --------------Partners ----------------------- */
/* ---------------------------------- */

.card-partner {
    cursor: pointer;
    background-color: var(--bg-spring-wood);
    border: 3px solid rgb(218, 218, 218);
    border-radius: 20px;
    max-width: 280px;
    min-height: 385px;
    display: grid;
    grid-template-rows: 30% 20% 40%;
    padding: 18px;
    transition: 0.1s ease-out;
}

.card-partner img {
    height: 100%;
    width: 85%;
    filter: grayscale(100);
}

.card-partner .content div:has(img) {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 20px;
}

.card-partner h3 {
    font-size: 20px;
    text-align: center;
}

.card-partner p {
    line-height: 24px;
    font-size: 14px;
    text-align: justify;
}

.card-partner:hover {
    box-shadow: 10px 10px 0px var(--main-color-turquoise-dark);
    border: 3px solid var(--main-color-turquoise-dark);
}

.card-partner:hover img {
    filter: grayscale(0);
}

.card-partner .card-content {
    padding: 0;
}

@media screen and (max-width: 769px) {
}

/* -------Modale --------------------------- */

.modal-container {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    visibility: hidden;
    transition: visibility 0.4s;
}
.modal-container.active {
    visibility: visible;
    transition: visibility 0s;
}

.modal-container .overlay {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75 75 75 / 30%);
    transition: opacity 0.4s 0.2s ease-out;
}
.modal-container.active .overlay {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

.modal-container .text-modal {
    opacity: 0;
    width: 60%;
    /* height: 500px; */
    max-width: 650px;
    /* min-width: 300px; */
    padding: 30px;
    background: var(--main-color-turquoise-opac);
    border-radius: 20px;
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 50px));
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.modal-container.active .text-modal {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: 0.2s ease-out, transform 0.4s ease-out;
}

.text-modal div {
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 50px;
    align-items: center;
    gap: 50px;
    text-align: justify;
    position: relative;
}

.text-modal div h3 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .modal-container .text-modal {
        width: 80%;
    }
}
@media screen and (max-width: 769px) {
    .modal-container .text-modal {
        width: 85%;
    }
    .text-modal div {
        padding: 20px 0;
    }
    .text-modal div p {
        line-height: 24px;
    }
}

/* -------------------- */
/* ------------------Contact --------------------- */
/* -------------------- */

.contact .columns {
    justify-content: center;
    margin: 0 auto;
}

.contact .columns .is-3 {
    border: 1px solid rgba(11, 61, 44, 0.1);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    background-color: #fdfcfb;
    padding: 30px;
}

.contact .columns .is-3:first-child {
    border-radius: 15px 0 0 15px;
}
.contact .columns .is-3:last-child {
    border-radius: 0 15px 15px 0;
}

.contact .columns .is-3 div {
    height: 80px;
    width: 80px;
    background-color: var(--main-color-turquoise-dark);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
}

.contact .columns .is-3 div i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    color: white;
}

textarea {
    resize: none !important;
    height: 100px;
    margin-bottom: 30px;
}

.section.contact .is-6:nth-child(2) {
    background-color: white !important;
    filter: drop-shadow(0px 7px 60px rgba(0, 0, 0, 0.07));
    width: 40%;
    height: 50%;
    margin-left: -95px;
    margin-top: 35px;
    border-radius: 20px;
    padding: 45px;
}

input[type="text"],
input[type="email"],
.textarea {
    border: none;
    box-shadow: none;
    border-bottom: 1px solid rgba(11, 61, 44, 0.1);
    border-radius: 0;
    color: black !important;
    border-radius: 10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
.textarea:focus {
    border: 1px solid var(--main-color-turquoise-opac);
    box-shadow: 0 0 0 0.125em rgb(72 199 172 / 25%);
}

@media screen and (max-width: 1024px) {
    textarea {
        margin-bottom: 0px;
    }
}
@media screen and (max-width: 769px) {
    .section.contact .is-6:nth-child(2) {
        width: 0%;
        width: 100%;
        margin-left: 0px;
        margin-top: 35px;
        padding: 25px;
    }
}

/* ------------------------------------------- */
/* --------------Contact Form --------------------- */
/* ------------------------------------------ */

form {
    margin: auto;
}

input[type="submit"] {
    padding: 0 20px !important;
}

input[type="text"].error,
input[type="email"].error,
textarea.error {
    border: 2px solid rgb(231, 127, 127);
    background-color: rgb(255 243 243);
}

textarea {
    resize: none;
    height: 100px;
}

.is-grouped {
    flex-direction: column;
}

.visible {
    display: block !important;
    margin-bottom: 10px;
}

.success {
    color: #317e58;
    font-size: 18px;
}

.error {
    color: red;
    font-size: 18px;
}

#formSuccess,
#formError,
#ServerError {
    display: none;
}

@media screen and (max-width: 630px) {
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    input[type="text"],
    textarea {
        margin: 10px 0 0 0;
    }
}

/* ---------------- */
/* -----------RESOURCES--------- */
/* ---------------- */

.accordion-header {
    cursor: pointer;
}
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.ressources .accordion-header {
    border-bottom: 1px solid var(--main-color-salmon);
    padding: 10px 0;
    margin-top: 10px;
}

.ressources .accordion:last-child .accordion-header {
    border-bottom: none;
}

.ressources .accordion h4 {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #1c3f63;
    user-select: none;
}
.ressources .accordion i {
    color: var(--main-color-salmon);
    font-size: 1em;
    margin-right: 15px;
}
.ressources ul {
    padding-top: 20px;
}
.ressources ul li {
    padding: 5px 0;
    margin-right: 15%;
}
.ressources ul li .tag {
    float: right;
    margin-right: -15%;
}
.ressources ul li a {
    color: #54a9fb;
}

.is-6.ressources {
    border: 3px solid var(--main-color-salmon);
    border-radius: 15px;
    padding: 10px 30px;
    width: 100%;
}

/* ------------------ */
/* --------NEWS ------------------- */
/* ------------------ */

/* List news */
/* ---------------------------------------------------------------------------------------------- */
.box.newsBox {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fdfcfb !important;
}

.box.newsBox:hover {
    background-color: #fff !important;
    box-shadow: 0px 7px 60px 0px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    cursor: pointer;
}

.news .newsBox img {
    width: 50%;
    aspect-ratio: 4/3;
}

.newsBox-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 0 40px;
}

.newsBox-info span {
    border: 1px solid rgba(11, 61, 44, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    background-color: #fff;
}

.newsBox-info h2 {
    font-size: 20px !important;
    line-height: normal !important;
    margin-top: 10px;
    margin-bottom: 20px;
}

.newsBox-info p {
    line-height: 25px !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sideBox {
    box-sizing: border-box;
    border: 1px solid rgba(11, 61, 44, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: none;
    background-color: #f9f9f9;
}

.sideBox h4 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #313638;
    border-bottom: 2px solid #e3e3e3;
    padding-bottom: 15px;
}

.sideBox div.bar {
    border-bottom: 3px solid var(--main-color-salmon);
    position: relative;
    width: 80px;
    top: -2px;
    margin-bottom: 15px;
}

.newsBox {
    box-shadow: none;
}
.newsBox .date {
    position: absolute;
    width: 84px;
    height: 94px;
    text-align: center;
    border-radius: 5px;
    padding: 17px 12px;
    background-color: #fff;
    margin-top: 20px;
    margin-left: 20px;
    color: #1c3f63;
    line-height: 7px;
}
.newsBox .date .day {
    font-weight: 600;
    font-size: 30px;
    line-height: 35px;
}
.newsBox .date .month {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
}
.newsBox .type span {
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: #737588;
}
.newsBox .type i {
    font-size: 16px;
    color: #1c3f63;
    font-weight: 400;
    line-height: 12px;
    margin-right: 5px;
}
.newsBox h2 {
    font-weight: 600;
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 51px;
    color: #1c3f63;
    margin-bottom: 20px;
    margin-top: 10px;
}
.newsBox img {
    border-radius: 10px;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}
.listTags .tag {
    background: #f8f9fc;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    color: #737588;
    margin-right: 8px;
    margin-bottom: 8px;
}
.listTags .titletag {
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    color: #1c3f63;
}
.countType {
    background: #f8f9fc;
    border-radius: 5px;
    height: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 48px;
    padding-left: 20px;
    color: #737588;
    margin-bottom: 10px;
}
.countType .count {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    line-height: 48px;
    color: #737588;
    float: right;
    width: 50px;
    height: 50px;
    text-align: center;
}

.category-news {
    border-bottom: 1px solid rgba(11, 61, 44, 0.15);
    padding-bottom: 15px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-news:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.category-news h5 {
    font-weight: 500;
}

.listTags.news {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-event {
    padding: 10px 15px;
    background-color: rgba(11, 61, 44, 0.1);
    border-radius: 10px;
    font-weight: 500;
}

/* ------------------------- */
/* ------------NEWS ARTICLE------------- */
/* ------------------------- */

/* .news img {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
} */

.news-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

.news-title-container img {
    border-radius: 20px;
}

.news-title-container h2 {
    font-size: clamp(20px, 2vw, 35px);
    text-align: center;
}

.news-title-container i {
    font-size: 50px;
    color: var(--main-color-salmon);
}

main .box.newsBox.light {
    padding: 5px;
    background-color: #f9f9f9 !important;
    gap: 15px;
}

.box.newsBox.light h2 {
    font-size: 14px !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.box.newsBox.light img {
    border-radius: 200px;
    aspect-ratio: 1/1;
    width: 35%;
    max-width: 80px;
}

.box.newsBox.light .newsBox-info {
    padding: 0 10px;
}

.box.newsBox.light .newsBox-info span {
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
    border: none;
    background-color: transparent;
}

.light .newsBox-info {
    gap: 0px !important;
}

.tags .tag {
    background-color: var(--main-color-turquoise-dark) !important;
    border-radius: 5px !important;
    padding: 6px 14px;
    height: 100%;
}

.tags a {
    color: black !important;
}
.tags a:hover {
    color: var(--main-color-turquoise-dark) !important;
}

.sidebox-container {
    position: sticky;
    top: 3%;
}
