.message-popup-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.295);
  -webkit-backdrop-filter: blur(0.6rem);
  backdrop-filter: blur(0.6rem);
  transition: all 500ms ease-in-out;
}

.message-popup-container > i {
  position: fixed;
  right: 20%;
  top: 20%;
  font-size: 3rem;
  color: rgb(170, 7, 7);
  cursor: pointer;
}

.message {
  width: 30%;
  height: 30%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
  border-radius: 1rem;
}

.message i {
  font-size: 4rem;
  margin: 1.5rem 0;
  animation: shakeIcon 900ms alternate-reverse infinite;
}

@keyframes shakeIcon {
  from {
    transform: scale(1);
    color: rgb(36, 216, 20);
  }

  to {
    transform: scale(0.9);
    color: rgb(16, 218, 233);
  }
}

.transition-close {
  transform: scale(1.7);
  opacity: 0;
}

.message-close {
  display: none;
}

.error-notification {
  position: fixed;
  top: 10%;
  left: 0;
  width: 43rem;
  height: 8rem;
  background-color: crimson;
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem;
  z-index: 20;
}

.error-notification .error {
  color: white;
  font-family: 1.4;
}

.error a {
  color: rgb(210, 223, 19);
  text-decoration: underline;
}

.error-notification i {
  color: gold;
  font-size: 3rem;
}

.notification-open {
  display: flex;
}

section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 13rem;
  justify-content: center;
}

section h1 {
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.form-container {
  width: 85%;
  height: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.form-container img {
  width: 55%;
  height: 85%;
}

.form-container form {
  padding: 2.5rem;
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 0.7rem;
}

.course-details {
  width: 80%;
  padding: 0.5rem;
}

.detail {
  display: flex;
  align-items: center;
  margin: 0.4rem 0;
}

.detail > * {
  flex: 1;
  font-size: 1.5rem;
  background-color: lightcyan;
  padding: 0.6rem;
}

.detail span:first-child {
  color: rgb(116, 116, 116);
  text-transform: uppercase;
}

.detail span:nth-child(even) {
  text-transform: capitalize;
}

form .input-group {
  width: 80%;
  height: 5.5rem;

  margin-top: 1rem;
  position: relative;
}

.input-group span {
  position: absolute;
  font-family: "poppins", arial;
  font-weight: 600;
  letter-spacing: 0.1rem;
  right: 3%;
  bottom: 1%;
  font-size: 1.2rem;
  color: red;
}

.input-group span i {
  color: rgb(22, 187, 22);
}

.form-container form input {
  width: 100%;
  height: 100%;
  padding: 0.7rem 1.5rem;
  /* border-radius: 1.5rem; */
  outline: none;
  border: 1px solid rgb(116, 116, 116);
  font-size: 1.4rem;
  transition: all 400ms ease-in-out;
  background-color: white;
}

.form-container form input.error-border {
  border: 1px solid rgb(230, 80, 80);
}

.form-container form input.success-border {
  border: 1px solid rgb(6, 189, 6);
}

.form-container form input::placeholder {
  color: rgb(141, 139, 136);
}

.input-info {
  color: rgb(29, 180, 173);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.8rem;
}

.form-container form button {
  width: 50%;
  height: 4rem;
  padding: 0.5rem 1rem;
  float: left;
  border: none;
  outline: none;
  background-color: rgb(15, 143, 228);
  margin-top: 1rem;
  font-family: "signika";
  font-size: 1.7rem;
  border-radius: 0.6rem;
  color: white;
  cursor: pointer;
  transition: all 300ms ease;
}

.form-container form button:hover {
  background-color: rgb(10, 129, 207);
}

.contact {
  width: 100%;
  min-height: 30rem;
  background-color: crimson;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background: rgba(38, 119, 185, 0.473) url("../images/topo-1.jpg") no-repeat
    center/cover;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-details h2,
.contact-details a {
  color: crimson;
  margin: 1rem;
}

.contact-details a {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  transition: all 500ms ease-in-out;
}

.contact-details a:hover {
  border-bottom: 2px solid white;
}

.contact-details h2 {
  font-size: large;
}

.social-links-container {
  width: 40%;
  height: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-links {
  width: 80%;
  height: 80%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a {
  margin: 1rem 1.5rem;
}

.social-links-container h2 {
  color: crimson;
  font-size: large;
  text-transform: uppercase;
  text-align: center;
}

.social-links img {
  width: 4rem;
  height: 4rem;
}

@media (max-width: 900px) {
  .form-container {
    width: 100%;
    flex-direction: column;
  }

  .form-container form {
    width: 100%;
    height: 100%;
  }

  form .input-group {
    width: 70%;
  }

  .message {
    width: 90%;
    height: 40%;
  }

  .contact {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .error-notification {
    width: 100%;
    text-align: center;
  }

  .error {
    font-size: 1.3rem;
  }

  .form-container form {
    height: 110%;
    width: 100%;
    padding: 1rem;
  }

  .form-container img {
    min-height: 50%;
  }

  form .input-group {
    width: 100%;
    height: 4rem;
  }

  .input-group span {
    font-size: 1.1rem;
  }
}
