body{
    background: linear-gradient(300deg,grey,#002040);
    background-size: 120% 120%;
    animation: gradient-animation 8s ease infinite;
    /* background-image: url("../img/bg_first.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; */
}
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
}
.div_header_block{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9;
    background: linear-gradient(300deg, grey, #002040);
    background-size: 120% 120%;
    animation: gradient-animation 8s ease infinite;
}
.div_header{
    text-align: center;
    padding: 20px;
}





.div_header_bg{
    /* background-image: url("../img/bg_first.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; */
}
.div_header_bgc{
    /*  background-color: rgba(0 0 0 / 40%); */
}
.div_header .logo{
    width: 100%;
    max-width: 180px;
    height: auto;
}
.menu_bg_color{
    /* background-color: rgba(255 134 28 / 100%); */
    background-color: rgba(0 20 40 / 60%);
    
}
.navbar-dark .navbar-nav .nav-item{
    margin: 5px;
}
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link.active{
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    font-weight: bold;
    max-width: 150px;
    margin: 0 auto;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:active{
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.spline{
    position: fixed;
    z-index: -1;
    width: 100%;
    top: 20px;
    min-height: 100dvh;
}
.spline .viewer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    overflow: hidden;
}




#root{
    min-height: 100dvh;
}

.contenu{
    margin-top: 248px;
}

.firstblock {
    color: #ffffff;
    text-align: center;
    min-height: 77dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}
.firstblock h1{
    font-size: 4rem;
}
.firstblock h2{
    font-size: 1.5rem;
    margin-bottom: 30px;
}



.btn-outline-primary{
    border: 2px solid #ffffff;
    color: #ffffff;
    background: linear-gradient(300deg, #002040, transparent);
    background-size: 120% 120%;
    animation: gradient-animation 1s ease infinite;
}
.btn-outline-primary:hover{
    color: #ffffff;
    border: 2px solid #ffffff;
    background-color: #ff861c;
    background: linear-gradient(300deg, #ff861c, #ff861c);
}

.btndevis{
    width: 200px;
    border-radius: 50px;
    font-weight: bold;
}
.secondtblock{
    color: #ffffff;
    background-color: rgba(0 32 64 / 40%);
    padding: 30px;
    border-radius: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.secondtblock .img1{
    width: 500px;
    height: auto;
    border-radius: 20px;
    margin: 5px;
}

.secondtblock .divtxt{
    margin: 20px;
}
.secondtblock .divtxt h3{
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.secondtblock .divtxt p{
    font-size: 0.9rem;
}

.accueil, .equipe, .copropriete, .topographie, .contact{
    padding-top: 186px;
    min-height: 100dvh;
}

/* Styles for "Nos services" Dropdown Menu */
.navbar-dark .navbar-nav .dropdown-menu {
    background-color: rgba(0 20 40 / 60%);
    border: none;
    margin-top: 13px;
    padding: 5px;
}



.navbar-dark .navbar-nav .dropdown-item {
    color: #ffffff;
    background-color: transparent;
    padding: 5px;
}

.navbar-dark .navbar-nav .dropdown-item:hover,
.navbar-dark .navbar-nav .dropdown-item:focus,
.navbar-dark .navbar-nav .dropdown-item:active {
    background-color: rgba(0 20 40 / 40%);
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
}

.navbar-dark .navbar-nav .dropdown-item.active{
    border-bottom: 2px solid #ffffff;
}

.navbar-dark .navbar-nav .dropdown-toggle::after {
    color: #ffffff;
}

/* Active and Hover States for Dropdown Toggle */
.navbar-dark .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:hover,
.navbar-dark .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:focus,
.navbar-dark .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.thirdblock{
    color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


.thirdblock .title{
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.itemdivs{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}


.itemdivs .accordion{
    width: 100%;
}
.itemdivs .accordion .accordion-item{
    background-color: rgba(255 255 255 / 15%);
}
.itemdivs .accordion .accordion-item .accordion-button{
    background-color: rgba(0 32 64 / 80%);
    color: #ffffff;
    font-size: 0.9rem;
}
.itemdivs .accordion .accordion-item .accordion-button .pictotitle{
    margin-right: 10px;
    width: 30px;
    height: auto;
}
.accordion-button::after {
    color: #ffffff;
    -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}
.itemdivs .accordion .card{
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 20px;
}


.itemdivs .accordion .card .imgservice{
    width: 90%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    margin: 10px;
}

.cardlink{
    text-align: right;
}

.cardlink a{
    text-decoration: none;
    color: #ffffff;
}

.itemdivs .itemblock{
    width: 100%;
    max-width: 330px;
    background-color: rgba(255 255 255 / 40%);
    padding: 30px;
    border-radius: 14px;
    min-height: 530px;
    margin-bottom: 30px;
}

.menubtn{
    background-color: transparent;
    color: #ffffff !important;
    border: 0;
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
    margin: 0 auto;
    border: none;
}

.menubtn:hover, .menubtn:focus{
    box-shadow: 0 0 0 .0rem;
}


.phonecall{
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 30px;
}
.phonecall a{
    text-decoration: none;
    color: #ffffff;
}

.deviscontact{
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    left: 30px;
}
.deviscontact a{
    text-decoration: none;
    color: #ffffff;
}

.infos{
    position: relative;
}





.forthblock{
    color: #ffffff;
    background-color: rgba(0 32 64 / 40%);
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 80px;
}



.forthblock .title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}
.forthblock .div_elements{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.forthblock .div_elements .element{
    max-width: 360px;
    padding: 30px;
}
.forthblock .div_elements .element .element_title{
    display: flex;
    font-size: 1rem;
}
.forthblock .div_elements .element .element_title i{
    font-size: 1.5rem;
    margin-right: 10px;
}
.forthblock .div_elements .element .element_txt{
    font-size: 0.9rem;
    margin-left: 20px;
}

.equipe .content{
    color: #ffffff;
    text-align: center;
    min-height: 77dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    margin-bottom: 80px;
}

.equipe .content .visuelquipe{
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 0 0 14px 14px;
    margin-bottom: 20px;
    border: 10px solid rgba(255, 134, 28, 1);
}

.equipe .content .divtxt{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.equipe .content .divtxt h1{
    font-size: 1.4rem;
    margin-bottom: 0;
    padding: 0 30px;
}

.equipe .content .divtxt p{
    margin: 20px;
    font-size: 1rem;
}



.typepage{
    color: #ffffff;
    background-color: rgba(0 32 64 / 40%);
    padding: 30px;
    border-radius: 0 0 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    text-align: left;
    width: 90%;
}

.typepage h1{
    font-size: 2rem;
    margin-bottom: 60px;
    border-bottom: 1px solid #ffffff;
    width: fit-content;
    padding-bottom: 10px;
}

.typepage .content h2{
    font-size: 1.4rem;
    border-bottom: 1px solid #ffffff;
    width: fit-content;
    padding-bottom: 5px;
}

.typepage .content h3{
    font-size: 1.2rem;
    border-bottom: 1px solid #ffffff;
    width: fit-content;
    padding-bottom: 5px;
}

.typepage .content p{
    font-size: 1rem;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.typepage .content .divvisu{
    text-align: center;
    margin-bottom: 30px;
}

.typepage .content .divvisu .visu{
    width: 90%;
    height: auto;
    max-width: 500px;
    border-radius: 14px;
}


.contact .content{
    color: #ffffff;
    text-align: center;
    min-height: 77dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    margin-bottom: 80px;
}

.contact .content .mapsiframe{
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 0 0 14px 14px;
    margin-bottom: 20px;
    background-color: rgba(255 134 28 / 100%);
    border: 10px solid rgba(255, 134, 28, 1);
}

.contact .content p{
    margin: 0;
    font-size: 1rem;
    padding: 20px;
}

.contact .content p a,.contact .content p a:hover, .contact .content p a:active, .contact .content p a:visited{
    color: #ffffff;
}

footer{
    background-color: rgba(0 20 40 / 90%);
    padding: 20px;
    color: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
}

footer .divfooter{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

footer .divfooter .logofooter{
    height: 1rem;
    width: auto;
}
footer .divfooter p{
    color: #ffffff;
    margin-bottom: 0;
    font-size: 0.8rem;
}

footer .divfooter .btnfooter{
    font-size: 0.8rem;
    border: none;
    background-color: transparent;
    color: #ffffff;
}

.modal{
    background-color: rgba(0 0 0 / 90%);
    z-index: 99999999;
}
.modalindexlegal{
    z-index: 9999999999 !important;
}
.modal-dialog{
    max-width: 80%;
}
.modal-content{
    background-color: rgba(0 32 64 / 60%);
    border-radius: 14px;
}
.modal-body p{
    font-size: 0.8rem;
    padding-bottom: 20px;
    color: #ffffff;
}
.modal-header {
    border-bottom: 1px solid rgba(255, 134, 28, 1);
    
}
.modal-title{
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}
.modal-body h4{
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: bold;
}
.modal .btn-close {
filter: brightness(0) invert(1); /* Makes the icon white */
}

.modal .btn-close:hover {
filter: brightness(1.5) invert(1); /* Brighten on hover */
}

.modal-body .sitemap{
    padding: 30px 10px;
}
.modal-body .sitemap p{
    margin-bottom: 5px;
    padding-bottom: 10px;
}
.modal-body .sitemap .undermenu{
    padding-left: 20px;
}
.modal-body .sitemap a, .modal-body .sitemap a:hover, .modal-body .sitemap a:active, .modal-body .sitemap a:visited{
    color: #ffffff;
}
@media only screen and (max-width:1560px), (max-device-width: 1560px) {
    footer .custom-container {
        max-width: 800px;
    }
}
@media only screen and (max-width:1200px), (max-device-width: 1200px) {
    footer .custom-container {
        max-width: 500px;
    }
    .spline .viewer{
        transform: scale(1.7);
    }
}
@media only screen and (max-width:888px), (max-device-width: 888px) {
    
    footer .custom-container {
        max-width: none;
    }
    .phonecall, .deviscontact {
        top: 45px;
        bottom: auto;
    }
}
@media only screen and (max-width:768px), (max-device-width: 768px) {
    
    .modal-dialog{
        max-width: 100%;
    }
    .firstblock h1{
        font-size: 2.6rem;
    }
    .firstblock h2{
        font-size: 1.4rem;
    }
    .secondtblock{
        flex-wrap: wrap;
        width: 90%;
    }
    .secondtblock .img1{
        width: 100%;
        height: auto;
        margin: 0;
    }
    .navbar-dark .navbar-nav .nav-item {
        text-align: center;
    }
    .accueil, .equipe, .copropriete, .topographie, .contact{
        padding-top: 164px;
    }
    .thirdblock{
        width: 90%;
    }
    
    .forthblock{
        width: 90%;
    }
    .equipe .content{
        margin: 0;
    }
    .contact .content{
        margin: 0;
    }
}

@media only screen and (max-width:580px), (max-device-width: 580px) {
    .spline .viewer{
        transform: scale(2.5);
    }
    .firstblock {
        min-height: auto;
    }
    .forthblock{
        margin-bottom: 160px;
    }
    .typepage{
        margin-bottom: 160px;
    }
    .equipe .content{
        margin-bottom: 160px;
    }
    .contact .content{
        margin-bottom: 160px;
    }
    .div_header {
        padding: 20px;
        min-height: 190px;
    }
    
    .navbar-dark .navbar-nav .dropdown-menu {
        padding: 0;
        text-align: center;
    }
    .itemdivs .accordion .card{
        flex-direction: column;
    }
    .cardlink{
        text-align: center;
    }
    .infos{
        position: fixed;
        top: 105px;
        z-index: 99999;
        width: 100%;
        text-align: center;
    }
    .phonecall, .deviscontact {
        position: initial;
        margin: 10px;
    }
    .accueil, .equipe, .copropriete, .topographie, .contact{
        padding-top: 235px;
    }
    footer .divfooter{
        display: flex;
        flex-direction: column;
    }
    footer .divfooter p{
        margin-bottom: 10px;
    }
    footer .divfooter .footerleft{
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer .divfooter .footerleft .btnfooter{
        margin-bottom: 5px;
    }
}


