/* ============================================================
   BASE & RESET
   ============================================================ */
* {
  box-sizing: border-box;
}
body {
  height: 100%;
  position: relative;
  font-size: 100%;
  padding: 10px 0 0 0;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
  color: hsl(0, 0%, 30%);
}
h1 {
  font-size: 1.7em;
  margin: 0 0 20px;
  font-weight: 700;
  font-style: italic;
}
p {
  font-size: 1.3em;
}
a {
  text-decoration: none;
}
iframe {
  margin: 0;
  padding: 0;
  border: none;
  overflow: auto;
}
.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-serif-bold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: italic;
}
.charm-bold {
  font-family: "Charm", cursive;
  font-weight: 700;
  font-style: normal;
}
/* ============================================================
   COLORS & THEMES
   ============================================================ */
.bg_color_1 {
  background-color: #bcc299;
}
.bg_color_2 {
  background-color: #aecbd2;
}
.bg_color_3 {
  background-color: #ddc29f;
}
.bg_color_4 {
  background-color: #617182;
}
.bg_color_5 {
  background-color: #ffffff;
}
.text_color_1 {
  color: #ffffff;
}
a[href*="mailto"],
a[href*="tel"],
a[href*="http"] {
  color: hsl(0, 0%, 30%);
  text-decoration: underline dotted hsl(0, 0%, 30%) 2px;
}
a:hover[href*="mailto"],
a:hover[href*="tel"],
a:hover[href*="http"] {
  text-decoration-color: #ffffff;
}
/* ============================================================
   LAYOUT – FLEX CONTAINERS
   ============================================================ */
.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto 20px;
}
.flex-container > div {
  padding: 20px;
  margin: 0 10px;
  text-align: left;
  font-size: 1.3em;
  overflow: hidden;
}
/* ============================================================
   TRANSITIONS (shared)
   ============================================================ */
#top_1,
#top_2,
#row_1_1,
#row_1_2,
#row_2_1,
#row_2_2,
#row_2_3,
#row_3_1,
#row_3_2,
#row_3_3,
#bottom_1,
#top_button a,
#top_button a:hover,
.imghover {
  transition: all 0.5s;
}
/* ============================================================
   HEADER
   ============================================================ */
#top {
  height: 180px;
}
#top_1 {
  width: 15%;
  text-align: center;
  align-content: center;
}
#top_2 {
  width: 85%;
  display: flex;
  padding-right: 40px;
  background-image: url("img/bicycle_parts.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* ============================================================
   ROW 1
   ============================================================ */
#row_1 {
  height: 560px;
}
#row_1_1 {
  width: 65%;
  background-image: url("img/mountainroad.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position-y: center;
}
#row_1_2 {
  width: 35%;
  overflow:auto;
  font-size: 1.3em;
  font-weight: 400;
  font-style: normal;
}
#row_1_2 li::before {
  color: hsl(0, 0%, 100%);
}
#row_1_2 li {
  color: hsl(0, 0%, 30%);
}
/* ============================================================
   ROW 2
   ============================================================ */
#row_2 {
  height: 400px;
}
#row_2_1 {
  width: 30%;
  text-align: center;
  font-weight: 700;
  font-style: normal;
}
#row_2_2 {
  width: 25%;
  text-align: center;
  font-size: 1.1em;
}
#row_2_3 {
  width: 45%;
  height: 400px;
  background-image: url("img/Gravelbike.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position-y: center;
}
/* ============================================================
   ROW 3
   ============================================================ */
#row_3 {
  height: 400px;
}
#row_3_1 {
  width: 37%;
  padding: 0;
  background-image: url("img/Muenster.svg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position-y: center;
}
#row_3_2 {
  width: 23%;
  background-image: url("img/old road bike.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position-y: center;
  background-position-x: center;
}
#row_3_3 {
  width: 40%;
  font-size: 1.2em;
  font-weight: 400;
}
/* ============================================================
   FOOTER
   ============================================================ */
#bottom {
  height: auto;
}
#bottom_1 {
  width: 100%;
  text-align: center;
}
#top_button {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 100;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  background-color: #bcc299;
}
#top_button a {
  font-size: 1.8em;
  color: #000000;
  display: block;
  line-height: 35px;
}
#top_button a:hover {
  color: #ffffff;
}
/* ============================================================
   COMPONENTS
   ============================================================ */
/* Custom bullet list */
.bulletlist li {
  list-style: none;
  color: rgb(255, 255, 255);
}
.bulletlist li::before {
  content: "\29BF";
  display: inline-block;
  line-height: 1.5em;
  width: 1.3em;
  margin-left: -1.3em;
}
/* Quote block */
.quote {
  margin: 280px 50px 50px 10px;
}
.specialfont {
  font-family: "Charm", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: 1.9em;
  color: white;
  text-align: right;
  margin: 0;
}
.name {
  font-size: 0.9em;
  color: white;
  text-align: right;
}
.imghover:hover {
  transform: scale(1.15);
}
/* ============================================================
   IMAGE GALLERY
   ============================================================ */
#image-gallery {
  position: relative;
  width: calc(100% - 20px);
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
#current-image {
  max-width: 100%;
  max-height: 600px;
  display: block;
  margin: auto;
}
#image-thumbs {
  display: flex;
  overflow-x: auto;
  margin: 20px 0 0 0;
  width: 100%;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
  scrollbar-width: thin;
}
#image-thumbs::-webkit-scrollbar-track {
  background: transparent; /* Hintergrund der Leiste */
}
.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.5s;
}
.thumb:hover {
  border-color: #ffffff;
}
/* Navigation buttons */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #617182;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}
#prev-button {
  left: 10px;
  color: #ffffff;
}
#next-button {
  right: 10px;
  color: #ffffff;
}
#prev-button,
#next-button {
  transition: color 0.5s;
}
#prev-button:hover,
#next-button:hover {
  color: #000000;
  transition: color 0.5s;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 1000px) {
  body {
    padding: 0 40px;
  }
  .flex-container {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
  #image-gallery {
    width: 100%;
    padding: 10px;
  }
  #top,
  #row_1,
  #row_2,
  #row_3,
  #bottom {
    height: auto;
  }
  /* Header */
  #top_1 {
    text-align: center;
    align-content: center;
    width: 100%;
    margin: 0 0 0 0;
  }
  #top_2 {
    width: 100%;
    height: 140px;
    margin: 20px 0 0 0;
    background-size: cover;
  }
  #row_1_2,
  #row_2_1,
  #row_2_2,
  #row_2_3,
  #row_3_3,
  #bottom_1 {
    width: 100%;
    margin: 0;
  }
  /* Row 1 */
  #row_1_1 {
    width: 100%;
    height: 500px;
    margin: 0 20px 20px;
    padding: 0 20px;
    background-size: auto 700px;
    background-position: bottom;
  }
  .quote {
    margin: 180px 50px 10px 10px;
  }
  /* Row 2 */
  #row_2_3 {
    display: none;
  }
  /* Row 3 */
  #row_3_1 {
    display: none;
  }
  #row_3_2 {
    display: none;
  }
  #row_3_3 {
    background-size: 400px;
  }
}
