/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #222;
  color: white;
  overflow-y: scroll;
}

header, nav, main, footer {
    padding: 20px;
}

/* Header Styles */
header {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Navigation Styles */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  background-color: #444;
  white-space: nowrap; 
}

nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px; 
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
  nav a {
    font-size: 14px; 
  }
}

/* Main Content Styles */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section Styles */
.hero {
  background-image: url('hero-image.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Logo Styles */
.logo {
  text-align: center;
  max-width: 100%;
  height: auto;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Profile Container Styles */
.profile-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 20px; 
  box-sizing: border-box; 
}

.profiles-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-bottom: 60px;
}

.profile {
  border: 2px solid #222;
  padding: 10px;
  width: 200px;
  text-align: center;
  transition: border-color 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-link {
  text-decoration: none;
  color: inherit;
}

.profile-link:hover .profile {
  border-color: #ff9900;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.profile img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
}

/* Media Queries für Responsive Design */
@media only screen and (max-width: 768px) {
  .profile-container-wrapper {
    padding: 0 10px; 
  }
  
  .profile {
    width: 150px; 
  }

  .profile img {
    width: 80px; 
    height: 80px;
    margin-bottom: 5px;
  }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  /* Header */
  header {
    padding: 10px;
  }

  nav {
        overflow-x: auto; 
    }

    nav ul {
        justify-content: space-between;
        display: flex;
        flex-wrap: nowrap; 
    }

    nav li {
        margin: 0;
        padding: 0 10px;
    }

  /* Main Content */
  main {
    padding: 10px;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 2rem;
  }

  /* Footer */
  footer {
    padding: 5px;
  }

  /* Profile Container */
  .profiles-container {
    justify-content: center;
    padding: 10px;
  }

  .profile {
    width: calc(50% - 20px);
  }

  .profile img {
    width: 80px;
    height: 80px;
    margin-bottom: 5px;
  }
  .container {
        max-width: 100%; 
        padding: 10px; 
    }
}









