/****** General ******/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

html {
    height: 100%;
    width: 100%;
}

body {
    width: 100%;
    min-height: 100svh;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 3s;

}

.main-content {
    width: auto;
}

/****** Header ******/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    position: fixed;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #cdfdfeb8;
    top: 0;
}

.nav-logo img {
    width: auto;
    height: 80px;
    object-fit: contain;
    margin: auto;
}

.logo-mini-img {
    width: auto;
    height: 50px;
    object-fit: contain;
    margin: auto;
    margin-left: 10px;
}

.nav-buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-decoration: none;
    list-style: none;
    column-gap: 30px;
}

.nav-buttons a {
    display: flex;
    justify-content: center;
    width: 120px;
    padding: 10px;
    border-style: solid;
    color: black;
    border-width: 2px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: background-color, margin-bottom;
    transition-duration: 1s, 0.1s, 1s;
}

.nav-buttons a:hover {
    background-color: rgba(143, 255, 214, 0.765);
}

.nav-buttons a:hover {
    margin-bottom: 10px;
}

.nav-buttons a:hover {
    border-color: rgba(143, 255, 214, 0.765);
    ;
}

/******* Main ******/

.hero-banner {
    margin: auto;
    width: 100%;
    margin-bottom: 100px;
    margin-top: 100px;
}

.hero-banner-gif {
    display: none;
}

.logo-video {
    margin: auto;
    width: 100%;
    height: 700px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.insta-live {
    display: none;
    border-style: solid;
    height: 400px;
    margin: auto;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

/****** introduction ******/

.introduction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 50px;
    column-gap: 100px;
    margin-left: 50px;
    margin-right: 50px;
}

.intro-image-right .image img {
    max-width: 400px;
    height: 400px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    transition: 0.8s;
    background-color: white;
}

.intro-image-right .image img:hover {
    transform: scale(1.2);
}

.intro-image-right {
    order: 2;
    border-radius: 100px;
}

.intro-text-left {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: justify;
    order: 1;
    gap: 20px;
}

.intro-logos-container {
    display: none;
    align-items: center;
    justify-content: space-around;
    margin: auto;
}

.intro-logos img {
    width: 100px;
    margin-left: 100px;
    margin-right: 100px;
    transition: 1s;
}

.intro-logos img:hover {
    transform: scale(1.2);
    z-index: 2;
}

/****** text-image ******/

/*** text left / image right ***/

.text-left-image-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.image-right .image img {
    width: 100%;
    max-width: 1000px;
    object-fit: cover;
}

.image-right {
    order: 2;
    width: 50%;
    height: 100%;
}

.text-left {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: justify;
    order: 1;
    width: 50%;
    padding: 30px;
    margin: 0;
    row-gap: 30px;
}

.text-left .title {
    text-align: start;
}

/*** text right / image left ***/

.text-right-image-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.image-left .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-left {
    order: 1;
    width: 50%;
    height: 100%;
}

.text-right {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: justify;
    order: 2;
    width: 50%;
    padding: 30px;
    margin: 0;
    row-gap: 30px;
}

.text-right .title {
    text-align: start;
}


/****** Blog ******/

.blog {
    display: flex;
    flex-direction: column;
    background-color: #cdfdfeb8;
    height: 600px;
    margin-top: 200px;
    margin-bottom: 200px;
}

.blog-title {
    margin: auto;
    padding: 50px;
    color: rgb(60, 60, 60);
}

.blog-articles {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
    margin-left: 50px;
    margin-right: 50px;
    overflow: hidden;
}

.blog-articles a {
    width: 350px;
    height: 350px;
    padding: 0px;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: 1s;
    overflow: hidden;
}

.blog-articles a:hover {
    transform: scale(1.2);
    z-index: 2;
    background-color: rgba(143, 255, 214, 0.78);
}

.article-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    color: black;
    overflow: hidden;
    width: 100%;
    height: 100%;
    gap: 20px;
    padding: 20px;
}

/****** Footer ******/

.footer-main {
    background-color: #cdfdfeb8;
    text-decoration: none;
    list-style: none;
    margin-top: 200px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    margin-left: 50px;
    margin-right: 50px;
    padding: 30px;
}

