/* Grundlayout */
body {
  background-color: #101926;
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  text-align: center;
}

/* Header */
.tile-header {
  font-size: 50px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.075);
  padding: 0px;
  border-radius: 20px;
  margin: 20px auto 0;
  width: 90%;
  max-width: 900px;
}

/* Hauptbereich */
.content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
  gap: 20px;
  padding: 20px;
  flex: 1;
}

/* Footer */
.footer {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 0 auto 20px;
  width: 90%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Zufallsgenerator */
.option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
input[type="text"] {
  width: 250px;
  margin: 0 8px;
  padding: 4px;
}
button {
  margin: 5px 5px 5px 0;
  padding: 6px 12px;
  border: none;
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
button:hover {
  background-color: #338c38;
}

.button-blue {
  background-color: #2655a5;
}
.button-blue:hover {
  background-color: #10458b;
}
.button-blue-border {
  background-color: #2655a5;
  border: 2px solid gold;
}
.button-blue-border:hover {
  background-color: #10458b;
  border: 2px solid goldenrod;
}
.button-red {
  background-color: #e74c3c;
}
.button-red:hover {
  background-color: #c0392b;
}

/* ##START## Result Button mit Effekt*/
#result {
  position: relative;
  display: inline-block;
  padding: 12px 26px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: bold;
  color: #fff;
  background: linear-gradient(
    120deg,
    #ffd700,
    #ffa500,
    #ffcc00,
    #ffd700,
    #ffb700
  );
  background-size: 400% 400%;
  animation: goldFlow 4s linear infinite;
  border: 2px solid #fff55a;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4),
    0 0 20px 5px rgba(255, 215, 0, 0.7) inset;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

#result::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    120deg,
    #ffd700,
    #ffa500,
    #ffcc00,
    #ffd700,
    #ffb700
  );
  background-size: 400% 400%;
  animation: goldFlowReverse 4s linear infinite;
  z-index: -1;
  border-radius: 12px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0 0 15px 6px rgba(255, 215, 0, 0.85);
}
#result:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5),
    0 0 25px 8px rgba(255, 215, 0, 0.9) inset;
}

@keyframes goldFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes goldFlowReverse {
  0% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
/* ##ENDE## Result Button mit Effekt*/

.removeOption {
  background-color: #e74c3c;
}
.removeOption:hover {
  background-color: #c0392b;
}

#formLayout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

#buttonContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
