@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;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.Blumen-Titel {
  width: 300px;
  height: auto;
  margin-top: -50px;
  margin-bottom: 0.5px;
}

.events-logo {
  width: 900px;
  height: auto;
  margin: -200px 0 -220px;
}

.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 10px;
  right: 16px;
}

/* Kopfbereich */
.header {
  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;
}

.header .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000;
}

/* Veranstaltungsbereich */
.section-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}

.event-card {
  background-color: #FFFDEF;
  border-radius: 30px;
  box-shadow: 0 6px 16px rgba(74, 63, 46, 0.4);
  padding: 50px 40px;
  text-align: left;
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid #B4B897;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.event-card:hover {
  background-color: #A68539;
}

.event-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
}

.event-details h3 {
  font-size: 25px;
  font-weight: 600;
  margin: 10px 0;
}

.event-info {
  font-size: 20px;
  line-height: 1.6;
}

.organizer {
  display: flex;
  justify-content: flex-end;
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.main-button,
.logout-button {
  background-color: #FFC44E;
  color: #000;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  font-size: 18px;
  border: 1px solid #4A3F2E;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

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

.logout-button {
  background-color: #ff6b6b;
  color: #fff;
  border: 1px solid #b33939;
}

.logout-button:hover {
  background-color: #e63946;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .logo-bar {
    padding: 1rem;
  }

  .Blumen-Titel {
    width: 200px;
    margin-top: -30px;
    margin-bottom: 10px;
  }

  .events-logo {
    width: 450px;
    margin-top: -120px;
    margin-bottom: -100px;
  }

  .profile-pic {
    width: 48px;
    height: 48px;
    top: 8px;
    right: 12px;
  }

  .header {
    padding: 30px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .welcome {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .section-title {
    font-size: 15px;
  }

  .event-card {
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 95%;
  }

  .event-details h3 {
    font-size: 20px;
  }

  .event-info {
    font-size: 16px;
  }

  .organizer {
    font-size: 14px;
  }

  .main-button {
    font-size: 16px;
    padding: 12px;
  }

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








