.navbar{
    background-color: #06402b;
    z-index: 2;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.navbar-brand{
    transition: 0.5s;
}

.navbar-brand:hover{
    opacity: 0.7;
}

.nav-item{
    margin-left: 20px;
    margin-right: 20px;
}

.nav-link{
    font-size: large;
    padding: 10px;
    border-bottom: solid rgba(255, 255, 255, 0);
    transition: 0.8s;
}

.nav-link:hover{
    border-bottom: solid white;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

main{
    margin-top: 102px;
    opacity: 0;
    transition: opacity 0.7s ease;
}

h1{
    color:transparent;
    position: fixed;
}

body.loaded main{
    opacity: 1;
}

.banner {
    /* background-image: url('../img/cimetiere4.jpg'); */
    background:
    linear-gradient(to top, rgb(255, 255, 255), rgba(240, 240, 240, 0)),
    url('../img/cimetiere4.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    height: 40vh;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    margin-top: -55px;
    transition: 0.7s;
}

body.loaded .banner-text{
    margin-top: 0px;
}

.para{
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); */
    color: #000000;
    font-style: italic;
    font-size: 25px;
    margin-top: 10px;
    max-width:600px;
    margin-left: auto;
    margin-right: auto;
    /* background-color: rgba(0, 0, 0, 0.233); */
    border-radius: 8px;
    padding: 8px;
}

.localisation_container{
    width:fit-content;
    margin-right: auto;
    margin-left: auto;
    margin-top: 45px;
    margin-bottom: 45px;
    display: flex;

    transform: translateX(-150px);
    transition: ease 0.7s;
}

body.loaded .localisation_container{
    transform: translateX(0px);
}

.localisation_div{
    width: 400px;
    margin-left: 35px;
    margin-right: 35px;
    text-align: justify;
}

.localisation_div iframe{
    width: 400px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.localisation_div p{
    font-size: large;
}

.localisation_div img{
    width:400px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/*--------------------*/
.card_container{
    width:fit-content;
    margin-right: auto;
    margin-left: auto;
    margin-top: 45px;
    margin-bottom: 45px;
    display: flex;

    transform: translateX(150px);
    transition: ease 0.7s;
}

body.loaded .card_container{
    transform: translateX(0px);
}

.card_div{
    width: 400px;
    margin-left: 35px;
    margin-right: 35px;
    text-align: justify;
}

.card_div p{
    font-size: large;
}

.card_div img{
    width: 400px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.btn_container{
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.btn_container a {
    display: inline-block;
    padding: 8px 18px;
    text-decoration: none;
    /* font-family: Arial, sans-serif; */
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
}


.btn_fill {
    background-color: #16703e;
    color: #fff;
    border: none;
}

.btn_empty {
    background-color: transparent;
    color: #16703e;
    /* border: 2px solid #007BFF; */
    box-shadow: inset 0 0 0 2px #16703e;
}

.btn_fill:hover {
    background-color: #06402b;
    color: #fff;
}

.btn_empty:hover {
    color: #06402b;
    box-shadow: inset 0 0 0 2px #06402b;
    background-color: #f2f7f5;
}

/*-----------------------------------------------*/

.title_presta{
    color: #fff;
    max-width:370px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.233);
    border-radius: 8px;
    padding: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.banner_2 {
    background-image: url('../img/cimetiere5.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    height: 25vh;
}
.banner-text_2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    margin-top: -55px;
    transition: 0.7s;
}

body.loaded .banner-text_2{
    margin-top: 0px;
}

.presta_container{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.presta_div{
    width: 400px;
    margin-left: 35px;
    margin-right: 35px;
    text-align: justify;
}
/* ---------------- */

.carousel_container{
    width: 870px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    margin-top: 45px;
    margin-bottom: 45px;
}

/* ---------------- */
/*Page contact*/

.contact_container{
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-top: 200px;
    margin-bottom: 110px;

    transform: translateY(100px);
    transition: ease 0.7s;
}

body.loaded .contact_container{
    transform: translateY(0px);
}

.contact_div{
    width: 400px;
    font-size: large;
    margin-left:20px;
    margin-right:20px;
}

.contact_div a{
    text-decoration: none;
    color: #030413;
}

.contact_div a:hover{
    color: #1d215a;
}

.logo_contact{
    width: 400px;
}

.formulaire_contact {
    background-color: #fff;
    padding: 20px 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}


.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}


.form-group.inline {
    display: flex;
    justify-content: space-between;
}

.form-group.inline .form-field {
    width: 48%;
}

.formulaire_contact button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #28a745;
    color: white;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.formulaire_contact button:hover {
    background-color: #218838;
} 

.success_msg{
    color:#28a745;
    font-size: large;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-weight: bold;
}

.error_msg{
    color:#a02020;
    font-size: large;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-weight: bold;
}

.pas_blog{
    height: 600px;
    text-align: center;
    padding-top: 100px;
}

.mentions{
    width: 80%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}



/*---------------------*/

.dp_footer{
    background-color: #333;
    color: #fff;
    width: 100%;
    padding-top: 25px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-top: 30px;
}

.dp_footer hr {
    width: 70%;
    margin: auto;
}

.dp_footer_container{
    width:fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.dp_footer_section{
    margin-left: 20px;
    margin-right: 20px;
}

.dp_footer_section a{
    color: #fff;
    text-decoration: none;
}

.dp_footer_section a:hover{
    text-decoration:underline;
}

.dp_footer_section i{
    margin-right: 15px;
}

.dp_footer_copyright{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: small;
    text-align: center;
}

@media (max-width: 900px) {
    .big-logo{
        height: 100px;
    }

    .dp_footer_container {
        flex-direction: column;
    }

    .dp_footer_section {
        margin-bottom: 15px;
    }

    .localisation_container{
        flex-direction: column;
    }

    .localisation_div{
        margin-bottom: 15px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .localisation_div iframe{
        width: 100%;
    }

    .card_container{
        flex-direction: column-reverse;
    }

    .card_div{
        margin-bottom: 15px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .card_div img{
        width: 100%;
    }

    .presta_div{
        margin-left: 0px;
        margin-right: 0px;
    }

    .carousel_container{
        width: 90%;
    }

    .contact_container{
        flex-direction: column;
        margin-top: 150px;
        margin-bottom: 50px
    }

    .logo_contact{
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    }

    .contact_div{
        width: 90%;
        font-size: large;
        margin-left: auto;
        margin-right: auto;
    }

    .btn_container a {
        padding: 6px 10px;
        margin-left: 3px;
        margin-right: 3px;
    }
}