@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  min-height: 100dvh;
  width: 65%;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-image: url('../images/image/background-image-cleaning.jpg');
  background-position: center;
  background-size: cover;
  background-position: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.container {
  background-color: rgba(255, 255, 255, 0.54);
  padding: 40px;
  margin: 0;
  margin-left: 5%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

h1 {
  color: #333;
  margin: 0;
  margin-bottom: 20px;
  font-size: 2.5em;
}

p {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-info {
  margin-top: 30px;
  color: #777;
  font-size: 0.9em;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.imageBy {
  font-size: 0.75em;
  color: #999;
  margin-top: 20px;  
}

.imageBy a {
  color: #2482a4;
  text-decoration: none;
  text-transform: uppercase;
}

.benachrichtigung {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: 30px;
}

.benachrichtigung p {
  color: #555;
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.benachrichtigung input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  width: 60%;
  max-width: 300px;
  font-size: 1em;
}

.benachrichtigung button[type="submit"] {
  background-color: #007bff;
  color: white;
  border: none;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.benachrichtigung button[type="submit"]:hover {
  background-color: #0056b3;
}

.error-message {
  color: red !important;
  font-size: 1.1em !important;
  margin-top: 5px !important;
}

.success-message {
  color: green !important;
  font-size: 1.1em !important;
  margin-top: 5px !important;
}

@media (max-width: 768px) {
  body {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 0;
    margin-top: 25px;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-image: none;
    box-sizing: border-box;
  }

  .container {
    width: 100%;
    padding: 10px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    max-width: 500px;
  }

  .container .logo {
    width: 256px;
    height: 256px;
  }

  h1 {
    font-size: 2.2em;
    margin: 0 0 20px 0;
    padding: 0;
  }

  .imageBy {
    display: none;
  }

  .benachrichtigung {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0 auto;
    padding: 20px 15px;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    box-sizing: border-box;
    text-align: center;
  }

  .benachrichtigung p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .benachrichtigung form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Abstand zwischen Input und Button */
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .benachrichtigung input[type="email"] {
    min-width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  .benachrichtigung button[type="submit"] {
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1em;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .benachrichtigung button[type="submit"]:hover {
    background-color: #0056b3;
  }

  .error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
  }
  
  .success-message {
    color: green;
    font-size: 0.9em;
    margin-top: 5px;
  }
}
