@font-face {
    font-family: 'Certeau';
    src: url('https://dev.johangiraud.com/facet-galerie/fonts/Certeau-Oblique.woff2') format('woff2'),
        url('https://dev.johangiraud.com/facet-galerie/fonts/Certeau-Oblique.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Certeau';
    src: url('https://dev.johangiraud.com/facet-galerie/fonts/Certeau-Regular.woff2') format('woff2'),
        url('https://dev.johangiraud.com/facet-galerie/fonts/Certeau-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hatton';
    src: url('https://dev.johangiraud.com/facet-galerie/fonts/Hatton-Light.woff2') format('woff2'),
        url('https://dev.johangiraud.com/facet-galerie/fonts/Hatton-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
  
body, html {
    height: 200vh;
    margin: 0;
}

body {
    display: grid;
    justify-items: center;
    font-family: 'Certeau';
    background-color: white; /* version A */
    background-color: #d3dea1; /* version B */
    background-color: #f4eab7;
}

nav {
    position: fixed;
    left: 2rem;
    top: 1rem;
}

nav ul {
    list-style-type: none;
    padding-left: 0;
}

nav ul li {
    display: inline-block;
    padding-right: 1rem;
}

nav ul li:first-child {
    color: #DD4A34;
}

.mouse {
    margin-top: 86vh;
	width: 20px;
	height: 35px;
	border: 2px solid white;
	border-radius: 60px;
    position: relative;
    opacity: 1;
    transition: opacity .3s;
}
.mouse.hidden {
    opacity: 0;
}

.mouse::before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 2s infinite;
    -webkit-animation: wheel 2s infinite;
}

@keyframes wheel {
	to {
		opacity: 0;
		top: 30px;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 30px;
	}
}

main p {
    max-width: 100%;
    padding: 2rem;
    margin: 2rem auto 5rem;
    font-size: 30px;
    line-height: 40px;
    font-family: 'hatton';
}
@media screen and (min-width: 750px) {
    main p {
        max-width: 700px;
        padding: 0;
    }
}

main div {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    align-items: end;
    margin-bottom: 5rem;
}

main div img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 50%;
}

main div img:first-child {
    padding-right: 1rem;
}

main div img:last-child {
    padding-left: 1rem;
}

#loading-gif {
    width: 80%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}
@media screen and (min-width:750px) {
    #loading-gif {
        width: 35%;
    }
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 2rem;
    padding-bottom: 1rem;
    background-color: #D3DEA1;
    background-color: #f4eab7;
}

footer p {
    color: #dd4a34;
    text-align: center;
    font-size: 16px;
}