* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
}

/* VENSTRE MENU */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 220px;
  background: #c9bfb8;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  z-index: 9999;
  box-shadow: 2px 0 8px rgba(0,0,0,0.08);
}

.navbar a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-bottom 0.18s ease;
  transform-origin: center;
  border-bottom: 1px solid #a09792;
}

.navbar a:hover {
  background-color: #ddd;
  color: rgb(255, 255, 255);
  transform: scale(1.14);
  z-index: 2;
  border-bottom: 1px solid #333;
}

/* HEADER */
header {
  margin-left: 220px;
  padding: 40px;
  background: #E6AFA3;
  color: rgb(255, 255, 255);
  text-align: center;
}

/* HOVEDINDHOLD */
.main {
  margin-left: 220px;
  padding: 40px;
  background: #FBF7F4;

  display: flex;               /* Gør det muligt at have tekst til venstre og billede til højre */
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

.text-area {
  max-width: 550px;
  flex: 1;
  padding: 20px;
  /* Blød fade mod højre i stedet for tydelig kant */
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0) 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
  position: relative;
  overflow: visible;
}

/* Venstre kolonne: indeholder .text-area og .text-box */
/* Venstre kolonne: indeholder .text-area og .text-box */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 550px;
  max-width: 550px;
}

/* Subtil venstre accent som en blød streg */
.text-area::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 6px;
  background: linear-gradient(180deg, rgba(201,191,184,0.55), rgba(201,191,184,0.15));
  border-radius: 4px;
  pointer-events: none;
}

/* Overskrifter inde i tekstboksen */
.text-area h1,
.text-area h2,
.text-area h3 {
  margin-top: 0;
  color: #3a2f2a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.text-area h1 { font-size: 34px; }
.text-area h2 { font-size: 26px; }
.text-area h3 { font-size: 20px; }

/* Let overgang for tekstfarve hvis ønskes senere */
.text-area p {
  color: rgb(81, 73, 73); 
  line-height: 1.6;
}

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

.image-box {
  width: 425px;   
  height: auto;
  border-radius: 8px;
  overflow: auto;
}

/* FOOTER */
footer {
  margin-left: 220px;
  background-color: #a8c3ad;
  text-align: center;
  color: white;
  padding: 30px 0;
}

.image-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 450px;
}

.image-area img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ALLE BILLEDER ENS */
.ramme {
  border: 3px solid #aca29c;
}

.bottom-layout {
  display: flex;
  flex-direction: column;
}

/* CENTRER BILLEDER I BUNDEN */
.bottom-layout .image-area {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-direction: row;
  padding: 40px;
}

.bottom-layout .image-area img {
  width: 340px;   
  height: 300px;
  object-fit: cover;
}

.text-box {
  margin-top: 24px;
  padding: 18px;
  background-color: #ffffff;
  border-left: 5px solid #aca29c;
  border-radius: 8px;
  max-width: 500px;
  color: rgb(81, 73, 73);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .navbar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 0;
  }

  header {
    margin-left: 0;
  }

  footer {
    margin-left: 0;
  }

  .main {
    margin-left: 0;
    flex-direction: column;
  }

  .image-box,
  .image-area {
    width: auto;
    max-width: 400px;
  }
}


