.header {
  margin-bottom: 30px;
}

.header > h1 {
  font-weight: bold;
  font-size: clamp(2rem, 5vw, 42px);
}

.hide {
  pointer-events: none;
  opacity: 0;
}

.header > p {
  font-size: 1.125rem;
  color: #444444;
}

.form {
  width: 100%;
  display: flex;
}

.form > .left {
  width: 100%;
  max-width: 792px;
  margin: 0 auto;
  padding: 3.75rem 1rem;
}

.inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.field {
  flex: 1 1 43%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field > label {
  font-size: 14px;
}

.field > span {
  color: red;
  display: none;
}

.field > span.active {
  display: block;
}

.field > input,
.field > select {
  background: transparent;
  border-radius: 0.2rem;
  padding: 0.5rem 1rem;
  outline: none;
  border: solid 1px #dddddd;
  width: 100%;
  background: #f2f3f4;
}

.field > input:focus,
.field > select:focus {
  background: white;
  border: 1px solid purple;
}

.checkbox {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.checkbox > input {
  margin-top: 0.3rem;
}

.right {
  width: 100%;
  max-width: 600px;
}

.right > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.submit-btn,
.overlay-state > button {
  width: auto;
  background: #294e95;
  border-radius: 2px;
  border: 3px solid #294e95;
  color: #fff;
  outline: 0;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: bold;
  text-transform: capitalize;
  transition: all 0.3s;
}

.submit-btn.submitting {
  opacity: 50%;
  pointer-events: none;
  cursor: progress;
}

.overlay-state {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(#5d0a15, #340f39);
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.overlay-state.active {
  opacity: 1;
  pointer-events: all;
}

.overlay-state > h1 {
  font-size: clamp(1rem, 5vw, 50px);
  color: white;
  font-weight: 600;
}

/* Theme */
#theme {
  display: flex;
  flex-wrap: wrap;
}

#theme p {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

#theme > div {
  flex: 1 1 auto;
  flex-basis: 300px;
}

.theme {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  color: white;
  font-size: clamp(2rem, 3vw, 50px);
  background: url("../images/bg.jpg");
  background-position: center;
  background-size: cover;
  padding: 4rem 0;
}

.theme > p {
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ffe01473,
      0 0 40px #ffe01473, 0 0 50px #ffe01473, 0 0 60px #ffe01473,
      0 0 70px #ffe01473;
  }

  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ffe01473, 0 0 40px #ffe01473,
      0 0 50px #ffe01473, 0 0 60px #ffe01473, 0 0 70px #ffe01473,
      0 0 80px #ffe01473;
  }
}
.theme-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  color: white;
}

.dress-sec {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5rem, 3vw, 30px);
  background-image: url(../images/250319-eventKit-accelerate-BGprize.jpg);
  background-position: center;
  background-size: cover;
}

.dress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.dress > img {
  border-radius: 1rem;
  flex: auto auto 40px;
  max-width: 120px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1200px) {
  .dress > img {
    max-width: 180px;
  }
}

@media (min-width: 1400px) {
  .dress > img {
    max-width: 200px;
  }
}
