/* Allgemeine Styles */

body {
  background-attachment: fixed;
  background-image: url("../media/hintergrundbild-spanien.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* Schriften */
h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  text-align: center; /* Zentrierung auf kleineren Bildschirmen */
}

@media screen and (max-width: 780px) {
  h2 {
    font-size: 24px; /* Textgröße beibehalten für kleinere Bildschirme */
  }
}

h3 {
  margin: 20px 0 10px 0;
  font-size: 20px;
}

p {
  font-size: 16px;
  max-width: 600px;
}

.error-text {
  color: red;
  font-weight: bold;
}

.hint {
  color: #424040;
}

/* Ausrichtungen */
.center {
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

/* Boxen um das Formular herum */
.content {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 0px;
  width: 100%;
}

@media screen and (max-width: 780px) {
  .content {
    padding: 10px; /* Kleinerer Abstand auf kleineren Bildschirmen */
  }
}

.container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 85%;
  padding: 20px;
  box-sizing: border-box;
}

/* Bilder */
.eigenesbild,
.destination-img {
  height: 250px;
  border-radius: 40px;
  margin: 15px;
}

@media screen and (max-width: 780px) {
  .destination-img,
  .eigenesbild {
    height: 180px; /* Bildhöhe auf kleineren Bildschirmen reduziert */
  }
}
