#main-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--main-front-color);
	color: #fff;
	font-family: "Syncro-Book", system-ui, sans-serif;

	/*
	padding-top: 2rem;
	*/
	padding-top: 0px;

	z-index: 10;

	overflow-y: auto;
}

#main-margin {
	margin: 0 auto;
	padding: 3rem;
	padding-top: 5rem;
	max-width: 800px;
}

#close_cross {
	position: absolute;

	top: 2rem;
	right: 2rem;

	top: 20px;
	right: 20px;

	width: 24px;
	height: 24px;
	cursor: pointer;
	transition: 1s;
	overflow: hidden;

	display: flex;
  justify-content: center;
  align-items: center;
}

#close_cross:hover {
	transform: rotate(180deg);
}

.menu {
	transition: 0.3s;

	position: fixed;
	display: flex;

	bottom: 0;
	left: 0;
	width: 100%;
	height: 10vh;

	background-color: var(--main-background-color);

	/*
	border: 1px solid rgba(0, 0, 0, 0.8);
	*/
	justify-content: space-around;

	align-items: left;
}

.menu a {
	display: inline-flex;
	padding: 0.5rem 1rem;
	color: #999;

	font-family: "Syncro-Book", system-ui, sans-serif;
	font-size : 1.09rem;	
	font-weight : 100;
	letter-spacing: 0px;

	align-self: center;
	background-color: rgba(0, 0, 0, 0);

	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
	
	cursor: pointer;
	/* no select */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
}

@-moz-document url-prefix() {
  .menu a {
		font-size : 1.25rem;	
	}
}

.menu a:hover {
	color: var(--main-front-color);
}

.active {
	color: var(--main-front-color) !important;
}

.menu .black {
	color: #000;
}

/* === MOBILE styles (≥ 768px) === */
@media (orientation: portrait) {
	.menu {
		visibility: hidden;
		display: none;
	}
}

/* === Desktop styles (≥ 1024px) === */
@media (orientation: landscape) {
	#main-content {
		position: absolute;
		top: 0px;
		left: calc(100% - 400px);
		width: 400px;

		height: 100%;
		background: var(--main-front-color);
		color: #fff;
		font-family: "Syncro-Book", system-ui, sans-serif;

		padding-top: 2rem;

		overflow-y: auto;
	}
	#main-margin {
		margin: 0 auto;
		padding: 3rem;
		max-width: 800px;
	}
}
