* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    list-style: none;
}


body {
    font-family: "Poppins", sans-serif;
    background-color: #f1f1f1;
    scrollbar-color: #cb7043;
    display: flex;
    flex-direction: column;
}

.btn-up{
    height: 45px;
    width: 45px;
    background: #a85125;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 55px;
    bottom: 25px;
    cursor: pointer;
    box-shadow: 0px 0px 5px #ffffff8e;
    border: 0.5px solid;
    border-color: #ffffff59;
}

.btn-up2{
    size: 0px;
    color: #fff;
}


header{
    height: 100vh;
    width: 100%;
    background: no-repeat center / cover url(./assets/photo/photoautrepage/photo-realisations.png);
    background-size: cover;
}

.navbar {
    position: fixed;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
    transition: background-color 0.25s ease-in-out;
}

.navbar.scroll{
    background-color: #fff;
    box-shadow: 0px 0px 10px 5px #00000023;
    z-index: 11;
}

.navbar a {
    color: #fff
}

.navbar .logo-brand img{
    height: 40px;
    width: auto;
    margin: 10px;
}

.navbar .logo-brand:hover{
    scale: 1.05;

}

.navbar .nav-links ul {
    display: flex;
}

.scroll-color.scroll{
    color: #cb7043;
}
.scroll-color1.scroll{
    color: #cb7043;
}
.scroll-color2.scroll{
    color: #cb7043;
}
.scroll-color3.scroll{
    color: #cb7043;
}
.scroll-color4.scroll{
    color: #cb7043;
}

.navbar .nav-links ul li {
    margin: 0 25px;
    font-size: 22px;
    filter: drop-shadow(1px 1px 1px #00000050);
}

.navbar .nav-links ul li a:hover{
    color: #d15d24;
}

.navbar .menu-hamburger{ 
    display: none;
    position: absolute;
    width: 20px;
    top: 40px;
    right: 40px;
    background-color: #af4a17;
    padding: 8px 17px;
    border-radius: 10px;
}

.content{
    display: flex;
    color: #fff;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 450px;
    box-sizing: border-box;
    margin-bottom: 150px;
}

.content h2 {
    color: #cb7043;
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 7px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #000000;   

}

.content h1 {
    font-size: 80px;
    line-height: 70px;
    text-shadow: 0px 1px 30px #302d2d;   
    letter-spacing: 7px;
    
}

.content h3{
    font-size: 30px;
    margin-top: 20px;
    text-shadow: 0px 1px 30px #302d2d;   
    margin-bottom: 50px;

}

.all2{
    position: relative;
}

.panel{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
}

.title-panel{
    text-align: center;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
    font-size: 35px;
    margin-bottom: 50px;
    color: #cb7043;
}

.panel1{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}
.panel2{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;

}
.panel3{
    display: flex;
    flex-direction: row;
}

.size-photo{
    width: 420px;
    height: 300px;
    margin-left: 10px;
    margin-right: 10px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
    border-radius: 5px;
    cursor: pointer;
}
.size-photo:hover{
    scale: 1.04;
    opacity: 1;
}

@media screen and (max-width: 1780px) {
    .size-photo{
        width: 300px;
        height: 200px;
    }    
}

@media screen and (max-width: 1350px) {
    .size-photo{
        width: 200px;
        height: 120px;
    }
    .title-panel{
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 15px;
        max-width: 750px;
    }
}
.slide-container {
    display: none;
    padding-top: 100px; 
}

@media screen and (max-width: 991px){
    .panel{
        display: none;
    }
    .custom-slider {
        display: block; 
    }
    .slide-container {
    display: block;
    max-width: 700px;
    position: relative;
    margin: auto;
    margin-top: -150px;
    }
    .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0.267);
    transition: background-color 0.6s ease;
    }
    .prev{
        left: 15px; 
    }
    .next { 
        right: 15px; 
    }
    .prev:hover, .next:hover 
    {
    background-color: #cb704375;
    }
    .title-slider{
        text-align: center;
        color: #cb7043;
        margin-bottom: 15px;
        font-size: 20px;
    }
    .slide-text {
        position: absolute;
        color: #ffffff;
        font-size: 15px;
        padding: 15px;
        bottom: 15px;
        width: 100%;
        text-align: center;
    }
    .slide-index {
        color: #ffffff;
        font-size: 13px;
        padding: 15px;
        position: absolute;
        top: 100;
    }
    .slide-img{
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center;
    }
    .slide-dot{ 
        text-align: center; 
    }
    .dot {
        cursor: pointer;
        height: 10px;
        width: 10px;
        margin: 0 2px;
        background-color: #c5531a62;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }
    .active, .dot:hover { 
        background-color: #e65d19; 
    }
    .fade {
        animation-name: fade;
        animation-duration: 1s;
    }
@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}

}
@media screen and (max-width: 750px){
    .slide-container{
        max-width: 500px;
    }
}
@media screen and (max-width: 550px){
    .slide-container{
        max-width: 350px;
    }
}










