
/* Style für persönliche Seite mit Bild, Text und Links zu Bilderalben */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f6f8;
  padding: 20px;
}

h1 {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 10px;
}

/* CARD */
.card {
  background: #fff;
  width: 95%;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap:12px;
  margin-top: 50px;
  margin-right: auto;
  margin-bottom: 100px;
  margin-left: auto;
 
}  
  
/* Standard: Mobile */
@media (min-width: 320px) {
  body {
    padding: 12px;
  }

  .card {
    width: 100%;
    max-width: 1400px;
    /* margin: 30px auto; */
    padding: 12px;
  }
}  
 
  
/* Tablet */
@media (min-width: 900px) {
  .card {
    width: 95vw;
  }
  h1 {
  margin-left: 20px;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .card {
    width: 90vw;
    max-width: 1400px;
  }
  h1 {
  margin-left: 50px;
  }
  
}

/* OBERE ZEILE */
.top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* BILD LINKS 30% */
.image-box {
  flex: 0 0 30%;
  min-width: 180px;
}

.image-box img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* TEXT RECHTS 70% */
.text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  }

h3 {
  font-size: 22px;
  color: #222;
  margin-top: 20px;
}

p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* GALERIE LINK */
.gallery-link {
  display: inline-block; /* oder block */
  margin-bottom: 50px;
  color: #ff0000;
  font-size: 20px;
  text-decoration: none !important;  
}

.gallery-link:hover {
  opacity: 0.8;
  color: #000000;
}

a.gallery-link,
a.gallery-link:link,
a.gallery-link:visited,
a.gallery-link:hover,
a.gallery-link:active {
  text-decoration: none;
  color: #ff0000;
}

/* MOBILE */
@media (max-width: 700px) {
  .top {
    flex-direction: column;
  }

  .image-box,
  .text-box {
    width: 100%;
  }
}
