@font-face {
  font-family: "Canela Web";
  src: url("/font/Canela-Regular-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Canela Deck Web";
  src: url("/font/CanelaDeck-Regular-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GT America Bold";
  src: url("/font/GT-America-Standard-Bold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GT America Medium";
  src: url("/font/GT-America-Standard-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GT America Regular";
  src: url("/font/GT-America-Standard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Albertus Medium";
  font-style: normal;
  font-weight: 400;
  src: url("/font/Albertus-Medium.ttf") format("truetype");
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: rgb(243, 244, 244);
}

.nirf-image-container {
  height: 100vh;
  position: relative;
}

.nirf-image-content {
  text-align: center;
  position: relative;
  width: 100%;
}

.nirf-image-content::before {
  content: "";
  background: hsla(0, 0%, 5%, 0.6);
  /* background: linear-gradient(180deg, hsla(0, 0%, 5%, 0.4) 29.9%, #0e0e0e); */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.nirf-image-content .background-img {
  width: 100%;
  height: 100vh;
}

.nirf-image-content h1 {
  position: absolute;
  top: 52%;
  left: 29%;
  max-width: 550px;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  font-family: "Albertus Medium";
  /* font-size: 56px; */
  font-size: 3.5rem;
  line-height: 4.3rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
}
.nirf-image-content .nirf-logo {
  position: absolute;
  top: 57.2%;
  left: 74%;
  width: 250px;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  /* height: 148px; */
  z-index: 1;
}
.nirf-description {
  padding: 64px 159px;
}
.nirf-description > p {
  font-family: "GT America Regular";
  line-height: 1.5;
  /* font-size: 20px; */
  font-size: 1.11rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
  color: #585858;
  text-align: justify;
  margin-top: 0;
  /* border: 1px solid black; */
  margin-bottom: 0;
}
.nirf-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin: 0;
  margin-top: 50px;
  /* border: 1px solid red; */
}
.nirf-header > h1 {
  padding-top: 0;
  font-family: "Albertus Medium";
  /* font-size: 42px; */
  font-size: 2.6rem;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
  margin: 0;
}
.nirf-header .nirf-details p:first-child {
  font-family: "GT America Regular";
  line-height: 1.5;
  /* font-size: 18px; */
  font-size: 1.11rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
  color: #585858;
  text-align: justify;
  margin-top: 0;
  margin-bottom: 0;
}

.nirf-link-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0;
  text-decoration: none;
}

.nirf-link-item a span {
  font-family: "GT America Medium";
  font-size: 18px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.1px;
  color: #1e1e1e;
}

.nirf-arrow-container {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(101, 111, 119);
}

.nirf-link-item a:hover .nirf-arrow-container {
  background-color: #1e1e1e;
}
.nirf-divider {
  border: 1px solid black;
  margin-top: 40px;
  margin-bottom: 40px;
}
.ranking-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 24px;
  padding-right: 72px;
}
.ranking-container p:first-child {
  padding-top: 0;
  font-family: "Albertus Medium";
  font-size: 22px;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
  margin: 0;
}
.ranking-container p:last-child {
  font-family: "GT America Regular";
  line-height: 1.5;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  padding-bottom: 0;
  text-align: start;
  color: #585858;
  text-align: justify;
  margin-top: 0;
  margin-bottom: 0;
}
.nirf-ranking-divider {
  margin: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 450px) {
  .nirf-image-content h1 {
    display: block;
    width: 80%;
    top: 38%;
    left: 50%;
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 20px auto;
    text-align: center;
    height: 8rem;
  }

  .nirf-image-content .nirf-logo {
    top: 72%;
    left: 50%;
    height: 140px;
    width: 140px;
  }
  .nirf-image-content .background-img {
    height: 550px;
  }

  .nirf-description {
    padding: 30px 20px;
  }

  .nirf-header {
    display: flex;
    flex-direction: column;
  }
  .nirf-header > h1 {
    margin-bottom: 30px;
    font-size: 1.9rem;
  }

  .nirf-link-item a {
    margin-top: 20px;
  }

  .ranking-container p:first-child {
    font-size: 18px;
    line-height: 1.4;
  }
  .ranking-container {
    padding-left: 0;
    padding-right: 0;
  }
  .ranking-container p:last-child {
    min-width: 125px;
    text-align: right;
  }
}
