/* Définition des polices personnalisées */

@font-face {
    font-family: 'MaSuperPolice';
    src: url('font/kaushan-script/KaushanScript-Regular.otf');
}

@font-face {
    font-family: 'MaPolice';
    src: url('font/OpenSans/OpenSans-Regular.ttf');
}

/* Eléments principaux de la page */

body
{
	font-size: large;
	font-family: 'MaPolice';
}

#bloc_page
{
    width: 900px;
    margin: auto;
}

footer h1, nav a
{
    font-family: 'MaPolice', Arial, serif;
    font-weight: normal;
}


/* Header */

header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#titre_principal
{
    display: flex;
    flex-direction: row;
}

#logo
{
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

#logo img
{
    width: 150px;
    height: 105px;
	padding-bottom: 6px;
}


/* Navigation */

nav ul
{
    list-style-type: none;
    display: flex;
}

nav li
{
    margin-right: 15px;
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
	text-decoration: underline;
    color: blue;
}


/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 200px;
    border-radius: 5px;
    background: url('images/banniere.jpg') no-repeat;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
}

#banniere_description
{
    color: white; 
}

#banniere_description h1
{
	font-family: 'MaSuperPolice', Arial, serif;
    font-size: 2.5em;
    font-weight: normal;
    margin: 0 0 0 10px;
	text-align: center;
}	

h2
{
    font-family: 'MaPolice', Arial, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: bold;
	text-align: center;
}	



/* Corps */


.presentation
{
	box-shadow: 0px 4px 4px #1c1a19;
	background: #EDEDEF;
	font-family: 'MaPolice', Arial, serif;
	font-size: 0.8em;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	border-radius: 5px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.puce 
{
	list-style: square;
}


aside
{
    flex: 1.2;
    position: relative;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

.imageFlottante
{
	float: left;
	margin-right:20px;
	margin-bottom:20px;
}


/* Footer */

footer
{
	bottom: 5px;
}

#block_footer
{
    margin-top: 15px;
    height: 40px;
    border-radius: 5px;
    background: black;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
	position: relative;
}

#footer_description
{
	padding-top: 10px;
	padding-bottom: 10px;
    color: white; 	
}

#footer_description h2
{
    font-size: 0.8em;
	font-family: 'MaPolice', Arial, serif;
	text-align: center;
}


/* Responsive */

@media all and (max-width: 1024px)
{
    #bloc_page
    {
        width: auto;
    }
	
	nav
    {
        width: auto;
        text-align: left;
    }
    
    nav ul
    {
        flex-direction: column;
    }

    nav li
    {
        padding-left: 4px;
    }
    
    nav a
    {
        font-size: 1.1em;
    }
    
    nav a:hover
    {
        border-bottom: 0;
    }
	
	section
    {
        flex-direction: column;
    }

    article, aside
    {
        width: auto;
        margin-bottom: 15px;
    }
	

}