/* GENERAL */

*
{
    margin: 0;
    padding: 0;
}
body 
{
    font-family: Arial,sans-serif;
    font-size: 15px;
}
h1, h2,h3,h4
{
  color: #444;  
}
h1
{
    font-family: 'Crete Round', serif;
    font-size: 45px;
}
h2
{
    font-size: 55px;
}
h3
{
    font-size: 30px;
}
h4
{
    font-size: 24px;
}
*
{
    box-sizing: border-box;
}
p
{
    line-height: 20px;
    color: #777;
}
ul
{
    list-style: none;
}
a
{
    text-decoration: none;
    color: #444;
}
.wrapper
{
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.orange
{
    color: #ff7a00;
}
.clear
{
    clear: both;   
}
small
{
    font-size: 13px;
    font-style:italic;
}

/* HEADER */

header 
{
    height: 120px;   
}
header h1
{
    float: left;
    margin-top: 32px;
}
header nav
{
    float: right;   
    margin-top: 50px;
}
header nav ul li
{
    float:left;
    display: inline-block;
}
header nav ul li a
{
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 20px;
    font-size: 14px;
}

/* MAIN IMAGE */

#main-image
{
    height: 580px;
    background: url('images/main.jpg') center;
}
#main-image h2
{
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    padding: 150px 0 40px 0;
    margin-bottom: 20px;
}
.button-1
{
    display: block;
    width: 120px;
    height: 50px;
    background: #ff7a00;
    color: #fff;
    font-size: 20px;
    margin: 0 auto;
    line-height: 50px;
    text-align: center;
    border-radius:  3px;
}
.button-1:hover
{
     background: #02b8dd;
}

/* STEPS */

#steps ul
{
    margin: 80px 0;
}
#steps ul li
{
    width: calc(33.333% - 10px);
    float:left;
    padding-top: 140px;
    text-align: center;
    margin-right: 10px;
}
#steps h4
{
    text-transform: uppercase;
    margin-bottom: 20px;
}
#steps p
{
    margin-bottom: 20px;
}
#step-1
{
    background: url('images/steps-icon-1.png') no-repeat top center;
}
#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;
}


/* POSSIBILITIES */


#possibilities
{
    background-color: #efefef;
    padding:  60px 0;
}
#possibilities article
{
    width: calc(50% - 10px);
    height: 270px;
    float: left;
    border-radius: 10px;
}
#possibilities article:first-child
{
    margin-right: 20px;
}
.overlay
{
    background: rgba(255,255,255, 0.95);
    height: 100%;
    width: 190px;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    text-align: center;
    box-sizing: border-box;
}
article h4
{
    border-bottom:  1px solid #ddd;
    padding-bottom: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}
#possibilities p
{
    text-align: center;
    margin-bottom: 20px;
}
.button-2
{
    color: #fff;
    background-color: #ff7a00;
    padding: 6px 20px;
    border-radius: 3px;
}
.button-2:hover
{
    color: #fff;
    background-color: #02b8dd;
}



/* 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: #02b8dd;
    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;
}

/* MEDIA QUERIES */

/* Tablettes - 768px et moins */
@media (max-width: 768px) {
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 18px;
    }
    
    header {
        height: auto;
        padding: 20px 0;
    }
    header h1 {
        float: none;
        display: block;
        text-align: center;
        margin: 20px 0;
    }
    header nav {
        float: none;
        margin: 0;
        text-align: center;
    }
    header nav ul li {
        margin: 0 10px;
    }
    
    #main-image {
        height: 400px;
    }
    #main-image h2 {
        padding: 100px 0 30px 0;
        font-size: 35px;
    }
    
    #steps ul li {
        width: calc(50% - 10px);
        padding-top: 100px;
        margin-bottom: 30px;
    }
    #steps ul li:nth-child(3) {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    #possibilities article {
        width: 100%;
        height: auto;
        margin-right: 0 !important;
        margin-bottom: 30px;
    }
    .overlay {
        width: 100%;
        border-radius: 10px;
        padding: 30px 20px;
    }
    
    #contact h3 {
        width: 100%;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    label {
        display: block;
        margin: 15px 0 5px 0;
        font-size: 16px;
    }
    input[type="text"] {
        width: 100%;
        max-width: 300px;
        margin: 0 0 15px 0;
        padding: 10px;
        font-size: 16px;
    }
}

/* Mobiles - 480px et moins */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 16px;
    }
    
    header h1 {
        margin: 15px 0;
    }
    header nav ul li {
        margin: 0 5px;
    }
    header nav ul li a {
        font-size: 12px;
        margin-right: 5px;
    }
    
    #main-image {
        height: 300px;
    }
    #main-image h2 {
        padding: 60px 0 20px 0;
        font-size: 24px;
    }
    .button-1 {
        width: 100px;
        height: 40px;
        font-size: 16px;
        line-height: 40px;
    }
    
    #steps ul li {
        width: 100%;
        padding-top: 100px;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .overlay {
        padding: 20px 15px;
    }
    article h4 {
        font-size: 16px;
    }
    
    p {
        line-height: 18px;
        font-size: 13px;
    }
    
    label {
        font-size: 14px;
    }
    input[type="text"] {
        font-size: 14px;
    }
    .button-2, .button-3 {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    footer h1 {
        font-size: 28px;
        padding-top: 40px;
    }
}





































