/**
 * Reset
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/**
 * Eléments génériques
 */

 :root {
	--violet: #d33bfd;
    --vert: #397265ea;
    --jaune: #E7DB00;
    --vertClair: #7eb4a8;
}

 body {
    --color-primary: #f76c5e;
    --color-secondary: #f68e5f;
    --color-tertiary: #ffeee6;    
}

/**
 * Eléments principaux
 */
 body {
    width: 100%;
    /* max-width: 1500px; */
    margin: auto;
    font-family: 'Source Sans 3', sans-serif;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}
header {
    position: fixed;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    /* width: 1500px; */
    /* padding: 0px 10px 0px; */
    /* background: var(--color-tertiary); */
}
main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    min-width: 200px;
    margin-top: 120px;
    margin-bottom: 10px;
    padding: 10px;
    /* text-align: center; */
    color: white;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0px 0px 30px 30px;
    background-color: var(--color-tertiary);
}
footer {
    /* position: sticky; */
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 30px;
    font-weight: 600;
    font-size: 17px;
    color: white;
    background-color: var(--vert);
    border-radius: 10px 10px 30px 30px;
    text-align: center;
}

section {
	width: 100%;
    background-color: var(--vert);
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    padding: 0px 0px 20px;
    position: relative;
    text-align: center;
            /* TODO : nous verrons plus tard pour donner du volume au site */
}

h2.titre_section {
    width: 100%;
    height: 50px;
    margin: 30px 10px 30px;
    font-size: 50px;
}

/* ******************
***** NAVBAR *****
****************** */

nav {
    margin-top: 10px;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    background: var(--vert);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    font-size: calc(0.5rem + 1.5vw);
}

nav div.logoNav {
    width: 170px;
}

nav div.logoNav img {
    width: 100%;
    height: auto;
    object-fit: cover;
    
}

nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
}

nav ul li {
    list-style: none;
    text-align: center;
    font-weight: bold;
}

