Files
sporthunde_nordeifel/styles.css
2026-06-08 11:01:08 +00:00

275 lines
5.2 KiB
CSS

@font-face {
font-family: 'Fredoka One';
src: url('FredokaOne-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root {
--bg-color: #f4f7f6;
--card-bg: rgba(255, 255, 255, 0.7);
--text-primary: #2d3748;
--text-secondary: #4a5568;
--accent-green: #5eb344;
--accent-blue: #90cff3;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Fredoka One', sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-primary);
min-height: 100vh;
overflow-x: hidden;
position: relative;
line-height: 1.6;
}
/* Background Effects */
.background-effects {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: -1;
overflow: hidden;
}
.blob {
position: absolute;
filter: blur(100px);
border-radius: 50%;
animation: float 25s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
opacity: 0.4;
}
.blob.green {
width: 50vw;
height: 50vw;
background: var(--accent-green);
top: -20%;
left: -20%;
}
.blob.blue {
width: 60vw;
height: 60vw;
background: var(--accent-blue);
bottom: -30%;
right: -20%;
animation-delay: -12s;
}
@keyframes float {
0% { transform: translate(0, 0) scale(1); }
100% { transform: translate(10vw, 10vh) scale(1.1); }
}
/* Layout */
.container {
max-width: 900px;
margin: 0 auto;
padding: 4rem 1.5rem;
display: flex;
flex-direction: column;
gap: 2.5rem;
}
/* Glassmorphism */
.glass-card {
background: var(--card-bg);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.6);
border-radius: 24px;
padding: 3rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
transform: translateY(-4px);
border-color: rgba(94, 179, 68, 0.3);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
/* Hero Section */
.hero {
text-align: center;
position: relative;
overflow: hidden;
padding-top: 4rem;
padding-bottom: 4rem;
}
.hero::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, transparent, var(--accent-green), var(--accent-blue), transparent);
z-index: 1;
}
.logo-container {
perspective: 1000px;
margin-bottom: 2.5rem;
}
.logo {
width: 220px;
filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
transform-style: preserve-3d;
transition: transform 0.2s ease-out;
}
h1 {
font-size: clamp(1.2rem, 4vw, 3rem);
font-weight: normal;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 0.5rem;
color: var(--text-primary);
white-space: nowrap;
}
h1 .ev {
font-size: clamp(1rem, 2.5vw, 2rem);
color: var(--accent-green);
}
.subtitle {
font-size: clamp(1rem, 2vw, 1.4rem);
color: var(--accent-blue);
font-weight: 500;
letter-spacing: 2px;
text-transform: uppercase;
}
/* Typography & Content */
h2 {
font-size: 1.8rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
display: inline-block;
position: relative;
font-weight: 600;
}
h2::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 30%;
height: 3px;
background: var(--accent-green);
border-radius: 2px;
transition: width 0.4s ease;
}
.glass-card:hover h2::after {
width: 100%;
}
p {
color: var(--text-secondary);
font-size: 1.1rem;
font-weight: 400;
}
/* Buttons */
.contact-grid {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
@media(min-width: 600px) {
.contact-grid {
flex-direction: row;
}
}
.cyber-button {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 1.2rem 2rem;
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: 16px;
color: var(--text-primary);
text-decoration: none;
font-weight: 500;
font-size: 1.2rem;
position: relative;
overflow: hidden;
transition: all 0.4s ease;
}
.cyber-button::before {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
transition: left 0.6s ease;
}
.cyber-button:hover {
background: rgba(255, 255, 255, 0.95);
border-color: var(--accent-green);
box-shadow: 0 4px 15px rgba(94, 179, 68, 0.15);
transform: translateY(-2px);
}
.cyber-button:hover::before {
left: 100%;
}
.icon {
font-size: 1.8rem;
color: var(--accent-green);
}
/* Footer */
.footer {
text-align: center;
padding: 2rem;
}
.footer p {
font-size: 0.95rem;
margin-bottom: 0.5rem;
}
.footer h2::after {
left: 50%;
transform: translateX(-50%);
}
.footer:hover h2::after {
width: 50%;
}
/* Animations */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}