/* ===== Basics ===== */

body {
  margin: 5px;
  padding: 5px;
  font-family: "ff-basic-gothic-pro", sans-serif;
  font-size: 1rem;
  background-color: #260d0e;
  color: #ad9090;
}

a {
  color: #a61916;
  text-decoration: none;
}

/* ===== Header and Footer ===== */

header {
  position: relative;
  text-align: center;
}

/* Quellenangabe 1 Start */
.element-left,
.element-right {
  position: absolute;
  margin-top: 10px;
  width: clamp(40px, 20vw, 400px);
  height: auto;
}

.element-left-bottom,
.element-right-bottom {
  width: clamp(40px, 20vw, 400px);
  height: auto;
}
/* Quellenangabe 1 Ende */

.element-left {
  left: 20px;
}

.element-right {
  right: 20px;
}

.element-left-bottom {
  left: 20px;
}

.element-right-bottom {
  right: 20px;
}

.logo {
  display: block;
  width: 150px;
  margin: 20px auto;
}

.element {
  display: flex;
  max-width: 250px;
  margin: 20px auto 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #ad9090;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

/* Quellenangabe 5 Start */
.separator {
  display: none;
}
/* Quellenangabe 5 Ende */

/* ===== Typography ===== */

h1 {
  font-family: "carol-gothic", sans-serif;
  font-size: 5rem;
  text-align: center;
  margin-top: 100px;
}

h2,
legend {
  font-family: "totally-gothic", sans-serif;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  font-size-adjust: 0.5;
}

legend {
  font-size-adjust: 1;
}

/* ===== Form Layout ===== */

form {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
}

.intro {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

fieldset {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #ffffff;
}

.date-divider {
  border: none;
  height: 1px;
  margin: 30px 0;
  background-color: #ad9090;
  opacity: 0.4;
}

/* ===== Labels and Inputs ===== */

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Quellenangabe 2 Start */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #260d0e !important;
}
/* Quellenangabe 2 Ende */

::placeholder {
  color: #ccc;
}

textarea {
  resize: vertical;
}

.comment {
  font-size: 0.9rem;
  margin-top: 15px;
}

#member-count {
  width: 100px;
}

.genre {
  width: 150px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin-top: 5px;
  background-color: #ffffff;
}

/* ===== Error and Back Link ===== */

.error {
  color: #a61916;
  font-weight: bold;
  text-align: left;
}

.back-link {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-family: "totally-gothic", sans-serif;
}

/* ===== Radio Buttons and Checkbox ===== */

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  margin-top: 15px;
  border-color: #ccc;
}

.time-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radio-item input[type="radio"],
.radio-item label {
  margin: 0;
}

.agb {
  display: flex;
  align-items: center;
  margin: 0;
  font-weight: normal;
}

/* ===== Mobile First Layout ===== */

.date-time-row,
.band-info,
.form-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.date-time-row {
  margin-bottom: 35px;
}

.date-time-row:last-child,
.band-info:last-child {
  margin-bottom: 15px;
}

.date-box,
.time-box,
.form-group {
  width: 100%;
}

/* ===== Submit Button ===== */

#sign-up {
  display: block;
  width: auto;
  margin: 20px auto 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #a61916;
  color: #ffffff;
  font-family: "totally-gothic", sans-serif;
  font-weight: bolder;
  font-size-adjust: 1;
}

/* ===== Confirmation Page ===== */

.confirmation {
  text-align: left;
  margin-top: 15px;
}

/* ===== Desktop View ===== */

@media (min-width: 600px) {
  .date-time-row,
  .form-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .confirmation-form {
    max-width: 600px;
    margin: 20px auto;
  }

  .date-box,
  .time-box,
  .form-group {
    flex: 1;
  }

  .element {
    max-width: 500px;
  }

  .footer-text {
    flex-direction: row;
  }

  /* Quellenangabe 5 Start */
  .separator {
    display: inline;
  }
  /* Quellenangabe 5 Ende */
}
