/*
style.css
---------
 
Par Antoine SURVILLE
*/

 html {
    height: auto;
}

body
{
    font-family: Verdana;
    color: #ffffff;
	width: 100%;
	text-align: center;
	margin: 0;
	background-image: url('images/foret.jpg');
	font-size: 0.9em;
}

#main
{
    width: 900px;
	text-align: center;
	display: inline-block;
	
    padding: 20px 40px;
    height: 100%;
    margin: 0 20px;
}

header {
	display: flex;
}

#logo {
	    display: inline-block;
		position: relative;
}

#logo2{
	    display: none;
		position: relative;
}

#logo img
{
    display: block;
	max-width: 100%;
    height: auto;
}

#logo2 img
{
    display: block;
	max-width: 100%;
    height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #6DE66F;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .5);
}

#logo:hover .overlay {
  opacity: 1;
}

.text {
  color: #ffffff;
  font-size: 2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#titre
{
    width: 560px;
	vertical-align: top;
	text-align: center;
	display: inline-block;
	margin: auto;
}

#titre p
{
    text-align: center;
    color: #ffffff;
}

#titre a:link {
    color: #ffffff;
}

#titre a:hover {
    color: #6DE66F;
}

h1
{
    margin: 10px 0 10px 0;
	text-align: center;
	font-size: 2.8em;
	font-weight: bold;
	color: #ffffff;
}

h2
{
    margin: 10px 0 10px 0;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	color: #6DE66F;
}

h3
{
    margin: 10px 0 10px 0;
	text-align: left;
	font-size: 1.6em;
	font-weight: bold;
	color: #031063;
}

h4
{
    margin: 10px 0 10px 0;
	text-align: left;
	font-size: 1.2em;
	font-weight: bold;
	color: #1C2B87;
}

a:link {
    color: #2B2B2E;
}

a:visited {
    color: #6DE66F;
}

a:hover {
    color: #6DE66F;
}

a:active {
    color: blue;
}

p
{
    color: #2B2B2E;
	text-align: left;
}

li
{
   color: #2B2B2E;
   text-align: left;
}

section
{
    margin : 0 0 20px 0;
	padding: 10px;
	background-color: #ffffff;
	opacity: 0.8;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, .5);
}

#missions
{
    vertical-align: top;
	display: block;
	margin: 30px 10px;
}

#competences
{
    vertical-align: top;
	display: block;
	margin: 30px 10px 30px 10px;
}

#formation
{
    vertical-align: top;
	display: block;
	margin: 30px 10px;
}

#notice
{
	display: inline-block;
	margin: 10px;
	padding: 10px;
	vertical-align: top;
    color: #404040;
	text-align: left;
	font-style: italic;
	font-size: 0.8em;
}

input,select
{
	border: 1px solid #d2d2d2;
    font-size: 1em;
    color: #747474;
	height: 29px;
    padding: 0 10px;
    margin-right: 1%;
    width: 100%;
    box-sizing: border-box;
	vertical-align: middle;
}

.bouton
{
	cursor: pointer;
	width: 100%;
	height: 100%;
    line-height: 34px;
    border: 1px solid #720047;
    background-color: #720047;
    color: #fff;
    border-radius: 1px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.bouton:hover
{
	opacity: 0.8;
}

a.bouton
{
	display: block;
	text-decoration: none;
}

footer
{
	text-align: center;
	padding: 20px;	
}

footer a:link {
    color: #ffffff;
}

footer a:hover {
    color: #6DE66F;
}

#legende
{
	text-align: center;
	font-size: 0.7em;
	font-style: italic;	
}

@media only screen and (max-width: 950px) {
	
	#main {
		width: 100%;
		margin: 0;
		padding: 10px 0 20px;
	}
	
	header {
		display: block;
	}
	
	#logo {
	    display: none;
	}

	#logo2{
	    display: block;
	}
	
	#titre
	{
		width: 90%;
	}
	
	.bouton
	{
		margin-top: 20px;
	}
	
	img
	{
	   max-width: 100%;
	}
	
	input,select 
	{
		padding: 0 10px;
		width: 100%;
	}
	
}