/* style.css für RockSpin responsive */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-image: url('bgnd.jpg');
  background-size: cover;
  /*ackground-position: center center;*/
  color: #f4f4f4;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

img {
    height:100px;
    align-content: center;    
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  transition: all 0.3s ease;
}

.nav-link {
  color: #f4f4f4;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
}

.nav-link:hover {
  background-color: #e63946;
  color: #fff;
}

.nav-link.active {
  background-color: #444;
  color: #aaa;
  pointer-events: none;
  cursor: default;
}

.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  display: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

section {
  padding: 40px 20px;
  max-width: 720px;
  margin: 80px auto;
}

.text-container {
  background-color: rgba(0, 0, 0, 0.4); /* Schwarzer Hintergrund mit 60% Deckkraft */
  color: white;
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

a{
    color: #debef5;
    padding-left: 8px;
}

a:hover {
    color:#e63946;
    text-decoration: none;
}

h1, h2 {
  color: #e61524;
  text-shadow: 0px 1px 0px rgb(0 0 0);
}

footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 9px;
    height: 57px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    h1, h2 {
        color: #e61524;
        text-shadow: 0px 1px 0px rgb(0 0 0);
   }

   .text-container {
  background-color: rgba(0, 0, 0, 0.4); /* Schwarzer Hintergrund mit 60% Deckkraft */
  color: white;
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

a{
    color: #debef5;
    padding-left: 8px;
}

a:hover {
    color:#e63946;
    text-decoration: none;
}
    .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }

  .menu-toggle.open {
    transform: rotate(90deg);
  }
}
