section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

section p {
  padding: 10px 0 10px 0;
  color: black;
}

section a {
  margin: 10px;
}

.error {
  color: red;
  text-align: center;
}

.success {
  color: green;
  text-align: center;
}

fieldset {
  padding: 30px;
  border: 1px solid var(--clr-primary);
  border-radius: 20px 20px 20px 20px;
}

fieldset label {
  font-weight: 600;
  padding-right: 10px;
}

select {
  /* width: 80px; */
  padding: 5px 10px;
  text-align: center;
  cursor: pointer;
}
select option {
  text-align: center;
}

.dateinput {
  display: inline-block;
}

.duration {
  padding-top: 10px;
}

/* Form */

.Modal {
  margin-top: 20px;
}

.Form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
h2 {
  margin: 0 0 1rem;
  line-height: 1;
}
.Form > * + * {
  margin-top: 1.5rem;
}

.Button {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  /* background: none; */
  background: radial-gradient(circle, rgba(252, 106, 0, 1) 0%, rgba(245, 123, 0, 1) 70%, rgba(255, 171, 0, 1) 100%);
  /* border: 1px solid black; */
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  padding: 0.5em 1em;
  border-radius: 0.25rem;
  cursor: pointer;
}
.Button:focus {
  outline: none;
  border-color: black;
  box-shadow: 0 0 12px -4px black;
}

.Label {
  width: 100%;
  max-width: 20em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.Input {
  flex-grow: 1;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 300;
  display: block;
  margin: 0;
  border: none;
  padding: 0.5em 0;
  line-height: 1;
  transition: border-color 0.2s;
}

.Input:focus {
  outline: none;
}

.Icon {
  width: 1rem;
  order: -1;
  transition: all 0.2s;
  stroke-dasharray: 0, 20;
  stroke-dashoffset: -14.142;
}

.Icon path {
  stroke: black;
  stroke-width: 2px;
  fill: none;
}

.Input:focus + .Icon {
  stroke-dasharray: 28.284, 20;
  stroke-dashoffset: 0;
}

.Line {
  width: 100%;
  height: 2px;
  stroke: hsl(0, 0%, 75%);
  stroke-width: 2px;
  margin-left: 1rem;
}

.Line .focus,
.Line .valid,
.Line .invalid {
  transition: all 0.2s;
  stroke-dasharray: 0, 20;
  stroke-dashoffset: -20;
}
.Line .focus {
  stroke: black;
}
.Line .valid {
  stroke: hsl(166, 72%, 40%);
}
.Line .invalid {
  stroke: hsl(0, 100%, 40%);
}

.Input:focus ~ .Line .focus,
.Input:valid ~ .Line .valid,
.Input[data-touched]:invalid ~ .Line .invalid {
  stroke-dasharray: 40, 0;
  stroke-dashoffset: 0;
}
