@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --color-noir: #000;
    --color-blanc: #FFF;
    --color-gris: #d6d6d6;
    --color-background-100: #202020;
    --color-background-200: #333533;
    --color-primary: #ffee32;
    --color-secondary: #ffd100;

    --radius8: 8px;
    --radius16: 16px;
    --radius32: 32px;
}

::selection {
    background-color: var(--color-secondary);
    color: var(--color-noir);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
}

i {
    font-size: .9em;
}

img,
a {
    -webkit-user-drag: none;
    font-family: 'Rubik', sans-serif;
}

html {
    font-family: 'Rubik', sans-serif;
}

body {
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--color-background-100);
    /* padding-top: 90px; */
}

body::-webkit-scrollbar {
    width: .6em;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-blanc);
    border-radius: 25px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
}

body::-webkit-scrollbar-track {
    background-color: var(--color-background-100);
}

/* header */
header {
    width: 100vw;
    height: 90px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5% 8%;
    background: none;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    color: var(--color-blanc);
    z-index: 999;
    backdrop-filter: blur(15px);
}

header a.title {
    font-size: 1.2em;
    color: var(--color-blanc);
    font-weight: 500;
    white-space: nowrap;
}

header a.title span {
    color: var(--color-primary);
}

.nav_links {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    text-align: center;
    padding: 0 4px;
}

.nav_links li a {
    position: relative;
    padding: 0 10px;
    font-weight: 400;
    font-size: 1.12em;
    color: var(--color-blanc);
}

.nav_links li a:after {
    content: "";
    position: absolute;
    background-color: var(--color-primary);
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    left: 0;
    bottom: -6px;
    transition: transform 0.3s;
    border-radius: 50px;
}

.nav_links li a:hover:after {
    transform: scaleX(90%);
}

.nav_links li a:hover {
    color: var(--color-primary);
}

.nav_links li.active a {
    color: var(--color-primary);
}

.nav_links li.active a:after {
    transform: scaleX(90%);
}

.menu_hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 2.5em;
    color: var(--color-blanc);
    display: none;
    visibility: hidden;
    cursor: pointer;
    z-index: 99999999;
}

/* composants */
.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.button {
    border-radius: var(--radius16);
    background-color: var(--color-primary);
    cursor: pointer;
    border: 2px solid var(--color-primary);
    transition: all .1s ease-in-out;
    padding: 10px 0;
}

.button a {
    color: var(--color-background-100);
    font-weight: 500;
    font-size: 1.5em;
    padding: 10px 20px;
    border-radius: var(--radius16);
}

.button:hover {
    background-color: var(--color-background-100);
}

.button:hover a {
    color: var(--color-primary);
}

.button.reverse {
    background-color: var(--color-background-100);
    color: var(--color-primary);
    border: 2px solid var(--color-background-100);
}

.button.reverse a {
    color: var(--color-primary);
}

.button.reverse:hover {
    background-color: var(--color-primary);
}

.button.reverse:hover a {
    color: var(--color-background-100);
}

/* ---------- */

/* decorations */
img.cells {
    width: 25vw;
    position: absolute;
    object-fit: contain;
    pointer-events: none;
    z-index: 999999;
}

#bee {
    pointer-events: none;
    position: absolute;
    width: 7vw;
    object-fit: contain;
    z-index: 99999999999;
    transform: translate(-60px, -60px);
}

.herbe {
    width: 100vw;
    opacity: .6;
}

/* ------------ */

/* sections */
section.home,
section.hook,
section.description,
section.statistics,
section.articles,
section.membres,
section.image,
section.infos {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding-inline: 10%;
    overflow: hidden;
}

section.description {
    flex-direction: column;
    justify-content: center;
    gap: 48px;
}

section.hook,
section.statistics {
    background-color: var(--color-background-200);
}

/* ---------- */

section.home {
    justify-content: center;
}

section.home h1 {
    font-size: 5.5em;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    color: var(--color-blanc);
    margin-right: 10%;
    white-space: nowrap;
}

section.home h1 span {
    color: var(--color-primary);
}

section.home img {
    width: 40vw;
    max-width: 650px;
    object-fit: contain;
    border-radius: var(--radius16);
    filter: saturate(1.2);
}

