@charset "UTF-8";
/*
 * +---------------------------------------------------------------------+
 * | CODE INC. SOURCE CODE                                               |
 * +---------------------------------------------------------------------+
 * | Copyright (c) 2017 - Code Inc. SAS - All Rights Reserved.           |
 * | Visit https://www.codeinc.fr for more information about licensing.  |
 * +---------------------------------------------------------------------+
 * | NOTICE:  All information contained herein is, and remains the       |
 * | property of Code Inc. SAS. The intellectual and technical concepts  |
 * | contained herein are proprietary to Code Inc. SAS are protected by  |
 * | trade secret or copyright law. Dissemination of this information or |
 * | reproduction of this material  is strictly forbidden unless prior   |
 * | written permission is obtained from Code Inc. SAS.                  |
 * +---------------------------------------------------------------------+
 *
 */

/*
 * TAGS
 */
body {
    font: 25px Roboto, sans-serif;
    border: .6em solid #AB181E;
    margin: 0;
    padding: 3em;
    position: absolute;
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: #fff url(bg.svg) no-repeat right 60vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
a {
    color: black;
}
a:hover {
    text-decoration: none;
}
button, input[type="submit"] {
    cursor: pointer;
}
@media screen and (max-width: 650px) {
    body {
        padding: 1.5em;
        font-size: 20px;
    }
}


/*
 * HEADER
 */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#logo {
    font-size: 1em;
    margin: 0;
}
#logo a {
    text-decoration: none;
}
#logo a img {
    width: 211px;
    height: 57px;
    vertical-align: baseline;
}
#header-contact {
    align-self: center;
    text-align: right;
    font-size: .8em;
}
#header-contact a {
    white-space: nowrap;
    text-decoration: none;
}
#header-contact a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 650px) {
    #header {
        display: block;
    }
    #header-contact {
        display: none;
    }
}


/*
 * SECTION
 */
body > section {
    max-width: 30em;
    margin: 3em auto 5em;
}
body > section h2 {
    font: 2em "Roboto Slab", serif;
}
body > section > h2:first-of-type {
    margin-top: 0;
}
body > section p {
    line-height: 1.5em;
}
@media screen and (max-width: 1200px) {
    body > section {
        margin: 3em 4em 5em;
    }
}
@media screen and (max-width: 1000px) {
    body > section {
        margin: 2em 0 4em;
    }
}
@media screen and (max-width: 650px) {
    body > section {
        margin-bottom: 1em;
    }
}
@media screen and (min-height: 1300px) and (min-width: 1201px) {
    body > section {
        margin: 5em auto;
    }
}

/*
 * FOOTER
 */
#footer {
    position: absolute;
    bottom: 2.5em;
    left: 3em;
    right: 3em;
}
#social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#social-icons a {
    text-decoration: none;
    display: inline-block;
}
#social-icons a:not(:last-of-type) {
    margin-right: 1em;
}
#social-icons a img {
    vertical-align: baseline;
}
#social-icons a:nth-of-type(1) img {
    width: 30px;
    height: 31px;
}
#social-icons a:nth-of-type(2) img {
    width: 21px;
    height: 30px;
}
#social-icons a:nth-of-type(3) img {
    width: 28px;
    height: 23px;
}
#social-icons a:nth-of-type(4) img {
    width: 25px;
    height: 25px;
}
#footer-contact {
    display: none;
}
@media screen and (max-width: 650px) {
    #footer {
        position: relative;
        bottom: initial;
        left: initial;
        right: initial;
    }
    #social-icons {
        justify-content: flex-start;
    }
    #social-icons a:not(:last-of-type) {
        margin-right: 1.5em;
    }
    #footer-contact {
        display: block;
        margin-bottom: 2em;
    }
}