/* Accessibilité */
*,
*::before,
*::after {
	box-sizing: border-box;
}

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
	clip: auto !important;
	-webkit-clip-path: none !important;
	clip-path: none !important;
	height: auto !important;
	margin: auto !important;
	overflow: visible !important;
	width: auto !important;
	white-space: normal !important;
}

a.evitement {
	display: inline-block;
	color: #555;
	background: #fff;
	padding: .5em;
	position: absolute;
	left: -99999rem;
	z-index: 100;
}

a.evitement:focus {
	left: 0;
}


/* Généralités */
:root {
	--main-color: #E41019;
	--soft-gray: #f0f0f0;
	--white: #ffffff;
}



@font-face {
	font-family: 'Marianne';
	src: url(fonts/Marianne-Regular.woff2) format('woff2');
	src: url(fonts/Marianne-Regular.woff) format('woff');
	font-weight: regular;
}

@font-face {
	font-family: 'Marianne';
	src: url(fonts/Marianne-Bold.woff2) format('woff2');
	src: url(fonts/Marianne-Bold.woff) format('woff');
	font-weight: bold;
}

body {
	margin: 0px;
	background-color: var(--white);
	font-family: 'Marianne','arial';
	min-width: 768px;
}

.required{
    color: #E41019;
}

a{
	color: var(--main-color);
}

main{
	width: 60%;
	margin: 0 auto;
	min-height: 70vh;
}

h1{
    font-size: 2.5rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.5rem;
}
p{
    font-size: 1.2rem;
}


/* Header et ses enfants */
header {
	box-shadow: 0 0 10px #9e9e9e;
	display: block;
	height: 7rem;
	padding: 4rem;
	margin: 0px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	position: relative;
	margin-bottom: 2rem;
	min-width: 1033px;
}

.logo-header {
	height: 6rem;
}

.header-links {
	display: flex;
	align-content: space-between;
	justify-content: center;
	align-items: center;
	gap: 3rem;
}

.header-link {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	border: solid 3px var(--main-color);
	background-color: var(--main-color);
	color: var(--white);
	border-radius: 50px;
	transition: 0.3s;
}

.header-link:hover {
	border: solid 3px var(--main-color);
	background-color: var(--white);
	color: var(--main-color);
	transition: 0.3s;
}

header a {
	font-size: 1.3rem;
}


/* Footer et ses enfants */
footer {
	background-color: var(--soft-gray);
	padding: 1rem;
	border-top: solid 5px var(--main-color);
	margin-top: 2rem;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

footer h2{
	margin-top: auto;
}

footer a {
		color: var(--main-color);
		margin-bottom: 15px;
}

.totop {
	display: flex;
	justify-content: flex-end;
	margin-right: 2rem;
	font-size: 0.8rem;
	color: black;
}

.basPage {
	overflow: hidden;
	cursor: pointer;
	z-index: 60;
}

.invis {
	height: 4rem;
	margin: 0;
}

.vis {
	height: 25rem;
}