* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #008080;
  font-family: "Lato", sans-serif;
}

h4 {
  text-decoration: none;
}

.logo {
  color: rgb(225, 225, 225);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 8px;
  font-size: 22px;
}

.logo a {
    text-decoration: none; 
    color: inherit;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: rgb(225, 225, 225);
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 16px;
}

.burger {
  display: none;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(225, 225, 225);
  margin: 5px;
  transition: all 0.3s ease;
}



.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

h2 {
  padding-bottom: 7px;
}

.parent {
  padding-top: 8vh;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: column;
}

.section1 {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
}

.section2 {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  width: 80%;
  padding: 0.5em;
}

.section1 > * {
 flex: 1 1 0px;
 padding: 0.5em;
 }

.section2-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.headingdetailindex {
}

.section1-1 {
  min-width: 35ch;
}

.section1-2 {
  min-width: 35ch;
}

.section1 a {
  text-decoration: none;
  color: black;

}






.heading,
.child1,
.child2,
.child3,
.child4 {
  padding: 7px;
  width: 80%;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.child1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.grandchild3,
.grandchild4 {
  flex: 1 1 50%;
}

.grandchild3 {
  padding-top: 1rem;
}

.grandchild4 {
  display: flex;
  justify-content: center;
}

.child2 {
  display: flex;
  align-items: center;
}

.grandchild1,
.grandchild2 {
  /*flex: 1 1 50%;*/
}

.grandchild1 {
  width: 80%;
}

.grandchild2 {
  display: flex;
  justify-content: center;
  width: 20%;
}

.child3 {
}

.grandchild6 {
  display: flex;
  justify-content: center;
}
.child4 {
}

ul {
  list-style-position: outside;
  padding-left: 14px
}


.ballon {
  width: 60px;
}

.gregormikl {
  max-width: 100%;
}

.viaduct {
  max-width: 100%;
}

.orgel {
  max-width: 100%;
}

.linkedin {
  width: 30px;
}

.xing {
  height: 30px;
}

@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }

    .section1,
    .section2 {
      width: 95%;
    }

    .heading,
    .child1,
    .child2,
    .child3,
    .child4 {
      padding: 7px;
      width: 95%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 50vh;
        top: 8vh;
        background-color: #008080;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
            }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .heading,
    .child1,
    .child2,
    .child3,
    .child4 {
      padding: 7px;
      width: 95%;
    }

    .child1 {flex-direction: column;
    }
    .grandchild3,
    .grandchild4 {
      flex: 50%;
      max-width: 100%;
    }
    .gregormikl {
      max-width: 100%;
      padding-left: 0px;
    }
}

.nav-active {
        transform: translateX(0%);
        transition: transform 0.5s ease-in;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}





/* Footer */
.footer {
  text-align: center;
  background-color: #008080;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  width: 100%;
  color: #e1e1e1;
}
.footerleft {
  flex-grow: 1;
  padding: 5px;
}
.footercenter {
  flex-grow: 5;
  font-size: 18px;
  padding: 5px;
}
.footerright {
  flex-grow: 1;
  font-size: 18px;
  padding: 5px;
}
.atomimage {
  width: 40px;
}

.footer2 {
  text-align: center;
  background-color: #008080;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 4vh;
  width: 100%;
  color: #e1e1e1;
  margin-top: 2px;
  padding-top: 4vh;
  padding-bottom: 6vh;
}
.footerleft2 {
}
.footercenter2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 180px;
}
.footerright2 {
}
.copyright {
  width: 18px;
}

.maintext {
  padding-top: 5px;
  padding-bottom: 5px;
}

.lineleft,
.lineright {
  width: 100%;
  height: 2px;
  background-color: black;
  margin: 5px;
}

.headingdetail,
.headingdetailindex {
  text-align: center;
}

.headingdetail,
.headingdetailindex,
.lineleft,
.lineright {
  flex: 1 1 auto;
}