.realisations {
    flex-direction: column;
    text-align: center;
    background-size: cover;
    background: #cb7043;
    width: 100%;
    height: 400px;
    box-shadow: -5px 0px 20px #00000091;
}
.titre2-h2{
    font-size: 40px;
    font-weight: normal;
    color: #ffffff;
    text-shadow: 0px 0px 20px #00000021;
    padding-top: 30px;
    margin-bottom: 0px;
    text-transform: uppercase;
}
.box{
    justify-content: center;
    color: #fff;

}
.box-ecart{
    display: flex;
    justify-content: space-evenly;
}
.box1-2{
    display: flex;
    flex-direction: row;
    margin-left: 180px;
}
.num{
    font-size: 55px;
    font-weight: bold;
}
.num_texte1 p {
    font-size: 20px;
    margin-bottom: 30px;
}
.num_texte2 p {
    font-size: 20px;
    margin-bottom: 30px;
}
.num_texte-top{
    width: 350px;
}



.box3-4{
    display: flex;
    flex-direction: row;
    margin-right: 180px;

}
.num_texte1-top{
    width: 350px;
}

.num_texte3 p {
    font-size: 20px;
    margin-bottom: 30px;
}
.num_texte4 p {
    font-size: 20px;
    margin-bottom: 30px;
}


@media screen and (max-width: 1770px) {
    .num_texte-top{
        width: 290px;
    }
    .num_texte1-top{
        width: 290px;
    }
    .box-ecart{
        display: flex;
        justify-content: space-evenly;
    }
    .box1-2{
        margin-left: 100px;
    }
    .box3-4{
        margin-right: 100px;
    }
}
@media screen and (max-width: 1610px) {
    .box1-2{
        margin-left: 50px;
    }
    .box3-4{
        margin-right: 50px;
    }
}
@media screen and (max-width: 1510px) {
    .box1-2{
        margin-left: 0px;
    }
    .box3-4{
        margin-right: 0px;
    }
}

hr{
    display: none;
    width: 50%;
}

