﻿/* --------------------------------------------------------------------------------- */
/* Corps de la Page (Background, etc...) */

@keyframes GROOVY {
	from{transform: rotateZ(0deg);}
	to	{transform: rotateZ(360deg);}
}
	
body {
	background-color: white;
/*	animation: GROOVY linear 60s infinite;*/
}

@keyframes BackG {
	from{background: red;}
	16.6%{background: yellow;}
	33.3%{background: green;}
	49.9%{background: blue;}
	66.5%{background: cyan;}
	82.1%{background: purple;}
	to{background: red;}
}

#Background {
	border: 1px gray solid;
	animation: BackG linear 60s infinite;
}

#Overlay {
	padding-left: 150px;
	padding-right: 150px;
	background: linear-gradient(to right, white, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5),
												 rgba(255, 255, 255, 0),
												 rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9), white);
}

#Boite {
	background-color: white;
	padding: 10px;
	margin: auto;
	border: 1px gray;
	border-style: none solid none solid;
	border-radius: 0 20px 0 20px;
	width: 900px;
}

/* --------------------------------------------------------------------------------- */
/* Entête */

#HOME {
	display: block;
}

header {
	padding: 40px 0px 40px 60px;
	margin-bottom: 10px;
	border: 3px black solid;
	border-radius: 0 10px 0 10px;
	background: white;
	perspective: 1000px;
	transition: 1s
}

@keyframes Rotate {
	from{transform: rotateX(0deg);}
	to	{transform: rotateX(360deg);}
}

#Titre {
	transform: rotateX(0deg);
	transition: 1s;
}

header span {
	position: relative;
	top: -25px;
	left: 100px;
}

header:hover #Titre {
	color: orange;
	animation: Rotate linear 8s infinite 1s;
}

/* --------------------------------------------------------------------------------- */
/* Panneau de Navigation */

nav {
	margin-bottom: 10px;
	border: 2px gray solid;
}

nav a {
	display: inline-block;
	text-align: center;
	width: 16.667%;
	transition: 0.2s;
}

nav a:hover {
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) inset;
}

nav a:nth-child(1):hover {background: rgba(255, 255, 0, 0.1);}
nav a:nth-child(2):hover {background: rgba(0, 255, 255, 0.1);}
nav a:nth-child(3):hover {background: rgba(255, 0, 0, 0.1);}
nav a:nth-child(4):hover {background: rgba(255, 128, 0, 0.1);}
nav a:nth-child(5):hover {background: rgba(255, 0, 255, 0.1);}
nav a:nth-child(6):hover {background: rgba(0, 0, 0, 0.1);}

#c1:not(:hover):target {background: rgba(255, 255, 0, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}
#c2:not(:hover):target {background: rgba(0, 255, 255, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}
#c3:not(:hover):target {background: rgba(255, 0, 0, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}
#c4:not(:hover):target {background: rgba(255, 128, 0, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}
#c5:not(:hover):target {background: rgba(255, 0, 255, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}
#c6:not(:hover):target {background: rgba(0, 0, 0, 0.1); box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.3) inset;}

.LienB {
	color: black;
	text-decoration: none;
}

.Link {
	font-weight: bold;
	text-decoration: underline;
}

/*nav + div a {
	font-weight: bold;
}*/

nav + div {
	border: 2px gray solid;
	padding-left: 5px;
	margin-bottom: 0px;
	transition: 0.5s;
}

#Lex:hover {
	border-color: lawngreen;
	transition: 0.5s;
}

#Lex a {
	cursor: help;
}

.A {
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	color: gray;
	font-style: italic;
}

/* --------------------------------------------------------------------------------- */
/* Sections en général */

section {
	border: 2px gray solid;
	padding: 10px;
	margin: 0 0 5px 0;
	overflow: overflow;
	font-family: Georgia, sans-serif;
	transition: 1s;
}

section:first-child {
	border-radius: 10px 0 0 0;
}

img {
	border: 2px gray solid;
	transform: scale(1.0, 1.0);
	transition: 0.2s;
}

img:hover {
	border-color: black;
	transform: scale(1.03, 1.03);
	z-index: 10;
	transition: 0.2s;
	cursor: crosshair;
}

.img {
	display: block;
	text-align: center;
	z-index: 0;
}

p:not(.A) {
	text-align: justify;
}

/* --------------------------------------------------------------------------------- */
/* Pied de page */

footer {
	color: gray;
	border: 2px gray solid;
	padding: 10px;
	border-radius: 0 0 0 10px;
}

footer h5 {text-align: center; transform: rotate(0deg); transition: 1s;}

@keyframes Roll {
	from	{transform: rotate(0deg);}
	25%		{transform: rotate(1.5deg);}
	75%		{transform: rotate(-1.5deg);}
	to		{transform: rotate(0deg);}
}

footer:hover h5 {
	color: purple;
	animation: Roll linear 2s infinite 1s;
}

footer a {
	color: gray;
	text-decoration: none;
	transition: 1s;
}

footer a:hover {color: red; transition: 1s;}

/* --------------------------------------------------------------------------------- */
/* Extra */

/* Div de contrôle */
.Ctrl {
	display: inline-block;
	width: 150px;
	height: 50px;
	background-color: lawngreen;
	animation: Rotate linear 2s infinite;
}

/* Viva la resolucion! */
div.vlr {
	display: inline-block;
}

div.vlr img.vlr {
	z-index: 1;
	position: fixed;
	bottom: -310px;
	right: 20px;
	transition: 0.2s;
}

div.vlr:hover img.vlr:not(:hover) {
	bottom: 0;
	transition: 6s;
}

/* .GIF */
.gif {
	border: 2px gray solid;
	padding: 6px 0 0 6px;
	overflow: hidden;
}

.gif:hover {
	border-color: purple;
}

.gif div {
	z-index: 2;
	border: 2px black solid;
	background-color: white;
	position: fixed;
	top: 10%;
	right: 10%;
	transform: scale(0.0, 0.0);
	transition: 2s;
}

.gif div .A {
	padding: 6px 0 0 6px;
}

.gif:hover div{
	transform: scale(1.0, 1.0);
	transition: 0.5s;
}

.gif div p span {
	color: white;
	transition: 0.5s;
}

.gif div:hover p span {
	color: lawngreen;
	transition: 0.2s;
}