@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400&display=swap");

/* Common */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Times New Roman", Times, serif;
}

.container {
  padding: 1.5rem 8rem;
}

.btn {
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  background-color: #116ab3;
  color: white;
  border: none;
}

.btn:hover {
  background-color: #c52132;
  color: white;
}

/* Navbar */

header {
  position: fixed;
  background-color: #efefefb7;
  width: 100%;
  backdrop-filter: blur(6px);
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  max-width: 180px;
  height: auto;
}

.nav-links {
  width: 60%;
}

.nav-links ul {
  display: flex;
  list-style: none;
  justify-content: space-around;
}

.nav-link a {
  text-decoration: none;
  color: grey;
}

.nav-link.active-link a {
  color: #343a40;
  font-weight: 500;
}

.nav-link a:hover {
  color: #343a40;
}

.nav-mobile {
  cursor: pointer;
  display: none;
  position: absolute;
}

/* Landing Page */

main {
  padding-top: 13vh;
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem 2rem;
  padding-bottom: 4rem;
}

.hero {
  text-align: center;
}

.hero-img {
  width: 450px;
  height: auto;
}

.about-desc {
  color: #343a40;
  width: 50%;
}

.about-details {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px 36px;
}

.about-details li {
  display: flex;
  font-weight: 500;
  padding: 10px 24px;
}

.about-desc-icon {
  margin-right: 12px;
  color: #116ab3;
}

.bi-line {
  margin-top: 8px;
  display: block;
  line-height: 1.8;
  font-size: 12px;
  color: #747474;
  font-weight: 400;
}

/* Featured Publications */

.section-heading {
  text-align: center;
  padding-bottom: 32px;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  margin-bottom: 32px;
}

.featured-publications {
  text-align: center;
  background-color: #efefef;
}

.publication-covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem 1rem;
  padding-bottom: 2rem;
}

.publication-container,
.publication-desc {
  font-size: 14px;
}

.publication-container {
  padding-top: 24px;
  border-top: 4px solid #116ab3;
}

.publication-desc {
  padding-top: 1rem;
}

.publication-image img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  transition: 200ms ease-in-out all;
}

/* .publication-container:hover .publication-image img {
  transform: scale(1.02);
} */

/* Affiliations */

.affiliations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem 1rem;
  padding-top: 64px;
  padding-bottom: 64px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100px;
  height: auto;
  object-fit: cover;
}

/* Footer */

footer {
  background-color: #efefef;
  padding-top: 52px;
}

.footer-content {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem 2rem;
}

.footer-logo,
.quick-links,
.socials {
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick-links ul {
  list-style: none;
  padding-top: 1rem;
}
.quick-links ul li {
  margin-bottom: 1rem;
}

.footer-icon {
  color: black;
  text-decoration: none;
}

.footer-icon i {
  font-size: 40px;
  padding: 0.5rem;
}

.fa-instagram:hover {
  background-image: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-twitter:hover {
  color: #1da1f2;
}

.fa-linkedin-square:hover {
  color: #0e76a8;
}

.fa-quora:hover {
  color: #aa2200;
}

.footer-email {
  color: black;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.copyright {
  padding: 1rem 0;
  text-align: center;
  font-size: 13px;
}

.copyright a {
  color: black;
  text-decoration: none;
}

.developer {
  color: black;
  text-decoration: underline;
  text-decoration-color: #116ab3;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.developer:hover {
  color: #747474;
  font-weight: 500;
  text-decoration-color: #c52132;
}

/* Publications page */
.publication-heading {
  color: #efefef;
  text-shadow: 2px 2px black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 30px;
  height: 50vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../resources/pubcover.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.publication {
  padding-top: 1rem;
  padding: 24px 32px;
  margin-bottom: 32px;
  border-top: 4px solid #116ab3;
}

.publication:last-child {
  border-bottom: none;
}

.publications .details {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  text-decoration: underline;
  color: #747474;
  margin-bottom: 48px;
}

.content {
  width: 65%;
}

.publication .title {
  margin-bottom: 24px;
}

.publication .title a {
  font-weight: 600;
  padding-bottom: 1rem;
  color: #343a40;
  text-decoration: none;
}

.publication-icon {
  color: white;
  margin-left: 12px;
}

.publication .title a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.publication .title a:hover .publication-icon {
  color: #343a40;
}

.publication .journal,
.publication .authors,
.publication .buttons {
  color: #747474;
  padding-bottom: 1rem;
  font-size: 13px;
}

.publication .buttons {
  text-align: right;
}

.publication .buttons a {
  color: white;
  text-decoration: none;
}

/* Alumni */
.alumni {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  color: #343a40;
}

.alumni table {
  border-collapse: collapse;
  width: 80%;
}

.alumni table td,
.alumni table th {
  text-align: left;
  padding: 8px;
}

.alumni table th {
  background-color: #116ab3;
  color: white;
}

.alumni table tr:nth-child(even) {
  background-color: #efefef;
}

/* Awards */

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem 3rem;
  color: #343a40;
}

.award-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  flex-direction: column;
  border-top: 4px solid #116ab3;
}

.award-img img {
  max-width: 150px;
  height: auto;
  padding: 1rem;
}

.award-desc {
  padding: 1rem;
}

.award-title {
  font-size: 15px;
}

.award-date {
  font-size: 13px;
  color: #747474;
  padding-top: 1rem;
}

@media screen and (max-width: 900px) {
  .navbar.container {
    padding: 0.75rem 1rem;
  }

  .container {
    padding: 0.75rem 5rem;
  }
  .nav-mobile {
    display: block;
    top: 50%;
    right: 15%;
    transform: translate(-5%, -50%);
  }
  .navbar {
    flex-direction: column;
  }
  .nav-links ul {
    display: none;
    flex-direction: column;
  }
  .nav-link {
    margin: 8px;
  }
  .nav-links.active ul {
    display: flex;
  }
  main {
    padding-top: 10vh;
  }
  .hero-img {
    width: 300px;
    height: 300px;
  }
  .about {
    flex-direction: column;
  }
  .hero,
  .about-desc {
    width: 100%;
  }
  .content {
    width: 100%;
  }
}

@media screen and (max-width: 414px) {
  .container {
    padding: 4rem 1.5rem;
  }
  .hero-img {
    height: 250px;
    width: 250px;
  }
  .publication-desc,
  footer {
    font-size: 13px;
  }
  .about-desc p {
    line-height: 2rem;
  }
  main {
    padding-top: 8vh;
  }
}
