/* --- RESET & GRUNDSTILE --- */
@font-face {
    font-family: "HeroicCondensed-Medium";
    src: url("schriften/HeroicCondensed-Medium.woff2") format("woff2"),
         url("schriften/HeroicCondensed-Medium.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "NeueEinstellung-Regular";
    src: url("schriften/NeueEinstellung-Regular.woff2") format("woff2"),
         url("schriften/NeueEinstellung-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
h1{
    font-family: "HeroicCondensed-Medium", Arial, sans-serif;
    font-weight: bold;
    /* grösse wird im Hero definiert*/
}


h2, h3 {
    font-family: "HeroicCondensed-Medium", Arial, sans-serif;
    font-weight: bold;
    font-size: 32px;
}

body {
    font-family: "NeueEinstellung-Regular", Arial, sans-serif;
    font-size: 16px;
}

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

body {
  line-height: 1.6;
  background-color: #ffffff;
  color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: all 0.3s ease;
  z-index: 1000;
}

.logo img {
  width: 150px;
  transition: all 0.3s ease;
  filter: invert(100%);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav a:hover {
  color: #1e90ff;
}

/* --- Nur für musikpage gültig --- */
.musikpage .nav a {
  color: #ffffff;
}
.musikpage img{
  filter: inherit;
}

/* --- Scrolled --- */
.header.scrolled {
  background-color: #212121;
  padding: 10px 50px;
  box-shadow: 0 4px 30px #1e90ff;
  
}
.nav a.scrolled{
    color: #ffffff;
}
.logo.scrolled{
    filter: invert(100%);
}
.nav a.scrolled:hover{
    color: #1e90ff;
}

/* --- HERO SECTION --- */
.hero {
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: center;
  background-size: cover;
}

.hero h1 {
  font-size: 50px !important;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* Startseite */
body.mainpage .hero {
  background-image: url('Background/cover.jpg');
}

/* Lego-Seite */
body.legopage .hero {
  background-image: url('Background/IMG_2368.jpg');
}

/* Game-Seite */
body.game .hero {
  background-image: url('Bilder/Hero_Game.jpg');
}

/* DJ-Seite */
body.musikpage .hero {
  background-image: url('Background/djgig.jpg');
}

/* Hobby-Seite */
body.hobby .hero {
  background-image: url('Bilder/Hero_Hobby.jpg');
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero {
    height: 60vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}


/* --- MAIN CONTENT --- */
.hero {
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
}

.hero h1 {
  font-size: 40px;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.containerleft, .containerright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.containerleft .text, .containerright .text {
  max-width: 600px;
  color: #000000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  margin-left: 20px;  
  margin-right: 20px;
  text-align: center; 
}

.containerleft {
  flex-direction: row; /* Text links, Bild rechts */
}

.containerright {
  flex-direction: row-reverse; /* Bild links, Text rechts */
}

.containerleft img,
.containerright img {
  display: flex;
  height: auto;
  max-width: 1200px;
  min-height: 70%;
}

.brickheadzlogo {
  display: block;       
  margin-top: 10px;     
  margin-left: 50%;    
  transform: translateX(-50%); 
  margin-bottom: 5px;  
  max-width: 200px;   
}

.buttoncontainer {
  margin-top: 25px;
}

.button {
  display: block;       
  margin-top: 10px;     
  margin-left: 50%;    
  transform: translateX(-50%);
  font-family: Impact, 'Arial Narrow Bold', sans-serif;
  padding: 12px 25px;  
  max-width: 200px; 
  background-color: #9e9e9e;
  color: rgb(255, 255, 255);
  border-radius: 4px;
  text-align: center;
}

.button:hover {
  color: #000000;
  background-color: #1e99ff;
}

.video{
  width: 75%;
  max-width: 1000px;
  aspect-ratio: 16 / 9; /* Wichtig für YouTube */
  border: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .containerleft, .containerright {
    flex-direction: column;
    text-align: center;
  }

  .containerleft img,
  .containerright img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .containerleft .text,
  .containerright .text {
    margin: 0 auto;
    max-width: 90%;
  }
}


/* --- FOOTER --- */
.footer {
  background-color: #212121;
  box-shadow: 50px 0px 0px #1e90ff;
  text-align: center;
  padding: 40px 20px;
  height: 280px;
}

.footer img {
  display: inline-block;
  margin-bottom: 20px;
  width: 100px;
  filter: invert(30%);
  
}

.footer p {
  color: #868686;
  font-size: 0.9rem;
}
