@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary: #6ba292;
  --secondary: #d6a184;
  --highlight: #f2c14e;
  --text: #2e2e2e;
  --text-brighter: #555555;
  --background-beige: #f9f9f6;
}

/* Default Styles Start */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  max-width: 100vw !important;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--background-beige);
  line-height: 1.5;
  font-size: 1.4rem;
  font-family: "Lato", sans-serif;
  position: relative;
}

main {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  z-index: 3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #555555;
  opacity: 0.4;
  z-index: 3;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.container-primary {
  background-color: var(--primary);
}

/* Default Styles End */

/* Button Styles Start */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  /* font-size: 1.6rem; */
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}
/* Button Styles End */

/* Navbar Styles Start */
header {
  width: 100%;
  position: sticky;
  top: 0;
  display: block;
  z-index: 99 !important;
}

nav {
  position: sticky;
  width: 100%;
  top: 0;
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: -1px 2px 6px #ffffffbf;
  -webkit-box-shadow: -1px 2px 6px 0px rgba(255, 255, 255, 0.75);
  -moz-box-shadow: -1px 2px 6px 0px rgba(255, 255, 255, 0.75);
  z-index: 99;
  background: var(--primary);
  color: #fff;
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: end;
}
.scrolled {
  box-shadow: none;
}

nav .logo {
  display: flex;
  justify-content: start;
  align-items: center;
}
nav .logo img {
  height: 6rem;
  width: auto;
  margin-right: 10px;
  aspect-ratio: 16/5 !important;
}

nav ul {
  list-style: none;
  display: flex;
}
nav ul.desktop {
  margin-bottom: 0;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  font-family: Poppins, sans-serif;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  transition: all 0.15s ease-in-out;
}
nav ul li a:hover {
  color: var(--secondary);
}
nav a.nav-active {
  color: var(--secondary);
  font-weight: 600;
}
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 8;
}
.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #fff;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  z-index: 9999;
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}
.hamburger-active .line:nth-child(2) {
  width: 0px;
}
.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}
.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}
.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}
.menubar {
  position: absolute;
  top: 0;
  left: -100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 20% 0;
  background: var(--primary);
  transition: all 0.5s ease-in;
  z-index: 20;
  color: #000;
}
.active {
  left: 0;
}

.menubar ul.mobile {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  z-index: 20;
}
.menubar ul.mobile li {
  margin-bottom: 32px;
  text-align: center;
}
.menubar ul.mobile li a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 90;
}
.menubar ul li a:hover {
  color: var(--highlight);
}
.menubar ul li a.nav-active {
  color: var(--highlight);
  font-weight: 600;
}
@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul.desktop {
    display: none;
  }
}
/* Navbar Styles End */

/* Container Styles Start */
.container {
  padding: 2rem;
}
/* - */
/* Media for all above except navbar */
/* - */
/* Große Smartphones / kleine Tablets */
@media screen and (min-width: 480px) {
  body {
    font-size: 1.6rem;
  }

  .btn {
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }

  .container {
    padding: 4rem 8rem;
  }

  /* nav .logo img {
  width: 100%;
} */
}

/* Tablets */
@media screen and (min-width: 768px) {
  body {
    font-size: 1.8rem;
  }

  .container {
    padding: 8rem 12rem;
  }
}

/* Laptops / kleine Desktops */
@media screen and (min-width: 1024px) {
  body {
    font-size: 2rem;
  }

  .container {
    padding: 8rem;
  }
}

/* Große Desktops */
@media screen and (min-width: 1440px) {
  body {
    font-size: 2rem;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}
/* Container Styles End */

/* Footer Styles Start */
footer {
  background-color: var(--primary);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Footer Styles End */