.footer-main .footer-content ul img {
    width: 30px;
    transition: 0.5s;
}

.footer-main .footer-content ul img:hover {
    transform: scale(1.3);
    z-index: 2;
    cursor: pointer;
}

.footer-main,
.footer-content ul a {
    color: black;
}

.reseaux-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin: auto;
}

.logos-reseaux, .partners {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    gap: 10px;
}

.logos-reseaux li {
    display: flex;
    gap: 40px;
}

.infos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.infos li {
    display: flex;
    align-items: center;
    margin: auto;
    column-gap: 20px;
}

.partners {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partners li {
    display: flex;
    align-items: center;
    margin: auto;
    column-gap: 20px;
    size: 50px;
}

.partners_logos {
    display: inline-block;
    margin: 10px;
}

.adresse {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adresse li {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin: auto;
}

.cgu {
    display: flex;
    justify-content: center;
}

/****** Articles ******/

.page-article--logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-article-logo img {
    max-width: 400px;
}

.retour-index-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.retour-index button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    margin-bottom: 100px;
    margin-top: 50px;
}

.page-article-content {
    padding-left: 100px;
    padding-right: 100px;
    text-align: justify;
}

/****** Media Queries ******/

@media (max-width: 1200px) {
    .text-left-image-right .text-left p {
        font-size: 15px;
    }

    .text-left-image-right .text-left h2 {
        font-size: 20px;
    }

    .text-right-image-left .text-right p {
        font-size: 15px;
    }

    .text-right-image-left .text-right h2 {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .intro-image-right .image img {
        max-width: 300px;
        max-height: 300px;
    }
}

/* Écrans de taille moyenne (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .blog-articles a {
        width: 200px;
        height: 200px;
        overflow: hidden;
        padding: 16px;
    }

    .article-txt {
        font-size: 8px;
    }

    .article-title {
        font-size: 8px;
    }
}

/* Grands écrans (992px et plus) */
@media (min-width: 992px) and (max-width: 1200px) {
    .blog-articles a {
        width: 300px;
        height: 300px;
        overflow: hidden;
        padding: 16px;
    }
}

/* Petits écrans (max 767px) */

@media (max-width: 767px) {

    .logo-video {
        height: 500px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .hero-banner-gif {
        display: block;
        margin: auto;
        width: 100%;
    }

    .hero-banner-gif img {
        object-fit: contain;
    }

    .hero-banner {
        display: none;
    }

    .introduction {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        row-gap: 100px;
        margin-top: 0px;
    }

    .intro-image-right {
        margin: auto;
    }

    .blog {
        height: auto;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .blog-articles a {
        width: 80%;
        height: 200px;
        margin-top: 20px;
        margin-bottom: 20px;
        overflow: hidden;
        padding: 16px;
    }

    .text-left-image-right,
    .text-right-image-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-right,
    .image-left,
    .text-left,
    .text-right {
        width: 100%;
        padding: 20px;
        margin: auto;
    }

    .image-right {
        order: 1;
    }

    .image-right .image img {
        width: 100%;
    }

    .image-left {
        order: 2;
    }

    .image-left .image img {
        width: 100%;
    }

    .image-right .image img {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 16px;
    }

    .reseaux-icons {
        column-gap: 10px;
    }

    .infos {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .adresse {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .logos-reseaux {
        margin-top: 10px;
        margin-bottom: 10px;
        align-items: center;
    }

    .header {
        padding-left: 5px;
        padding-right: 5px;
    }

    .nav-logo img {
        width: 90px;
    }

    .nav-logo a {
        transition: width 1s,
    }

    .nav-buttons {
        column-gap: 5px;
    }

    .nav-buttons a {
        width: 70px;
        padding: 3px;
        font-size: 12px;
        transition: width 1s, font-size 1s;
    }

    .page-article-content {
        padding: 20px;
    }

    .page-article-logo img {
        max-width: 250px;
        width: 100%;
    }

    .page-article-content h1 {
        font-size: 20px;
    }

    .page-article-content p {
        font-size: 15px;
    }

}
