/*Generel styling af hele siden*/ 

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  }

/*For at formatere om siden*/

.about p {
  line-height: 2; /* 1.4 til 1.8 er ofte ideelt */
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem; /* afstand mellem tekst og billede */
  padding: 2rem;
}

.about .text {
  flex: 1;
}

.about .image img {
  width: 400px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
  
/*For formatering af videoer på sanger siden*/

.video-tekst-par {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.video-tekst-par .tekstboks {
  flex: 1;
  max-width: 500px;
  background-color: #f5eef8;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.video-tekst-par .video-wrapper {
  flex: 1;
  max-width: 560px;
  aspect-ratio: 16 / 9;           /* ✅ holder formatet */
  position: relative;
}

.video-tekst-par .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/*Model billedegalleri*/

.billedgalleri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.billede {
  text-align: center;
}

.billede img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.fotokredit {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

/*Specificering af CV placering og udseende*/

.cv-preview {
  max-width: 350px;        /* Justér bredden efter behov */
  border-radius: 5px;     /* Afrundede hjørner */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Let skygge */
  display: block;
  margin: 2rem auto;       /* Centreret med lidt luft omkring */
  width: 100%;
  height: auto;
}

.cv-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.cv-tekstboks {
  flex: 1;
  max-width: 500px;
  background-color: #f5eef8;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}


/* Til Aktuel side */
.projekter-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.projektboks {
  background-color: #f5eef8;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projektboks img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.projekt-tekst h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #5b2c6f;
}

.projekt-tekst p {
  line-height: 1.6;
  color: #333;
}

@media (min-width: 768px) {
  .projektboks.med-billede {
    display: flex; /* ← dette mangler! */
    flex-direction: row;
    align-items: center;
  }

  .projektboks.med-billede img {
    flex: 1;
    max-width: 300px;
    margin-right: 2rem;
  }

  .projektboks.med-billede .projekt-tekst {
    flex: 2;
  }
}

/* Så overskriften på portfolio ikke svæver */
.galleri-overskrift {
  margin-bottom: 0.2rem;
}