@font-face {
    font-family: 'Tomarik-Brush';
    font-weight: 700;
    src: url('fonts/Tomarik-Brush.woff2') format('woff2'),
         url('/fonts/Tomarik-Brush.ttf') format('truetype')
}
@font-face {
    font-family: 'Tomarik-Poster';
    font-weight: 700;
    src: url('/fonts/Tomarik-Poster.woff2') format('woff2'),
         url('/fonts/Tomarik-Poster.ttf') format('truetype')
}

*, *::before, *::after {
    box-sizing: inherit; /* On spécifie que la largeur (width) de chaque boîte comprend le padding et la bordure (par défaut, c'est seulement la largeur du contenu) */
}

html {
    font-size: 62.5%; /* 1rem = 10px (la formule est 10/16*100) la taille par défaut étant 16px */
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem; /* on remets la taille du texte par défaut pour le body à 16px en utilisant les rem comme unité) */
    letter-spacing: 1px;
}

a {
    text-decoration:none;
    transition: all .5s;
}

a:focus-visible {
    outline: none;
}

figure {
    margin:0;
}

h1, h2, h3, h4, h5, h6 {
    margin:0;
}
p {
    margin: 0;
}
ul {
    padding: 0;
}
li {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:visited {
    color: white;
}
.underline {
    text-decoration:underline;
}
header.mobile {
    display: none;
}

/* *****************************************************************
						    GLOBAL
***************************************************************** */
body {
    background-image: url("assets/studio_ticoulet_background.JPEG");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Nunito Sans', Arial, sans-serif;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2em;
    margin: 0;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header figure.logo {
    width: 250px;
}

header .links img {
    width: 60px;
    padding: 0 4px;
}

footer {
    font-family: 'Tomarik-Brush', Arial, sans-serif;
    text-align: center;
    margin-top: auto;
    font-size: 20px;
}

@media screen and (max-width: 900px) {
    body {

    }
    header.desktop {
        display: none;
    }
    header.mobile {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    header figure.logo {
        width: 180px;
    }
    header.mobile .infos {
        margin: 1em 0;
    }
}

@media screen and (max-width: 768px) {
    footer {
        font-size: 16px;
    }
}