main {
    background-color: #EFEFEF;
}

.hero {
    z-index: 1;
    width: 100%;
    height: 900px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.hero .divider {
    width: 50%;
    height: 4px;
    border-radius: 50%;
    background-color: white;
}

.hero .hero-img {
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    filter: brightness(0.4);
}

.hero .hero-intro {
    position: absolute;
    max-width: 800px;
    margin: 0 5%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    gap: 30px;
    animation: fadeInLeft 1s forwards;
}

.hero .hero-intro h1 {
    font-size: 48px;
    color: #FFC501;
    font-weight: bold;
}

.hero .hero-intro h3 {
    font-size: 36px;

}

.hero .hero-intro p {
    font-size: 20px;
    font-weight: 500;
}


.blog-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 5% 30px 5%;
    gap: 50px;
    position: relative;
}

.search-group {
    width: 100%;
    background-color: #D9D9D9;
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 400px) {
    .search-group input {
        width: 150px;
    }
}

.search-group input {
    height: 50px;
    border-radius: 35px;
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    padding: 15px;
    flex-grow: 1;
}

.search-group input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 1em;
    width: 1em;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: none;
}

.search-group input:focus {
    outline: none;
}

.search-group .vertical-divider {
    width: 1px;
    height: 30px;
    background-color: gray;
}

.search-group button {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-group button img {
    width: 20px;
    object-fit: contain;
    object-position: center;
}

#filter-addon-active {
    display: none;
}

.blog-filter.active {
    #filter-addon {
        display: none;
    }

    #filter-addon-active {
        display: block;
    }

    .other-filter {
        display: flex;
    }

}

#search-addon {
    border-radius: 25px 0px 0px 25px;
}

#clear-addon {
    border-radius: 0px 25px 25px 0px;
}

.other-filter {
    position: absolute;
    width: 50%;
    right: 0px;
    padding: 30px;
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 10px;
    background-color: white;
    margin-top: 60px;
    box-shadow: 8px 8px 0px #00000041;
    animation: fadeInDown 0.5s forwards;
}

.other-filter select,
.other-filter input {
    padding: 10px;
    min-width: 170px;
    height: 50px;
    border-radius: 10px;
    border: none;
    background-color: #EAEAEA;
}

.blog {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 5%;

}

.modal-header {
    align-items: end;
    border: none;
}

#article-content-dialog {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

#article-content-dialog .dialog-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: justify;
}

@media (min-width: 400px) {
    #article-content-dialog .dialog-content p {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #article-content-dialog .dialog-content p {
        font-size: 15px;
    }
}

#article-content-dialog .links-dialog {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#article-content-dialog a {
    text-decoration: none;
    color: black;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 250px;
}

#article-content-dialog a img {
    width: 50px;
}

#article-content-dialog a div {
    min-height: 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
}

#article-content-dialog a div h6 {
    width: 180px;
}

.article-dialog-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
}

.article-boxs {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;

}

.article {
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    width: 45%;
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s forwards;
}

.article img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    object-position: top;
    object-fit: cover;
    background-color: #5646E2;
}

.article .article-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
}

.article .article-info button {
    text-decoration: none;
    color: black;
    background-color: white;
    text-align: start;
    padding: 0px;
    border: none;
}

.article .article-info button h5 {
    font-size: 22px;
}

.article .article-info button:hover {
    color: #816a02;
    font-size: 30px;
}

.article .article-info button:hover h5 {
    font-size: 25px;
    transition: all 0.7s ease;
}

.article .div-category {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: gray;
    gap: 15px;
}

.article .div-category h6 {
    margin: 0px;
}

.article .div-category .divider {
    width: 30px;
    background-color: gray;
    height: 2px;
}

.article:hover {
    box-shadow: 13px 10px 10px #00000034;
}

@media (min-width: 600px) {
    .article:nth-child(2n+2) {
        margin-top: 100px;
        /* Décalage vers le bas de la 2ème colonne */
    }
}

@media (max-width: 600px) {
    .article {
        width: 100%;
        margin-bottom: 30px;
    }
}

.socials-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    padding: 50px 5%;
}

