@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
}

.heading-primary {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #494848;
}

.mob-screen {
  display: none;
}

.container {
  max-width: 71.25rem;
  margin: 0 auto;
  padding: 0 1rem;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
}

.nav__logo {
  height: 1.5rem;
}

.nav__title {
  color: #23639c;
  text-transform: uppercase;
  font-size: 2rem;
  padding: 0 0 0 1rem;
}

/* .doubleAd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.5rem;
  padding: 0 1rem;
}

.doubleAd div {
  background-color: #d9d9d9;
  width: 100%;
  height: 6.25rem;
} */

.doubleAd {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.doubleAd a:first-child {
  margin-right: 70px;
}

.banner {
  background-color: #2067aa;
}
.banner_con {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 2.625rem 0;
  color: white;
  align-items: center;
  text-align: center;
  padding: 35px 0;
}

.banner__ad {
  width: 100%;
  max-width: 400px;
  padding: 0 0.5rem;
}

.banner__message h1 {
  font-size: 2.5rem;
}

.banner__message p {
  font-size: 2rem;
}

.banner__faq {
  font-size: 1.25rem;
}

.portals {
  padding: 60px 0 80px 0;
}

.portals__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.75rem;
}

.portals__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 4.5rem;
}

.portals__item img {
  width: 8.5rem;
  height: 8.5rem;
}

.portals__item p {
  font-size: 2rem;
}

.portals__item.one {
  background-color: #dbe7f1;
}

.portals__item.two {
  background-color: #ede0bf;
}

.portals__item.three {
  background-color: #ecd1d5;
}

.counseling__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  gap: 4.4rem;
}

.counseling__body > img {
  max-width: 50%;
}

.counseling__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 50%;
}

.counseling__form input {
  height: 3rem;
  border: 1px solid #939393;
  padding: 0 1rem;
  width: 100%;
  background-color: #f8f8f8;
  outline: none;
}

.counseling__form input:focus {
  border: 1px solid #106bbd;
}

.counseling__form button {
  background-color: #106bbd;
  color: white;
  border-radius: 0.5rem;
  border: none;
  height: 2.5rem;
  font-size: 1.25rem;
}

.checkResults__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  gap: 4.5rem;
}

.checkResults__body > img {
  max-width: 50%;
}

.checkResults__body > .checkResults__content {
  white-space: nowrap;
  width: 50%;
  font-size: 1.5rem;
  color: #424242;
  line-height: 3rem;
}

.grading {
  max-width: 100vw;
  margin: 50px 0;
}

.grading table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1.2rem;
}
.table_con {
  overflow-x: auto;
  max-width: 1100px;
  margin: auto;
}

.grading th,
.grading td {
  text-align: center;
  padding: 1rem;
}

.grading th {
  background-color: #f2f2f2;
  font-size: 1.25rem;
  font-weight: bold;
}

.grading tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media screen and (max-width: 768px) {
  .grading th,
  .grading td {
    padding: 0.5rem 0.25rem;
    font-size: 0.875rem;
  }

  .grading th {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .grading th,
  .grading td {
    padding: 0.375rem 0.125rem;
    font-size: 0.75rem;
  }

  /* .grading th {
    font-size: 0.875rem;
  } */
}

.info > div {
  margin: 1.5rem 0;
}

.info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #494848;
  margin-bottom: 0.25rem;
}

.info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #494848;
  margin-bottom: 0.25rem;
}

.info p {
  font-size: 1.25rem;
  color: #494848;
  line-height: 2rem;
}

.info ol {
  font-size: 1.25rem;
  color: #494848;
  line-height: 2rem;
}

footer {
  background-color: #2067aa;
  text-align: center;
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 0;
}

footer a {
  color: #eee;
  text-decoration: underline;
}

footer ul li {
  list-style: none;
  display: inline;
  padding: 1rem;
}
.doubleAd img {
  width: 100%;
  max-width: 800px;
}

.con {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
}

@media screen and (min-width: 1600px) {
  .con {
    max-width: 1600px;
    margin: 0 auto;
  }
}

.coming-soon {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: -15px;
}

