/* general */

*
{
    margin: 0;
    padding: 0;
}

body
{
    font-family: arial, sans-serif;
    font-size: 15px;
}
h1
{
    font-family: 'Crete Round', serif;
    font-size: 45px;
    color: #444;
}
h2
{
    color: #444;
    font-size: 50px;
}
h3
{
    font-size: 30px;
    color: #444;
}
h4
{
    font-size: 24px;
    color: #444;
}
p
{
   line-height: 20px;   /* espacement entre les lignes */
    color: #777;
}
ul
{
    list-style: none;   /* enléve les effets de style  */
}
a
{
    text-decoration: none;  /* enlève la déco du texte, ici c'est le souligné */
    color: #444;
}
.wrapper    /* centrage globale du texte */
{
    width: 940px;
    margin: 0 auto;
    padding: 0 10px;
}
.orange
{
    color: #ff7a00;
}
.clear
{
    clear: both;    /* utilisé cette class entre des elements flotants plutiot que des marges evite des prod de positionnement */
}
small
{
    font-size: 13px;
    font-style: italic;
}
header
{
    height: 120px;
}

header h1
{
    float: left;
    margin-top: 32px;
}
header nav
{
    float: right;
    margin-top: 50px;
}
header nav ul li
{
    float: left; /* agit sur chacun des mots pour flotter a gauche - pour un positionnement plus sympa */
    display: inline-block;  /* met le texte sur une ligne */
}
header nav ul li a
{
    text-transform: uppercase;  /* met le text en majuscule */
    font-weight: bold;
    margin-right: 20px; /* espacement des mots */
}


/* main image */

#main-image /* mise en place de l'image */
{
    height: 500px;  /* hauteur de l'image */
    background: url('Images/main.jpg') center;  /* lien et centarge de l'image */
}
#main-image h2
{
    font-weight: normal;    /* on met le texte par défaut pour le style - la ça a enlever bold */
    text-transform: uppercase;  /* met le text en majuscule */
    text-align: center;
    padding: 150px 0px 40px 0px;    /* centrage haut droite bas gauche */
    margin-bottom: 10px;    /* marge entre texte et bouton - pas convaincu vu qu'il y en a deja une */
}
.button-1
{
    display: block; /* attribut du bouton */
    width: 120px;
    height: 50px;
    background: #ff7a00;
    color: #fff;    /* couleur texte */
    font-size: 20px;
    margin: 0 auto;
    line-height: 50px;  /* hauteur de ligne, pour positionner le texte */
    text-align: center;
    border-radius: 3px; /* créer un arondi sur le bouton */
}
.button-1:hover
{
    background: #02b8dd;
}


/* steps */

#steps ul
{
    margin: 80px 0;
}
#steps ul li
{
    width: 300px;
    float: left;
    padding-top: 148px;
    text-align: center;
    margin-right: 10px;
}
#steps h4
{
    text-transform: uppercase;  /* met le text en majuscule */
    margin-bottom: 20px;    /* espacement en dessous du texye */
}
#steps p
{
    margin-bottom: 20px;
}
#step-1
{
    background: url('Images/steps-icon-1.png') no-repeat top center; /* mise en place de l'image, no/repeat sinon elle se répéte tout le long du container */
}
#step-2
{
    background: url('Images/steps-icon-2.png') no-repeat top center;
}
#step-3
{
    background: url('Images/steps-icon-3.png') no-repeat top center;
}

/* possibilyties */

#possibilyties
{
    background-color: #efefef;
    padding: 60px 0;
}
#possibilyties article
{
    width: 460px;
    height: 270px;
    float: left;    /* sans float les images du container serait une au dessus de l'autre */
    border-radius: 10px;
}
#possibilyties article:first-child  /* premier element, ici premiere photo */
{
    margin-right: 20px;
}
#possibilyties p
{
    text-align: center;
    margin-bottom: 20px;
}
.overlay    /* corresponr au carré transparent sur l'image  */
{
    background: rgba(255,255,255,0.95); /* dernier element donne la transparence  */
    height: 100%;
    width: 190px;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    text-align: center;
    box-sizing: border-box; /* fait que la box blanche ne dépasse pas de l'image de fond */
}
article h4
{
    border-bottom: 1px solid #ddd;  /* donne le trait sous "Parter en famille" */
    padding-bottom: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}
.button-2
{
    color: #fff;
    background-color: #ff7a00;
    padding: 6px 20px;
    border-radius: 3px;
}
.button-2:hover
{
    color: #fff;
    background-color: #02badd;
}

/* Contact */

#contact
{
    padding: 60px 0;
    text-align: center;
}
#contact h3
{
    width: 400px;
    text-transform: uppercase;
    margin: 0 auto 20px auto;
    border-bottom: 1px solid #02b8dd;
    padding-bottom: 20px;
}
form
{
    margin: 60px 0 20px 0;
}
label
{
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
    color: #777;
}
input[type="text"]
{
    padding: 10px;
    font-size: 20px;
    margin-right: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
}
.button-3
{
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 11px;
    background-color: #02b8bb;
    border-style: none;
    border-radius: 3px;
}
.button-3:hover
{
    color: #fff;
    background-color: #444;
}

/* Footer */

footer
{
    height: 260px;
    background-color: #444;
}
footer h1
{
    color: #fff;
    text-align: center;
    padding-top: 80px;
}
.copyright
{
    text-align: center;
    font-weight: bold;
    padding-top: 30px;
    color: #777;
}