/*
Theme Name: Leckeier Page
Description: Leckeier Theme
Author: not me
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    font-family: 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transform: translateY(50px);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:first-of-type {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.title {
    font-size: 4rem;
    letter-spacing: -0.05em;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.7;
}

.end-title {
    font-size: 3rem;
}

/* Deine originale Box-Styles */
.box {
	display: flex;
}

.box .inner {
	width: 400px;
	height: 200px;
	line-height: 200px;
	font-size: 4em;
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif;
	font-weight: normal;
	white-space: nowrap;
	overflow: hidden;
}

.box .inner:first-child {
	background-color: rgb(255, 77, 77);
	animation: rainbow_left 3s infinite;
	transform-origin: right;
	transform: perspective(100px) rotateY(-15deg);
}

.box .inner:last-child {
	background-color: rgb(255, 77, 77);
	animation: rainbow 3s infinite;
	transform-origin: left;
	transform: perspective(100px) rotateY(15deg);
}

.box .inner span {
	position: absolute;
	animation: marquee 5s linear infinite;
}

.box .inner:first-child span {
	animation-delay: 2.5s;
	left: -100%;
}

/* Animationen */
@keyframes rainbow {
    0% { color: red; }
    16.666% { color: orange; }
    33.333% { color: yellow; }
    50% { color: green; }
    66.666% { color: blue; }
    83.333% { color: indigo; }
    100% { color: violet; }
}

@keyframes rainbow_left {
    0% { color: rgb(255, 128, 128); }
    16.666% { color: rgb(255, 210, 126); }
    33.333% { color: rgb(255, 255, 122); }
    50% { color: rgb(64, 127, 64); }
    66.666% { color: rgb(112, 112, 255); }
    83.333% { color: rgb(100, 63, 126); }
    100% { color: rgb(242, 194, 242); }
}

@keyframes marquee {
	from { left: 100%; }
	to { left: -100%; }
}
