* {
	margin: 0px; 
	padding: 0px; 
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
	background:#f3f3f3;
	width: 100%;
	height: 100svh;
}

div.container {
	display: flex;
	flex-direction: column;
	height: inherit;
	overflow: scroll;
}

#header {
	display: flex;
	width: 90vw;
	max-width: 400px;
	margin: 10px auto;
}

#header h1 {
	font-size: 38px;
	margin-bottom: 16px;
}

div#menu {
	display: flex;
	flex-direction: column;
	width: 90vw;
	max-width: 400px;
	margin: 10px auto;
	justify-content: space-between;
}

div#menu a {
	background: white;
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #cfcfcf;
	display: block;
	position: relative;
}

div#menu a:hover {
	background: #d2d2d2;
}

div#menu a:first-of-type {
	border-radius: 5px 5px 0 0;
}

div#menu a:last-of-type {
	border-radius: 0 0 5px 5px;
	border-bottom: none;
}

div#menu a {
	text-decoration: none;
	color: black;
}

div#page_footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
}

div#page_footer #links {
	display: flex;
	gap: 10px;
}

div#page_footer span {
	color: #8e8e8e;
}

div#page_footer a {
	text-decoration: none;
	color: black;
}

div#page_footer a img {
	width: 30px;
	height: 30px;
	border: 1px solid transparent;
	background-color: black;
	border-radius: 50%;
}

div#page_footer a img:hover {
	border: 1px solid white;
}

div#infos {
	display: flex;
	flex-direction: column;
	width: 90vw;
	max-width: 250px;
	margin: 30px auto;
}

div#infos p {
	color: #8e8e8e;
	font-size: 10px;
	text-align: center;
}

@media screen and (min-width: 640px) {

	#header {
		max-width: 75vw;
		justify-content: center;
	}

	div#menu {
		/*display: grid;*/
		flex-wrap: wrap;
		flex-direction: row;
		grid-template-rows: 50px;
		grid-auto-rows: 50px;
		grid-template-columns: repeat(auto-fit, 200px);
		gap: 10px;
		max-width: 75vw;
		justify-content: center;
		margin-top: 50px;
	}

	div#menu a {
		border-radius: 5px;
		border: none;
		width: 200px;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	div#menu a:hover {
		box-shadow: 1.5px 1.5px 1.5px grey;
	}

	div#menu a:first-of-type, div#menu a:last-of-type {
		border-radius: 5px;
	}
}

@media screen and (min-width: 900px) {
	
	div#menu {
		gap: 10px
	}

	div#infos {
		position: absolute;
		top: 0;
		right: 0;
		margin: 10px;
		width: auto;
	}

	div#infos p {
		text-align: left;
	}
}