@keyframes landingboxreveal {
	from { 
		max-height: 84px;
	}
	to {
		max-height: 100%;
	}
}

@keyframes landingboxlinksreveal {
	from { 
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

body.landing {
	background-color: var(--hex5_dd);
	background-image: linear-gradient(to right, var(--hex4_dd), var(--hex5_dd), var(--hex4_dd));
	overflow: hidden;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	justify-content: center;
	height: 100vh;
	height: 100dvh;
	user-select: none;
}

body.landing::-webkit-scrollbar {
	width: 0px;
	box-sizing: border-box;
}

body.landing video {
	position: fixed;
	z-index: -1;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100%;
	background-color: #000;
	filter: blur(5px) brightness(50%);
}

body.landing.lq video {
	display: none;
}

.landingnav {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	overflow-x: hidden;
	align-items: stretch;
	justify-content: center;
	align-content: center;
	filter: drop-shadow(2px 2px 0px black);
	transition: all 0.5s;
}
	
.landingnav::-webkit-scrollbar {
	width: 0px;
	box-sizing: border-box;
}

.topbar div:first-child {
	width: auto;
}

a.navlogo {
	margin: 0;
	padding: 0;
}

a.navmenu {
	cursor: pointer;
}

.settings {
	width: 100%;
}

.landingbox {
	max-width: 500px;
	max-height: 84px;
	padding: 20px;
	box-sizing: border-box;
	animation: landingboxreveal .5s ease-out .5s 1 forwards;
}

.landingbox span {
	display: inline-flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	width: 100%;
}
/*
.landingbox svg {
	box-sizing: border-box;
  width: 100%;
  height: 4rem;
	filter: opacity(50%);
	transition: filter .3s;
}
*/
.landingbox svg {
	box-sizing: border-box;
  height: 4rem;
	width: 4rem;
	color: var(--hex2);
	margin-right: 5px;
	filter: opacity(50%);
	transition: filter .3s;
}

.landingbox:hover svg {
	filter: opacity(100%);
	transition: filter .3s;
}

.landingbox span span {
	font-size: 4rem;
	font-family: "Ubuntu", sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 2px var(--hex2);
	filter: opacity(50%);
	transition: color .3s, -webkit-text-stroke .3s, filter .3s;
}

.landingbox:hover span span {
	color: var(--hex2_ll);
	-webkit-text-stroke: 2px var(--hex2_ll);
	filter: opacity(100%);
	transition: color .3s, -webkit-text-stroke .3s, filter .3s;
}

.landingnav .landingbox a {
	opacity: 0;
	padding: 8px;
	text-decoration: none;
	font-size: 1.5rem;
	color: var(--hex2);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	top: 64px;
	text-overflow: ellipsis;
	transition: 0.3s;
	animation: landingboxlinksreveal .5s ease-out 1s 1 forwards;
}

.landingnav .landingbox a:hover {
	filter: brightness(150%);
	text-shadow: 0px 0px 3px white;
	transform: translatex(10px);
}

header.landingheader {
	background: transparent;
	backdrop-filter: blur(25px);
	border-bottom: 2px solid var(--hex3);
	color: var(--hex3);
	text-align: center;
	font-size: 1.5rem;
	width: 100%;
	height: 64px;
}

footer.landingfooter {
	margin: 0;
	background: transparent;
	backdrop-filter: blur(25px);
	border-top: 2px solid var(--hex3);
	color: var(--hex3);
	text-align: center;
	font-size: 1.5rem;
	width: 100%;
}

header.landingheader .topbar div:first-child {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
}

@media only screen and (max-width: 1600px) {	
	.landingnav {
		max-width: 1000px;
	}
	
	.landingbox {
		flex-basis: 50%;
		width: 100%;
	}
}

@media only screen and (max-width: 999px) {
	:is(html.lf) .landingnav {
		align-content: flex-start;
	}
	
	:is(html.lf) .landingbox {
		flex-basis: 100%;
		width: 100%;
	}
}

@media only screen and (max-width: 800px) {
	.landingnav {
		align-content: flex-start;
	}

	.cookies {
		left: 0;
		bottom: 0;
		width: 100%;
		border-radius: 0px;
	}
	
	.landingbox {
		flex-basis: 100%;
		width: 100%;
	}
}

@media only screen and (max-width: 449px) {
	.landingbox span span {
		font-size: 3rem;
	}
	
	.landingbox span svg {
		width: 3rem;
		height: 3rem;
	}
}

@media only screen and (max-width: 399px) {
	.landingbox span span {
		font-size: 2.5rem;
	}
	
	.landingbox span svg {
		width: 2.5rem;
		height: 2.5rem;
	}
}

@media only screen and (max-width: 349px) {
	header.landingheader {
		height: 96px;
	}
	
	.settings {
		height: 96px;
	}

	.topbar {
		height: 96px !important;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center !important;
		align-content: space-between;
	}

	a.navlogo {
		padding: 4px 0 !important;
	}

	a.navright {
		padding: 0px 8px 0px 8px !important;
	}
	
	header.landingheader .topbar div:first-child {
		justify-content: center;
	}
	
	header.landingheader .topbar div:last-child {
		width: auto;
	}
	
	header.landingheader .topbar div:first-child svg {
		
	}
	
	.landingbox span span {
		font-size: 2rem;
	}
	
	.landingbox span svg {
		width: 2rem;
		height: 2rem;
	}
}

.landingnav.overflow {
	align-content: flex-start;
}

.landingnav.fits {
	align-content: center;
}