/* =========================
Farver & Font
========================= */
:root {
  --blue: #0029CE;
  --pink: #D9D9D9;
  }
  
  @font-face {
  font-family: 'halles';
  src: url('font/halles.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  }
  
  /* =========================
  Globalt
  ========================= */
  body {
  margin: 0;
  font-family: 'halles', sans-serif;
  background-color: var(--pink);
  color: var(--blue);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  }
  
  main {
  flex: 1; /* presser footer i bunden */
  position: relative;
  }
  
  h1 {
  font-size: 5rem;
  margin: 2rem 2.5rem;
  }
  
  /* =========================
  Header & Navigation
  ========================= */
  header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  }
  
  .logo img {
  height: 100px;
  width: auto;
  }
  
  header h1 {
  font-size: 1.5rem;
  margin: 0;
  }
  
  nav {
  display: flex;
  }
  
  nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--blue);
  font-size: 2rem;
  transition: transform 0.2s ease, color 0.2s ease;
  }
  
  nav a:hover {
  transform: scale(1.1);
  }
  
  nav a.active {
  color: transparent; /* gør indmaden usynlig */
  -webkit-text-stroke: 1px var(--blue); /* blå kant */
  font-weight: normal; /* hold samme stil */
  }
  
  /* =========================
  Illustrationer
  ========================= */
  .illustration {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  max-width: 80vw;
  max-height: 100vh;
  height: 100vh;
  }
  
  .illustration.desktop {
  display: none;
  }
  
  /* =========================
  Gallery justering
  ========================= */
  .gallery {
  column-count: 3; /* antal kolonner på desktop */
  column-gap: 1.5rem; /* afstand mellem kolonner */
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 2rem;
  }
  
  .gallery img {
  width: 100%;
  margin-bottom: 1.5rem; /* afstand mellem billeder lodret */
  display: block;
  border-radius: 8px;
  }
  
  .gallery video,
  .gallery iframe,
  .gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  break-inside: avoid; /* vigtigt for columns */
  }
  
  /* Tablet */
  @media (max-width: 1023px) {
  .gallery {
  column-count: 2;
  }
  }
  
  /* Mobil */
  @media (max-width: 767px) {
  .gallery {
  column-count: 1;
  }
  }
  
  /* =========================
  Dekorative illustrationer
  ========================= */
  .decor {
  position: absolute;
  z-index: -1; /* bag galleriet */
  height: auto;
  }
  
  /* Kop nederst til venstre */
  .decor.cup {
  bottom: 0;
  left: 0;
  max-width: 200px;
  }
  
  /* Mobil: gør dem mindre */
  @media (max-width: 767px) {
  .decor.cup {
  max-width: 200px;
  }
  }
  
  /* =========================
  Footer
  ========================= */
  footer {
  background-color: var(--blue);
  color: var(--pink);
  text-align: center;
  padding: 1rem;
  }
  
  footer p {
  margin: 1rem 0;
  font-size: 2rem;
  }
  
  .socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  }
  
  .socials img {
  width: 40px;
  height: 40px;
  }
  
  /* =========================
  Responsivitet
  ========================= */
  
  /* Mobil (under 768px) */
  @media (max-width: 767px) {
  header {
  flex-direction: row;
  align-items: flex-start;
  padding: 1rem;
  }
  
  .logo {
  flex: 1;
  }
  
  nav {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  }
  
  nav a {
  margin: 0;
  }
  }
  
  /* Tablet & Desktop (768px+) */
  @media (min-width: 768px) {
  header h1 {
  font-size: 2rem;
  }
  
  nav a {
  font-size: 3rem;
  }
  
  footer p {
  font-size: 3rem;
  }
  
  .socials img {
  width: 50px;
  height: 50px;
  }
  }
  
  /* Desktop hero (1024px+) */
  @media (min-width: 1024px) {
  .illustration.mobile {
  display: none;
  }
  
  .illustration.desktop {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100vw;
  max-height: 100vh;
  height: auto;
  z-index: -1;
  }
  }
  
  @media (max-width: 767px) {
  main {
  padding-bottom: 100px; /* træk footeren ned, så koppen kan ses */
  }
  }
  
  /* =========================
  MIG – samme komposition som mobil
  (tekst over billede), men større på desktop
  ========================= */
  
  /* Container */
  main.about--elbow {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  }
  
  /* Default (desktop): Grid layout: tekst venstre, billede højre */
  .about--elbow .about__inner {
  display: grid;
  grid-template-columns: 1fr auto; /* tekst fylder alt pladsen, billede til højre */
  align-items: start;
  gap: 2rem;
  padding: 2rem;
  max-width: none; /* fjern centrering */
  margin: 0; /* fjern auto-margin */
  width: 100%; /* fyld hele bredden */
  box-sizing: border-box;
  }
  
  /* Tekst */
  .about__text h1 {
  margin-left: 2.5rem;
  font-size: 5rem;
  line-height: 1.1;
  }
  .about__text p {
  margin-left: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 60ch;
  font-size: 2rem;
  }
  
  /* Billede */
  .about__image {
  align-self: start;
  display: flex;
  justify-content: flex-end; /* helt til højre */
  position: relative;
  z-index: 1;
  margin-right: 0; /* ingen ekstra margin */
  margin-top: 0;
  }
  .about__img {
  max-width: 500px;
  height: auto;
  display: block;
  }
  
  /* Mobil: billede først, tekst bagefter */
  @media (max-width: 767px) {
  .about--elbow .about__inner {
  display: flex;
  flex-direction: column;
  padding: 0; /* fjern padding på containeren på mobil */
  }
  
  .about__image {
  order: -1;
  margin: 0; /* ingen margin */
  padding: 0; /* ingen padding */
  width: 100%; /* containeren fylder hele bredden */
  display: flex;
  justify-content: flex-end; /* skub billedet til højre */
  }
  
  .about__img {
  width: 100%; /* fyld hele bredden */
  max-width: none; /* fjern 80%-begrænsning */
  margin: 0; /* fjern auto-margin */
  display: block;
  }
  
  .about__text {
  margin: 1rem; /* lidt luft omkring teksten */
  }
  }
  
  
  /* Tablet & Desktop */
  @media (min-width: 768px) {
  .about--elbow .about__inner {
  gap: 3rem;
  padding: 0rem 0rem;
  }
  
  .about__text h1 { font-size: 3rem; }
  .about__text p { font-size: 2rem; line-height: 1.75; }
  
  .about__img {
  max-width: 500px; /* lidt større billede på større skærme */
  }
  }