/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 25 oct. 2016, 18:22:58
    Author     : Fertus
*/
*{
    box-sizing: border-box;
    outline: none;
}
body{
    background-color: #f8f8f8;
}
header{
    /*background-color: #666;*/
    background: #1c1b1c;
    padding: 0 10%;
}
#presentation{
    padding: 2em 10%;
    /*text-align: center;*/
    background-image: url(img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-top: 2px solid #2274a1;
    border-bottom: 1px solid #2769bd;
    -moz-box-shadow: 0px 1px 2px 0px #656565;
    -webkit-box-shadow: 0px 1px 2px 0px #656565;
    -o-box-shadow: 0px 1px 2px 0px #656565;
    box-shadow: 0px 1px 2px 0px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=5);
}
#presentation::after{
    content: '';
    display: block;
    clear: both;
}
/*#presentation img{
    width: 200px;
    float: right;
}*/
.description{
    display: inline-block;
    width: 70%;
    vertical-align: top;
    color: white;
    text-shadow: 0px 2px 1px rgb(31, 30, 30);
    /* padding-left: 10%; */
    text-indent: 2em;
}
.description h1{
    font-size: 3em;
    text-transform: capitalize;
    margin-top: .5em;
    margin-bottom: .2em;
    font-family: 'Rubik', sans-serif;
    letter-spacing: -2px;
}
.description p{
    font-size: 1.5em;
}
.image{
    display: inline-block;
    width: 30%;
}
.image img{
    width: 300px;
    float: right;
    margin-right: 30px;
    margin-bottom: 1.5em;
}
main{
    text-align: center;
    /*width: 70%;*/
    margin: 0 10%;
    /*margin: 0 auto;*/
    background-color: white;
    padding: 4em;
    border-radius: 10px;
    position: relative;
    top: -50px;
    -moz-box-shadow: 0px 0px 5px 0px #656565;
    -webkit-box-shadow: 0px 0px 5px 0px #656565;
    -o-box-shadow: 0px 0px 5px 0px #656565;
    box-shadow: 0px 0px 5px 0px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=5);
}
main h2{
    font-size: 1.5em;
    margin-bottom: 2em;
}
main a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 1em;
    border: 1px solid #1C698B;
    background-color: #1C698B;
    border-radius: 10px;
}

main a:hover{
    color: #1C698B;
    background-color: white;
    cursor: pointer;
}
form {
    width: 60%;
    margin: 0 auto;
    display: none;
}
form label {
    display: block;
    text-align: left;
    font-size: 1.2em;
    color: #bdbdbd;
    margin-bottom: .5em;
}

form input {
    display: block;
    width: 100%;
    border: 1px solid gainsboro;
    border-radius: 5px;
    padding: .5em;
    font-size: 1.3em;
    margin-bottom: 1em;
    letter-spacing: 1px;
}
#acces{
    background-color: rgba(220, 220, 220, 0.45);
}
.msg{
    display: none;
    padding: 1em;
    margin-bottom: 1em;
}
.msg-error{
    background-color: rgba(255, 0, 0, .1);
    color: red;
}
.msg-succes{
    background-color: rgba(0, 128, 0, .1);
    color: green;
}
form button {
    width: 100%;
    padding: .5em;
    background-color: #1C698B;
    border: 1px solid #1C698B;
    border: 0;
    color: white;
    border-radius: 5px;
    font-size: 1.3em;
}
form button:hover {
    background-color: white;
    border: 1px solid #1C698B;
    color: #1C698B;
    cursor: pointer;
}
footer p{
    padding: 0 11%;
    position: relative;
    top: -45px;
    color: #787878;
    font-size: .9em;
}

@media screen and (max-width:1190px){
    
    .description h1{
        font-size: 1.5em;      
    }
    .description p {
        font-size: 1em;
    }
    .image img {
        width: 200px;
    }
}

@media screen and (max-width:799px){
    header img{
        display: block;
        width: 150px;
        margin: 0 auto;
        padding: .5em 0;
    }
    #presentation{
        padding: 2em 0;
        text-align: center;
    }
    .image {
        display: none;
    }
    .description {
        display: block;
        width: 100%;
        text-indent: 0;
    }
    main{
        top: 0;
        margin: 0;
        border-radius: 0;        
        padding:  4em 0;
    }
    .description h1 {
        font-size: 1.3em;
    }
    .description p {
        font-size: .9em;
    }
    form{
        width: 80%;
    }
    form button{
        font-size: 1em;
    }
    footer p{
        top: 5px;
        text-align: center
    }
    
    

}