/** Base setup **/
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    padding: 0;
    margin: 0;
}


@media screen and (min-width: 640px) {

    html {
        font-size: 18px;
    }
}

body {
    background: #000;
    padding: 0;
    margin: 0;
}

/** typographie **/
p, a, h1, h2, h3, h4, h5 {
    font-family: "Libre Franklin", serif;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.2em;
}

h1 {
    font-size: 2.5rem;
}

h1 small {
    display: block;
    padding: 1em 0;
    font-size: 50%;
    margin-bottom: 2em;
}

@media screen and (min-width: 640px) {
    h1 small {
        margin-bottom: 4em;
    }
}

h2 {
    font-size: 2rem;
}

p, a, a:active, a:visited, a:hover, a:link {
    margin: 0 0 2em 0;
    line-height: 1.5em;
    color: inherit;
    font-size: 1rem;
}

p.small {
    font-size: 75%;
}

/** Containers **/
.section:not(.fullsize) {
    width: 100%;
    padding: 4em;
    min-height: 50vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.section .container {
    text-align: center;
}

@media screen and (min-width: 640px) {
    .section .columns {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        grid-column-gap: 2em;
    }

    .section .columns > div {
        flex-grow: 1;
        text-align: left;
    }
}

.section.bg-primary {
    background: #83002bff;
    color: #fff;
}

.section.bg-secondary {
    background: #ffffbeff;
    color: #111;
}

.container {
    width: 100%;
    max-width: 960px;
}

.section.fullsize img {
    display: block;
    width: 100%;
    height: auto;
}

/** buttons **/

a.btn {
    display: inline-block;
    border: 0;
    background-color: #83002bff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 1em 2em;
    margin: 1em;
}

.hero {
    background: url('./hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: #111 1px 1px 3px;

    width: 100%;
    height: 100vh;
    padding: 2em;

    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.hero p {
    font-size: 1.1rem;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1em;

    display: flex;
    justify-content: center;
}

header > div  {
    width: 100%;
    max-width: 960px;

    display: flex;
    align-items: center;
    flex-direction: row;
}

header img {
    height: 120px;
}

nav {
    flex-grow: 4;
    text-align: right;
}

nav a, 
nav a:link,
nav a:hover,
nav a:active,
nav a:visited {
    color: #fff;
    text-decoration: none;
    padding: 0 1em;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 2em;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

.slider {
    display: block;
    width: 100%;
    position: relative;
}

.section img {
    width: 100%;
    height: auto;
}

.socials a {
    text-decoration: none;
    padding: 0 2em;
}

.socials a svg {
    max-height: 64px;
    fill: #222;
}