* *::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background-color: black; */
  font-family: "Poppins", sans-serif;
  height: 100%;
  width: 100%;

  overflow-x: hidden;
}

/* #sub-header ul li:hover,
body.index li.index,
body.jobs li.jobs,
body.kontakt li.kontakt,
body.leistungen li.leistungen,
body.zertifizierung li.zertifizierung {
  background-color: #ffca08;
} */

#sub-header ul li:hover a,
body.index li.index a,
body.jobs li.jobs a,
body.kontakt li.kontakt a,
body.leistungen li.leistungen a,
body.zertifizierung li.zertifizierung a,
body.quereinsteiger li.quereinsteiger a,
body.bauhelfer li.bauhelfer a,
body.pflasterer li.pflasterer a,
body.tiefbaufacharbeiter li.tiefbaufacharbeiter a {
  font-size: 24px;
  text-decoration: underline;
  font-weight: bold;
}
.selected {
  font-size: 20px;
}

nav {
  display: flex;
  position: fixed;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  min-height: 8vh;
  background-color: #fade75;
  font-family: "Poppins", sans-serif;
  z-index: 4;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
}

.logo {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}

.logo-bild {
  height: 8vh;
  width: 8vh;
  padding: 5px;
  display: flex;
}

.nav-links {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

.nav-links a,
.menu a {
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 20px;
  color: black;
}

.nav-links li {
  list-style: none;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px;
  /* transition: all 0.3s ease; */
}

.jobs-container {
  display: flex;
  flex-direction: row;
}

footer {
  position: relative;
  bottom: 0;
  padding-bottom: 0;
  left: 0;
  right: 0;
  /* height: 6vh; */
  height: auto;
  /* width: 100vw; */
  padding: 40px;
  margin-top: 4em;
  background-color: #fade75;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
  text-align: center;
  margin: auto;
  width: 60%;
}

.footer-content a {
  font-size: 12px;
}
.textcontainer {
  /* border: 1px solid black; */
  height: auto;
  /* width: 50%; */
  display: block;
  margin: auto;
  text-align: center;
  justify-content: center;
}

.textcontainer-impressum {
  height: auto;
  display: flex;
  flex-direction: column;
  hyphens: auto;
  margin: auto;
  text-align: justify;
}

.maps-container {
  position: relative;
  margin-top: 10vh;
  width: 90%;
}
#coveto_iframe {
  width: 90%;
}
#maps-iframe {
  width: 90%;
  max-width: 800px;
}

.menu {
  padding: 0.2em 0.5em;
  background: #fade75;
  border: 1px solid #363a43;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  position: absolute;
  /* top: 3em; */
  left: 50%;
  width: 30vm;
  transform: translateX(-75%);
  opacity: 0;
  display: none;
  /* transition: 0.2s; */
  z-index: 10;
}

.zertifikate {
  width: 100%;
  margin-top: 7em;
  margin-bottom: 7em;
  justify-content: space-between;
  display: inline-block;
  flex-direction: row;
}

.zertifikate img {
  /* width: 60%; */
  max-width: 300px;
  margin: 20px;
}

.textbaustein {
  position: relative;
  margin-top: 1vh;
  margin: auto;
  width: 80%;
  max-width: 800px;
  font-size: 18px;
  text-align: center;
}
.textbaustein-lang {
  position: relative;
  margin-top: 1vh;
  margin: auto;
  width: 80%;
  max-width: 800px;
  font-size: 18px;
  text-align: justify;
}

.anlernen {
  position: absolute;
  right: 0;
  margin-right: 10vw;
  margin-top: 4em;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #000;
  transition: 0.3s;
}

.caret-rotate {
  transform: rotate(180deg);
}
.image-container {
  width: 50%;
  height: 50%;
}

.image-leistung {
  width: 60%;
  height: 60%;
  /* max-width: 500px;
  max-height: 500px; */
  min-width: 500px;
  min-height: 500px;
  margin: auto;
  margin-top: 15%;
  position: relative;
}
.jobs-div {
  width: 100%;
  text-align: center;
  padding: 20px;
}