section.hook img {
    width: 28vw;
    object-fit: contain;
    border-radius: var(--radius16);
}

section.hook p {
    font-size: 1.8em;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-blanc);
    margin-left: 10%;
    margin-bottom: 10%;
}

section.hook p span {
    text-decoration: underline;
}

section.description:not(.first) {
    background-color: var(--color-background-200);
}

section.description {
    height: auto;
    min-height: 100vh;
    padding-block: 10%;
    position: relative;
}

h2 {
    font-size: 3.2em;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    color: var(--color-blanc);
    white-space: nowrap;
    text-align: center;
}

h2 span {
    color: var(--color-primary);
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

section.description p {
    font-size: 1.3em;
    line-height: 1.3;
    font-weight: 400;
    color: var(--color-blanc);
}

/* section.statistics {
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

section.statistics h2 {
    font-size: 5.4em;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    color: var(--color-blanc);
    margin-bottom: 10%;
    white-space: nowrap;
}

section.statistics h2 span {
    color: var(--color-primary);
}

section.statistics .column {
    margin-inline: 8%;
}

section.statistics h3 {
    font-size: 4em;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    color: var(--color-blanc);
    background-color: var(--color-background-100);
    padding: 20px 0;
    border-radius: var(--radius16);
    margin-bottom: 5%;
    line-height: 1;
    text-align: center;
    user-select: none;
}

section.statistics p {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--color-gris);
    white-space: nowrap;
} */

/* page articles */
section.articles {
    padding-top: 140px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    padding-inline: 5%;
    height: auto;
    min-height: 100vh;
}

.card {
    background-color: var(--color-background-200);
    border-radius: var(--radius8);
    z-index: 1;
    padding: 20px;
    animation: fadeInCard .7s .1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

.tools {
    display: flex;
    align-items: center;
    margin-block: 0 10px;
}

.circle {
    padding: 0 4px;
}

.box {
    display: inline-block;
    align-items: center;
    width: 10px;
    height: 10px;
    padding: 1px;
    border-radius: 50%;
}

.red {
    background-color: #ff605c;
}

.yellow {
    background-color: #ffbd44;
}

.green {
    background-color: #00ca4e;
}

.card_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.card_content h4 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.card_content p {
    font-size: 1.1em;
    line-height: 1.32;
    font-weight: 400;
    color: var(--color-blanc);
}

.card_content h5 {
    font-size: .9em;
    font-weight: 400;
    line-height: 1;
    color: var(--color-gris);
    text-align: right;
    width: 100%;
}

/* animation load articles */
@keyframes fadeInCard {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* page membres */
section.membres {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 10%;
    height: auto;
    min-height: 100vh;
    padding-block: 5%;
}

section.membres h2 {
    margin-bottom: 7%;
}

section.membres .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 3vw;
}

section.membres .grid>*:nth-last-child(1) {
    grid-column: span 5;
    justify-self: center;
}

section.membres .grid .item {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-inline: 3vw;
    min-width: 120px;
}

section.membres .grid .item h3 {
    color: var(--color-blanc);
    font-size: 1.1em;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 5px;
}

section.membres .grid .item p {
    color: #8a8f98;
    font-size: 1.1em;
    font-weight: 400;
    text-transform: capitalize;
}

section.membres .grid>*:nth-last-child(1) {
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-top: 2%;
}

section.membres .grid>*:nth-last-child(1) h3 {
    color: var(--color-primary);
}

section.membres .grid>*:nth-last-child(1) p {
    color: var(--color-blanc);
    margin-block: 10px 15px;
    line-height: 1;
}

section.membres .grid>*:nth-last-child(1) .button {
    border: 2px solid var(--color-primary);
    text-align: center;
}

section.membres .grid>*:nth-last-child(1) .button a {
    font-weight: 400;
    font-size: 1.2em;
    text-align: center;
}

section.description img.cells.cells1,
section.description img.cells.cells2,
section.membres img.cells.cells1,
section.membres img.cells.cells2 {
    width: 7vw;
    min-width: 100px;
    position: fixed;
    object-fit: contain;
    pointer-events: none;
    opacity: 1;
}

section.description img.cells.cells1,
section.description img.cells.cells2 {
    position: absolute;
}

section.description img.cells.cells1,
section.membres img.cells.cells1 {
    bottom: -7px;
    left: 0;
}

section.membres img.cells.cells2 {
    bottom: -7px;
    right: 0;
}

section.description img.cells.cells2 {
    bottom: -8px;
    right: 10px;
}

/* page les abeilles */
section.infos {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.infos h2 {
    margin-bottom: 5%;
}

section.infos .row {
    align-items: start;
}

section.infos .row .column {
    margin-inline: 5%;
    justify-content: space-between;
    height: 100%;
}

section.infos .column h3 {
    font-size: 1.4em;
    font-weight: 500;
    color: var(--color-blanc);
    text-align: center;
    margin-bottom: 16px;
}

section.infos video,
section.infos iframe {
    height: 45vh;
    min-height: 250px;
    border-radius: var(--radius16);
    overflow: hidden;
    max-width: 300px;
    min-width: 200px;
}

section.infos a img {
    height: 45vh;
    min-height: 250px;
    object-fit: contain;
    border-radius: var(--radius16);
    max-width: 500px;
    min-width: 200px;
    filter: brightness(.7);
    opacity: .7;
}

section.infos.cosm .row .column a img {
    object-fit: cover;
}

section.infos.lesAbeilles a img {
    object-fit: cover;
    max-width: 470px;
}

section.infos.fukushima a img {
    max-width: none;
    min-width: 0;
    object-fit: contain;
}

section.infos a {
    position: relative;
}

section.infos a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-blanc);
    font-size: 5em;
    transition: .1s ease-in-out;
    opacity: 1;
}

section.infos a:hover i {
    color: var(--color-secondary);
}

section.infos.second {
    background-color: var(--color-background-200);
}

/* page cosmetiques */
section.infos.cosm {
    height: auto;
    min-height: 100vh;
    padding-block: 10%;
}

section.infos.cosm .row {
    gap: 10%;
}

section.infos.cosm .row .column {
    margin: 0;
}

section.infos.cosm .card {
    max-width: 45vw;
    min-width: 750px;
}

section.infos.cosm.second .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6vw;
}

