@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #B4B897;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.logo-bar {
  background-color: transparent;
  width: 100%;
  max-width: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 1rem;
}

.events-logo {
  width: 900px;
  height: auto;
  margin-bottom: -180px;
  margin-top: -180px;
}

.form-container {
  background-color: #FFFDEF;
  padding: 50px 40px;
  border-radius: 30px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000000;
}

.event-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-form label {
  font-weight: 600;
  font-size: 17px;
  margin-top: 10px;
  text-align: left;
}

.event-form input,
.event-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 17px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea {
  resize: none;
  min-height: 60px;
}

.image-upload {
  width: 100%;
  height: 200px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2rem;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.image-upload:hover {
  background-color: #eee;
}

.profilbild-preview {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin: 1rem auto;
  display: block;
  object-fit: cover;
}

.submit-button {
  margin-top: 24px;
  background-color: #FFC44E;
  color: #000;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #4A3F2E;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #A68539;
  transform: translateY(-1px);
}

.main-button {
  background-color: #FFC44E;
  color: #000;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #4A3F2E;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;
  display: block;
}

.main-button:hover {
  background-color: #A68539;
  transform: translateY(-1px);
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  align-items: center;
}

#profilForm {
  margin-bottom: 24px;
}

.speichern-button {
  margin-bottom: 0;
}

/* ✅ Responsive Design für Mobile (320–480px) */
@media (max-width: 480px) {
  .logo-bar {
    padding: 1rem;
    max-width: 100%;
  }

  .events-logo {
    width: 550px;
    margin-top: -100px;
    margin-bottom: -110px;
  }

  .form-container {
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .form-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .event-form label {
    font-size: 13px;
  }

  .event-form input,
  .event-form textarea {
    font-size: 14px;
    padding: 8px;
  }

  .submit-button,
  .main-button {
    font-size: 16px;
    padding: 12px;
    width: 100%;
    max-width: 300px;
  }

  .button-group {
    gap: 12px;
    margin-top: 16px;
  }

  .profilbild-preview {
    max-width: 100px;
  }
}