.socials-section .socials-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.socials-section .socials-post {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid black;
    transition: all 1s ease;
    gap: 10px;
}

.socials-section .socials-post .title {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    height: 60px;
    cursor: pointer;
}

.socials-section .socials-post .title h4 {
    transition: all 0.4s ease;
}

.socials-section .socials-post .title img {
    width: 60px;
}

.socials-section .socials-post .title .social-minus-icon {
    display: none;
}

.socials-section .socials-post .social-link {
    margin-left: 90px;
    font-size: 18px;
    color: #005EEA;
    text-decoration: none;
    overflow: hidden;
    height: 0px;
    transition: all 1s ease;
}

.socials-section .socials-post:hover .title h4 {
    border-bottom: 4px solid #FACB01;
    font-size: 28px;
    transition: all 0.4s ease;
}

.socials-section .socials-post.open .social-link {
    height: 30px;
}

.socials-section .socials-post.open .social-more-icon {
    display: none;
}

.socials-section .socials-post.open .social-minus-icon {
    display: block;
}

.linkedin-section iframe {
    height: 0px;
    transition: all 1.1s ease;
    width: 33%;
    margin-bottom: 0px;
}

.youtube-section iframe {
    height: 0px;
    transition: all 1.1s ease;
    width: 45%;
    margin-bottom: 0px;
    border-radius: 20px;
    overflow: hidden;
}

.linkedin-section.open iframe {
    height: 700px;
    margin-bottom: 30px;

    @media (max-width: 1000px) {
        width: 50%;
    }

    @media (max-width: 700px) {
        width: 100%;
    }
}

.youtube-section.open iframe {
    height: 315px;
    margin-bottom: 30px;

    @media (max-width: 700px) {
        width: 100%;
    }
}

.twitter-section {
    overflow: hidden;
}

.twitter-section .twitter-container {
    transition: all 1.1s ease;
    width: 33%;
    height: 0;
}


.twitter-section.open .twitter-container {
    height: auto;

    @media (max-width: 1000px) {
        width: 50%;
    }

    @media (max-width: 700px) {
        width: 100%;
    }
}

.posts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    text-align: justify;
}



.media-code {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 50px 5%;
    gap: 30px;
}

.media-code h3 {

    margin-bottom: 30px;
}

.media-code .code1 {
    animation: slideInLeft 0.5s forwards;
}

@media (min-width: 760px) {
    .media-code .code1 .caption {
        margin: 50px 0 50px 35%;
    }
}

.media-code .code2 {
    animation: slideInRight 0.5s forwards;
}

@media (min-width: 760px) {
    .media-code .code2 .caption {
        margin: 50px 0;
    }
}

@media (min-width: 760px) {
    .media-code .code2 .codeimg {
        margin-left: 60%;
    }
}

.media-code .code {
    width: 100%;
    display: flex;
    align-items: center;

    @media (min-height: 760px) {
        min-height: 500px;
        justify-content: space-between;
        position: relative;
    }

    @media (max-width: 760px) {
        scale: 1;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

.media-code .code .codeimg {
    object-fit: cover;
    object-position: center;

    @media (min-width: 760px) {
        position: absolute;
        width: 40%;
        height: 100%;
        border-radius: 15px;
    }

    @media (max-width: 760px) {
        width: 100%;
        height: 200px;
        border-radius: 15px 15px 0px 0px;
    }
}

.media-code .code .caption {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    z-index: 1;

    @media (min-width: 760px) {
        padding: 50px;
        border-radius: 15px;
        min-height: 300px;
        width: 65%;
    }

    @media (max-width: 760px) {
        border: 1px solid black;
        padding: 20px;
        border-radius: 0px 0px 15px 15px;
        width: 100%;
    }
}

.media-code .code .more-info {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.media-code .code a {
    text-decoration: none;
    color: black;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    height: 50px;
    background-color: #E5F04A;
    transition: all 0.3s ease;
}

.media-code .code a img {
    width: 30px;
    transition: all 0.3s ease;
}

.media-code .code a:hover {
    background-color: #FACB01;
}

.media-code .code a:hover img {
    width: 40px;
}

.media-code .code p {
    text-align: justify;
    font-size: 18px;
}