a, a:visited {
    color: var(--jaune);
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

a:hover {
    color: white;
}

nav ul p.devis {
    font-size: 15px;
}

#icons {
    cursor: pointer;
    display: none;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* ********************************
***** Section TITRE + LOGO *****
******************************** */


section.titre_logo::before {
	content: '';
	background-image: url('/assets/background-section-titre.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.40;  
}

section.titre_logo div {
    margin-top: 0px;
    width: 80%;
    margin: auto;
    text-align: center;
    align-items: center;
    z-index: 1;
}

section.titre_logo div.logoImpot {
    margin-top: 50px;
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    /* margin: 20px; */
    border-radius: 5px;
}

section.titre_logo div.logoImpot img {
    width: 200px;
    margin: 20px;
}

section.titre_logo div.logo img {
    width: 60%;
}

section.titre_logo div.slogan p {
    text-align: center;
    font-size: xx-large;
    font-weight: 700;
}

section.titre_logo div.slogan {
    margin-bottom: 20px;
    font-size: 30px;
}

/* **********************************
**** Section "Présentations" *****
********************************** */
section.quisuisje {
    height: 200px;
    font-size: x-large;
    padding: 0px 50px 0px;
}


/* ****************************
***** Section Avantages *****
**************************** */
section.paiement{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

}

span {
    color: var(--jaune)
}

.itemPrestation {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 20px 0px;
    color: white;
}

.itemPrestation div {
    width: 100px;
    height: 200px;
    overflow: hidden;
}

.itemPrestation div img {
    margin: 10px;
    width: 80%;
    height: auto;
}

.itemPrestation div p {
    font-size: 15px;
}


/* *******************************
***** Section Prestations *****
******************************* */

section.prestations::before {
	content: '';
	background-image: url('/assets/background_ouvrir_assemblage_meuble.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.30;  
}

section.prestations h2 {
    z-index: 1;
}

.galerieModal {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    z-index: 2;
}

.contentModal {
    flex: 1 1 1 1;
    width: 500px;
    height: 300px;
    margin: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* background-color: rgb(255, 255, 255); */
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.contentModal .buttonMain {
    width: 100%;
    height: 200px;
    background-color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
}

.contentModal .buttonMain img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    opacity: 0.60;
}

.contentModal h2 {
    text-align: left;
    padding-left: 5px;
    margin-top: 5px;
    color:#494545;
    font-size: 25px;
}

.contentModal p {
    text-align: left;
    font-size: 20px;
    font-weight: 100;
    color: grey;
    background: white;
    padding: 5px 0 5px 10px;
    border-radius: 0 0 5px 5px;
}

.contentModal .buttonSecond {
    width: 100%;
    border-radius: 6px;
    font-size: 20px;
    color: #E7DB00;
    background: #397265ea;
    cursor: pointer;
    height: 40px;
    margin-top: auto;
}

.contentModal .modal {
    display: none;
    position: fixed;
    z-index: 300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative;
    margin: 100px auto;
    background-color: #fefefe;
    border: 1px solid #888;
    width: 60%;
    height: 90%;
    padding: 40px;
    z-index: 301;
}

.modal-content-titre {
    margin-top: 30px;
    text-align: center;
    color: #494545;
}

.modal-content-list {
    margin-top: 20px;
    color: #494545;
    /* text-align: center; */
}

.modal-content p {
    text-align: center;
    font-size: 20px;
}

.close {
    color: #1e1e1e;
    position: absolute;
    top: 10px;
    right: 10px;
    /* float: right; */
    cursor: pointer;
    font-size: 50px;
    /* padding: 0 10px 0 0; */
    font-weight: bold;
}



/* ***************************************************************************************** */
.galerie {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
    z-index: 1;
}

.item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 400px;
    height: 300px;
    margin: 10px;
}

.logoItem {
    display: flex;
    align-items: center;
    height: 150px;
    height: 100px;
}

.logoItem img {
    width: 60px;
    margin-right: 20px;
}

.item h3 {
    text-align: left;
    margin: 5px 10px;
    font-size: 30px;
}

/* .item li {
    font-size: 15px;
    text-align: left;

} */

/* section.prestations div.button {
    align-items: center;
    
}

section.prestations button {
    width: 100px;
    background-color: var(--vert);
    color: var(--jaune);
    text-align: center;
    
}

section.prestations div.galerie div.item2 {
    border: 2px solid black;
}

section.prestations div.galerie div.logoItem2 {
    display: flex;
    flex-direction: column;
}

section.prestations div.galerie div.logoItem2 img {
    width: 150px;
} */



/* ***********************************
***** Section "Contact + Map" *****
*********************************** */

section.contact_map .content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}
 
section.contact_map .contact img {
    margin-top: -60px;
}

.contact_map .content div.content1 {
    width: 50%;

}

.contact_map .coordonnees {
    padding-bottom: 30px;
}

.content .tel {
    font-size: 40px;
    margin-bottom: 20px;
}

.content .mail {
    font-size: 25px;
}

.contact_map .telIcon {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 50px;
}

.contact_map .emailIcon {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 50px;
}

.contact_map .telIcon i {
    margin-right: 10px;
    color: var(--jaune)
}

.contact_map .emailIcon i {
    margin-right: 10px;
    color: var(--jaune)
}

.contact_map .content div.contact img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}

.contact_map .content div.map img {
    width: 100%;
    height: 100%;
    padding: 30px;
    object-fit: cover;
}

/* ******************
***** footer *****
****************** */

footer p {
    margin-top: 20px;
    font-size: 15px;
}

    /* TODO : comment je fais apparaitre mon nom, dans le site ? */
footer span {
    display: none;
}

footer a {
    cursor: pointer;
    display: none;
}

/* Format Tablette */
@media screen and (min-width: 768px) and (max-width: 1023px) {

}

