/* assets/css/custom.css - CHANGE hyperlink color */
a,
.post-content a {
  color: rgb(191,14,52) !important;      /* your chosen red */
}
a:hover,
.post-content a:hover {
  color: rgb(191,14,52) !important;    /* a lighter hover red */
}

/* add my own picture to main page */
.home-sidebar-profile {
  margin-bottom: 1.5rem;
}
.home-sidebar-profile img {
  width: 100%;           /* fill the sidebar column */
  border-radius: 4px;
}



/* bleed a portion of the image into the top nav */
.site-nav {
  position: relative;            /* ensure pseudo‑element is positioned */
}
.site-nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://eduard-keilmann.github.io/lagoon.jpg') no-repeat;
  background-size: 150% auto;        /* or "cover" or “contain” if you want the whole image */
  background-position: center -10px;   /* adjust to show your “cut‑out” */
  opacity: 0.2;                   /* adjust opacity */
  z-index: -1;                    /* behind the menu text */
}



/* in assets/css/custom.css */
.crop-me {
  width: 200px;            /* your desired box */
  height: 200px;           /* your desired box */
  object-fit: cover;       /* ✓ preserves aspect ratio, crops overflow */
  object-position: 50% 20%;/* ✓ choose your “cut‑out” focal point */
  display: block;          /* avoids inline‑img descenders */
  border-radius: 4px;      /* optional styling */
}

/* let text flow around an image */
.float-image-left {
  float: left;
  margin: 1em 1em 1em 1em;
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 4px;
  display: block;  /* avoids weird inline‑img gaps */
}
.float-image-right {
  float: right;
  margin: 1em 1em 1em 1em;
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 4px;
  display: block;  /* avoids weird inline‑img gaps */
}


.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;   /* niemals breiter als der Viewport */
  /* aspect-ratio: 16 / 9;   /* Browser rechnet automatisch Höhe */
  height: auto;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  display: block;
  width: 100%;
  height: auto;
}

/* Nur, falls Du global noch etwas für .video-container brauchst: */
.video-container {
  margin: 0 auto;
  /* mehr gibt’s nicht nötig */
}

