body {
  height: 100%;
  background: url("../images/pexels-mikael-blomkvist-6476254.jpg") no-repeat
    center/cover fixed;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.363) 0%,
    rgb(0, 0, 0) 30%,
    rgba(0, 0, 0, 0.671) 100%
  );
  -webkit-backdrop-filter: blur(0.1rem);
  backdrop-filter: blur(0.1rem);
  background-attachment: fixed;
  z-index: -1;
}

.message,
.message-remain {
  width: 50%;
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  color: white;
  font-weight: 500;
  padding: 0.5rem;
  font-family: var(--font-primary-2);
}

.message-remain a {
  margin-left: 2rem;
  color: darkslategrey;
}

.error-message {
  background-color: rgb(248, 89, 89);
}

.success-message {
  background-color: rgb(9, 194, 92);
}

.note {
  width: 50%;
  background-color: rgb(224, 240, 10);
  height: 5rem;
  padding: 1rem;
  color: rgb(61, 61, 61);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 0 0 0;
}

.program-section h2 {
  width: 60%;
  margin: 2rem;
  text-align: center;
  color: crimson;
  font-size: 2.3rem;
  letter-spacing: 0.1rem;
}

.program-section h3 {
  color: rgb(18, 154, 233);
}

table {
  margin: 2rem;
  min-width: 50%;
}

table,
tr,
th,
td {
  border-spacing: 0;
  color: white;
}

tr {
  margin: 1rem;
  height: 4rem;
}

th {
  background-color: crimson;
}

tr:nth-child(even) {
  background-color: rgba(23, 124, 207, 0.603);
  transition: all 300ms ease-out;
}

tr:nth-child(even):hover {
  transform: scale(1.02);
}

tr:nth-child(odd) td {
  color: black;
  background-color: #f4f4f4;
}

td {
  padding: 3rem 6rem;
  text-transform: capitalize;
}

td a {
  padding: 0.6rem 1.2rem;
  background-color: crimson;
  color: white;
  border-radius: 0.5rem;
}

.form-container {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.637);
  -webkit-backdrop-filter: blur(0.6rem);
  backdrop-filter: blur(0.6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 300ms ease-in-out;
}

.close-btn {
  position: fixed;
  right: 20%;
  top: 10%;
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  cursor: pointer;
}

.transition-close {
  transform: scale(1.7);
  opacity: 0;
}

.form-container-close {
  display: none;
}

.nita-application-form {
  width: 35%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  margin-top: 5rem;
  background-color: white;
  border: white;
}

.nita-application-form .input-group {
  width: 80%;
  height: 5.5rem;
  margin-top: 1rem;
  position: relative;
}

.input-group span {
  position: absolute;
  right: 3%;
  bottom: 1%;
  font-size: 1.3rem;
  color: red;
}

.input-group span i {
  color: rgb(22, 187, 22);
}

.nita-application-form .input-group input {
  width: 100%;
  height: 100%;
  outline: none;
  border: 1px solid rgb(9, 187, 241);
  padding: 0.8rem 1.6rem;
  transition: all 400ms ease;
  border-radius: 0.9rem;
}

.nita-application-form input:read-only::placeholder {
  color: crimson;
  font-size: 1.6rem;
}

.nita-application-form input:focus {
  border: 1px solid gold;
}

.nita-application-form input::placeholder {
  font-size: 1.3rem;
  text-align: left;
}

.nita-application-form input.error-border {
  border: 1px solid crimson;
}

.nita-application-form input.success-border {
  border: 1px solid rgb(6, 189, 6);
}

.nita-application-form button {
  margin-left: auto;
  width: 40%;
  height: 3rem;
  border: none;
  outline: none;
  padding: 0.4rem 1rem;
  margin-top: 1rem;
  text-align: center;
  background-color: crimson;
  color: white;
  cursor: pointer;
  transition: all 300ms ease;
}

.nita-application-form button:hover {
  background-color: rgb(182, 17, 50);
}

@media (max-width: 900px) {
  .program-section h2 {
    font-size: 1.8rem;
  }

  .nita-application-form {
    width: 70%;
  }

  .close-btn {
    right: 2%;
    top: 10%;
  }
}

@media (max-width: 500px) {
  .nita-application-form {
    width: 90%;
  }
}
