:root{
	--color-btn: #1b1474;
	--color-btn-hover: #251ca3;
	--color-footer-bg: #555;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100dvh;
	width: 100%;
}

header {
	background-color: white;
	padding: 1rem;
	max-width: 1440px;
	border-bottom: 1px solid rgba(0,0,0,.09);
    box-shadow: 0 4px 4px -4px #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    animation: smoothie-display .3s ease-out;
	display:flex;
	flex-direction:row;
	justify-content: space-between;
	align-items: center;
}

header h1 {
	font-size: 24px;
}

.desktop {
	display:block;
}

.mobile{
	display:none;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
}

nav a {
	color: white;
	text-decoration: none;
}

nav a:hover {
	text-decoration:underline;
}

.active{
	text-decoration:underline;
}

main {
	padding: 5.625rem 2rem;
	max-width: 909px;
	width: 100%;
	flex: 1;
}

.fixed {
	background-color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	position: fixed;
	right: 20px;
	bottom: 130px;
	border-radius: 50px;
	opacity: 0.3;
}

.fixed:hover {
	opacity:1;
}

.fixed a {
	display:flex;
}

.fixed a img {
	width: 100%;
	height: auto;
}

section {
	display:flex;
	flex-direction:column;
	margin-bottom: 4rem;
	padding:0 4rem;
	gap:20px;
}

section:first-child{
	margin-top: 2rem;
}

section ol, 
section ul{
	margin-left: 3rem;
}

section ol li,
section ul li{
	margin-bottom: 1rem;
}

.hero {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding:0;
	gap:0;
}

.hero img{
	width: 100%;
	height: auto;
	border-radius: 30px;
}

.edito {
	background-color: #f4f4f4;
	border-radius: 30px;
	max-width: 690px;
	margin-top: -90px;
	margin-bottom: 30px;
	padding: 3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:30px;
}

.hero a {
	display: flex;
	height: 50px;
	width: 300px;
	justify-content: center;
	align-items: center;
	border-radius: 50rem;
	color: white;
	background-color: var(--color-btn);
	text-decoration: none;
}

.hero a:hover {
	background-color: var(--color-btn-hover);
}

.highlight {
	border: 2px solid #333;
	padding: 4rem;
	color: #333;
}

.highlight a {
	color:#333;
}

.download {
	align-items: flex-end;
}

.download a{
	color: #333;
	font-weight: 600;
	text-decoration: none;
	display:flex;
	flex-direction:row;
	align-items:center;
}

.download a:hover{
	text-decoration: underline;
}

footer {
	background-color: var(--color-footer-bg);
	color: white;
	text-align: center;
	padding: 2rem;
	max-width: 1440px;
	width:100%;
}

@media (max-width: 992px) {
	main {
		padding: 5.625rem 0;
	}
	
	.fixed {
		opacity:1;
	}
	
	.hero {
		margin-top: 0;
	}
	
	.hero img {
		border-radius: 0;
	}
	
	.highlight {
		margin-top: 0;
		background-color: #333;
		color: white;
	}
	
	.highlight a {
		color: white;
	}
	
}

@media (max-width: 690px) {
	
	header h1 {
		width: 110px;
		text-align: right;
	}
	
	.desktop {
		display: none;
	}
	
	.mobile {
		display: block;
	}
	
	.edito {
		margin-top: 0;
		border-radius: 0;
	}
	
	section {
		padding: 0 2rem;
		margin-bottom: 3rem;
	}
	
	.highlight {
		padding: 3rem 2rem;
	}
}