/*


*/

@font-face {
    font-family: 'More Sugar';
    src: url('../rsc/fonts/MoreSugar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'More Sugar';
    src: url('../rsc/fonts/MoreSugar-Thin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gagalin';
    src: url('../rsc/fonts/Gagalin-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        #feffff 0%,
        #a5a5a5 100%
    );
    pointer-events: none;
}

body {
    background: transparent;
    margin: 0;
    padding: 0;
}
.preheader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    opacity: 1;
    transition: opacity 0.6s ease;

    background-image: url("../rsc/banner.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

.preheader.hidden {
    opacity: 0;
    display: none;
    pointer-events: none;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5em;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    background-image: url("../rsc/banner_header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

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

header h1 {
	margin-left: 1em;
}

header div {
	width: 5em;
}

header nav {
	display: flex;
	flex-direction: row;
	gap: 3em;
}

header img {
	height: 90%;
	width: auto;
	object-fit: contain;
}

/* Classes activées lors du scroll */
.preheader.hidden {
    opacity: 0;
    pointer-events: none;
}

header.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

main {
	margin-top: 20em;
	min-height: 200vh;
	padding: 3em;
}

h1, h2 {
    font-family: 'Mogra', sans-serif;
    color: #D64E13;
    margin-bottom: 0;
}

h3 {
	font-family: 'Gagalin', sans-serif;
	color: #753e20;
}

p {
	font-family: 'Open Sans', sans-serif;
	color: #536d17;
	text-indent: 2em;
}

.story {
	font-family: 'Diphylleia', inherit;
}

.repa-row-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: flex-start;
	gap: 150px;
}

.repa-row-container article {
	flex: 1 1 600px;
	max-width: 1000px;
	min-width: 0;
}

article .content {
	padding-top: 0.25em;
	padding-left: 1em;
	padding-bottom: 1em;
	border-left: solid 2px #d64e13;
	border-bottom: solid 2px #d64e13;
	margin-top: 0px;
	margin-left: 1em
}

.offer-widget-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 25px;
}

.offer-widget {
	position: relative;
	display: flex;
	flex-direction: column;
	font-family: 'Gagalin', monospace;
	align-items: center;
	max-width: 150px;
}

.offer-widget span {
	display: inline-block;
	text-align: center;
	color: #753e20;
	letter-spacing: 1px;
}

.offer-widget .free-offer-icon {
	width: 60px;
	height: 20px;
	position: absolute;
	top: 60px;
	left: 5px;
}

.offer-widget .icon {
	height: 80px;
	max-width: 80px;
	width: auto;
	object-fit: contain;
}
