@font-face {
    font-family: 'Ubuntu';
    font-weight: normal;
    src: url('https://nousallonsbien.com/fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype')
}

@font-face {
    font-family: 'Ubuntu';
    font-weight: normal;
    font-style: italic;
    src: url('https://nousallonsbien.com/fonts/ubuntu/Ubuntu-Italic.ttf') format('truetype')
}

@font-face {
    font-family: 'Ubuntu';
    font-weight: bold;
    src: url('https://nousallonsbien.com/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype')
}

@font-face {
    font-family: 'Ubuntu';
    font-weight: bold;
    font-style: italic;
    src: url('https://nousallonsbien.com/fonts/ubuntu/Ubuntu-BoldItalic.ttf') format('truetype')
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.6;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    margin: 0;
    background-color: #F2E9CE;
    text-align: left;
    padding: 50px;
}

body.styled-bg {
    background-image: url('https://nousallonsbien.com/imgs/background_black.png');
    background-position: center;
    background-size: cover;
    text-align: center;
}

section {
    min-height: calc(100vh - 310px);
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}

body.styled-bg {
    align-items: center;
}

body.styled-bg section {
    align-items: center;
}

#content {
    width: 500px;
    max-width: 100%;
    padding: 25px;
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.3);
    border-radius: 5px;
    background-color: rgba(242, 233, 206, 1);
}

h1 {
    font-size: 2em;
}

h2 {
    font-weight: normal;
}

footer {
    height: 200px;
    font-size: 10px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    padding: 10px 0;
}

.links {
    display: flex;
    justify-content: center;
}

.icon {
    width: 30px;
    height: 30px;
    margin: 10px;
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    opacity: 1;
    color: transparent;
    font-size: 1px;
}

.icon.icon-1 {
    background-image: url('./imgs/insta_black.svg');
}

@media (max-width: 400px){
    body {
        padding: 20px;
    }
    h1 {
        font-size: 1.7em;
    }
    h2 {
        font-size: 1.2em;
    }
}