/*
Site: 		Histoire de Soeurs
Url: 		https://www.histoiredesoeurs.com/
Autor: 		MonWebPro.com
Version: 	1.0 - September 2024
*/

@font-face {
	font-family: 'icomoon';
	src:  url('fonts/icomoon.eot?b2om2p');
	src:  url('fonts/icomoon.eot?b2om2p#iefix') format('embedded-opentype'),
	url('fonts/icomoon.ttf?b2om2p') format('truetype'),
	url('fonts/icomoon.woff?b2om2p') format('woff'),
	url('fonts/icomoon.svg?b2om2p#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.icon {
	font-family: 'icomoon';
}

html, body {
	width: 100%;
	height: 100%;
}
div.clearboth {
	width: 100%; 
	height: 0;
	clear: both; 
	float: none;
}

/* HEADER */
header {
	width: 100%;
    height: 130px;
    position: fixed;
    font-family: "Josefin Sans", sans-serif;
    background-color: #fff;
    z-index: 100;
    top: 0;
    left: 0;
}

header a.mini {
    display: none;
}

header div.top {
    width: 100%;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}
header div.social {
    width: 100%;
    height: 80px;
    display: grid;
    align-items: center;
    margin: 0; 
    padding: 5px;
}
header ul.social {
    width: 25px;
    height: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
header ul.social li {
    display: inline-block;
    width: 25px;
    height: 25px;
}
header ul.social li a {
    display: block;
    width: 25px;
    height: 25px;
    text-decoration: none;
    color: #82716b;
    transition: 0.5s;
}
header ul.social li a:hover {
    color: #000;
    transition: 0.5s;
}

header div.logo {
    width: 100%;
    height: 80px;
    padding: 5px 0;
}
header div.logo a {
    width: 225px;
    height: 70px;
    display: block;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    position: relative;
}
header div.logo #mm {
    width: auto;
    height: 70px;
}
header div.logo #hds {
    width: auto;
    height: 20px;
    position: absolute;
    top: 33px;
    left: 0;
}

header div.icons {
    width: auto;
    position: absolute;
    top: 0; 
    right: 0;
    height: 80px;
    padding: 0 15px;
}
header ul.icons {
    width: auto;
    height: 80px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
}
header ul.icons li {
    width: 25px;
    height: 25px;
    margin: 0 10px;
    display: inline-block;
    position: relative;
}
header ul.icons svg {
    display: block;
    width: 21px;
    height: 21px;
    fill:#82716b;
    transition: 0.5s;
}
header ul.icons svg:hover {
    fill:#000;
    cursor: pointer;
    transition: 0.5s;
}
header ul.icons li span.panier {
    display: block;
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #F00;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

header nav {
    width: 100%; 
    height: 50px;
    overflow: hidden;
}
header nav ul {
    width: 100%; 
    max-width: 1200px;
    height: 50px;
    margin: 0 auto;
    padding:0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: solid 2px #82716b;
}
header nav li {
    width: 100%; 
    height: 50px;
}
header nav li a {
    display: block;
    width: 100%; 
    height: 50px;
    line-height: 50px;
    text-align: center;
    color:#82716b;
    text-decoration: none;
    transition: 0.5s;
    font-size: 1.2em;
}
header nav li a.active,
header nav li a:hover {
    color:#d6cac6;
    border-bottom: solid 2px #d6cac6;
    transition: 0.5s;
}
header nav li.special a {
    background: #82716b;
    color: #fff;
    transition: 0.5s;
}
header nav li.special a:hover {
    border-bottom: solid 2px #82716b;
    transition: 0.5s;
}

/*** MAIN ***/
main {
    width: 100%;
    font-family: "Josefin Sans", sans-serif;
    position: relative;
    z-index: 10;
    margin: 130px 0 0 0;
    padding: 20px 0 0;
}

/*** FOOTER ***/
footer {
	width: 100%;
    display: block;
    background: #d6cac6;
    font-family: "Josefin Sans", sans-serif;
    color: #82716b;
    margin: 0 auto;
}
footer div.main {
    width: 1200px;
    height: auto;
    margin: 0 auto;
}
footer div.main div.clearboth {
    width: 100%;
    height: 50px;
    margin: 0;
    clear: both; 
    float: none;
}
footer div.main div.content {
    width: 100%;
    height: auto;
}
footer div.main div.content div.logo {
    list-style: none;
    float: left;
    width: calc(100% / 4);
    height: 250px;
    vertical-align: top;
    margin: 0;
    padding: 0;    
}
footer div.main div.content div.logo a {
    display: block;
    width: 100%;
    height: 100%;
}
footer div.main div.content div.logo a img {
    display: block;
    width: 90%;
    height: auto;
}
footer div.main div.content ul {
    list-style: none;
    float: left;
    width: calc(100% / 4);
    vertical-align: top;
    margin: 0;
    padding: 0;
}
footer div.main div.content ul li.head {
    text-align: left;
    margin: 30px 0;
}
footer div.main div.content ul li.head strong {
    display: inline;
    width: auto;
    border-bottom: 1px solid #82716b;
    padding: 14px 30px;
}
footer div.main div.content ul li a {
    color: #82716b;
    text-decoration: none;
    transition: all 0.5s ease;
}
footer div.main div.content ul li a:hover {
    color: #333;
    text-decoration: underline;
    transition: all 0.5s ease;
}
footer div.main div.content ul li a span {
    display: inline-block;
    margin-right: 10px;
}

footer div.footer {
    margin: 0;
    padding: 0;
    color: #fff;
    padding: 30px 0;
    width: 100%;
    background: #82716b;
}
footer div.footer p {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
footer div.footer p a {
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease;
}
footer div.footer p a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: all 0.5s ease;
}

@media screen and (max-width: 1200px) {
    header div.contact div.content {
        width: 100%;
    }
    header div.main div.content {
        width: 100%;
    }
    header nav ul {
        width: 100%;
    }
    header nav ul li a {
        font-size: 1.1em;
    }

    footer div.main {
        width: 100%;
    }
    footer div.footer {
        padding: 30px;
    }
    footer div.footer p {
        width: 100%;
    }
}
@media screen and (max-width: 840px) {
    header nav ul li a {
        font-size: 0.9em;
    }
}
@media screen and (max-width: 680px) {
    header {
        height: 80px;
    }

    header div.top {
        display: block;
    }
    header div.logo {
        width: 225px;
        margin: 0 auto;
    }
    header div.social {
        display: none;
    }

    header a.mini {
        display: flex;
        position: fixed;
        left: 0;
        top: 0;
        width: 80px;
        height: 80px;
        line-height: 80px;
        color: #82716b;
        font-size: 2em;
        text-decoration: none;
        align-items: center;
        justify-content: center;
    }

    header nav ul {
        display: none;
        position: fixed;
        width: 100%;
        background: #fff;
        height: auto;
    }

    main {
        margin: 80px 0 0 0;
    }
}
@media screen and (max-width: 360px) {
    header div.logo {
        width: 120px;
    }
    header div.logo a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    header div.logo a img {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
