/* Allgemeine Styles */
*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:'Arial',sans-serif;
}

.mt-m {
margin-top:20px;
}

body{
background:linear-gradient(135deg,#001f3f,#ff1744,#7b1fa2);
color:#111;
min-height:100vh;
transition:0.5s;
}

header{
background:rgba(0,0,0,0.75);
backdrop-filter:blur(10px);
color:white;
padding:25px 10%;
display:flex;
justify-content:space-between;
align-items:center;
position:sticky;
top:0;
z-index:10;
}

h1 {
margin-bottom: 1rem;
}

header h2{
color:#ff1744;
}

nav a{
color:white;
text-decoration:none;
margin-left:20px;
font-weight:bold;
}

nav a:hover{
color:#ff1744;
}

.hero{
background:rgba(255,255,255,0.9);
width:85%;
margin:50px auto;
padding:100px 20px;
text-align:center;
border-radius:30px;
animation:hoch 1s;
box-shadow:0 20px 40px rgba(0,0,0,.3);
}

.hero h1{
font-size:50px;
color:#ff1744;
}

.section{
padding:50px 10%;
text-align:center;
}

.section h2{
color:white;
font-size:35px;
margin-bottom:25px;
}

.card,
.kontaktformular,
.box{
background:rgba(255,255,255,.95);
padding:35px;
max-width:700px;
margin:30px auto;
border-radius:25px;
box-shadow:0 15px 35px rgba(0,0,0,.3);
animation:hoch 1s;
color: black;
}

button{
padding:14px 22px;
margin:8px;
border:none;
border-radius:15px;
cursor:pointer;
font-size:16px;
background:#ff1744;
color:white;
transition:.3s;
}

button:hover{
transform:translateY(-5px) scale(1.05);
}

.galerie{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
margin-top:30px;
}

.bild{
background:white;
padding:15px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.3);
animation:einblenden .8s;
}



.bild img{
width:220px;
height:160px;
object-fit:cover;
border-radius:15px;
transition:0.4s;
}

.bild:hover img{
transform:scale(1.1) rotate(2deg);
}

.bild p{
margin-top:10px;
font-weight:bold;
color:#ff1744;
}

input,textarea{
width:100%;
padding:12px;
margin:10px 0;
border-radius:10px;
border:1px solid gray;
}

.like-button{
font-size:30px;
padding:20px 50px;
border-radius:50px;
}

#likes{
font-size:30px;
color:white;
}

#uhr{
color:white;
font-size:25px;
text-align:center;
margin:20px;
}

footer{
background:black;
color:white;
padding:20px;
text-align:center;
}

/* Dark Mode Klasse */
.dark{
background:#111 !important;
color:white !important;
}

.dark .hero, 
.dark .card, 
.dark .kontaktformular, 
.dark .box, 
.dark .bild {
background: rgba(40, 40, 40, 0.95);
color: white;
}

/* Reaktionsspiel spezifische Styles */
#startBtn,
#gameBtn{
    width:220px;
}

#gameBtn{
    background:#7f8c8d;
    color:white;
    font-size:18px;
    font-weight:bold;
}

#result{
    margin-top:20px;
    font-size:22px;
    font-weight:bold;
}

/* Animationen */
@keyframes hoch{
from{
opacity:0;
transform:translateY(50px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes einblenden{
from{
opacity:0;
transform:scale(.8);
}
to{
opacity:1;
transform:scale(1);
}
}

