/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../Image/Site/Blog_fond.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

main {
    margin-top: 20vh;
    padding: 0;
}

h2 {
    color: #6D6B64; 
    margin-bottom: 2vh;
}

h3 {
    font-family: "Just Me Again Down Here", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

html {
    scroll-behavior: smooth;
}

.scroll-offset {
    margin-top: -150px; 
    padding-top: 150px; 
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                  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                                               */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/

.blog-header {
    text-align: center;
    padding: 20px;
    font-size: 2.5em;
    color: #fff;
}

.blog-container {
    margin: auto 20px;
    align-items: center;
    padding: auto !important;
}

.blog-post {
    background: #F1F1E2;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    width: 29%;
    margin: 20px 20px;
    
}

.blog-post h2 {
    font-size: 1.3em;
    margin: 10px 0;
}

.blog-post p {
    font-size: 0.8em;
    line-height: 1.6;
    color: black;
    margin-bottom: 0;
    text-align: justify;
}

.blog-post .date {
    font-size: 0.7em;
    color: #4a4a4a;
}


.main-content {
    background-color: #EDEEDC;
    border-radius: 15px;
}


html {
    scroll-behavior: smooth;
}

.scroll-offset {
    margin-top: -150px; 
    padding-top: 150px;
}

.btn-custom {
    background-color: #7A7E4F;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.8em;
    margin-top: 10px;
    right: 0;
}

.button-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

/************************************************************************************************************/
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/*                                                CAROUSEL                                                  */
/*                                                                                                          */
/*                                                                                                          */
/*                                                                                                          */
/************************************************************************************************************/


.carousel-inner {
    transition: transform 0.5s ease;
    width: 100%;
    aspect-ratio: 1.5/1;
    border-radius: 5px;
}

.carousel-item {
    text-align: center;
    aspect-ratio: 1.5/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;
    }
    
    main{
        margin-top: 22%;
    }

    .fullscreen-section {
        height: auto;
        padding: 20vh 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;
        background-color: #7a7e4f;
    }

    .col-12, .col-md-6{
        padding: 0;
    }

    .container-custom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .col-12 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .blog-post {
        width: 85%;
        align-items: center;
    }
    .blog-container {
        margin: 0;
        align-items: center !important;
        display: grid;
    }
}
