/* Allgemeine Stile */

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #333;
  color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Header */

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 2px;
}

/* Form */

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

form > div {
  width: 100%;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: bold;
}

input[type="text"], select {
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 5px;
  border: none;
  background-color: #555;
  color: #fff;
}

.color-input {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.color-input > button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  border: none;
  cursor: pointer;
}

.color-input > button:focus {
  outline: none;
}

.color-input > input[type="color"] {
  width: 100%;
  height: 30px;
  border-radius: 5px;
  border: none;
  background-color: #555;
  color: #fff;
  padding: 0;
}

.preview-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #fff;
}

/* Output */

.output {
  margin-top: 20px;
}

.output label {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: bold;
}

.output textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 5px;
  border: none;
  background-color: #555;
  color: #fff;
}

/* Button */

button {
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  border: none;
  background-color: #007acc;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #005a8c;
}

button:active {
  transform: translateY(2px);
}

button:focus {
  outline: none;
}
