body{
margin:0;
font-family:Arial;
background:#121212;
color:white;
scroll-behavior:smooth;
}

.hintergrundbild{
height:100vh;
background-image:url("img/bg-downhill.jpg");
background-size:cover;
background-position:center;
background-attachment:fixed;
display:flex;
align-items:center;
justify-content:center;
}

.EventdatenBildContainer{
padding:1500px, 20px 20px 20px;
border-radius:10px;
max-width: 100%;
}

.Eventdaten{
  /* Bild skaliert nicht breiter als sein Container */
  max-width: 100%;
  /* Höhe passt sich automatisch an, um Proportionen zu wahren */
  height: auto;
  /* Optional: Sorgt dafür, dass Padding korrekt berechnet wird */
  box-sizing: border-box;
}

.navbar{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:rgba(0,0,0,0.7);
z-index:1000;
}

.logo{
color:orange;
font-size:30px;
font-weight:bold;
}

.nav-links{
display:flex;
gap:25px;
list-style:none;
}

.nav-links a{
text-decoration:none;
color:#90ee90;
font-weight:bold;
}

.nav-links a:hover{
color:orange;
}

.menu-toggle{
display:none;
}

.section{
padding:100px 15%;
}
p.Ausruf-part1{
    font-size: 1.8vw;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
p.Ausruf-part2{
    font-size: 2vw;
    font-weight:700;
    text-align: center;
}
h2{
color:orange;
font-size: 3vw;
letter-spacing: normal;
word-spacing: normal;
font-weight: normal;/*fett / bold*/
font-style: normal;/*kursiv = oblique*/
font-family:Arial, Helvetica, sans-serif;
}

input,textarea{
width:100%;
padding:10px;
margin-top:10px;
background:#1e1e1e;
border:1px solid #90ee90;
color:white;
}

button{
margin-top:15px;
padding:10px 20px;
background:orange;
border:none;
font-weight:bold;
cursor:pointer;
}

button:hover{
background:#90ee90;
}

.results{
width:100%;
border-collapse:collapse;
margin-top:30px;
}

.results th{
background:orange;
color:black;
padding:10px;
}

.results td{
padding:10px;
border-bottom:1px solid #333;
}

.results tr:hover{
background:#1e1e1e;
}

.gallery{
display:flex;
flex-wrap:wrap;
gap:15px;
margin-top:20px;
}

.gallery img{
width:220px;
height:150px;
object-fit:cover;
border:2px solid orange;
cursor:pointer;
}

.gallery img:hover{
transform:scale(1.05);
}

.lightbox{
display:none;
position:fixed;
z-index:2000;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
}

.lightbox-content{
display:block;
margin:auto;
margin-top:5%;
max-width:80%;
max-height:80%;
}

.close{
position:absolute;
top:30px;
right:50px;
color:white;
font-size:40px;
cursor:pointer;
}

footer{
text-align:center;
padding:30px;
background:#1e1e1e;
}

@media(max-width:800px){

.menu-toggle{
display:block;
font-size:30px;
cursor:pointer;
color:white;
}

.nav-links{
position:absolute;
top:60px;
right:0;
background:#1e1e1e;
flex-direction:column;
width:200px;
display:none;
padding:20px;
}

.nav-links.active{
display:flex;
}

.hero h1{
font-size:40px;
}

.section{
padding:80px 10%;
}

}