@media screen and (max-width: 900px) {
  .portals__items {
    flex-direction: column;
  }
  .portals__item {
    width: 100%;
  }

  .portals__item > img {
    width: 3.25rem;
    height: 3.25rem;
  }
  .checkResults__body > .checkResults__content {
    white-space: nowrap;
    width: 50%;
    font-size: 1.2rem;
    color: #424242;
    line-height: 2rem;
  }
  .info.container {
    margin: 0 15px;
  }
}

.congrats {
  margin-top: 20px;
  font-weight: 600;
  font-size: 18px;
}

@media screen and (max-width: 600px) {
  .congrats {
    margin-top: 10px;
  }
  .mob-mar {
    margin: 0 10px;
  }
  .coming-soon {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .doubleAd {
    flex-direction: column;
    gap: 10px;
  }
  /* .doubleAd a:first-child {
    margin-right: 10px;
  } */

  .mob-screen {
    display: block;
  }
  .big-screen {
    display: none;
  }

  .doubleAd a:first-child {
    margin-right: 0px;
  }
  .doubleAd a {
    height: 68px;
  }
  .doubleAd img {
    height: 100%;
    object-fit: contain;
  }
  .banner_con.con {
    gap: 20px;
    padding: 1rem 0;
  }
  body {
    font-size: 10px;
  }

  nav {
    padding: 1rem;
  }

  .nav__logo {
    height: 1rem;
  }

  .nav__title {
    font-size: 1rem;
  }

  .heading-primary {
    font-size: 1.5rem;
  }
  .counseling__body,
  .checkResults__body {
    flex-direction: column;
  }

  .portals__item p {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .counseling__body > img {
    max-width: 90vw;
  }

  /* .counseling__body {
    padding: 40px 0;
  } */

  .checkResults__body {
    padding: 1rem 0;
  }

  .checkResults__body > .checkResults__content {
    font-size: 1rem;
    line-height: 2rem;
    width: 100%;
  }

  .checkResults__body > img {
    max-width: 90vw;
  }

  .inputbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  #res {
    padding-top: 10px;
    font-size: 14px;
  }
  .info.container {
    margin: 0px;
  }
}

@media screen and (max-width: 875px) {
  .inputbar {
    flex-direction: column;
    align-items: end;
  }

  .inputbar label {
    text-align: end;
    width: 200px;
    display: inline-block;
    font-size: 1.2rem !important;
    font-weight: 700;
    margin-right: 20px;
  }
  .inputbar button {
    margin-top: 10px;
  }
}

@media screen and (max-width: 515px) {
  .inputbar label {
    text-align: center;
    margin-bottom: 5px;
  }
}

#res {
  padding-top: 30px;
}

.info.container ol {
  margin-left: 35px;
}
.link_normal {
  text-decoration: none;
  color: black;
}
.banner__ad img {
  width: 100%;
}

.link-inherit {
  text-decoration: none;
  color: inherit;
}

.success-msg {
  justify-items: center;
  padding: 8px 12px;
  background-color: #106bbd;
  border-radius: 5px;
  color: white;
  display: none;
}
.success-msg svg {
  width: 15px;
  margin-right: 10px;
}
.show.success-msg {
  display: flex;
}
.hide {
  display: none;
}

.inputbar span {
  display: flex;
}
.inputbar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.inputbar label {
  font-size: 1.6rem;
  font-weight: 700;
  margin-right: 20px;
}
.inputbar input {
  font-size: 1.2rem;
  border-radius: 5px;
  border: none;
  padding: 6px 10px;
  margin-right: 10px;
}
.inputbar input:focus {
  outline: none;
}
.text-edu {
  color: #0a487d;
}
.bg-edu {
  background-color: #106bbd;
}
.submit-btn {
  width: 45px;
  height: 35px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: white;
  cursor: pointer;
  transition: 0.05s;
}
.submit-btn:hover {
  background-color: lightgray;
}

.ani {
  visibility: hidden;
  max-height: 0;
  opacity: 0;
  transition: visibility 0.5s, opacity 0.5s linear, max-height 1s;
}
button:disabled {
  opacity: 0.4;
}
