.flex-modal{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}



.slider{
    background-color: var(--grey);
    width: 100%;
    height: auto;
    margin-top: 90px;
}

.slider .container{
    width: 95%;
    margin: auto auto;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.slider .flex1{
    width: 100%;
    text-align: center;
}

.slider .flex2{
    width: 325px;
}

.slider .button{
    margin: auto auto;
}

.ymark{
    color: var(--bleu);
    font-size: 1em;
    font-weight: bold;
}

h1{
    font-size: 2em;
    padding: 30px 0;
    width: 90%;
}


.slider p{
    font-size: 1.2em;
    width: 100%;
}


.slider .button{
    margin-top: 75px;
}

.slider .flex1 img{
    width: 325px;
    padding: 25px 0 0 0;

}

.slider .flex2 img{
    width: 100%;
    margin-top: 50px;
}

.section1 .container{
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

.section1 .flex1{
    margin-top: 0;
    width: 100%;
}

.section1 img{
    width: 100%;
}

.section1 .text-container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    padding: 25px 0;
}

#bg-bleu{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bleu);
    height: 100%;
    z-index: -1;
}

.section1 p{
    width: 95%;
    text-align: center;
}

.section2{
    margin: 125px 0;
}

.section2 .flex2{
    display: flex;
    align-items: center;
}

.section2 h2{
    font-size: 1.5em;
    margin-bottom: 25px;
}

.section2 .container{
    width: 95%;
    margin: auto auto;
    justify-content: center;
    flex-direction: column;
}

.section2 p{
    width: 90%;
    margin: 30px 0;
}

.section2 .flex1{
    width: 100%;
}

.section2 .flex2{
    width: 100%;
}

.section2 img{
    width: 100%;
    margin-top: 20px;
}

.section2 p, .section2 h2, .section2 h3{
    text-align: center;
}

.section2 .button{
    margin: auto auto;
}

.section3{
    background-color: var(--grey);
}

.section3 h2 {
    margin-left: 10px;
    margin-bottom: 50px;
    font-size: 1.2em;
    text-align: center;
}

.section3 h2 span{
    display: inline;
}

.section3 .flex1{
    padding: 50px;
    width: 60%;
}

.section3.container{
    width: 95%;
    margin: auto auto;
}

.section3 .flex1{
    width: 100%;
}

.section3 .flex1 .container{
    flex-wrap: wrap;
    justify-content: center;
}

.section3 .service{
    margin: 20px 10px;
    text-align: center;
    cursor: pointer;
    width: 80%;
}

.section3 .service img{
    width: 100%;
    mix-blend-mode:multiply;
}

.section3 .service:hover .button{
    background-color: white;
    color: var(--bleu);
}

.section3 .title{
    font-weight: bold;
    height: 38px;
}

.service-img-container{
    position: relative;
    height: auto;
}

.cover-bleu{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    opacity: 1;
    transition: all ease 0.25s;
    background-color: var(--bleu);
}

.section3 .service:hover .cover-bleu{
    opacity: 0;
}

.section3 .button{
    width: 85%;
    margin: auto auto;
    font-size: 0.85em;
}

.section3 .flex2{
    display: none;
}

.section4{
    margin: 75px 0;
}

.section4 .container{
    width: 95%;
    margin: auto auto;
    flex-direction: column;
}

.section4 .flex{
    width: 100%;
}


.section4 .flex:nth-of-type(2) p{
    padding: 0;
}

p{
    line-height: 1.25em;

}

#image-bottom{
    justify-content: center;
    width: 95%;
    margin: auto auto;
}

#image-bottom img{
    width: 100%;
}



.flex-modal-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: 100%;
    margin-top: 150px;
  
}

.field-box1{
width: 100%;
height: auto;
}

.field-box1 fieldset{
border: none;
    padding: 20px;
}

.field-box2{
    width: 100%;
    height: auto;
}

.field-box2 fieldset label{
    font-size: 1.2em;
    color: var(--bleu);
    font-weight: bold;
}

.field-box2 fieldset{
    border:1px solid black;
    border-radius: 15px;
    margin: 10px;
    padding: 10px;
}

.field-title{
    color: var(--bleu);
    font-size: 1.8em;
   
    text-transform: uppercase;
}

.flex-title-cimetiere{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.inbox-client{
    border: 1px solid black;
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 24px;
    width: 100%;
}


.inbox-client input {
    border: none;
    width: 51%;
    padding: 5px;
    font-size: 0.9em;
}

.inbox-client label{
    color: var(--bleu);
    font-weight:bold;
    font-size: 1.2em;

}

.close{
    display: none;
}


.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

#formprod{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 20px;
}



#field-two{
    border: none;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

#prof-title{
    color: var(--bleu);
font-size: 2em;
margin-bottom: -100px;
}

.blue-line2{
    background-color: var(--bleu);
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    width: 100%;
    height: 50px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom:20px ;
  
}

.form-compagnon{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
width: 100%;
}

.field-compagnon{
    width: 90%;
}

.sub-title-cimetery{
    color: var(--bleu);
    font-size: 1.5em;
    font-weight: bold;
}

.text-description{
    border: none;
    width: 75%;
    font-size: 1.2em;
    height: 150px;
    margin-left: 75px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -3px;
    resize: none;
    font-family: 'Rubik', sans-serif;

}

