/* reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* custom CSS */

/* Generic */
section{
    width: 1200px; 
    margin: 0 auto; 
}

h2{
    font-family: 'futura_stdbold';
    color: #91160f;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 40px; 
}

a, button{
    transition: background-color 0.5s;
}

p{
    text-align: justify;
}

/* nav */
nav{
    height: 100px; 
    width: 100%; 
}

nav section{
    display: flex;
    justify-content: space-between;
}

nav section div{
    height: 100px;
}

nav .logo{
    display: flex;
    align-items: center;
    justify-content: center;
}


nav .nav{
    display: flex;
}

nav .nav a{
    display: flex;
    color: #91160f;
    height: 100px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 16px;
    text-decoration: none;
    font-family: 'futura_stdmedium';
}

nav .nav a:hover, nav .nav a.current{
    color: white;
    background-color: #91160f;
    cursor: pointer;
}

@media screen and (max-width: 1400px) {
    section{
        width: 960px;
    }
    nav{
        height: 66px; 
    }
    nav section div{
        height: 66px;
    }
    nav .nav a{
        height: 66px;
        font-size: 14px;
    }
    nav .logo img{
        height: 40px;
    }

}

/* header */

header{
    width: 100%;
    height: 70vh;
    background-image: url('../assets/accueil.jpg');
    background-position: center center;
    background-size: cover
}



header .content{
    color: white; 
    margin: 24vh 0; 
    position: absolute;
    font-size: 48px;
    font-family: 'Bacasime Antique', sans-serif;
}

@media screen and (max-width: 1400px) {
    header .content{       
        font-size: 42px;
    }
}

/* main */

main{
    overflow: hidden;
}

main section{
    margin-top: 40px; 
    width: 50%;
}

main .title {
    margin: 0 auto;
    text-align: center;
    padding-bottom: 20px; 
    margin-bottom: 50px;
    text-align: center; 
}

main .title h1{
    color:#91160f;
    letter-spacing: 0.4rem;
    margin-top: 60px; 
    font-size: 50px; 
    font-family: 'Times New Roman', sans-serif;
    text-transform: uppercase;
}

main .title .separator{
    display: inline-block;
    border-bottom: 8px solid #91160f;
    width: 50px;
    margin-top: 30px;
}

main section p,
main section ul{
    font-size: 1rem;
    margin: 10px auto;
    font-family: 'futura_stdlight';
    line-height: 24px;
}

ul{
    padding-left: 20px; 
    list-style-type: none;
    text-align: justify;
}

li{
    display: flex;
}

li span{
    display:block;
    margin-right: 10px; 
}

@media screen and (max-width: 1400px) {
    main section{
        margin-top: 40px; 
        width: 60%;
    }
}


/* footer */
footer{
    height: 100px; 
    width: 100%;
    background-color: #91160f;
    margin-top: 120px;
}

