@font-face {
  font-family: "Corsa Grotesk";
  src: url("./fonts/CorsaGrotesk-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@keyframes scaleAndRotateIn {
  from {
    transform: scale(0) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

* {
  margin: 0px;
  padding: 0px;
}

html {
  overflow-x: hidden;
  font-family: "Corsa Grotesk", sans-serif;
}

.info {
  font-size: 15px;
}

.no-border {
  border: none !important;
}

.no-margin {
  margin: 0px !important;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex !important;
}

.center {
  align-items: center !important;
  justify-content: center !important;
}

.items-center {
  align-items: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.button {
  background-color: #d8252c;
  width: 70%;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 16px;
  padding: 15px;
  border-radius: 7px;
  margin: 0px 0px 15px 0px;
  cursor: pointer;
  margin: 15px 0px 15px 0px;
}

.inner-title {
  font-size: 23px;
  padding-top: 20px;
  text-transform: uppercase;
  text-align: center;
}

.body-container {
  font-size: 120%;
  background: #f8f8ff;
  width: 100vw;
}

.header-container {
  background-color: #f2f2f2;
  height: 10vh;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-container .iute-logo {
  background-image: url("./assets/Iute-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 100%;
}

.main-container {
  min-height: 79vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-container {
  height: 79vh;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.failed-container {
  height: 79vh;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.failed-container-visible {
  height: 79vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.policy-info-container {
  background-color: #e9e6e6;
  padding: 15px;
  text-transform: uppercase;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  margin: 20px 0px;
}

.main-container .documents-container {
  min-height: 44vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-container .documents-container .document-container {
  width: 60%;
  padding: 15px;
  border: 1px solid #d8252c;
  font-weight: 500;
  font-size: 17px;
  border-radius: 7px;
  margin: 20px 0px;
}

.main-container .documents-container .document-container .document-title {
  font-size: 16px;
  width: 95%;
}

.main-container .documents-container .document-container .document-title-2xl {
  font-size: 24px;
}

.main-container .documents-container .document-container .document-title-xl {
  font-size: 20px;
}

.main-container .documents-container .document-container .view-document-icon {
  width: 40px;
  height: 40px;
  background-image: url("./assets/view-document.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.success-container .success-icon {
  width: 50%;
  height: 50%;
  background-image: url("./assets/success.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(0) rotate(0deg);
  animation: scaleAndRotateIn 0.4s ease-in-out forwards;
}

.divider {
  width: 100%;
  height: 1vh;
  background-color: #d8252c;
}

.divider-black {
  width: 100%;
  height: 2px;
  background-color: black;
  margin: 10px 0px;
}

.footer-container {
  height: 10vh;
  width: 100%;
  color: white;
  background-color: #0b1015;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  gap: 40px;
}

.failed-container .info-container {
  background-color: #e9e6e6;
  padding: 15px;
  width: 60%;
  text-transform: uppercase;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.failed-container-visible .info-container {
  background-color: #e9e6e6;
  padding: 15px;
  width: 60%;
  text-transform: uppercase;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

@media screen and (max-width: 970px) {
  .body-container {
    width: 100%;
  }

  .header-container {
    height: 5vh;
    padding: 10px 0px;
  }

  .inner-title {
    font-size: 20px;
  }

  .main-container {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-left: 15px; */
  }

  .policy-info-container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 86%;
  }

  .main-container .documents-container {
    min-height: 25vh;
    width: 90%;
    margin-top: 20px;
    gap: 10px;
  }

  .main-container .documents-container .document-container {
    width: 100%;
    margin: 0px;
    margin-left: 20px;
    padding: 10px;
  }

  .main-container .documents-container .sub-doc {
    margin-left: 0px;
  }

  .button {
    width: 90%;
    margin-top: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    height: 5vh;
    width: 91%;
  }

  .success-container {
    width: 100%;
    height: 82vh;
    text-align: center;
  }

  .failed-container {
    height: 82vh;
    width: 100%;
    text-align: center;
  }

  .failed-container .info-container {
    width: 87%;
  }
}

.main-container .documents-container .sub-doc {
  width: 96% !important;
}