

/************************************************************/
/************************  VALUES  **************************/
/************************************************************/

#values {
    width: 100%;
    height: 570px;
    margin-bottom: 90px;
    background-image: url("../../../Public/Img/JL-mes-valeurs.webp");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

#my-values {
    width: 80%;
    margin: auto;
    margin-top: 100px;
    padding-top: 30px;
}

#my-values h2 {
    color: #EF7D15;
    font-size: 40px;
}

#my-values .title-responsive {
    display: none;
}

#my-values ul li {
    list-style: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: row;
}

#my-values ul li .fa-square-full {
    font-size: 12px;
    color: #EF7D15;
    margin-top: 10px;
    margin-right: 20px;
}

/************************************************************/
/*************************  WHO  ****************************/
/************************************************************/

#who {
    background-color: #FBFFEB;
    background-image: url("../../../Public/Img/brocoli.webp");
    background-size: 15%;
    padding: 40px 0;
}

#who-content {
    width: 80%;
    margin: auto;
}

#who h2 {
    color: #EF7D15;
    font-size: 40px;
    margin-bottom: 40px;
}

.who-service {
    width: 100%;
}

.grid-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin: auto;
}

.grid-container figure {
    text-align: center;
    display: flex;
    flex-direction: row;
    background-color: #FFFFFF;
    height: 250px;
    border-radius: 20px;
    box-shadow: #dddddd 5px 5px 5px;
}

.grid-container figure img {
    min-width: 40%;
    max-width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.grid-container figure figcaption {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: auto;
}

.grid-container figure figcaption p {
    margin: 0;
    font-size: 12px;
    text-align: left;
}

.grid-container figure figcaption h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #29A048;
}



#who .btn-group {
    width: 100%;
    margin: 40px 0;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#who .btn-group .button {
    margin: 0 15px;
    height: auto;
}

#who .btn-group a {
    border: 2px solid #EF7D15;
    margin: 20px 0;
}

#who .btn-group a:hover {
    background-color: white;
    color: #EF7D15;
}

/************************************************************/
/***********************  NOTICE  ***************************/
/************************************************************/

#notices {
    width: 100%;
    height: 460px;
    padding-top: 80px;
}

#notices-content {
    width: 80%;
    margin: auto;
}

#notices-content h2 {
    color: #EF7D15;
    font-size: 40px;
    margin-bottom: 40px;
}

#notice-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.notice {
    width: 300px;
    display: flex;
    flex-direction: column;
    border: 2px solid #AECB47;
    border-radius: 20px;
    padding: 40px;
}

.notice-name-star {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notice-name {
    color: #EF7D15;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 800;
}

.fa-star {
    color: #FBEA22;
    font-size: 10px;
}

.notice-date {
    margin-bottom: 20px;
}

.notice-date p {
    font-size: 12px;
}

/**************************************************************************************************************************************/
/**********************************************************    RESPONSIVE    **********************************************************/
/**************************************************************************************************************************************/
@media (max-width: 1450px) {
    
    #notices {
        height: auto;
        padding-top: 40px;
    }
    #notice-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    #notices-content h2 {
        margin-bottom: 20px;
    }

    #notice-content .notice {
        margin: 20px;
    }
}

@media (max-width: 1024px) {

    #content {
        padding-top: 80px !important;
        min-height: auto !important;
    }

    #who {
        padding-bottom: 110px;
    }

    #who .btn-group {
        flex-direction: column;
        justify-content: center;
        padding-bottom: 20px;
    }

    #who .btn-group .button {
        margin: auto;
        margin-top: 20px;
        height: auto;
        padding: 6px 20px;
    }

    #who .btn-group button {
        margin-top: 90px !important;
    }

    #who .btn-group .button img {
        rotate: 90deg;
    }
    .grid-container {
        padding-bottom: 40px;
    }

}

@media (max-width: 912px) {
    #values {
        background-image: none;
        margin-bottom: 0;
    }

    #values h2 {
        display: none;
    }

    #values .title-responsive {
        display: block;
        text-align: center;
        margin-bottom: 0;
    }

    #my-values ul {
        margin-top: 40px;
    }

    .presentation-banner-container #logo-arrow {
        display: none;
    }
}

@media (max-width: 630px) {
    #who-content {
        width: 90%;
    }

    #who-content h2 {
        text-align: center;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .grid-container figure {
        height: auto;
        flex-direction: column;
        max-height: 400px;
    }

    .grid-container figure img {
        min-width: 100%;
        height: auto;
        min-height: 30%;
        max-height: 30%;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 500px) {

    #notice-content .notice .notice-text {
        font-size: 12px;
    }
    .grid-container figure img {
        display: none;
    }

}

@media (max-width: 458px) {
    #values h2,
    #who-content h2,
    #notices-content h2 {
        font-size: 28px;
    }

    #my-values ul li .fa-square-full {
        font-size: 8px;
        margin-top: 6px;
        margin-right: 10px;
    }

    #my-values ul li p {
        font-size: 14px;
    }
}