section.infos.cosm.second .grid>*:nth-last-child(1):nth-child(4n + 1) {
    grid-column: 2 / 4;
}

section.infos.cosm.second .grid .column.audio h3 {
    margin-bottom: 15%;
}

section.infos.cosm.second .grid a img {
    height: 40vh;
}

/* grid images */
section.photos {
    min-height: 100vh;
    padding-block: 10%;
    height: auto;
}

.grid.images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.grid.images>*:nth-last-child(1):nth-child(4n + 1) {
    grid-column: 1 / 4;
}

.grid.images a {
    scale: 1;
    transition: scale .2s ease-in-out;
    /* clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); */
    /* overflow: hidden; */
}

.grid.images a:hover {
    scale: 1.05;
}

.grid.images img {
    width: 20vw;
    height: 40vh;
    object-fit: cover;
    border-radius: var(--radius16);
    max-width: 500px;
    opacity: 1;
    filter: brightness(1);
    min-height: initial;
}

/* page jeux */
section.infos.jeux {
    height: auto;
    min-height: 100vh;
    padding-block: 10%;
}

section.infos.jeux .row,
section.infos.reportages .row {
    justify-content: space-evenly;
    width: 100%;
    flex-wrap: wrap;
}

section.infos.jeux .row {
    align-items: start;
    gap: 5vw;
}

section.infos.jeux .row .column {
    margin: 0;
}

section.infos.reportages .row .column {
    margin: 0;
    width: 100%;
    flex: 1 1 40%;
}

section.infos.reportages .row .column {
    width: 40%;
}

section.infos.jeux video,
section.infos.cosm video,
section.infos.reportages video {
    height: auto;
    min-height: 0;
    max-height: 45vh;
    overflow: hidden;
    max-width: none;
    min-width: 0;
    width: auto;
}

section.infos.cosm video {
    max-height: 30vh;
}

section.infos.reportages video,
section.infos iframe {
    width: 80vw;
    max-height: none;
    max-width: 600px;
    height: auto;
    min-width: 0;
}

section.infos iframe {
    height: 45vh;
    max-height: none;
}

