:root {
  --color-primary: #5ec576;
  --color-secondary: #61605f;
  --color-tertiary: #ff585f;
  --color-primary-darker: #4bbb7d;
  --color-secondary-darker: #ffbb00;
  --color-tertiary-darker: #fd424b;
  --color-primary-opacity: #5ec5763a;
  --color-secondary-opacity: #ffcd0331;
  --color-tertiary-opacity: #ff58602d;
  --gradient-primary: linear-gradient(to top left, #39b385, #9be15d);
  --gradient-secondary: linear-gradient(to top left, #ffb003, #ffcb03);
}

/*HTML UND BODY*/
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  margin: 0;
  padding: 0;
  font-size: 85.5%;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  background-color: #f3f3f3;
  margin: 0;
  padding: 0;
}

.header {
  color: #000000; /* Textfarbe anpassen */
}

.header span {
  color: #080707; /* Textfarbe anpassen */
}

/* Fügen Sie die folgenden CSS-Regeln hinzu, um sicherzustellen, dass keine Sektion in den Header ragt */
.header__title {
  flex: 1;
  max-width: 115rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 20rem;
  position: relative;
  z-index: 1; /* Stellen Sie sicher, dass der Header über den Sektionen liegt */
}

/* Media Query für schmale Bildschirmbreiten */
@media (max-width: 768px) {
  .header__title {
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem; /* Verringern Sie den Abstand für schmale Bildschirmbreiten */
  }
}
.header__title h1 {
  margin-top: 50px;
  line-height: 0.9;
  font-size: 60px;
  color: var(--color-secondary);
}

.header__title #einleitung {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.5;
}

.highlight {
  position: relative;
}

.highlight::after {
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.9;
  transform: scale(1.07, 1.05) skewX(-35deg);
  background-image: var(--gradient-primary);
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  font-size: 1.3rem;
  font-family: inherit;
  font-weight: 300;
  width: 300px;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn_find_books {
  transition: color 1s;
}

.btn_find_books:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 10px;
}

/* NAVIGATION */
.nav {
  height: 12rem;
  width: 100%;
  padding: 0 6rem;
  z-index: 100;
  display: flex;
}

.navbar {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}
.nav__link {
  font-size: 25px;
}

.hamburger {
  display: none;
}

/* nav and stickly class at the same time */
.nav.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
}

.nav__logo {
  height: 13.5rem;
  width: 10.5rem;
  transition: all 0.3s;
}

.nav__link {
  transition: color 1s;
	color: #444;

}

.nav__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 10px;
}

.nav__item {
  margin-left: 4rem;
  list-style-type: none;
}

.nav__link--btn:link,
.nav__link--btn:visited {
  padding: 0.8rem 2.5rem;
  border-radius: 3rem;
  background-color: var(--color-primary);
  color: #222;
}

#beginn {
  font-size: 30px;
  color: rgb(8, 7, 7);
}

a {
  color: rgb(161, 161, 161);
  font-size: 25px;
  text-decoration: none;
}

/* SEKTIONS */
.section {
  padding-left: 100px;
  padding-right: 100px;
  margin-top: 50px;
  transition: transform 1s, opacity 1s;
  position: relative;
  z-index: 0; /* Stellen Sie sicher, dass die Sektionen unter dem Header liegen */
}

.section--hidden {
  opacity: 0.5;
  transform: translateY(5rem);
}

.section_titel {
  text-align: left;
  color: rgb(161, 161, 161);
  font-size: 5rem;
  line-height: 1.3;
  font-weight: 500;
}

.section_subheadline {
  color: var(--color-primary);
  margin-left: 50px;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 500;
  text-transform: uppercase;
}

.content {
  font-size: 20px;
  margin: 25px 30px 30px;
}

.img_runde_ecke {
  height: 200px;
  width: 200px;
  border-radius: 10px;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
}

.img_header {
  height: 300px;
  width: 300px;
  border-radius: 100px;
  border: 2px solid var(--color-primary);
  border-collapse: separate;
  border-spacing: 15px 50px;
}

/* OPERATIONS */
.operations {
  max-width: 100rem;
  margin: 6rem auto 0 auto;
  background-color: #fff;
}

.operations__tab-container {
  display: flex;
  justify-content: center;
}

.operations__tab {
  margin-right: 2.5rem;
  transform: translateY(-50%);
}

.operations__tab span {
  margin-right: 1rem;
  font-size: 0px;
  font-weight: 600;
  display: inline-block;
  color: White;
}

