﻿
/* Eléments principaux de la page */

html body
{
    height:100%;
    margin:0;
    background: black;
    font-family: system-ui,Segoe UI,Roboto,'Trebuchet MS', Arial, sans-serif;
    color: #DAA520;
    padding: 0;
    overflow-x: hidden;
}
canvas{
    display:block;
    position:fixed;
    inset:0;
    z-index:999999;
    pointer-events:none
}

hr{
    border: none; 
    border-top: 2px solid #1E792C;
}
#page
{
    width: 900px;
    margin: auto;
}

section h1, nav a
{
    font-family: 'Croissant One', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */

header
{
    border-bottom:3px solid #1E792C;
	margin-bottom:20px;
}

#titre_page
{
    display: inline-block;
}

header h1
{
    font-family: 'Rambla', sans-serif;
    font-size: 2.5em;
    font-weight: normal;
	display: inline-block;
    margin-bottom: 0px;
}


header h2
{
    font-family: 'Croissant One', sans-serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation */

nav
{
    display: inline-block;
    width: 890px;
    text-align: right;
}

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

nav li
{
    display: inline-block;
    margin-left: 15px;
}

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

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}


/* Corps */

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 625px;
    margin-right: 15px;
}


article p
{
    font-size: 0.8em;
}

aside
{
    position: relative;
    width: 235px;
    background-color: red;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: #DAA520;
    font-size: 0.9em;
	margin-top:20px;
}


#photo
{
    text-align: center;
}


/* Footer */

footer
{
    padding-top: 25px;
	font-size:0.6em;
	color:#897962;
	text-align:center;
}

footer a, footer a:link, footer a:visited
{
	color:#897962;
	text-decoration:none;
}
.neige{
    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: auto;
    object-fit: fill;

    z-index: -1;
    pointer-events: none;
}

/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_page, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie article, .old_ie aside
{
    display: inline;
}

/* Quelques ajustements pour les vieilles versions d'IE pour la maquette CV*/

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}
