body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

main {
    padding: 0;
}

h1{
    font-size: 2.5em;
}

h2 {
    color: #6D6B64;
    margin-bottom: 2vh;
    text-align: center;
    font-size: 1.8em;
}

h3 {
    font-family: "Just Me Again Down Here", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
}

p{
    font-size: 0.8em;
    text-align: justify;
}



/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  SCROLL BAR                                              */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

::-webkit-scrollbar {
    width: 0.8vw;
}

::-webkit-scrollbar-track {
    background: #363D46;
    border-radius: 0vw;
}

::-webkit-scrollbar-thumb {
    background: #959965;
    border-radius: 0.4vw;
}

::-webkit-scrollbar-thumb:hover {
    background: #8c915c;
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  NAVIGATEUR                                              */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

.navbar {
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0% 2vw;
    z-index: 1000;
    background: rgba(221, 220, 185, 0.7);
}

.navbar-brand img {
    width: 8vw;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-right: 1vw;
}

.nav-link {
    text-decoration: none;
    color: #fff !important;
    padding: 1vh 1.5vw;
    position: relative;
    font-size: 1.1em;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.2vh;
    background: #fff;
    left: 0;
    bottom: -1vh;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100%;
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  SECTION 1                                               */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

section {
    padding: 3em 10em;
    background-color: #EDEEDC;
    padding-bottom: 10px !important;
}
.creditphoto{
    margin: 0;
    padding: 0;
    right: 0;
    position: absolute;
    padding-right: 10px;
    font-size: 0.6em !important;
}

.fullscreen-section {
    background: url('../Image/Site/Partenaires_fond.jpg') no-repeat center center;
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    color: white;
    text-align: left;
    position: relative;
}

.image {
    padding: 10vh;
}

.hero2 {
    height: 30vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    color: white;
    text-align: left;
    position: relative;
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  SECTION 2                                               */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

.section2 {
    background-color: #f1f1e2;
}

.container-custom {
    max-width: 70vw;
    margin: 0 auto;
    padding: 5vh;
}

.description {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 3vh;
}

.bold {
    font-weight: bold;
}

.card img {
    width: 80%;
    height: auto;
    border-radius: 0.5vw;
    box-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.1);
}

.card p {
    margin-top: 1vh;
    font-size: 0.9em;
    color: #333;
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  SECTION 4                                               */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/


.hero2 {
    height: 30vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    color: white;
    text-align: left;
    position: relative;
}

.image {
    padding: 10vh;
}

.container4 {
    background-color: #EDEEDC;
    padding: 2vh 0;
    border-radius: 15px;
    align-items: center;
}

.container4 h1 {
    text-align: center;
}

.partner {
    margin: 4vh 0;
}


.partner-image img {
    width: 100%;
    height: auto;
    max-width: 32vw;
    border-radius: 1vw;
}

.partner-info {
    margin-top: 1vw;
}

.partner-info h2 {
    color: #333;
    margin-top: 0;
}

.partner-info p {
    color: #666;
    line-height: 1.6;
}

.main-content {
    background-color: #EDEEDC;
    border-radius: 15px;
}



/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                CAROUSEL                                                  */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/


.carousel-inner {
    transition: transform 0.5s ease;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.carousel-item {
    text-align: center;
    aspect-ratio: 1/1;

    img {
        max-height: 100%;
        max-width: 100%;
    }
}


.carousel-indicators .active {
    background-color: #7a7e4f;
}

.carousel-indicators li {
    border: none;
    background-color: #7a7e4f80;
    cursor: pointer;
}


/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  TELEPHONE                                               */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

@media (max-width: 768px) {
    body {
        font-size: 0.9em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    .fullscreen-section {
        height: auto;
        padding: 30vh 2vw;
        background-size: cover;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .fullscreen-section .bottom-left-text {
        padding: 15vh 0 2vw 0;
        margin: 0;
    }

    .fullscreen-section h1 {
        font-size: 2.5em;
    }

    .fullscreen-section p {
        font-size: 1em;
    }

    .navbar {
        padding: 0 4vw;
    }

    .navbar-brand img {
        width: 20vw;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin-right: 0;
        margin-bottom: 1vh;
    }

    .nav-link {
        font-size: 1.2em;
        padding: 1vh 2vw;
    }

    .telephone {
        display: block;
    }

    .ordinateur {
        display: none;
    }

    .nav-link {
        color: #3E412E !important;
    }

    .navbar {
        background: rgba(221, 220, 185, 0.9);
    }

    section {
        padding: 3em 1em;
        border-bottom: 0.1vh solid;
    }

    .col-12,
    .col-md-6 {
        padding: 0;
        width: 100%;
    }

    .container-custom {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .description {
        font-size: 1em;
        color: #333;
        margin-bottom: 0vh;
        margin-top: 2vh;
    }

    .img-fluid {
        max-width: 100%;
        height: auto;
    }

    .container-custom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        column-gap: 20px;
        align-items: flex-start;
        padding-top: 10px;
    }

    .project-card {
        flex: 1 1 calc(50% - 20px);
        box-sizing: border-box;
    }

    .section1-telephone {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 40%;
    }

    .img-fluid {
        margin-bottom: 10px;
    }

    .partner {
        align-items: center;
        padding-top: 10px;
        flex-direction: column;
    }

    .section2-telephone {
        max-width: 100% !important;
    }

    .col-6 {
        max-width: 95% !important;
    }
}
