*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('../bilder/patrick-bateman-5.jpg') center/cover no-repeat fixed;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
}

header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 1.5rem 3rem;
  user-select: none;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

header strong {
  font-size: 1.2rem;
}

section {
  background-color: #fff;
  border-radius: 0.5em;
  padding: 1rem;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

section ul {
  display: flex; 
  flex-direction: column;
  align-items: center;
}

section li {
    margin: 0.25em;
}

section a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
}

section a:hover {
  color: red;
}

footer {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  user-select: none;
}

footer a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: red;
}

footer em {
  font-style: normal;
  color: #666;
}

@media (max-width: 900px) {
  header h1 {
    font-size: 2rem;
  }
  
  header strong {
    font-size: 1rem;
  }
  
  section {
    padding: 1.5rem;
    width: 95%;
  }
  
  footer {
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
}

@media (max-width: 500px) {
  header h1 {
    font-size: 1.5rem;
  }
  
  footer {
    font-size: 0.8rem;
  }
}
