@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter18pt-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter18pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;

  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter18pt-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter18pt-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter18pt-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --main-blue: #001489;
  --dark-blue: #1b2a3f;
  --buttons-bg-blue: #69d7e6;
  --light-gray-bg: #383838;
  --inscription-bg: #f2f2f2;

  --large-screen: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

main {
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* shared */

.container {
  max-width: var(--large-screen);
  margin: auto;
  height: 100%;
}
#containerAprovados {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--inscription-bg);
  padding: 3rem 2rem;
}
#containerAprovados > h2 {
  width: 65%;
  font-size: 2.5rem;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 1rem;
  color: var(--main-blue);
}
#containerAprovados > .approved-list {
  width: 65%;
  list-style: none;
  list-style-position: outside;
  padding: 0;
  margin: 0 auto 2rem auto;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

#containerAprovados > .approved-list > li {
  font-weight: 400;
  margin: 0.45rem 0;
  padding-left: 0.15rem;
  padding: 0 0.15rem 0.6rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--dark-blue);
}

#containerAprovados > a {
  width: 15%;
  padding: 1rem;
  text-align: center;
}

.approved-search {
  width: 55%;
  margin: 0 auto 1rem auto;
  color: var(--dark-blue);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#approvedSearchInput {
  border: 1px solid var(--main-blue);
  border-radius: 1rem;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  outline: none;
}

#approvedSearchInput:focus {
  box-shadow: 0 0 0 2px rgba(105, 215, 230, 0.35);
}

.btn-primary {
  background-color: var(--buttons-bg-blue);
  border: none;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: 2rem;
}

.btn-primary.is-disabled {
  background-color: #9aa3ad;
  color: #f5f5f5;
  pointer-events: none;
  cursor: not-allowed;
}

.dflex-column-vcenter-hstart {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.dflex-row-vcenter-hbtw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.title-subtitle-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* banner */

#banner {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

#mainSubtitle {
  color: var(--buttons-bg-blue);
  font-size: 1.5rem;
  font-weight: 500;
}

#banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/banner.jpg") center / cover no-repeat;
  transform: scaleX(-1);
  z-index: -1;
}

#banner-mask {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
}

#banner .container {
  gap: 2.5rem;
}

#banner h1 {
  font-size: 4.25rem;
  letter-spacing: 0.15rem;
  color: #fff;
}

#banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-style: italic;
}

#banner h2 {
  color: var(--buttons-bg-blue);
  font-size: 3.5rem;
  max-width: 50%;
}

/* secao 2 */

#aboutCourse > div {
  gap: 4rem;
  height: 100%;
}

#aboutCourse #objectiveContainer {
  background-color: var(--dark-blue);
  height: 100%;
  width: 100%;
  gap: 3rem;
  padding: 4rem 0 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 99999;
}

#objectiveContainer article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 3rem;
  color: #fff;
}

.articleTitle {
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
}

.articleParagraph {
  font-size: 1.25rem;
}

#aboutCourse #descriptionContainer {
  height: 100%;
  width: 100%;
  gap: 1.5rem;
}

#descriptionContainer h3 {
  font-size: 3rem;
  color: var(--dark-blue);
}

#descriptionContainer > h3 > span {
  color: var(--buttons-bg-blue);
}

#descriptionContainer > h4 {
  color: var(--buttons-bg-blue);
  font-size: 2.25rem;
}

#descriptionContainer > p {
  font-size: 1.25rem;
  color: var(--dark-blue);
}

/* mec */

#mec {
  width: 100%;
  background-color: var(--main-blue);
  height: 50vh;
}

#mec > .container > img {
  max-height: 50vh;
  position: absolute;
  left: 40%;
  z-index: 99;
}

#mec > .container {
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

#mec > .container > :first-child {
  justify-self: start;
}

#mec > .container > :nth-child(3) {
  justify-self: end;
}

#mec > .container > h2 {
  font-size: 2rem;
  max-width: 70%;
  align-content: center;
  color: #fff;
  font-style: italic;
  letter-spacing: 0.1rem;
}

#mecGrade {
  display: flex;
  gap: 0.3rem;
  color: #fff;
  z-index: 9999999;
}

#mecGrade h5 {
  font-size: 18rem;
  font-weight: 400;
}

#mecGrade > #firstP {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  padding-top: 3rem;
  font-size: 1.8rem;
  letter-spacing: 0.15rem;
}

#mecGrade > #lastP {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  font-size: 1.8rem;
  letter-spacing: 0.15rem;
  padding-bottom: 3rem;
}

/* requisitos */

#requisites {
  width: 100%;
  padding: 3rem 0;
}

#requisites #photoContainer {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  align-items: center;
}

#requisites > .container > article {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

#requisites #firstImg {
  width: 100%;
  height: 20rem;
  background: url("../img/img1.jpg");
  background-size: cover;
}

#requisites #firstList {
  min-height: 70%;
  width: (4rem + 100%);
  left: -4rem;
  bottom: -2rem;
  position: relative;
  background-color: var(--inscription-bg);
}

#requisites #firstList h3 {
  background-color: var(--main-blue);
  position: relative;
  display: inline-block;
  width: 50%;
  height: 4rem;
  top: -2rem;
  left: 2rem;
}

.requisitesH3 {
  border-radius: 4rem;
  align-content: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.5rem;
  text-align: center;
}

#requisites li {
  font-size: 1.25rem;
}

#requisites ul {
  padding: 0 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#requisites #secondImg {
  width: 100%;
  height: 20rem;
  background: url("../img/img2.jpeg");
  background-size: cover;
}