section.infos.jeux a img {
    object-fit: cover;
    max-width: 450px;
    width: 40vw;
}

@media (max-width: 1385px) {
    section.infos.jeux video {
        margin-right: 0;
    }

    section.infos .column h3 {
        margin-bottom: 2%;
    }
}

@media (max-width: 1500px) {
    header {
        padding: 1.5% 4%;
        height: 75px;
    }

    header a.title {
        font-size: 1.1em;
    }

    .nav_links li {
        padding: 0 2px;
    }

    .nav_links li a {
        padding: 0 7px;
        font-size: 1em;
    }

    .button a {
        font-size: 1.15em;
    }
}

@media (max-width: 1300px) {

    section.home,
    section.hook,
    section.description,
    section.statistics,
    section.articles,
    section.membres,
    section.image,
    section.infos {
        padding-inline: 7%;
    }

    section.home h1 {
        font-size: 4em;
        margin-right: 8%;
    }

    section.hook p {
        font-size: 1.7em;
        line-height: 1.2;
        margin-left: 8%;
        margin-bottom: 8%;
    }

    h2 {
        font-size: 2.7em;
    }

    section.description p {
        font-size: 1.3em;
    }

    section.statistics h2 {
        margin-bottom: 8%;
    }

    section.statistics .column {
        margin-inline: 4vw;
    }

    section.statistics h3 {
        font-size: 3.2em;
        margin-bottom: 10px;
    }

    section.statistics p {
        font-size: 1.6em;
    }

    section.infos .row .column {
        margin-inline: 3%;
    }

    section.infos .column h3 {
        font-size: 1.1em;
    }

    section.infos.lesAbeilles a img {
        max-width: 305px;
    }

    section.infos.fukushima a img {
        max-width: none;
    }

    section.infos a i {
        font-size: 4em;
    }

    .grid.images img {
        width: 20vw;
        height: 30vh;
        min-height: initial;
    }

    section.infos.cosm .row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 48px;
    }

    section.infos.cosm.second {
        padding-inline: 7%;
    }

    section.infos.cosm.second .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5vw;
    }

    section.infos.cosm.second .grid>*:nth-last-child(1):nth-child(4n + 1) {
        grid-column: auto;
    }

    section.infos.cosm.second .grid .column.audio audio {
        max-width: 90%;
    }

    section.infos.cosm.second .grid .column.audio h3 {
        margin-bottom: 5%;
    }

    section.home h1 {
        font-size: 3.6em;
    }

    section.hook p {
        font-size: 1.4em;
        line-height: 1.3;
    }

    h2 {
        font-size: 3em;
    }

    section.description p {
        font-size: 1.2em;
    }

    section.statistics h2 {
        margin-bottom: 35px;
    }

    section.statistics .column {
        margin-inline: 4vw;
    }

    section.statistics h3 {
        font-size: 3em;
    }

    section.statistics p {
        font-size: 1.6em;
    }

    .grid.images {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .grid.images img {
        width: 20vw;
        height: 20vh;
        min-height: initial;
        max-height: 200px;
    }

    section.membres .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 50px;
    }

    section.membres .grid>*:nth-last-child(1) {
        grid-column: span 4;
        justify-self: center;
    }

    section.infos.cosm.second .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5vw;
    }

    section.infos.cosm.second .grid>*:nth-last-child(1):nth-child(4n + 1) {
        grid-column: auto;
    }

    section.infos.jeux video {
        width: 100%;
    }
}

@media (max-width: 1150px) {
    header {
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        background: var(--color-background-100);
        width: 100%;
        height: 100vh;
        margin-left: 100%;
        padding: 1.5% 2.5%;
        padding-block: 90px;
        transition: margin .35s ease-out;
        z-index: 999999;
        overflow-y: auto;
    }

    .menu_hamburger_active {
        /* menu hamburger visibilité */
        margin-left: 0;
    }

    .menu_hamburger {
        display: block;
        visibility: visible;
    }

    header a.title {
        font-size: 2em;
        margin-bottom: 60px;
    }

    .nav_links {
        display: flex;
        flex-direction: column;
    }

    .nav_links li {
        margin-block: 15px;
    }

    .nav_links li a {
        font-size: 1em;
        padding: 0 10px;
    }
}

