/* Zentrale CSS-Datei für Living Room Mallorca */

body {
  font-family: Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #2e2e2e;
  background-color: #fff;
}

header {
  position: relative;
  background-image: url('header.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  text-align: center;
  overflow: hidden;
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-loop {
  position: absolute;
  top: 1.2rem;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  z-index: 2;
}

.ticker-loop span {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 18s linear infinite;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: #ffffff;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  z-index: 2;
}

main {
  padding: 2rem;
  text-align: center;
}

main h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

main p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.cardblock {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 16px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  flex: 1 1 250px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
  border: 2px solid #ccc;
}

.card h3 {
  margin-top: 0;
  color: #00bfa6;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  padding: .75rem 2rem;
  background-color: #ff0066;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.card a:hover {
  background-color: #00bfa6;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #f5f5f5;
  font-size: 0.9rem;
}

footer a {
  color: #00bfa6;
  text-decoration: none;
  font-weight: bold;
  margin: 0 1rem;
}

footer a:hover {
  text-decoration: underline;
}

.banner {
  max-width: 950px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #ffe600;
  color: #111;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  border-radius: 12px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.banner span {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll 20s linear infinite;
}