@media screen and (max-width: 1700px) {
  .nav-links {
    width: 70%;
  }
  .nav-links a,
  .menu a,
  .selected {
    font-size: 14px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .logo-bild {
    height: 6vh;
    width: 6vh;
    margin-right: 1em;
  }
  #sub-header ul li:hover a,
  body.index li.index a,
  body.jobs li.jobs a,
  body.kontakt li.kontakt a,
  body.leistungen li.leistungen a,
  body.zertifizierung li.zertifizierung a {
    font-size: 18px;
    text-decoration: underline;
    font-weight: bold;
  }
  .menu {
    transform: translateX(-80%);
  }
}

@media screen and (max-width: 1000px) {
  body {
    overflow-x: hidden;
  }
  .nav-links {
    position: fixed;
    right: 0px;
    height: 50vh;
    top: 6vh;
    background-color: #fade75;
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 35%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }

  h1.header {
    font-size: 24px;
  }

  h2.header {
    font-size: 18px;
  }
  .textbaustein {
    font-size: 14px;
  }

  .textbaustein-lang {
    font-size: 14px;
  }
  .list {
    font-size: 14px;
  }

  .textcontainer {
    height: auto;
    width: 100%;
    margin: 0;
    display: block;
    margin-top: 5vh;
    justify-content: center;
    text-align: center;
  }
  .jobs-container {
    flex-direction: column;
  }
  .menu {
    transform: translateX(-50%);
  }
  .maps-container {
    margin: auto;
  }
  .footer-content {
    flex-direction: column;
    justify-content: space-around;
  }

  footer a {
    margin-top: 5%;
    margin-bottom: 5%;
  }
  .image-container {
    width: 100%;
    height: 100%;
  }
  .image-leistung {
    width: 90%;
    height: 90%;
    margin-top: 0;
    max-width: 500px;
    max-height: 500px;
    min-width: 250px;
    min-height: 250px;
  }
}
.jobs-div {
  width: 100%;
  text-align: center;
  padding: 20px;
}

@media screen and (max-width: 950px) and (min-height: 1100px) {
  footer {
    position: fixed;
  }
  .textcontainer {
    margin-bottom: 150px;
  }
}

@media screen and (max-width: 400px) {
  .logo {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .textbaustein {
    width: 90%;
  }
  .textbaustein-lang {
    width: 90%;
  }

  .nav-links a,
  .menu a,
  .selected {
    font-size: 12px;
    letter-spacing: 0;
  }
  h1.header {
    font-size: 24px;
  }
  h2.header {
    font-size: 18px;
  }
  .anlernen {
    position: relative;
    left: 25%;
    margin-top: 0.5em;
    margin-bottom: 0;
  }
}

@media screen and (max-height: 750px) {
  .menu {
    transform: translate(-175%, -75%);
  }
  .caret {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-top: 6px solid #000;
    transition: 0.3s;
  }

  .caret-rotate {
    transform: rotate(180deg);
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0%;
}

.toggle .line3 {
  transform: rotate(+45deg) translate(-5px, -6px);
}

.carousel {
  width: 100vw;
  height: 20vw;
  min-height: 250px;
  position: relative;
  padding-top: 4em;
}

.slide {
  position: absolute;
  height: 100%;

  inset: 0;
  opacity: 0;
  transition: 600ms opacity ease-in-out;
  transition-delay: 600ms;
}

.slide > img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header {
  display: inline-block;
  margin: auto;
  margin-top: 7vh;
  margin-bottom: 3vh;
  position: relative;
  width: 80%;
  text-align: center;
}
.header-jobs {
  display: inline-block;
  margin-left: 2em;
  margin-top: 7vh;
  margin-bottom: 3vh;
  position: relative;
  width: 80%;
  text-align: left;
  text-decoration: underline;
}
.separator-container {
  display: block;
  margin: auto;
  position: relative;
}
.separator {
  width: 20%;
  max-width: 400px;
  height: 5px;
  background-color: #ffca08;
  margin: auto;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.list-container {
  width: 50%;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  min-width: 325px;
  /* justify-content: center; */
  align-items: center;
  font-size: 18px;
  /* border: 1px solid black; */
}

.list {
  /* margin-right: 3vh; */
  /* text-align: center; */
  width: 80%;
  min-width: 125px;
  position: relative;
}

.list li {
  margin-bottom: 2.5vh;
  list-style: none;
  padding-left: 40px;
  background-image: url("images/list-item.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 40px;
}

.dropdown {
  min-width: 2em;
  width: 80%;
  position: relative;
}
.dropdown * {
  box-sizing: border-box;
}
.select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menu li {
  padding: 0.7em 0.5em;
  margin: 0.3em 0;
  border-radius: 0.5em;
  cursor: pointer;
}

.menu li:hover {
  background-color: #ffca08;
}

.menu-open {
  display: block;
  opacity: 1;
}
