@font-face {
  font-family: 'Px';
  src: url('../Px-Grotesk-Light.ttf');
}

@font-face {
  font-family: 'CA';
  src: url('../CA.ttf');
}

@font-face {
  font-family: 'SB';
  src: url('../SB.ttf');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Px', sans-serif;
  color: white;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.page-wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('https://gymnasium-hoechstadt.de/wp-content/uploads/2024/07/9213862-verbessert-rr.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(40%);
  z-index: -2;
}

/* Header */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.logo-ca {
  font-family: 'CA', sans-serif;
  font-size: 48px;
  font-weight: light;
}

.logo-sb {
  font-family: 'SB', sans-serif;
  font-size: 48px;
  font-weight: light;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 21px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Hauptinhalt */
main {
  flex: 1;
  position: relative;
}

/* JETZT ANFRAGEN */
#logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

#logo-center a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

#logo-center a:hover {
  background-color: white;
  color: black;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* Hover-Hintergrund */
.hover-bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}



/* Zentrierte Liste */
.project-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  gap: 20px;
  padding: 60px 20px;
  font-size: 24px;
  font-family: 'Px', sans-serif;
  text-transform: uppercase;
  color: white;
  z-index: 10;
  position: relative;
}

.project-list li {
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-list li:hover {
  transform: scale(1.1);
  color: #ffcc00;
}


