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

html {
  font-size: 62.5%;
}

body {
  font-family: sans-serif;
  width: 100%;
  height: 100vh;
}

.nav {
  background-color: antiquewhite;
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
  letter-spacing: 0.4rem;
  width: 100%;
}

@media (max-width: 1000px) {
  .nav {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
  }
}

.nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.hash {
  font-weight: bolder;
}

.navbar {
  display: flex;
  gap: 4rem;
}

@media (max-width: 1000px) {
  .navbar {
    gap: 2rem;
  }
}

@media (max-width: 680px) {
  .navbar {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    row-gap: 2rem;
    justify-content: space-evenly;
  }
}

.nav-link {
  padding: 2rem;
}

@media (max-width: 650px) {
  .nav-link {
    padding: 1.5rem;
  }
}

.nav-link:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.151);
}

.projects-link:checked {
  background-color: rgba(106, 9, 9, 0.151);
}

.header {
  position: relative;
  background-image: url("./images/architect.jpg");
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
}

@media (max-width: 600px) {
  .logo {
    padding-left: 0;
    padding: 2rem;
    background-color: white;
  }
}

.header-logo {
  font-size: 4.8rem;
  letter-spacing: 0.4rem;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

@media (max-width: 1000px) {
  .header-logo {
    font-size: 2.6rem;
  }
}

@media (max-width: 490px) {
  .header-logo {
    display: flex;
    flex-direction: column;
  }
}

.header-logo span {
  letter-spacing: 0;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.652);
  padding: 1.5rem 2rem;
  font-size: 3.6rem;
  opacity: 0.8;
}

@media (max-width: 1000px) {
  .header-logo span {
    font-size: 2.6rem;
  }
}

@media (max-width: 490px) {
  .header-logo span {
    align-self: center;
  }
}

.section-header-content {
  padding: 2rem 3rem;
}

.projects-header-content {
  padding-top: 12rem;
}

.section-header {
  border-bottom: solid 0.1rem rgba(0, 0, 0, 0.336);
  padding-bottom: 2rem;
  font-size: 3rem;
}

.projects-imgs-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding: 3rem;
  gap: 2rem;
}

@media (max-width: 790px) {
  .projects-imgs-container {
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
  }
}

@media (max-width: 650px) {
  .projects-imgs-container {
    align-items: center;
  }
}

.projects-imgs {
  position: relative;
}

.projects-imgs img {
  width: 100%;
  height: 100%;
}

.projects-imgs span {
  position: absolute;
  font-size: 1.8rem;
  color: white;
  background-color: black;
  padding: 1rem 2rem;
}

@media (max-width: 1100px) {
  .projects-imgs span {
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 790px) {
  .projects-imgs span {
    font-size: 3.6rem;
    padding: 1rem 2rem;
  }
}
@media (max-width: 650px) {
  .projects-imgs span {
    font-size: 2.4rem;
  }

  .projects-imgs {
    width: 45rem;
    height: 28rem;
  }
}

@media (max-width: 490px) {
  .projects-imgs span {
    font-size: 1.8rem;
  }

  .projects-imgs {
    width: 40rem;
    height: 23rem;
  }
}

@media (max-width: 440px) {
  .projects-imgs span {
    font-size: 1.6rem;
  }

  .projects-imgs {
    width: 35rem;
    height: 18rem;
  }
}

@media (max-width: 390px) {
  .projects-imgs span {
    font-size: 1.2rem;
  }

  .projects-imgs {
    width: 30rem;
    height: 18rem;
  }
}

@media (max-width: 320px) {
  .projects-imgs span {
    font-size: 1.2rem;
  }

  .projects-imgs {
    width: 25rem;
    height: 18rem;
  }
}

.about-para {
  font-size: 1.8rem;
  line-height: 1.6;
}

@media (max-width: 550px) {
  .about-para {
    font-size: 1.6rem;
  }
}

.about-content {
  /* padding: 4rem; */
  padding: 0 6rem 1.8rem 3rem;
}

.members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem;
  align-items: center;
  justify-items: center;
}

@media (max-width: 1000px) {
  .members {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }
}

@media (max-width: 550px) {
  .members {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 550px) {
  .members {
    row-gap: 5rem;
  }
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 28rem;
}

@media (max-width: 1220px) {
  .member-info {
    width: 25rem;
  }
}

@media (max-width: 1130px) {
  .member-info {
    width: 22rem;
  }
}

@media (max-width: 1000px) {
  .member-info {
    width: 30rem;
  }
}

@media (max-width: 700px) {
  .member-info {
    width: 28rem;
  }
}

@media (max-width: 650px) {
  .member-info {
    width: 25rem;
  }
}

@media (max-width: 590px) {
  .member-info {
    width: 22rem;
  }
}

@media (max-width: 550px) {
  .member-info {
    width: 40rem;
  }
}

@media (max-width: 460px) {
  .member-info {
    width: 35rem;
  }
}

@media (max-width: 380px) {
  .member-info {
    width: 30rem;
  }
}
@media (max-width: 325px) {
  .member-info {
    width: 25rem;
  }
}

.member-img {
  filter: grayscale(100%);
}

.member-name {
  font-size: 2.4rem;
}

.member-job {
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.546);
}

.member-bio {
  font-size: 1.6rem;
  line-height: 1.6;
}

@media (max-width: 460px) {
  .member-bio {
    font-size: 1.2rem;
  }
}

.member-contact {
  width: 100%;
}

.member-contact {
  border: none;
  padding: 1rem 2rem;
  font-size: 1.6rem;
}

.contact {
  padding-bottom: 3rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 3rem 3rem 3rem;
}

.contact-msg {
  font-size: 1.8rem;
}

@media (max-width: 530px) {
  .contact-msg {
    font-size: 1.6rem;
  }
}

.contact-input {
  padding: 0.8rem;
  font-size: 1.8rem;
}

.contact-msg-btn {
  padding-left: 3rem;
}

.contact-btn {
  font-size: 1.8rem;
  padding: 1rem 2rem;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
}

@media (max-width: 490px) {
  .contact-btn {
    font-size: 1.6rem;
  }
}

.contact-btn:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.837);
}

.map {
  padding: 3rem 2rem;
}

.map-img {
  width: 100%;
  height: 100%;
}

.footer {
  background-color: rgb(0, 0, 0);
  font-size: 1.6rem;
  display: flex;
  height: 9rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 550px) {
  .footer {
    font-size: 1.2rem;
  }
}

.footer-para {
  color: white;
}

.active {
  background-color: rgba(0, 0, 0, 0.151);
}