@media screen and (max-width: 1200px) {
    .box-ecart{
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
        align-items: center;
        text-align: center;
    }
    .box1-2{
        display: flex;
        flex-direction: row;
    }
    .box3-4{
        display: flex;
        flex-direction: row;
        margin-top: 20px;
    }
    .realisations{
        height: 680px;
    }
    hr{
        display: block;
        margin-top: 20px;
    }
    .titre2-h2{
        font-size: 30px;
    }
    .num_texte4{
        margin-right: 0%;
    }
    .num_texte1 p {
        margin-bottom: 15px;
    }
    .num_texte2 p {
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 600px) {
    .realisations{
        height: 520px;
    }
    .titre2-h2{
        font-size: 20px;
        padding-bottom: 10px;

    }
    .num{
        font-size: 35px;
    }
    .num_texte-top{
        width: 200px;
    }
    .num_texte1 p {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .num_texte2 p {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .num_texte1-top{
        width: 200px;
    }
    .num_texte3 p {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .num_texte4 p {
        font-size: 12px;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 500px){
    .titre2-h2{
        font-size: 18px;
        padding-bottom: 10px;
    }
    .num_texte-top{
        width: 170px;
    }
    .num_texte1-top{
        width: 170px;
    }
    .realisations{
        height: 500px;
    }
    .num_texte1 p {
        font-size: 10px;
    }
    .num_texte2 p {
        font-size: 10px;
    }
    .num_texte3 p {
        font-size: 10px;
    }
    .num_texte4 p {
        font-size: 11px;
    }
}


.footer{
    justify-content: center;
    text-align: center;
    background-color: #121212;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
}
.rules{
    color: #fff;
}
.rules:hover{
    text-decoration: underline;
    opacity: 0.8;
}

.container-fluid{
    display: flex;
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 80px;
    text-align: center;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 0px 15px #00000063;
    background: no-repeat center / cover url(./assets/photo/img-fond.jpeg) 
}

.text-content{
    display: flex;
    position: relative;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.text h3{
    color: #cb7043;
    font-size: 30px;
    margin-bottom: 10px;
}

.text h2{
    font-size: 60px;
    max-width: 1200px;
    margin-bottom: 30px;
}
.btn-content{
    background: #cb7043;
    padding: 10px;
    border-radius: 10px;
    padding-left: 25px;
}
.btn-content{
    font-size: 20px;
    color: #fff;
}
.btn-content:hover{
    background: #ff6619c7;
    transition: 0.2s ease;
    scale: 1.05;
}
.btn-row{
    display: flex;
}
.btn-a{
    margin-right: 20px;
}

@media screen and (max-width: 1200px){
    .text h2{
        max-width: 900px;
    }
}
@media screen and (max-width: 950px){
    .container-fluid{
        height: 350px;
    }

    .text h3{
        color: #cb7043;
        font-size: 25px;
        margin-bottom: 10px;
    }
    
    .text h2{
        font-size: 45px;
        max-width: 800px;
        margin-bottom: 30px;
    }
    
    .btn-content a{
        font-size: 20px;
        color: #fff;
        background: #cb7043;
        padding: 10px;
        border-radius: 10px;
    }
}
@media screen and (max-width: 710px){
    .text h3{
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .text h2{
        font-size: 30px;
        max-width: 600px;
        margin-bottom: 30px;
        margin-right: 10px;
        margin-left: 10px;
    }
    
    .btn-content a{
        font-size: 15px;
        color: #fff;
        background: #cb7043;
        padding: 10px;
        border-radius: 10px;
    }
}



@media screen and (max-width: 1200px){
    .navbar .nav-links ul li{
        font-size: 15px;
        transition: all 0.5s;
    }

    .content h2{
        font-size: 30px;
        margin-bottom: 8px;
    }

    .content h1{
        font-size: 65px;
    }

    div.spoiler{
        padding: 10px;
        width: 100%;
        border: 1px solid black;
        cursor: pointer;
    }

    button{
        font-size: 15px;
        margin: 0 1.3rem;
        border: none;
        outline: none;
        padding: 18px;
        padding-left: 40px;
        padding-right: 40px;
        border-radius: 10px;
        cursor: pointer;
        color: #fff;
        background: #cb7043;
        transition: background 0.2s ease-in-out;
        box-shadow: 8px 8px 15px #00000081;
    }
}
@media screen and (max-width: 770px){
    .content h1 {
        font-size: 45px; 
        line-height: 50px;
    }
    .content h2{
        font-size: 20px;
    }
    .content h3{
        font-size: 20px;
    }
    .boutons-contact a{
        font-size: 13px;
        margin: 0 1.3rem;
        border: none;
        outline: none;
        padding: 15px;
        padding-left: 30px;
        padding-right: 30px;
        border-radius: 10px;
        cursor: pointer;
        color: #fff;
        background: #cb7043;
        transition: background 0.2s ease-in-out;
        box-shadow: 8px 8px 15px #00000081;  
    }
    
    .boutons-contact a:hover{
        background: #ff6619bb;
        scale: 1.02;
        transition: 0.2s ease;
    }
}

@media screen and (max-width: 550px){
    .content{
        padding-left: 25px;
        padding-right: 25px;
    }

    .boutons-contact a{
        font-size: 14px;
        margin: 0 10px;
        border: none;
        outline: none;
        padding: 14px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 10px;
        cursor: pointer;
        color: #fff;
        background: #cb7043;
        transition: background 0.2s ease-in-out;
        box-shadow: 8px 8px 15px #00000081;  
    }

    .content h1 {
        font-size: 35px;
        line-height: 40px;
    }

    .content h2{
        font-size: 18px;
    }

    .content h3{
        font-size: 15px;
    }
}


@media screen and (max-width: 991px) { 
    .navbar .scroll-color{
        color: #cb7043;
    }
    .navbar .scroll-color1{
        color: #cb7043;
    }
    .navbar .scroll-color2{
        color: #cb7043;
    }
    .navbar .scroll-color3{
        color: #cb7043;
    }
    .navbar .scroll-color4{
        color: #cb7043;
    }
    .navbar{
        padding: 0;
    }

    .navbar .logo-brand{
        position: absolute;
        top: 20px;
        left: 20px;
    }


    .navbar .menu-hamburger{
        display: block;
        cursor: pointer;
    }

    .navbar .menu-hamburger:hover{
        scale: 1.05;
    }

    .nav-links{
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgb(255, 255, 255);
        backdrop-filter: blur(15px);
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -100%;
        transition: all 0.5s ease;
        line-height: 20px;
        font-size: 12px;
        letter-spacing: 3px;
        }
    
    .content {
        display: flex;
        margin-bottom: 0px;
    }
    .nav-links.mobile-menu{
        margin-top: 0%;
        width: 100%;
        height: 350px;
    }
    
    .nav-links ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .navbar .nav-links ul li {
        margin: 25px 0;
        font-size: 2em;
    }

    button{
        font-size: 12px;
        margin: 0 1.3rem;
        border: none;
        outline: none;
        padding: 16px;
        padding-left: 35px;
        padding-right: 35px;
        border-radius: 10px;
        cursor: pointer;
        color: #fff;
        background: #cb7043;
        transition: background 0.2s ease-in-out;
        box-shadow: 8px 8px 15px #00000081;
    }
}

@media screen and (min-height: 850px){
    .slide-container{
        margin-top: 100px;
    }
    .content{
        margin-bottom: 60px;
    }
}
@media screen and (min-height: 750px){
    .slide-container{
        margin-top: -150px;
    }
}
@media screen and (min-height: 950px){
    .slide-container{
        margin-top: -50px;
    }
}
@media screen and (min-height: 1100px){
    .slide-container{
        margin-top: 0px;
    }
}
@media screen and (max-height: 820px) {
    .content h2{
        margin-top: -100px;
    }
}
@media screen and (max-height: 720px){

}