header {
	height: 50px;
	width: 100%;
	background: hsl(280deg 100% 3% / 70%);
	backdrop-filter: blur(50px);
}

.subpages {
    display: inline-flex;
    height: 100%;
    margin: 0 10px;
    gap: 5px;
    align-items: center;
}

.subpages button {
    flex: 1 1 0;
    font-size: 1.4em;
	font-weight: bold;
    text-wrap: nowrap;
    padding: 0 1em;
    height: 80%;
    border-radius: 10px;
    border: none;
    background-color: transparent;
    color: hsl(260 15% 70% / 1);
	transition-duration: .2s;
	font-family: sans-serif;
}

.subpages button[active] {
    color: hsl(296 51% 60% / 1);
    background: linear-gradient(to right, hsl(12 99% 70% / 1), hsl(296 51% 60% / 1));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpages button:hover {
    background-color: hsl(260deg 15% 40% / 20%);
}

.logo img {
    position: relative;
	z-index: -1;
}

body > div.bg {
	position: fixed;
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #000;
	z-index: -20;
}

body > div.bg > div {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 1;
	transition-duration: 1.5s;
	background: black no-repeat center bottom/cover fixed;
}

body > div.bg > div:nth-child(1) {
	background-image: url("../img/mainpage-small-bg-1.webp");
	filter: blur(2px);
}

body > div.bg > div:nth-child(2) {
	background-image: url("../img/mainpage-small-bg-2.webp");
	filter: blur(2px);
}

body > div.bg > div:nth-child(3) {
	background-image: url("../img/mainpage-small-bg-3.webp");
	filter: blur(2px);
}

body > div.bg > div:nth-child(4) {
	background-image: url("../img/mainpage-small-bg-4.webp");
	filter: blur(2px);
}

body:not([stage="4"]) > div.bg > div:nth-child(4) {
	opacity: 0;
}

body:not([stage="3"]) > div.bg > div:nth-child(3) {
	opacity: 0;
}

body:not([stage="2"]) > div.bg > div:nth-child(2) {
	opacity: 0;
}

body:not([stage="1"]) > div.bg > div:nth-child(1) {
	opacity: 0;
}

@media screen and (max-width: 700px) {
	.subpage-name {
		display: none;
	}
	.subpages button {
		padding: 0 .5em;
	}
}