/*
Theme Name: Pur Ble - stéréozoo
Theme URI: /
Author: Guiraud Maxime
Author URI: /
Description: Theme de la landing page Stéréozoo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, pink, blue, white, yellow, light, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: bipush

*/

@font-face {
    font-family: 'CoasterSans';
    src: url('../ressources/Police/CoasterSans-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../ressources/Police/jost/Jost-400-Book.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../ressources/Police/jost/Jost-400-BookItalic.ttf');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Jost';
    src: url('../ressources/Police/jost/Jost-700-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../ressources/Police/jost/Jost-700-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

/*	Les variables : */
:root{
	--primary-color: #F55404;
	--secondary-color: #D68100;
	--background-color: #FFFADB;
	--opposite-color: #003B36;
	--font-color:black;
	--advert-color:white;
	--advert-secondary-color: black;
	--reading_marge: 20%;
}

header {
    /*background-color: rgba(255, 255, 255, 0.5);*/
}

.homeBackground{		
	background-color: #B4C7D0;
    background-image: url('../ressources/bg01.png');
    background-size: auto;
}

.content{
    font-family: 'Jost', sans-serif;
    line-height: 2.5em;
}

#stz_intro {
    padding: 4em 0em 10em 0em;
}
#stz_intro_texte h1{
    font-size: 6em;
	font-family: 'CoasterSans', sans-serif;
    color: #1C1B1E;
}
#stz_intro_texte{
    margin: 0% 15%;
    max-width: 710px;
}
#stz_intro_texte p{
    padding-bottom: 2em;
    font-size: 1.5em;
}
.cta{
    background-color: white;
    text-align: center;
    padding: 1em;
    border-radius: 2em;
}
.cta:hover{
    background-color: #e9e9e9;
}

#chiffres{
    background-color: #cecece;
    padding: 9em 15%;
    background-image: linear-gradient(to right, var(--background-color) 1px, transparent 1px), linear-gradient(to bottom, var(--background-color) 1px, transparent 1px);
	background-size: 1em 1em;
	background-repeat: repeat;
	background-position: top right;
}

#chiffres_contexte{
    font-size: 2em;
}

#chiffres_contexte h2{
    font-size: 2em;
    font-weight: bold;
}

#chiffres #cartes{
    padding: 3em 0%;
    display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2em 1em;
}

.carte{
    background-color: white;
    width: 3.5em;
    text-align: right;
    padding-top: 3em;
    font-size: 2em;
    border: solid 0.25em white;
    border-radius: 5%;
}

.carte:hover{
    background-color: #e9e9e9;
    border-color: #e9e9e9;
    cursor: pointer;
}

.carte_popup{
    background-color: white;
    border: none;
    width: 50%;
    padding: 3em;
    filter: drop-shadow(black 0em 0em 1em);
    font-size: 1.5em;
    border-radius: 0.5em;
    line-height: 1.5em;
}

.carte_popup .close{
    text-align: right;
}
.carte_popup .close:hover{
    cursor: pointer;
}

.carte_popup div{
    /*padding-top: 1.5em;*/
}

.carte_popup .num_carte{
    font-size: 0.8em;
    margin-bottom: 1em;
}

.carte_popup .categorie{
    margin-bottom: 0.5em;
}

.carte_popup .situation{}

.carte_popup .description{
    margin: 2em 0em;
}

#info{
    background: white;
    padding: 2em;
}

#info summary:hover{
    cursor: pointer;
}

#info details a{
    margin-left: 2em;

}

#discover{
    padding: 3em 0em 8em 0em;
    margin: 0% 15%;
    font-size: 1em;
}
#discover p{
    margin: 2em 0em;
}

/*Footer*/
footer{
	margin-top: 0em;
    padding-top: 6em;
	text-align: center;
    background-color: #B4C7D0;
}
footer #prod{
    margin: 0em;
    font-size: 1em;
}

footer img{
    width: 8em;
    margin: 0em;
    margin-bottom: 1em;
}
footer #footerBlock{
	margin-top: 3em;
	text-align: left;
	background-color: white;
	padding: 3em 2em 1em 2em;
}

/***** TEMP *****/
#stz_intro_temp{
    padding: 18em 0em 26em 0em;
    /*background-color: #5ba0c0;*/
}
#stz_intro_texte_temp{
    margin: 0% 15%;
    max-width: 710px;
}
#stz_intro_texte_temp h1{
    font-size: 6em;
	font-family: 'CoasterSans', sans-serif;
    color: #1C1B1E;
}
#stz_intro_texte_temp p{
    padding-bottom: 2em;
    font-size: 1.5em;
}
.cta_temp{
    background-color: white;
    text-align: center;
    padding: 1em;
    border-radius: 3em;
}
.cta_temp:hover{
    /*background-color: #e9e9e9;*/
    cursor: inherit;
}


/***** MOBILE ********/

@media only screen and (max-width: 811px){

    #stz_intro {
        padding: 3em 0em 6em 0em;
    }
    #stz_intro_texte h1{
    font-size: 3em;
    }
    #stz_intro_texte{
        margin: 0% 15%;
        max-width: 710px;
        padding: 1em;
    }

    #stz_intro_temp{
        padding: 12em 0em 20em 0em;
    }

    #stz_intro_texte_temp h1{
    font-size: 4em;
    }

    #stz_intro_texte_temp{
        margin: 0% 5%;
        max-width: 710px;
        padding: 1.5em;
        background-color: #ffffff69;
    }

    #chiffres{
        background-color: #cecece;
        padding: 4em 5%;
    }

    .carte_popup{
        width: 80%;
        padding: 1em;
        filter: drop-shadow(black 0em 0em 1em);
        font-size: 1em;
        border-radius: 0.5em;
        line-height: 1.5em;
    }
}