.title-center{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

.flex-msg-confirm{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
    width: 100%;
}

.msg-confirm{
color: #32CD32;
font-size: 1em;
font-weight: bold;
}

.msg-erreur{
color: #CC0000;
font-size: 0.9em;
font-weight: bold;
}

input::-webkit-input-placeholder {
    border: none;
    color: var(--bleu) !important;
font-size: 1em;
font-family: 'Rubik', sans-serif;
    }

input:focus{
    background-color: #f9f9f9;
    outline: none;
}

::-webkit-input-placeholder{
    border: none;
   
    color: var(--bleu) !important;
font-size: 1em;
font-family: 'Rubik', sans-serif;
}

textarea:focus{
    background-color: #f9f9f9;
    outline: none;
}


/*************************************************************************** 

    MEDIA QUERIES 

****************************************************************************/



@media only screen and (min-width: 768px) {

   

    .text-description{
        width: 85%;
    }

    .msg-confirm{
        font-size: 1.5em;
        }

    .section3 .flex1 .container{
        justify-content: space-between;
    }
    

    .section3 .service{
        margin: 20px 10px;
        text-align: center;
        cursor: pointer;
        width: 150px;
    }

    .slider .flex1{
        width: 80%;
    }

    .field-box1{
        width: 90%;
        height: auto;
        }

        .field-box2{
            width: 88%;
            height: auto;
        }

        .inbox-client input {
            width:60%;
        }

        .inbox-client label{
            font-size: 1.2em;
        }

        #prof-title{
            font-size: 2em;
            padding-left: 10px;
        }

        #field-two{
            width: 90%;
        }

        .field-compagnon{
            width: 90%;
        }

        .flex-title-cimetiere{
            width: 100%;
            padding-left: 40px;
        }
        
    

        .title-center{
            padding-left: 40px;
            padding-right: 40px;
        }
    
}

    

@media only screen and (min-width: 1024px) {
    .section3 .service{
        width: 22%;
        margin-top: none;
    }
    
    .section3 h2{
        font-size: 1.5em;
    }
    
    .section3 h2 span{
        display: block;
    }

    .slider .flex1 img{
        width: 625px;

    }
    
    .slider .flex2{
        width: 600px;
    }

    .slider p{
        font-size: 1.2em;
        width: 80%;
    }
    
    

    .section1 .container{
        flex-direction: row;
    }

    .section1 .flex1{
        width: 50%;
    }

    .section1 .text-container{
        width: 50%;
        font-size: 2.5vw;
    }

    .section1 .text-container{
        height: calc((50vw - 13px) / 2.36);
        font-size: 2.8vw;
    }

    .section1 p{
        width: 75%;
        text-align: left;
    }
    
    #bg-bleu{
        height: calc((50vw - 13px) / 2.36);
    }

    .section2 .container{
        flex-direction: row;
    }

    .section2 h2{
        font-size: 2.2em;
    }

    .section2 .flex1{
        padding-left: 75px;
    }

    .section2 .flex1{
        width: 60%;
    }
    
    .section2 .flex2{
        width: 40%;
    }

    .section2 img{
        margin-top: 0;
    }
    
    .section4 .container{
        flex-direction: row;
    }

    .section4 .flex{
        width: 50%;
    }

    .section4 h2{
        width: 100%;
    }

    .section4 .flex:nth-of-type(2) p{
        padding: 0 50px;
    }

    .animal-choice{
        width: 40%;
        margin-left: 0px;
        padding: 6px;
        font-size: 1.2em;
        border: none;
    }

   
    
   
}



@media only screen and (min-width: 1150px) {
    .slider{
        margin-top: 0px;
    }

    .slider .button{
        margin: 50px 0;
    }

    .section2 p, .section2 h2, .section2 h3{
        text-align: left;
    }
    
    .section2 .button{
        margin: 50px 0;
    }

    .section3 h2 {
        text-align: left;
    }

    .field-box1{
        width: 90%;
        height: auto;
        }

        .field-box2{
            width: 99%;
            height: auto;
        }

        .flex-modal-container{
            background-color: white;
            margin-top: 200px;
        }

        .field-two{
            width: 60%;
        }

        .close{
            display: block;
            color: grey;
            margin-right: 0px;
            padding-right: 50px;
            margin-top: -43px;
            text-align: right;
            width: 100%;
        }
    
        .close{
            display: block;
            color: grey;
            margin-right: 0px;
            padding-right: 20px;
            margin-top: -41px;
            text-align: right;
            width: 100%;
          
        
        }
        
        .close:hover{
            color: var(--bleu);
        }
        
    

    
}

@media only screen and (min-width: 1280px) {

    .slider{
        margin-top: 0px;
    }

    .slider .container{
        flex-direction: row;
    }

    .slider .flex1{
        width: 45%;
        text-align: left;
    }
    
    h1{
        font-size: 3em;
    }

    .slider .flex1 img{
        padding: 0;
}

#prof-title{
    font-size: 2.5em;
}

}

@media only screen and (min-width: 1540px) {
    
    .section3 .flex1{
        width: 60%;
    }
    
    .section3 .flex2{
        display: block;
        width: 662px;
        height: auto;
    }

    
    .slider .flex1 img{
        width: 625px;
    }
    
    h1{
        font-size: 4em;
    }

    .slider .flex2{
        width: 800px;
    }

    .section2 .flex1{
        width: 45%;
    }
    
    .section2 .flex2{
        width: 55%;
    }
}



@media only screen and (min-width: 1700px) {

    .slider{
        background-image: url('/images/sliders/background.jpg');
        background-size: auto 761px;
        background-position: center;
        background-repeat: no-repeat;
        background-color: unset;
    }

    .slider .flex2 img{
        margin-top: -1.8%;
    }
    
    .slider .flex2 img{
        width: 924px;
    }
    
    .slider{
        height: 790px;
    }

    .section1{
        margin-top: -15px;
    }
}

@media only screen and (min-width: 1920px) {


}



@media only print{

h1,h2,h3,h4,p,a,li{color:#000 !important;}

nav{display:none;}

} 