header {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	border-top: var(--border);
	border-bottom: var(--border);
}

header::before,
header::after {
	content: "";
	width: calc((100vw - 100%) / 2);
	height: calc(100% + 2px);
	position: absolute;
	top: -1px;
	bottom: 0;
	border-top: var(--border);
	border-bottom: var(--border);
	background: inherit;
}
header::before {
	right: 100%;
}
header::after {
	left: 100%;
}

[data-name="site"],
[data-name="slogan"],
[data-name="menu"] {
	width: auto;
	max-width: 100%;
	align-self: center;
}

[data-name="site"],
[data-name="slogan"] {
	cursor: pointer;
}

[data-name="site"] {
	font-size: 45px;
	font-weight: 800;
	margin-top: 15px;
}
[data-name="slogan"] {
	font-size: 25px;
	padding-top: 10px;
	margin-bottom: 15px;
}
[data-name="site"]::before,
[data-name="slogan"]::before {
	content: attr(title);
	display: block;
	position: relative;
	text-transform: capitalize;
}
[data-name="site"]::before {
	font-family: "Canterbury";
	font-weight: 400;
	font-size: 3.75rem;
	line-height: 2.938rem;
	word-spacing: -0.875rem;
}
[data-name="slogan"]::before {
	font-size: 1.125rem;
	line-height: 1.375rem;
	font-weight: 400;
	transform: scaleY(1.5);
	transform-origin: bottom;
}

/*[data-name="profilepicture"] {
	display: none;
}*/

[data-user] > header {
	padding: 5px 10px;
	margin: unset;
	/*flex-flow: row nowrap;
	gap: 15px;*/
	border: var(--border);
	background: var(--fff);
}
[data-user] > header::before,
[data-user] > header::after {
	content: none;
}

[data-user] [data-name="site"] {
	font-size: var(--font-size);
	font-weight: unset;
	height: 30px;
	margin: unset;
	aspect-ratio: 600 / 160;
	background: url("/assets/img/tusdn.png") center / contain no-repeat;
}

[data-user] [data-name="site"]::before,
[data-user] [data-name="slogan"]::before {
	content: none;
}

[data-user] [data-name="slogan"] {
	display: none;
}

[data-user] [data-name="profilepicture"] {
	display: block;
	margin-left: auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

/*[data-user="member"] > header {
	width: 230px;
	height: auto;
}

[data-user="member"] [data-name="site"] {
	width: 95px;
	height: 25px;
}

[data-user="member"] [data-name="profilepicture"] {
	width: 40px;
	height: 40px;
}*/

[data-user="subscriber"] > header {
	width: 100%;
}

/*[data-user="subscriber"] [data-name="site"] {
	width: 150px;
	height: 50px;
}*/

@media (max-width: 1023px) {
	[data-user="member"] > header {
		width: 100px;
	}

	[data-user="member"] [data-name="site"] {
		width: 25px;
		height: 25px;
	}

	[data-user="member"] [data-name="profilepicture"] {
		width: 20px;
		height: 20px;
	}
}
