@media screen and (min-width: 768px) {
  .form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Helvetica, sans-serif;
    height: fit-content;
    justify-content: center;
    margin: 0.5rem;
    text-shadow: 0.5px 0.5px black;
    width: 40%;
  }
}

@media screen and (max-width: 767px) {
  .form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Helvetica, sans-serif;
    height: fit-content;
    justify-content: center;
    margin: 0.5rem;
    text-shadow: 0.5px 0.5px black;
    width: 80%;
  }
}

fieldset {
  border-color: #03318d;
  padding: 1.5rem;
}

legend {
  color: #03318d;
  text-shadow: 0.5px 0.5px black;
}

.input-holder {
  height: 4.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}

.checkbox-holder {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
}

.radio-holder {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.file-form {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

input, select, textarea {
  background-color: #033e8d;
  border: inset 2px black;
  color: white;
  font-size: 1.1rem;
  padding: 0.5rem;
  padding-top: 1.2rem;
  position: relative;
  resize: vertical;
  text-align: left;
  width: 95%;
}

input {
  height: 2rem;
}

select {
  height: 4rem;
}

textarea {
  height: 8rem;
}

input[type="file"] {
  display: none;
}

input[type="checkbox"], input[type="radio"] {
  margin: 0.3rem;
  width: 5%;
}

.alt label {
  color: #03318d;
}

.alt input, .alt textarea {
  background-color: white;
  color: black;
}

.label {
  color: white;
  font-size: 1.2rem;
  left: 0.5rem;
  position: relative;
  text-shadow: 0.5px 0.5px black;
  top: 1.8rem;
  z-index: 2;
}

.file-label {
  background-color:#033e8d;
  border: inset 2px black;
  color: white;
  display: block;
  font-size: 1.0rem;
  height: 3rem;
  left: 0;
  padding: 0.5rem;
  text-align: left;
  top: 0;
  width: 85%;
}

.partner-edit .file-label {
  width: 93.5%;
}

.file-name {
  bottom: 0.8rem;
  color: white;
  font-family: Helvetica, sans-serif;
  font-size: 1.0rem;
  left: 0.5rem;
  position: absolute;
  text-shadow: 0.5px 0.5px black;
  z-index: 2;
}

.file-input {
  flex-grow: 2;
  position: relative;
}

.eye-toggler {
  border-radius: 100%;
  bottom: 6.5rem;
  margin-bottom: -5rem;
  position: relative;
  right:-80%;
  width: 5rem;
}
