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

body {
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
#header {
  background-color: #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Logo */
#header .logo {
  color: white;
  font-size: 30px;
  font-weight: bold;
  margin-right: 30px;
  top: 5px;
  position: relative;
}

/* Navigation Links */
#header .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex-grow: 1;
  position: absolute;
  right: 30px;
  bottom: 20px;
}


#header .nav-links li {
  display: inline-block;
}

#header .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover-Effekt für Links */
#header .nav-links a:hover {
  color: #f39c12;
  transform: translateY(-3px);
}

/* Hero */
#home {
  padding: 100px 15px 60px 15px;
  text-align: center;
  background-image: url(img/servers.jpg);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 55vh;
}

#home .hero-content {
  max-width: 90%;
  margin: 0 auto;
}

#home h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

#home p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #f39c12;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #e67e22;
}

/* About */
#about {
  padding: 60px 15px;
  background-color: #f7f7f7;
  text-align: center;
  max-width: 100%;
}

#about .section-header {
  margin-bottom: 40px;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#about p {
  font-size: 1.1rem;
  color: #666;
  max-width: 90%;
  margin: 0 auto;
}

#about .about-content {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

#about .about-text {
  max-width: 500px;
  width: 100%;
}

/* Services */
#services {
  padding: 60px 15px;
  background-color: #fff;
  text-align: center;
}

#services .section-header {
  margin-bottom: 40px;
}

#services h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#services .service-item {
  display: inline-block;
  margin: 20px;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
}

#services .service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#services .service-item p {
  font-size: 1.1rem;
  color: #666;
}

/* Portfolio Section */
#portfolio {
  padding: 60px 15px;
  background-color: #f7f7f7;
  text-align: center;
}

#portfolio .section-header {
  margin-bottom: 40px;
}

#portfolio .moving-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  overflow: hidden;
  flex-wrap: wrap;
}

#portfolio .portfolio-item {
  max-width: 300px;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

#portfolio .portfolio-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact */
#contact {
  padding: 60px 15px;
  background-color: #fff;
  text-align: center;
}

#contact .section-header {
  margin-bottom: 40px;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#contact .contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

#contact .contact-form input, #contact .contact-form textarea {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

#contact .contact-form button {
  padding: 15px;
  background-color: #f39c12;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact .contact-form button:hover {
  background-color: #e67e22;
}

/* Footer Style */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  #header .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }

  #home h1 {
    font-size: 2rem; /* Kleine Schrift für kleine Bildschirme */
  }

  #home p {
    font-size: 1rem;
  }

  .cta-btn {
    font-size: 0.9rem;
  }

  #about, #services, #portfolio, #contact {
    padding: 30px 15px;
  }

  #about .about-content, #services .service-item, .portfolio-item {
    flex-direction: column;
    max-width: 100%;
  }

  #portfolio .moving-images {
    flex-direction: column;
  }
}
