@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
}

/* Navbar Styles*/

.head-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.nav-links li {
  list-style: none;
  margin: 0 10px; /* Adjust the margin between elements */
}

.nav-links li a {
  position: relative;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 30px; /* Increase padding to add space between text */
  transition: color 0.4s ease; /* Add transition for color change */
}

.nav-links li a:hover {
  transform: scale(1.2); /* Scale the text by a factor of 1.2 */
  font-weight: 800;
}

.nav-links li.upward a:before {
  width: 100%;
  bottom: -5px;
  opacity: 0;
}

.links:hover {
  transform: scale(1.2);
  transition: transform 0.5s ease;
}

.links:not(:hover) {
  transition: transform 0.7s ease;
}

.nav-links li.upward a:hover:before {
  bottom: 0px;
  opacity: 1;
}

.nav-links li.forward a:before {
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links li.forward a:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links li:first-child {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px; /* Adjust the height as per your preference */
  width: auto; /* Allow the width to adjust based on the logo's aspect ratio */
}

/* Additional class for the logo */
.logo-img {
  margin-right: 10px; /* Adjust the margin as per your preference */
}

/* Media queries for responsiveness */

@media (max-width: 800px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px 0; /* Adjust the margin as per your preference */
  }

  .nav-links li a {
    padding: 8px;
  }
}

/* Ende der Navbar ---------------------------------------------------*/

/* Background Image hinter Navbar */
.part1 {
  background-repeat: no-repeat;
  background-size: cover;
  height: 17%;
  border-bottom-left-radius: 100% 90px;
  border-bottom-right-radius: 100% 90px;
  background-image: url(img/img-part1.jpg);
}

.referenzen {
  margin-top: 17em;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 801px) {
    .referenzen {
        margin-top: 8em;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.referenzen h1 {
  font-size: 44px;
}

.projekte {
  font-size: 18px;
  color: #333;
}

.results {
  text-align: center;
  color: #333;
  line-height: 2;
  width: 700px;
}

* {
  box-sizing: border-box;
}

.img-show {
  margin-top: 17em;
}

img {
  max-height: 550px;
  max-width: 750px;
  height: 750px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 800px) {
  .img-show {
    margin-top: 35em;
  }
}

/* Slideshow container */
.slideshow-container {
  max-height: 550px;
  max-width: 750px;
  position: relative;
  margin: auto;
}

@media (max-width: 800px) {
  .slideshow-container {
    height: auto;
    width: auto;
    max-height: auto;
    position: relative;
    margin: auto;
  }
}

@media (max-width: 800px) {
  .img-show {
    margin-top: 35em;
  }
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.container {
  max-width: 1170px;
  margin: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
ul {
  list-style: none;
}
.footer {
  background-color: #24262b;
  padding: 70px 0;
  margin-top: 2em;
}
.footer-col {
  width: 33.3%;
  padding: 0 15px;
}
.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}
.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: greenyellow;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}
.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.footer-col li p {
  color: white;
}

/*responsive*/
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}
@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}

.footer-col form {
  display: flex;
  flex-direction: column;
  width: auto;
}

.footer-col form input,
.footer-col form textarea {
  border: 1px solid #ccc;
  padding: 8px;
  margin-bottom: 15px;
  font-size: 16px;
  border-radius: 0px;
  width: 100%;
}

.footer-col form input:focus,
.footer-col form textarea:focus {
  outline: none;
  border-color: #6b6b6b;
}

.footer-col form button[type="submit"] {
  background-color: white;
  font-size: 16px;
  border: none;
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-col form button[type="submit"]:hover {
  background-color: greenyellow;
}

.footer-col form textarea {
  height: 100px;
}

.footer-col li a {
  color: white;
}

.google {
  background-color: white;
  font-size: 16px;
  border: none;
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.google:hover {
  background-color: greenyellow;
}
