/* style.css */

body {
  font-family: Arial, sans-serif;
  background: rgb(135, 153, 151);
  background-image: url(images/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Form container */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the form contents horizontally */
  justify-content: center;
  background-color: #fff;
  opacity: 0.8;
  box-shadow: 0px 0px 15px #961475;
  padding: 50px;
  min-width: 500px;
  width: auto;
  margin: 0 auto;
  height: auto;
  min-height: 500px;
}

/* Labels */
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold; /* Add bold font weight to labels */
}

/* Error messages */
.error-message {
  display: flex;
  align-items: center;
  color: red;
  margin-top: 15px;
  font-size: smaller;
  max-width: 100%; /* Ensure the error message doesn't exceed its container's width */
  overflow-wrap: break-word; /* Break long words onto the next line */
}
.error-message.error {
  display: block;
}

/* Error styles */
.error input,
.error textarea,
.error select {
  border-color: red;
}

/* Buttons */
.button {
  background-color: #14968f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px; /* Add some space between buttons */
}

.button:hover {
  background-color: #961475;
  animation: tilt-shaking 0.15s infinite;
}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Radio buttons and checkboxes */
.radio-container,
.checkbox-container {
  display: flex;
  align-items: center;
}

.radio-container input[type="radio"],
.checkbox-container input[type="checkbox"] {
  margin-right: 5px;
}

.radio-container label,
.checkbox-container label {
  margin-bottom: 0;
}

/*image-dress*/
.dress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 5px solid #ddd;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.dress img {
  max-width: 100%;
  height: auto;
}

h1 {
  text-align: center; /* Center the text */
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: #961475;
}
.form-control {
  max-width: 200px;
}