.operations__tab--1 {
  color: White;
  background-color: var(--color-secondary);
  margin: 0;
}

.operations__tab--1:hover {
  background-color: var(--color-primary);
}

.operations__tab--2 {
  color: White;
  background-color: var(--color-secondary);
  margin: 0;
}

.operations__tab--2:hover {
  background-color: var(--color-primary);
}

.operations__tab--3 {
  color: White;
  background-color: var(--color-secondary);
  margin: 0;
}

.operations__tab--3:hover {
  background-color: var(--color-primary);
}

.operations__tab--active {
  transform: translateY(-66%);
  background-color: var(--color-primary);
}

.operations__content {
  display: none;
  font-size: 1.7rem;
  padding: 2.5rem 3rem 6.5rem 3rem;
}

.operations__content--active {
  display: grid;
  grid-template-columns: 7rem 1fr;
  column-gap: 3rem;
  row-gap: 0.5rem;
}

.operations__header {
  font-size: 2.25rem;
  font-weight: 500;
  align-self: center;
}

.operations__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  font-size: 50px;
}

.operations__icon svg {
  height: 2.75rem;
  width: 2.75rem;
}

.operations__content p {
  grid-column: 2;
  font-size: 25px;
}

.operations__icon--1 {
  background-color: var(--color-primary-opacity);
}
.operations__icon--2 {
  background-color: var(--color-primary-opacity);
}
.operations__icon--3 {
  background-color: var(--color-primary-opacity);
}
.operations__icon--1 svg {
  fill: var(--color-secondary-darker);
}
.operations__icon--2 svg {
  fill: var(--color-primary);
}
.operations__icon--3 svg {
  fill: var(--color-tertiary);
}
/* SLIDER */
.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;

  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 1s;
}

.slide > img {
  /* Only for images that have different size than slide */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
  /* Only necessary when overlying images */
  /* box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.7); */
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  /* background-color: #fff; */
  background-color: #888;
  opacity: 1;
}

/* TESTIMONIALS */
.testimonial {
  width: 65%;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  line-height: 1;
  font-size: 20rem;
  font-family: inherit;
  color: var(--color-primary);
  z-index: -1;
}

.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: #666;
}

.testimonial__author {
  margin-left: 3rem;
  font-style: normal;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 2rem;
}

.testimonial__photo {
  grid-row: 1 / span 2;
  width: 6.5rem;
  border-radius: 50%;
}

.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
}

.testimonial__location {
  font-size: 1.5rem;
}

.section__title--testimonials {
  margin-bottom: 4rem;
}

/* FOOTER */
.footer {
  margin-top: 30px;
  padding: 3rem 3rem;
  background-color: #37383d;
}

.footer__nav {
  list-style: none;
  height: 25px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.footer__item {
  margin-right: 4rem;
}

.footer__link {
  font-size: 1.2rem;
  color: #eee;
  text-decoration: none;
}

.footer__logo {
  height: 5rem;
  display: block;
  margin: 0 auto;
}

.footer__copyright {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
}

.footer__copyright .footer__link {
  font-size: 1.4rem;
}

.all_books {
  background-color: white;
  width: auto;
  height: 500px;
  padding: 50px 200px 200px 200px;
}

.nav__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  gap: 10;
}
/* Styles für das Burger-Menü */
.burger-menu,
.close-menu {
  display: none; /* Standardmäßig ausblenden */
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
}

.close-icon {
  font-size: 30px;
  color: black;
}
/* Media Query für Smartphones und kleine Bildschirme */
@media (max-width: 768px) {
  .burger-menu {
    margin-left: 20px;
    display: flex; /* Bei kleinen Bildschirmen anzeigen */
  }

  .close-menu {
    display: flex; /* Bei kleinen Bildschirmen ausblenden */
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .close-menu .close-icon {
    color: #000;
  }

  .nav__links {
    display: none; /* Bei kleinen Bildschirmen ausblenden */
    flex-direction: column;
    text-align: center;
    background-color: #ffffff;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 10px;
  }

  .nav__links.show-menu {
    display: flex; /* Bei Klick auf das Burger-Menü anzeigen */
  }

  .burger-menu.show-menu {
    display: none; /* Bei Klick auf das X-Symbol ausblenden */
  }

  .close-menu.show-menu {
    display: flex; /* Bei Klick auf das X-Symbol anzeigen */
  }
}
