@font-face {
  font-family: "Gotham-Light";
  src: url("../assets/fonts/Gotham-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Gotham-Book";
  src: url("../assets/fonts/Gotham-Book.woff2") format("woff2");
}

@font-face {
  font-family: "Gotham-Medium";
  src: url("../assets/fonts/Gotham-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Gotham-Bold";
  src: url("../assets/fonts/Gotham-Bold.woff2") format("woff2");
}

html {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  color: #e8e8e8;
  background-color: #000;
}

.container {
  background-size: 100vw auto;
  background-image: url("../assets/img/bg.webp");
}

/* Home Page */

.header {
  width: 100%;
  height: 5.85rem;
  position: fixed;
  z-index: 999;
  transition: all 0.8s ease-in-out;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 6.65vw;
}

.logo__icon--wrapper {
  width: 4.25rem;
  height: auto;
  transition: all 0.8s ease-in-out;
}

.logo__icon--wrapper.active {
  opacity: 0;
}

.logo__icon {
  width: 100%;
  height: 100%;
  padding-top: 0.25rem;
}

.hamburger__menu {
  position: relative;
  z-index: 99;
  height: 1.75rem;
  width: 1.75rem;
  padding: 0.1rem 0;
  margin-right: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.hamburger__menu--line {
  width: 100%;
  height: 0.2rem;
  background-color: #e8e8e8;
  border-radius: 0.05rem;
  transition: all 0.3s ease-in-out;
}

.hamburger__menu--line:nth-child(2) {
  width: 75%;
}

.hamburger__menu.active {
  transform: rotate(45deg);
  transition: all 0.3s ease-in-out 0.5s;
}

.hamburger__menu.active .hamburger__menu--line:nth-child(1) {
  transform: translateY(10.85px);
  transition: all 0.3s ease-in-out;
}

.hamburger__menu.active .hamburger__menu--line:nth-child(2) {
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.hamburger__menu.active .hamburger__menu--line:nth-child(3) {
  transform: translateY(-10.85px) rotate(90deg);
  transition: all 0.3s ease-in-out;
}

.navigation {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 8rem 8.5vw;
  width: 100%;
  height: 100dvh;
  transform: translateX(100%);
  transition: all 0.85s ease;
}

.navigation.active {
  background-color: rgba(0, 0, 0, 0.55);
  box-shadow: -0.25rem 0 0.5rem rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  transform: translateX(0%);
}

.navigation__item {
  width: 100%;
  font-size: 1.5rem;
  font-family: "Gotham-Bold", sans-serif;
  letter-spacing: 0.05rem;
  text-align: center;
  text-transform: uppercase;
}

.navigation__item:nth-child(1) {
  border-bottom: 0.1rem solid #e8e8e8;
}

.navigation__item:nth-child(2) {
  border-bottom: 0.1rem solid #e8e8e8;
}

.navigation__item--link {
  display: block;
  color: #e8e8e8;
  text-decoration: none;
  padding: 1.85rem 0;
}

.main {
  padding-top: 5.85rem;
}

.hero__container {
  margin-top: 4.25rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 85.5%;
  height: auto;
}

.hero__logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 8.5%;
  width: 100%;
  height: auto;
  transform: translate(-50%, 0%);
  padding: 0 5.5vw;
}

.intro__container {
  margin: 4.5rem 8.5vw;
}

.intro__title {
  display: none;
}

.intro__text {
  font-size: clamp(1rem, 5.65vw, 2.5rem);
  font-family: "Gotham-Medium", sans-serif;
  color: #e8e8e8;
  line-height: 1.85;
  text-align: center;
}

.projects__container {
  display: flex;
  gap: 4.5rem;
  flex-direction: column;
  align-items: center;
  margin: 8.5rem 8.5vw;
}

.projects__title {
  display: none;
}

.projects {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

.project a {
  color: #e8e8e8;
  text-decoration: none;
}

.project__img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.project__title {
  padding-top: 0.65rem;
  font-size: 1.15rem;
  letter-spacing: 0.03rem;
  font-family: "Gotham-Bold", sans-serif;
  text-transform: uppercase;
}

.project__info {
  padding-top: 0.5rem;
  font-size: 0.85rem;
  font-family: "Gotham-Light", sans-serif;
  letter-spacing: 0.05rem;
  opacity: 0.65;
  text-transform: uppercase;
}

.projects__btn {
  width: 100%;
}

.projects__btn a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-family: "Gotham-Medium", sans-serif;
  letter-spacing: 0.03rem;
  color: #e8e8e8;
  border: 0.1rem solid #e8e8e8;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.85s ease;
}

.projects__btn a:hover {
  color: #000;
  background-color: #e8e8e8;
}

.services__container {
  display: flex;
  gap: 1.85rem;
  flex-direction: column;
  margin: 12rem 8.5vw;
}

.services__title {
  font-size: 1.15rem;
  letter-spacing: 0.05rem;
  font-family: "Gotham-Light", sans-serif;
  text-transform: uppercase;
}

.services {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

.service {
  padding: 0.85rem 0;
  font-size: clamp(1.85rem, 9.25vw, 2.5rem);
  font-family: "Gotham-Medium", sans-serif;
  line-height: 1.25;
  letter-spacing: 0.05rem;
  border-bottom: 0.1rem solid #e8e8e8a8;
}

.service span {
  display: block;
}

.contact__container {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  margin: 8rem 8.5vw 5rem;
}

.contact__title {
  font-family: "Gotham-Light", sans-serif;
  font-size: clamp(0.95rem, 4.75vw, 1.35rem);
  letter-spacing: 0.03rem;
  text-transform: uppercase;
}

.contact__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-areas: "text" "details";
}

.contact__text {
  grid-area: "text";
  font-size: clamp(1.5rem, 7.5vw, 2.25rem);
  font-family: "Gotham-Medium", sans-serif;
  line-height: 1.45;
}

.contact__text span {
  display: block;
}

.contact__details {
  grid-area: "details";
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.85rem;
  font-size: clamp(1.5rem, 6.15vw, 1.85rem);
  font-family: "Gotham-Light", sans-serif;
  letter-spacing: 0.03rem;
}

.contact__detail {
  color: #e8e8e8;
  border-bottom: 0.1rem solid #e8e8e8;
  text-decoration: none;
  padding-bottom: 0.35rem;
}

.copyright__container {
  display: flex;
  justify-content: center;
  padding-bottom: 1.85rem;
}

.copyright__text {
  font-size: clamp(0.75rem, 3.5vw, 1rem);
  font-family: "Gotham-Light", sans-serif;
  opacity: 0.65;
}

/* Projects Page */

.all-projects__container {
  padding: 10.5rem 8.5vw 0;
}

.all-projects__title {
  font-size: 1.5rem;
  font-family: "Gotham-Light", sans-serif;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
  padding-bottom: 2.85rem;
}

/* Project Page */

.project__container {
  padding: 10.5rem 8.5vw 0;
}

.project__article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project__name {
  display: inline-block;
  font-size: clamp(1rem, 6.75vw, 2.25rem);
  font-family: "Gotham-Bold", sans-serif;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
}

.project__details {
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.65rem, 3.15vw, 1rem);
  font-family: "Gotham-Light", sans-serif;
  letter-spacing: 0.01rem;
  text-transform: uppercase;
  opacity: 0.75;
}

.project__services {
  padding-bottom: 2.85rem;
}

.project__services--title {
  display: none;
}

.project__services--list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project__service {
  padding: 2vw 4vw;
  font-size: 3.25vw;
  font-family: "Gotham-Book", sans-serif;
  border: 0.05rem solid #e8e8e8;
  border-radius: 5rem;
}

.project__about {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project__about--title {
  font-size: 1.25rem;
  font-family: "Gotham-Light", sans-serif;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
}

.project__about--text {
  font-size: clamp(0.925rem, 3.95vw, 1rem);
  font-family: "Gotham-Light", sans-serif;
  line-height: 1.85;
}

.project__about--img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 0.85rem;
}

/* media queries */

/* tablets in portrait mode or larger phones */
@media (min-width: 481px) and (max-width: 768px) {
}

/* tablets in landscape mode */
@media (min-width: 769px) and (max-width: 1024px) {
}

/* smaller laptops and desktops */
@media (min-width: 1024px) {
  /* Home */

  .header {
    height: 6.25rem;
  }

  .navbar {
    padding: 0 5vw;
  }

  .logo__icon--wrapper {
    width: 5rem;
    height: auto;
  }

  .hamburger__menu {
    display: none;
  }

  .navigation {
    position: static;
    padding: 0;
    width: 25rem;
    height: auto;
    transform: translate(0%);
  }

  .navigation__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.25rem;
  }

  .navigation__item {
    width: auto;
    font-size: 1.15rem;
    letter-spacing: 0.03rem;
  }

  .navigation__item:nth-child(1) {
    border: none;
  }

  .navigation__item:nth-child(2) {
    border: none;
  }

  .navigation__item--link {
    padding: 0.85rem;
  }

  .hero__container {
    margin-top: 2.25rem;
    min-height: 625px;
    max-height: 850px;
    height: calc(100vh - 8.5rem);
    align-items: end;
  }

  .hero__img {
    width: 52.5%;
    height: auto;
  }

  .hero__logo {
    bottom: 2%;
    padding: 0 4.45vw;
  }

  .intro__container {
    margin: 12.5rem 10.5vw;
  }

  .intro__text {
    font-size: clamp(2.85rem, 4.5vw, 4rem);
    line-height: 1.55;
  }

  .projects__container {
    gap: 5rem;
    margin: 15rem 5.5vw;
  }

  .projects {
    gap: 2.85rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .project__title {
    padding-top: 0.85rem;
    font-size: 1.35rem;
  }

  .project__info {
    font-size: 1rem;
  }

  .projects__btn {
    width: auto;
  }

  .projects__btn a {
    font-size: 1.25rem;
    padding: 1rem 2.85rem;
  }

  .services__container {
    gap: 2.5rem;
    margin: 15rem 5.5vw;
  }

  .services__title {
    font-size: 1.5rem;
  }

  .services {
    gap: 2.5rem 3rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .service {
    padding: 1rem 0;
    font-size: clamp(2.85rem, 4.45vw, 4rem);
  }

  .service:nth-child(2) {
    grid-row: 2;
  }

  .contact__container {
    margin: 15rem 5.5vw 5rem;
  }

  .contact__title {
    font-size: clamp(1.15rem, 1.85vw, 1.5rem);
  }

  .contact__grid {
    grid-template-areas: "text details";
  }

  .contact__text {
    font-size: clamp(2.5rem, 3.85vw, 3.5rem);
  }

  .contact__details {
    padding-top: 1.65vw;
    font-size: clamp(1.85rem, 2.85vw, 2.5rem);
    gap: 1.45vw;
  }

  .copyright__text {
    font-size: 1.15rem;
  }

  /* Projects Page */

  .all-projects__container {
    padding: 6.5rem 5.5vw 0;
  }

  .all-projects__title {
    padding-bottom: 3.5rem;
    font-size: clamp(1.85rem, 2.85vw, 2.5rem);
  }

  /* Project Page */

  .project__container {
    padding: 6.5rem 5.5vw 0;
  }

  .project__article {
    display: grid;
    grid-template-columns: 62.5% 1fr;
    gap: 3rem 4.25vw;
  }

  .project__header {
    grid-column: span 2;
  }

  .project__name {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    padding-bottom: 0.65rem;
  }

  .project__details {
    font-size: clamp(0.85rem, 1.35vw, 1.25rem);
  }

  .project__services {
    display: flex;
    flex-direction: column;
    gap: 1.85rem;
    padding-top: 2rem;
  }

  .project__services--title {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    font-family: "Gotham-Light", sans-serif;
    text-transform: uppercase;
  }

  .project__services--list {
    gap: 0.85rem;
  }

  .project__service {
    padding: 0.8vw 1.45vw;
    font-size: clamp(0.65rem, 1.1vw, 1rem);
    border: 0.08rem solid #e8e8e8;
  }

  .project__about {
    gap: 1.85rem;
    padding: 3.5rem 0;
  }

  .project__about--title {
    font-size: 1.85rem;
  }

  .project__about--text {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
  }

  .project__about--img {
    margin: 0;
    grid-column: span 2;
  }
}

@media (min-width: 1440px) {
  .navbar {
    margin: auto;
    padding: 1.25rem 4.5rem;
    max-width: 1440px;
  }

  .main {
    margin: auto;
    max-width: 1440px;
  }

  .hero__logo {
    padding: 0 4rem;
  }

  .intro__container {
    margin: 12.5rem 9.45rem;
  }

  .projects__container {
    margin: 15rem 5rem;
  }

  .services__container {
    margin: 15rem 5rem;
  }

  .contact__container {
    margin: 12.5rem 5rem 5rem;
  }

  .contact__details {
    gap: 1.45rem;
    padding-top: 1.5rem;
  }

  .all-projects__container {
    padding: 6.5rem 5rem 0;
  }

  .project__container {
    padding: 6.5rem 5rem 0;
  }

  footer {
    margin: auto;
    max-width: 1440px;
  }
}