#requisites #secondList {
  min-height: 70%;
  width: calc(100% + 4rem);
  bottom: -2rem;
  position: relative;
  background-color: var(--inscription-bg);
  padding-bottom: 2rem;
}

#requisites #secondList h3 {
  background-color: var(--main-blue);
  position: relative;
  display: inline-block;
  width: 50%;
  height: 4rem;
  top: -2rem;
  left: 2rem;
}

#inscriptionContainer {
  margin-top: 4rem;
}

#inscriptionContainer h2 {
  font-size: 4rem;
  color: var(--buttons-bg-blue);
  text-align: start;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#inscriptionContainer h2 span {
  color: var(--main-blue);
}

#inscriptionContainer .container {
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

#inscriptionInfoContainer {
  background-color: var(--main-blue);
  width: 100%;
  color: #fff;
  border-radius: 2rem;
  padding: 1rem 2rem;
  display: flex;
  gap: 1rem;
  position: relative;
}

#inscriptionInfoContainer img {
  position: absolute;
  bottom: -2rem;
  right: 20%;
  height: 400px;
}

#inscriptionDateContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#inscriptionInfoContainer h3 {
  font-size: 2rem;
  font-weight: 400;
}

#inscriptionInfoContainer p {
  font-size: 1.25rem;
  font-weight: 400;
}

#inscriptionInfoContainer a {
  width: fit-content;
}

/* faculdade */

#faculty {
  width: 100%;
}

#facultyWrapper {
  position: relative;
  width: 100%;
  height: 6rem;
}

#facultyBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  background-color: var(--dark-blue);
}

#facultyTitle {
  position: absolute;
  top: 6rem;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 1.2rem 3rem 1.2rem 0;
  border-radius: 0 3rem 3rem 0;
  height: 6rem;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: calc((100% - 1100px) / 2);
}

#facultyTitle h2 {
  margin: 0;
  color: var(--main-blue);
  font-weight: 600;
  align-content: center;
  font-size: 3rem;
}

#facultyDescription {
  margin-top: 4rem;
}

#facultyDescription article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 0 2rem;
  align-items: center;
}

.textContainer {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.25rem;
  color: var(--dark-blue);
}

#facultyDescription .facultyImg {
  width: 100%;
  height: 20rem;
}

#img1 {
  background: url("../img/faculdade1.png");
  background-size: cover;
}

#img2 {
  background: url("../img/faculdade2.png");
  background-size: cover;
}

.italicText {
  font-size: 2rem;
  font-style: italic;
  color: var(--main-blue);
  font-weight: 600;
}

/* footer */

footer {
  width: 100%;
  background-color: var(--dark-blue);
  color: #fff;
  padding: 3rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

footer .container img {
  max-width: 8rem;
}

#footerRights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#footerRights a {
  color: #fff;
  text-decoration: underline;
  width: fit-content;
}

/* responsividade */

@media screen and (max-width: 1116px) {
  .container {
    padding: 0 2rem;
  }

  #facultyTitle h2 {
    padding-left: 1rem;
  }
}

@media screen and (max-width: 600px) {
  #aboutCourse > .dflex-row-vcenter-hbtw {
    flex-direction: column;
  }

  #aboutCourse {
    padding-bottom: 2rem;
  }

  #aboutCourse > .dflex-row-vcenter-hbtw > #objectiveContainer > article {
    padding: 0 1rem;
  }

  #aboutCourse.container {
    padding: 0 2rem 2rem 2rem;
  }

  #mec {
    height: auto;
  }

  #mec > .container {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 0 2rem;
  }

  #facultyTitle {
    max-width: 80%;
  }

  #facultyTitle h2 {
    font-size: 2.5rem;
  }

  #mecGrade {
    position: relative;
  }

  #mecGrade > #lastP {
    position: absolute;
    padding-bottom: 3rem;
    right: 0;
  }

  #mecGrade > h5 {
    font-size: 14rem;
  }

  #requisites > .container > article {
    display: flex;
    flex-direction: column;
  }

  #firstList {
    padding-bottom: 2rem;
  }

  #requisites #firstList,
  #requisites #secondList {
    left: 0;
    bottom: 0;
  }

  #requisites #firstList h3,
  #requisites #secondList h3 {
    width: fit-content;
    padding: 0 1rem;
    left: 0;
    border-radius: 0 4rem 4rem 0;
  }

  #requisites #secondList {
    width: 100%;
  }

  #inscriptionInfoContainer a {
    width: 100%;
    text-align: center;
  }

  #facultyDescription {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 6rem;
  }

  #facultyDescription article {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
  }

  #faculty {
    padding-bottom: 2rem;
  }

  #facultyBg {
    height: 10rem;
  }

  #img2 {
    display: none;
  }

  .textContainer {
    padding: 0;
  }

  footer .container {
    justify-content: space-between;
  }

  #inscriptionInfoContainer img {
    display: none;
  }

  #mec > .container > img {
    display: none;
  }

  #banner h1 {
    font-size: 3.75rem;
  }

  #banner h2 {
    font-size: 2.8rem;
  }

  #containerAprovados > .approved-list,
  #containerAprovados > h2,
  #containerAprovados > a {
    width: 100%;
    max-width: 100%;
  }

  #containerAprovados > .approved-list {
    width: 100%;
    padding: 0;
  }

  #containerAprovados > .approved-search,
  #containerAprovados > .approved-search > input {
    width: 100%;
  }

  #containerAprovados > a {
    margin: 0 auto;
  }
}
