/*   
Theme Name: Laura Onvlee
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
	box-sizing: border-box;
}

body,
html {
	height: 100vh;
	width: 100%;
	margin: 0;
	font-family: "objektiv-variable", sans-serif;
	font-variation-settings: "wght" 700;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 13px;
	line-height: 15.6px;
	letter-spacing: 0.02em;
	color: #dcdcdc;
	background: white;
	cursor: none !important;
	hyphens: auto;
	word-break: normal;
	overflow-wrap: normal;
	overflow: hidden;
}

body::-webkit-scrollbar {
	display: none;
}

::-moz-selection {
	color: white;
	background: #dcdcdc;
}

::selection {
	color: white;
	background: #dcdcdc;
}


a {
	color: #dcdcdc;
	text-decoration: none;
	cursor: none;
}

a:hover {
	color: #a0a0a0;
	cursor: none;
}

.cursor {
	position: absolute;
	top: calc(50vw - 12.5px);
	left: calc(50vh - 12.5px);
	width: 25px;
	height: 25px;
	background-color: #a0a0a0;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1000;
	animation: pulse 2s infinite ease-in-out;
	animation-play-state: paused;
}

.cursor.active {
	animation-play-state: running;
}

/* Pulsierende Animation */
@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

/* --- GENERAL --- */

.intro,
.logo {
	color: white;
	z-index: 300;
}

.logo {
	display: flex;
	font-size: 17px;
	font-variation-settings: "wght" 800;
}

section {
	width: 50%;
	height: 100%;
	position: fixed;
	top: 0;
}

section.first {
	left: 0;
}

section.second {
	right: 0;
}

.imgbg,
.type {
	position: absolute;
	margin: 0;
	width: 100%;
	height: 100%;
}

.imgbg {
	z-index: 100;
}

.type {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.into,
.about,
.imprint {
	position: absolute;
}

.about,
.imprint {
	z-index: 50;
}

.imprint {
	width: 70%;
	max-width: 500px;
}

.top,
.bottom {
	position: absolute;
	width: 100%;
}

.top {
	top: 20px;
}

.bottom {
	bottom: 20px;
}

.middle {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.imgbg img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	opacity: 0;

}

.imgbg img.active {
	opacity: 1;
}

.intro,
.about,
.imprint,
.imgbg,
.imgbg img {
	transition: opacity 2s ease-in-out;
}

.about,
.imprint,
.showAbout .second .intro,
.showAbout .second .imgbg,
.showImprint .second .intro,
.showImprint .second .imgbg,
.showAbout .second .imprint,
.showImprint .second .about {
	opacity: 0;
	pointer-events: none;
}

.showAbout .about,
.showImprint .imprint {
	opacity: 1;
	pointer-events: inherit;
}

.showImprint {
overflow: auto;
}

.showImprint .second {
	overflow:scroll;
}

.showImprint .top, 
.showImprint .bottom {
	position:fixed;
}

.showImprint .imprint {
	padding-top:100px;
	padding-bottom:100px;
}

/* --- LOGO ANIMATION --- */

.logo span {
	transition: letter-spacing 1s ease-in-out;
	transition-delay: calc(var(--letter-delay) * var(--letter-index));
}

:root {
	--letter-delay: 0.2s;
	--letter-index: 1;
}

#state0 {
	--spacing-1: 0.2em;
	--spacing-2: 1em;
	--spacing-3: 1.5em;
	--spacing-4: 2em;
	--spacing-5: 2.5em;
}

#state1 {
	--spacing-1: 1em;
	--spacing-2: 1em;
	--spacing-3: 1em;
	--spacing-4: 1em;
	--spacing-5: 1em;
}

#state2 {
	--spacing-1: 4em;
	--spacing-2: 3em;
	--spacing-3: 2em;
	--spacing-4: 1em;
	--spacing-5: 0.2em;
}

.logo span:nth-child(1) {
	--letter-index: 0;
}

.logo span:nth-child(2) {
	--letter-index: 1;
}

.logo span:nth-child(3) {
	--letter-index: 2;
}

.logo span:nth-child(4) {
	--letter-index: 3;
}

.logo span:nth-child(5) {
	--letter-index: 4;
}

/* STATE 00 */
#state0 span:nth-child(1) {
	letter-spacing: var(--spacing-1);
}

#state0 span:nth-child(2) {
	letter-spacing: var(--spacing-2);
}

#state0 span:nth-child(3) {
	letter-spacing: var(--spacing-3);
}

#state0 span:nth-child(4) {
	letter-spacing: var(--spacing-4);
}

#state0 span:nth-child(5) {
	letter-spacing: var(--spacing-5);
}

/* STATE 01 */
#state1 span:nth-child(1) {
	letter-spacing: var(--spacing-1);
}

#state1 span:nth-child(2) {
	letter-spacing: var(--spacing-2);
}

#state1 span:nth-child(3) {
	letter-spacing: var(--spacing-3);
}

#state1 span:nth-child(4) {
	letter-spacing: var(--spacing-4);
}

#state1 span:nth-child(5) {
	letter-spacing: var(--spacing-5);
}


/* STATE 02 */

#state2 span:nth-child(1) {
	letter-spacing: var(--spacing-1);
}

#state2 span:nth-child(2) {
	letter-spacing: var(--spacing-2);
}

#state2 span:nth-child(3) {
	letter-spacing: var(--spacing-3);
}

#state2 span:nth-child(4) {
	letter-spacing: var(--spacing-4);
}

#state2 span:nth-child(5) {
	letter-spacing: var(--spacing-5);
}


@media (orientation: portrait) {
	body {
		height: calc(100vh - env(safe-area-inset-bottom));
	}

	section {
		width: 100%;
		height: 50%;
	}

	section.second {
		top: 50%;
	}

	.resized .first,
	.resized .second {
		transition: none;
	}

	.first,
	.second {
		transition: all 2s ease-in-out;
	}

	.showImprint .first {
		height: 0;
	}

	.showImprint .second {
		min-height: 100%;
		top: 0;
	}

}