footer section{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer section div{
    height: 100px;
}

footer .logo{
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .adress{
    display: flex;
}

footer .adress img{
    height: 60px;
}

footer .logo img{
    height: 40px;
}

footer .adress{
    font-size: 12px; 
    color: white;
    font-family: 'futura_stdlight';
    line-height:16px;
}

footer .adress div.content{
    margin-right: 30px; 
    text-align: right !important;
    margin-top: 20px;
}
footer .adress div.content p{ 
    text-align: right !important;
}

footer .adress div.content button{
    background: none; 
    border: 1px solid white; 
    padding: 4px; 
    color: white; 
    margin-top: 5px;
    font-size: 11px;
}

footer .adress div.content button:hover{
    background: white;
    color: #91160f;
    cursor: pointer;
}

footer .adress .img{
    position: relative;
    right: 0;
    bottom: 0;
}

footer .adress .img img{
    position: absolute;
    bottom: 0;
}


@media screen and (max-width: 1400px) {
    section{
        width: 960px;
    }
    footer{
        height: 80px; 
    }
    footer section div{
        height: 80px;
    }

    footer .logo img{
        height: 32px;
    }

    footer .adress{
        font-size: 10px; 
        color: white;
        line-height:12px;
    }

    footer .adress div.content{
        margin-right: 30px; 
        text-align: right;
        margin-top: 14px;
    }

    footer .adress img{
        height: 48px;
    }

    footer .adress div.content button{
        font-size: 9px;
    }

}

/* legale */
.legale{
    height: 45px; 
    width: 100%; 
    background-color: #912b0f80;
    
    display: flex;
    justify-content: center;
    color: white; 
    align-items: center;
}

.legale a{
    display: inline-block; 
    margin: 0 16px;
    color: white; 
    text-transform: uppercase;
    text-decoration: none; 
    font-family: 'futura_stdmedium';
    font-size: 12px;
}

.legale a:hover{
    color: #91160f;
}


/* CUSTOM PAGES */


/* CUSTOM HEADERS */
header.qui-sommes-nous{
    background-image: url('../assets/qui-sommes-nous.jpg');
}

header.activites{
    background-image: url('../assets/activites2.jpg');
}

/* ACCUEIL */

main.accueil{
    margin-top: 80px; 
}

main.accueil section p{
    margin: 10px auto;
    font-family: 'Times New Roman', sans-serif;
    color: #7c7c7c;
    font-size: 1.4rem;
    margin-bottom: 40px; 
}


/* MENTIONS LEGALES */
main.mentions{
    background-color: #1d1d1b15; 
}

main.mentions section p{
    margin: 10px auto;
    font-family: 'Times New Roman', sans-serif;
    color: #7c7c7c;
    font-size: 1.1rem;
    text-align: justify ;
}

main.mentions{
    padding-bottom: 120px;
}

footer.mentions{
    margin-top:0;
}

/* plan du site */

main.sitemap h2{
    margin-top: 10px; 
    text-align: center;
}

main.sitemap h2 a{
    text-decoration: none; 
    color: #91160f;
}

main.sitemap h2 a:hover{
    color: #912b0f80;
    cursor: pointer;
}

/* activites */

main .caption{
    align-items: flex-start;
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
    padding-left: 170px;
    margin-bottom: 70px; 
}

main .caption h2{
    margin: 0;
    padding-left: 20px; 
}

nav section .burger{
    display: none;
    margin-right: 16px;
    margin-top: 16px;
    width: 30px;
    height: 30px;
 }

 nav section .burger1,
 nav section .burger2,
 nav section .burger3{
    width: 24px; 
    height: 2px; 
    margin: 5px 2px;
    background-color: #91160f;
 }

 .menu-responsive{
    background-color: #91160f;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    margin-left: 100%;
    transition: 0.7s ease-in-out  ;
    z-index: 100000;
 }

 .menu-responsive nav section .burger1,
 .menu-responsive nav section .burger2,
 .menu-responsive nav section .burger3{
    width: 24px; 
    height: 2px; 
    margin: 5px 2px;
    background-color: white;
 }

 .menu-responsive nav section .burger2{
    display: none;
 }
 
 .menu-responsive nav section .burger1{
    transform: rotate(45deg);
    margin-top: 16px;
 }
 .menu-responsive nav section .burger3{
    transform: rotate(-45deg);
    margin-top: -7px;
    margin-left: 2px;
 }

 .menu-responsive main section h2 {
    margin-bottom: 50px; 
 } 

 .menu-responsive main section h2 a{
    color: white; 

 }

 .menu-responsive main {
    background: transparent;
 }

/* responsive design */
@media screen and (max-width: 430px) {


    main.accueil section p {
        font-size: 1rem; 
    }

    main section{
        width: 80% !important; 
    }

    main .title h1{
        font-size: 30px; 
    }

    header{
        background-position: center center;
        height: 35vh; 
    }

    header .content {
        color: white;
        margin: 10vh auto;
        margin-left: 30px;
        position: absolute;
        font-size: 16px !important;
        font-family: 'Bacasime Antique', sans-serif;
    }

    section{
        width: 100%;
        max-width: 430px; 

    }
    
    nav section{
       width: 100%; 
       background : white; 
       position: fixed; /* Set the navbar to fixed position */
        top: 0; /* Position the navbar at the top of the page */
        width: 100%; /* Full width */
        z-index: 3;
        box-shadow: 1px 2px 13px 0px #0000004a;
    }

    .menu-responsive nav section{
        width: 100%; 
        background : transparent; 
        position: fixed; /* Set the navbar to fixed position */
         top: 0; /* Position the navbar at the top of the page */
         width: 100%; /* Full width */
         box-shadow: none;
     }

    nav section .logo{
        margin-left: 16px;
     }

    nav section .burger{
        display: block; 
     }

    nav section .nav{
        display: none; 
    }

    main.accueil{
        margin-top: 0;
    }





    footer {
        height: auto;
        width: 100%;
        background-color: #91160f;
        margin-top: 60px;
        display: flex; 
        padding-bottom: 100px; 
    }

    footer section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin-top: 30px;
    }

    footer section .adress{
        display: flex;
        flex-direction: column;
        text-align: center !important;
    }
    footer section .adress .content{
        margin: 0 !important;
    }
    footer section .adress .content button{
        font-size: 16px; 
        margin: 20px auto;
    }
    footer section .adress .content p{
        text-align: center !important;
        font-size: 14px;
        line-height: 18px;
    }
    footer section .adress .img{
       margin-top: 70px; 
    }

    .legale{
        display: none; 
    }

    main.sitemap h2{
        font-size: 20px; 
        margin-bottom: 30px; 
    }

    main .caption{
        flex-direction: column;
        padding-left: 0; 
        align-items: center;
    }
    main .caption h2{
        text-align: center; 
        text-align: center;
        margin: 20px;
        padding-left: 0;
    }
    main .caption ul{
        padding: 0;
    }
}


/* background + modal */
div.background{
    width: 100%; 
    height: 100vh; 
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed; 
    top: 0; 
    display: none;
}

div.background .modalbg{
    width: 100%; 
    height: 100vh; 
}

div.background .modal{
    height: calc(100vh - 80px); 
    width: 700px; 
    background: white; 
    margin: 40px auto; 
    position: absolute; 
    z-index: 1000000;
    top: 0px;
    left: calc(50% - 350px);
}

div.background .modal h1{
    font-size: 18px;
    letter-spacing: 0.5cap;
    margin-top: 30px; 
}

div.background .modal main .title .separator {
    display: inline-block;
    border-bottom: 5px solid #91160f;
    width: 38px;
    margin-top: 15px;
}

/* contact form */

.modal{
    overflow: scroll; 
}
.modal main{
    width: 90%;
    margin: 0 auto;
}
form.contact-form, div.background .modal{
    font-family: 'futura_stdmedium';
}

.form-header{
    margin-top: -50px;
    height: 54px;
    margin-bottom: 30px;
    width: 90%;
    font-size: 14px;
}

.form-header .form-header-content{
    display: flex; 
    justify-content: center;
    align-items: center; 
}

.form-header .form-header-content .form-email,
.form-header .form-header-content .form-tel{
    display: flex;
    align-items: center;
}

.form-header .form-header-content .form-email span,
.form-header .form-header-content .form-tel span{
    display: block; 
    width: 30px; 
    height: 30px; 
    margin-right: 5px; 
    background-size: 30px; 
}

.form-header .form-header-content .form-email span{
    background-image: url('../assets/picto-message.png');
}
.form-header .form-header-content .form-tel span{
    background-image: url('../assets/picto-phone.png');
}

.form-header .form-header-content .vertical-sep{
    width: 1px; 
    height: 44px; 
    background-color: black; 
    margin: 0 18px; 
}

main form .form-group{
    display: flex; 
    margin-bottom: 16px; 
    width: 99%;
}

main form .form-item{
    width: 100%;
}

main form .form-group-message{
    margin-bottom: 3px; 
}

main form .form-group-obligatoire{
    text-align: right;
    font-size: 9px;
}

main form .form-group-submit{
    margin-top: 30px; 
    text-align: center;
}

main form .form-group .form-item:nth-child(1){
    padding-right: 10px;
}
main form .form-group .form-item:nth-child(2){
    padding-left: 20px;
}
main form .form-group .form-item-company{
    padding-right: 0px !important;
}
main form .form-group .form-item-message{
    padding-right: 8px !important;
}

main form .form-group .form-item-recap{
    width: 330px; 
    margin: 0 auto;
}


main form input{
    height: 24px; 
    background-color:rgba(0,0, 0, 0.2);
    text-indent: 10px;
    border: none; 
    width: 100%;
}

main form input{
    height: 24px; 
    background-color:rgba(0,0, 0, 0.2);
    text-indent: 10px;
    border: none; 
    width: 100%;
}

main form textarea{
    resize: none; 
    border: 1px solid rgb(113, 113, 113);
    border-radius: 0;
    width: 100%;
    height: 160px; 
}
main form input[type="submit"]{
    height: 30px;
    width: 150px;
    font-family: 'futura_stdbold';
    background-color: #91160f;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    margin: 0 auto;
    padding : 0 8px;
    transition: 0.5s;
    opacity: 0.8;
}

main form input[type="submit"]:hover{
    opacity: 1;
    cursor: pointer;
}


main form label{
    text-transform: uppercase; 
    color: #91160f;
    font-size: 12px; 
    display: block; 
    margin-bottom: 5px; 
}

main form label span{
    text-transform: uppercase; 
    color: rgb(113, 113, 113);
}

div.contact-mobile{
    display:none;
}

/* responsive design */
@media screen and (max-width: 430px) {

    .vertical-sep{
        display: none;
    }

    .close-contact{
        width: 40px;
        height: 40px;
        position: absolute;
        right: 6px;
        top: 16px;
        display: flex;
        text-align: center;
        align-items: center;
    }

    div.contact-mobile{
        display:block;
        width: 100%;
        height: auto;
        padding-bottom: 100px;
        position: absolute;
        z-index: 1000000000000;
        background: white;
        top: 0;
        left: 0;
        transition: 0.5s;
        margin-left: -440px; 
    }

    div.contact-mobile .form-header-content{
        flex-direction: column;
        font-size: 20px;    
    }

    div.contact-mobile main{
        padding: 20px;
    } 
    div.contact-mobile header{
        height: 10px; 
        margin: 0;
        background-color: white;
    }

    div.contact-mobile form .form-group{
        flex-direction: column;
        width: 90%;
    }

    div.contact-mobile form .form-group .form-item{
        padding: 0 !important;
        margin-top: 20px; 
    }


    div.contact-mobile form input{
        height: 36px; 
        font-size: 16px;
    }
    div.contact-mobile form input[type="submit"]{
        height: 64px; 
        width: 100%;
    }
    div.contact-mobile form textarea{
        height: 400px; 
        font-size: 16px;
    }

    div.contact-mobile form label{
        font-size: 14px;
        margin-top: 10px; 
    }

}

.confirm-message{
    width: 90%;
    position: absolute;
    top: 0;
    background: white;
    padding: 10px;
    text-align: center;
    border: 2px solid green;
    color: green;
    background-color: #c7ebc7;
    margin-left: 5%;
    line-height: 20px;
    margin-top: -200px; 
    transition: 0.5s;
    border-radius: 8px;
    font-family: arial;
}    
.confirm-message strong{
   font-weight: bold;
}  