@media (max-width: 1000px) {
    section.home img {
        width: 28vw;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) {
        height: auto;
        min-height: 100vh;
        padding-block: 10%;
    }

    section.infos.lesAbeilles:not(.second):not(.photos):not(.microbiote) .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    section.infos.lesAbeilles.microbiote .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
    }

    section.infos.lesAbeilles.microbiote .row iframe {
        height: 30vh;
    }

    section.infos.lesAbeilles:not(.second):not(.photos):not(.microbiote) .row>*:nth-last-child(1) {
        grid-column: span 2;
        justify-self: center;
    }

    section.infos.lesAbeilles:not(.second):not(.photos):not(.microbiote):not(.fukushima) .row>*:nth-last-child(1) img {
        max-width: 400px;
    }

    section.infos.fukushima a img {
        max-width: none;
        min-width: 0;
        object-fit: contain;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) .column {
        margin-inline: 0;
    }

    h2 {
        font-size: 2.2em;
    }

    section.infos .column h3 {
        font-size: 1em;
    }

    section.membres .grid {
        grid-gap: 30px;
    }

    section.infos.cosm .card {
        width: 70vw;
        max-width: none;
        min-width: 0;
    }

    section.infos.cosm video {
        width: 60%;
        height: auto;
        min-height: initial;
    }

    .card_content h4 {
        font-size: 1.2em;
    }

    .card_content p {
        font-size: 1.1em;
    }

    .card_content h5 {
        font-size: .95em;
    }

    section.membres {
        padding-block: 10%;
    }

    section.membres h2 {
        margin-bottom: 10%;
    }

    section.membres .grid>*:nth-last-child(1) {
        margin-top: 4%;
    }
}

@media (max-width: 750px) {

    section.home,
    section.hook,
    section.description,
    section.description:not(.first) {
        flex-direction: column;
        justify-content: center;
        gap: 0;
    }

    section.home h1 {
        font-size: 3em;
        margin-right: 0;
        margin-bottom: 10vh;
    }

    section.home img {
        width: 40vw;
        min-width: 300px;
    }

    section.hook {
        flex-direction: column-reverse;
    }

    section.hook img {
        width: 35vw;
    }

    section.hook p {
        font-size: 1.2em;
        margin: 0;
    }

    section.hook .button {
        margin-block: 6vh;
    }

    h2 {
        font-size: 2.5em;
    }

    section.description h2,
    section.statistics h2,
    section.description:not(.first) h2 {
        margin: 0;
        margin-bottom: 6vh;
    }

    section.description p {
        font-size: 1em;
    }

    section.statistics h2 {
        margin-bottom: 10vh;
    }

    section.statistics .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 40px;
    }

    section.statistics .column {
        margin-inline: 0;
    }

    section.statistics h3 {
        font-size: 3em;
        padding: 10px 0;
        min-width: 120px;
    }

    section.statistics p {
        font-size: 1.35em;
    }

    section.infos.lesAbeilles.second {
        height: auto;
        min-height: 100vh;
        padding-block: 10%;
    }

    section.infos.lesAbeilles.second .row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    section.infos.lesAbeilles.second .row>*:nth-last-child(1) {
        margin-top: 10%;
    }

    section.infos a i {
        font-size: 3em;
    }

    .grid.images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .grid.images>*:nth-last-child(1):nth-child(4n + 1) {
        grid-column: 1 / 2;
    }

    .grid.images img {
        width: 40vw;
        height: 30vh;
        min-height: initial;
        min-width: initial;
    }

    section.infos.jeux .row {
        justify-content: start;
        flex-direction: column;
    }

    section.infos.jeux video {
        width: 100%;
    }

    section.infos.jeux a img {
        width: 100%;
    }

    section.membres .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 30px;
    }

    section.membres .grid>*:nth-last-child(1) {
        grid-column: span 3;
        justify-self: center;
    }

    section.description img.cells.cells1,
    section.description img.cells.cells2,
    section.membres img.cells.cells1,
    section.membres img.cells.cells2 {
        min-width: 80px;
    }
}

