/* ==========================================================================
Base styles
========================================================================== */
/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
}

html,body {
    position: relative;
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    color: #000;
    font-size: 11px;
    text-align: center;
}

.bg {
    background-image: url("../img/leoburnett-bg.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
}

p {
    padding-bottom: 12px;
    line-height: 16px;
}

a {
    color: #7A7C81;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    margin: auto;
    max-width: 640px;
}

.logo {
    width: 220px;
    padding-bottom: 10px;
    margin: auto auto 0;
    opacity: 0;
    animation: fadeIn 0.7s 1.2s forwards;
}

.contact {
    margin-top: auto;
}

.member {
    width: 240px;
    margin: auto;
}

#footer {
    position:absolute;
    bottom: 50px;
    top: 66%;
    display: flex;
    flex-direction: column;
}

.icons {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    margin-left: -20px;
}

.socials > a {
    margin-left: 20px;
}

.icon-leoburnett {
    width: 173px;
    height: 0;
    padding-top: 35.84%;
    background: url('../img/LEOBURNETT-GLOBAL.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: background 0.2s ease-in;
    opacity: 0;
    animation: fadeIn 0.6s 0.6s forwards, slideRight 0.6s 0.6s;
}
.icon-leoburnett:hover {
    background: url('../img/LEOBURNETT-GLOBAL-HOVER.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-publicis-groupe {
    width: 203px;
    height: 0;
    padding-top: 30.54%;
    background: url('../img/LEOBURNETT-PUBLICIS-GROUPE.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: background .2s ease-in;
    opacity: 0;
    animation: fadeIn 0.6s 0.6s forwards, slideLeft 0.6s 0.6s;
}
.icon-publicis-groupe:hover {
    background: url('../img/LEOBURNETT-PUBLICIS-GROUPE-HOVER.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

/* ==========================================================================
Media Queries
========================================================================== */

@media screen and (max-width: 768px) {
    .bg {
        background-size: 750px;
    }
    .logo {
        width: 200px;
    }
    .icons {
        padding-bottom: 8px;
    }
    .icon-leoburnett {
        width: 129.75px;
    }
    .icon-publicis-groupe {
        width: 152px;
    }
    #footer {
        bottom: 20px;
    }
    .socials {
        margin-left: -16px;
    }
    .socials > a {
        margin-left: 16px;
    }
    .contact {
        padding: 0 10px;
    }
    p {
        padding-bottom: 6px;
    }
}

@media screen and (max-width: 397px) {
    .bg {
        background-size: 680px;
    }
}

@media screen and (max-width: 370px) {
    .logo {
        width: 180px;
    }
    #footer {
        bottom: 10px;
    }
    p {
        font-size: 10px;
    }
}

@media screen and (max-width: 380px) {
    .bg {
        background-size: 600px;
    }
}

/* ==========================================================================
Keyframes
========================================================================== */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(0);
    }
}
