section {
  color: var(--primary-color);
  text-align: center;
  background-color: var(--secondary-color);
  padding-top: 10vh;
  padding-bottom: 5rem;
}

.container {
  margin: 0 3rem;
}

/* Page Heading */
.container .heading {
  text-align: center;
  margin-top: 3rem;
}

.heading h1 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.heading p {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* ALL Forms Specific*/
/* Remove arrow of number i/p field */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}
/* end remove arrow */
form {
  margin-top: 4rem;
  font-family: Roboto !important;
}

label {
  font-size: 1.6rem;
  margin-right: 2rem;
}

select,
input[type='text'],
input[type='date'],
input[type='number'],
input[type='email'],
textarea,
button {
  border-radius: 0.5rem;
  border: none;
  border-width: 0;
  outline: none;
  background-color: var(--tertiary-color);
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  color: var(--primary-color);
  font-weight: 500;
}
/* -------------------- */

/* reusable */
form h2 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: bold;
  word-spacing: 10px;
}
/* -------------------- */

/* program applied */
form article {
  margin: 2rem auto;
}
.program-applied select {
  width: 40%;
}

/* -------------------- */

/* Personal Details */
.personal-detail-container {
  margin-top: 3rem;
  text-align: left;
}
.personal-detail-container h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.personal-detail-items {
  display: flex;
  justify-content: space-between;
}
.input-field {
  display: flex;
  flex-direction: column;
  width: 30vw;
  border: none;
}

.input-field input:focus,
textarea:focus {
  border: 2px solid orangered;
  transition: border 0s ease-in 0.2s;
}

/* Image */

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

#image-upload-label,
#certificate-upload-label {
  cursor: pointer;
}

@media (max-width: 400px) {
  #image-upload-container,
  #certificate-upload-container {
    flex-grow: 2;
  }
  .hidden-elem {
    display: none;
  }
}

/* forms to align vertically in small screen */
@media (max-width: 600px) {
  .personal-detail-items {
    flex-direction: column;
    flex-grow: 2;
  }

  .input-field {
    width: 70vw;
  }
}

/* address */
.address-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.address-container .input-field {
  width: 40vw;
}
@media (max-width: 500px) {
  .address-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .address-container .input-field {
    width: 70vw;
  }
}

/* remarks */
textarea {
  width: 100%;
}

/* button - submit */
button {
  background-color: orangered;
  color: var(--primary-color);
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  margin-top: 3rem;
}

button:hover {
  font-size: 2.2rem;
}

#terms {
  text-align: justify;
  font-size: 1.6rem;
}

/* Error label color for  just-validate validator*/
.just-validate-error-label {
  color: var(--error-color);
  font-weight: 500;
}