@media (max-width: 550px) {
    section.membres .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        justify-items: center;
    }

    section.membres .grid>*:nth-last-child(1) {
        grid-column: span 2;
        justify-self: center;
    }

    section.membres .grid .item {
        margin: 10%;
        align-items: center;
    }

    section.membres .grid .item h3 {
        font-size: 1em;
    }

    section.membres .grid .item p {
        font-size: 1em;
    }

    section.membres .grid>*:nth-last-child(1) .button {
        padding: 10px 0;
    }

    section.membres .grid>*:nth-last-child(1) .button a {
        font-size: 1.1em;
        padding: 10px 0;
    }

    section.infos.cosm .card,
    section.infos.cosm .row .column {
        width: 80vw;
    }

    section.infos a img {
        min-width: 0;
        max-width: none;
        height: auto;
        width: 100%;
        min-height: 0;
    }

    section.infos.fukushima a img {
        object-fit: contain;
    }

    section.infos.cosm .card {
        padding: 15px;
    }

    section.infos.cosm .card {
        width: 80vw;
        padding: 15px;
    }

    section.infos.cosm video {
        width: 100%;
    }

    .card_content {
        gap: 15px;
    }

    .card_content h4 {
        font-size: 1.15em;
    }

    .card_content p {
        font-size: .85em;
    }

    .card_content h5 {
        font-size: .9em;
    }

    section.infos.cosm.second .grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    section.infos.cosm.second .grid a img {
        height: 250px;
        min-height: 0;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) h2 {
        margin-bottom: 30px;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    section.infos.lesAbeilles.microbiote .row iframe {
        height: 20vh;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) .row>*:nth-last-child(1) {
        grid-column: span 2;
        justify-self: center;
    }

    section.infos.lesAbeilles:not(.second):not(.photos):not(.microbiote):not(.fukushima) .row>*:nth-last-child(1) img {
        max-width: 75vw;
        margin-bottom: 30px;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) .column {
        margin-inline: 0;
        max-width: 90vw;
    }

    section.infos.lesAbeilles:not(.second):not(.photos) .column:nth-child(2) {
        margin-block: 10px;
    }
}

@media (max-width: 450px) {
    section.home h1 {
        font-size: clamp(2em, 2vw, 2.5em);
        margin-right: 0;
        margin-bottom: 10vh;
    }

    section.home img {
        min-width: 250px;
    }

    section.hook img {
        min-width: 150px;
    }

    section.hook p {
        font-size: .9em;
    }

    .button {
        padding: 5px 10px;
    }

    .button a {
        font-size: .95em;
    }

    h2 {
        font-size: 1.9em;
    }

    section.description h2,
    section.statistics h2 {
        margin-bottom: 6vh;
    }

    section.description p {
        font-size: .9em;
    }

    section.statistics .row {
        gap: 30px;
    }

    section.statistics h3 {
        font-size: 2.4em;
        min-width: 100px;
    }

    section.statistics p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.7em;
    }

    section.infos a i {
        font-size: 2.5em;
    }

    section.infos.lesAbeilles.second a img {
        height: auto;
        width: 65vw;
        min-height: initial;
        max-width: initial;
        min-width: initial;
    }

    section.infos .column h3 {
        font-size: .9em;
    }

    .grid.images {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .grid.images img {
        width: 70vw;
        height: 40vh;
        min-height: initial;
        min-width: initial;
    }

    section.description img.cells.cells1,
    section.description img.cells.cells2,
    section.membres img.cells.cells1,
    section.membres img.cells.cells2 {
        min-width: 60px;
    }
}

@media (max-height: 850px) and (min-width: 800px) {

    section.membres {
        height: auto;
        min-height: 850px;
    }
}


@media (max-height: 550px) {

    section.home,
    section.hook,
    section.description,
    section.statistics,
    section.articles,
    section.membres,
    section.image,
    section.infos {
        height: auto;
        min-height: 550px;
    }
}

@media (max-height: 700px) {
    section.infos.lesAbeilles:not(.second) {
        height: auto;
        min-height: 700px;
    }

    section.infos.lesAbeilles:not(.second) video {
        height: 300px;
    }

    section.infos.lesAbeilles:not(.second):not(.photos):not(.microbiote):not(.fukushima) a img {
        height: 300px;
    }
}