/* Format Smartphone */
@media (max-width: 767px) {
    /* Général */
    header {
        width : 100%;
    }

    main {
        width: 100%;
    }

    /* ******************
    ***** Navbar *****
    ****************** */
    #nav {
        display: flex;
        justify-content: space-between;
        padding: 30px;
        margin: 0;
    }

    #icons {
        display: block;
        color: var(--jaune);
        font-size: 3rem;
    }

    #icon span {
        text-align: center;
    }

    #icons:before {
        content: "\2630"; 
        color-scheme: var(--jaune);
    }

    .active #icon:before {
        content: "\2717";
        color-scheme: var(--jaune);
    }
    .menuNav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 100px;
        left: -100%;
        flex-direction: column;
        background: var(--vert);
        width: 100%;
        text-align: center;
        justify-content: space-around;
        transform: 0.25s;
    }

    nav li {
        margin: 80px;
        padding: 3px;
    }

    nav li:hover {
        background: var(--vertClair);
    }

    nav.active ul {
        left: 0;
    }

/* ********************************
***** Section TITRE + LOGO *****
******************************** */


section.titre_logo::before {
	content: '';
	background-image: url('/assets/background-section-titre.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.40;  
}

section.titre_logo div {
    margin-top: 0px;
    width: 80%;
    margin: auto;
    text-align: center;
    align-items: center;
    z-index: 1;
}

section.titre_logo div.logoImpot {
    margin-top: 50px;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* margin: 20px; */
    border-radius: 5px;
}

section.titre_logo div.logoImpot img {
    width: 200px;
    margin: 20px;
}

section.titre_logo div.logo img {
    width: 90%;
}

section.titre_logo div.slogan p {
    text-align: center;
    font-size: xx-large;
    font-weight: 700;
}

section.titre_logo div.slogan {
    margin-bottom: 20px;
    font-size: 30px;
}

/* **********************************
**** Section "Présentations" *****
********************************** */
section.quisuisje {
    height: auto;
    font-size: x-large;
    padding: 60px 50px 60px;
}

    /* ****************************
***** Section Avantages *****
**************************** */
section.prestation h2.section_titre {
    height: 100px;
}

span {
    color: var(--jaune)
}

.itemPrestation {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 80px 20px 40px;
    color: white;
}

.itemPrestation div {
    width: 50%;
    height: auto;
    overflow: hidden;
}

.itemPrestation div img {
    margin: 10px;
    width: 60%;
    height: auto;
}

.itemPrestation div p {
    font-size: 15px;
}

    /* ***************************
    ***** Section Prestations *****
    *************************** */

.modal-content {
    width: 100%;
}

.modal-content-text {
    margin-top: 50px;
}




    /* ***************************
    ***** Section Contact *****
    *************************** */
        
    section.contact_map .content {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin-top: 20px;
    }
     
    section.contact_map .contact img {
        margin-top: -60px;
    }
    
    .contact_map .content div.content1 {
        width: 100%;
    }
    
    .contact_map .coordonnees {
        padding-bottom: 30px;
        justify-content: center;
    }

    .contact_map.coordonnees2 {
        text-align: center;
    }

    
    .content .tel {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .content .mail {
        font-size: 25px;
    }
    
    .contact_map .telIcon {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        margin-bottom: 10px;
        /* margin-left: 50px; */
    }
    
    .contact_map .emailIcon {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        margin-bottom: 10px;
        /* margin-left: 50px; */
    }
    
    .contact_map .telIcon i {
        margin-right: 10px;
        color: var(--jaune)
    }
    
    .contact_map .emailIcon i {
        margin-right: 10px;
        color: var(--jaune)
    }
    
    .contact_map .content div.contact img {
        width: 60%;
        height: 60%;
        object-fit: cover;
    }
    
    .contact_map .content div.map img {
        width: 100%;
        height: 100%;
        padding: 30px;
        object-fit: cover;
    }
    

    /* ******************
    ***** Footer *****
    ****************** */
    
}