/* Farben
Text: #1c1d1c
Offwhite: #f7f6f6
Grüne Highlights: #4caf50
Hover over white: #ddd
Hover over black: #333
*/

html {
  font-size: clamp(16px, calc(1.2vw + 10px), 28px);
  /* Hier Font min und max von 600-1200px */
  line-height: 1.2;
  -webkit-overflow-scrolling: touch;
  /* Firefox: Scrollleiste ausblenden: */
  scrollbar-width: none;
  font-family: "Fustat", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1c1d1c;
}

/* Chrome, Safari, Edge: Scrollleiste ausblenden: */
html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #f7f6f6;
  height: 100vh;
}

* {
  padding: 0;
  margin: 0;
  font-family: inherit;
}
/* Text */
h1 {
  color: #4caf50;
  font-size: 3rem;
}
h2 {
  color: #4caf50;
  font-size: 1.5rem;
}
h3 {
  color: #4caf50;
  font-size: 1rem;
}
p {
  color: #1c1d1c;
  font-size: 1rem;
}
.mark {
  color: #4caf50;
}
a {
  color: #4caf50;
  text-decoration: none;
  font-size: 1rem;
}
a:hover {
  text-decoration: underline;
}

/* header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f6f6; /* Das hier nur bei kleinen Screens */
  /* pointer-events: none; */ /* Das hier nur bei Grösseren Screens */
  z-index: 1000;
}
.logoHeader {
  background-image: url(./images/logo_website2.svg);
  background-repeat: no-repeat;
  background-position: center center;
  height: 25px;
  width: 110px;
  margin: 1rem;
  cursor: pointer;
  pointer-events: auto;
}
.logoHeader.open {
  filter: invert(1);
}
.hamburger {
  cursor: pointer;
  pointer-events: auto;
  padding: 10px;
  margin: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
header.open {
  background: #1c1d1c;
}
.hamburger:hover {
  background-color: #ddd;
}
.hamburger.open:hover {
  background-color: #333;
}
.line {
  width: 30px;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
  background-color: #1c1d1c;
}
.hamburger.open .line:nth-child(1) {
  transform: translateY(8px) rotate(135deg);
  background-color: #f7f6f6;
}
.hamburger.open .line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .line:nth-child(3) {
  transform: translateY(-8px) rotate(-135deg);
  background-color: #f7f6f6;
}
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #1c1d1c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.2s ease-in-out;
  z-index: 999;
}
.side-menu a {
  text-decoration: none;
  color: #f7f6f6;
  background-color: none;
  transition: color 0.2s ease;
  border-radius: 30px;
  padding: 20px 50px;
  font-size: 24px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.side-menu a:hover {
  color: #4caf50;
  background-color: #333;
}
.side-menu.open {
  right: 0;
}

/* Footer */
.footer {
  margin-top: 100px;
  padding: 20px;
  font-size: 14px;
  color: #1c1d1c;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll to top btn */
#scrollToTopBtn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background-image: url(./images/scroll.svg);
  background-position: center center;
  background-color: #f7f6f6;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
}
#scrollToTopBtn:hover {
  background-color: #ddd;
  transition: 0.3s ease;
}

/* Scrollbar */
.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #f7f6f6;
  z-index: 1000;
}
.progress-bar-inner {
  height: 100%;
  background-color: #4caf50;
  width: 0;
  transition: width 0.1s ease-out;
}

/* Zahnrad */
.rotate-cog {
  height: 10%;
  width: 10%;
  animation: rotate360 10s linear infinite;
}
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* CONTAINER */
.container {
  text-align: left;
  max-width: calc(100% - 4rem);
  margin: 6rem 2rem;
  list-style-position: inside;
}
/* Container Ergänzung für den obersten auf der Seite */
.topcontainer {
  margin-top: 20vh;
}
