img {
  max-width: 100%;
}

body {
  max-width: 100vw;
  font-size: 15px;
}
.header {
  background-image: url(../../images/mobile/image-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  aspect-ratio: 15/26;
  position: relative;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  height: 100px;
}
.navbar__logo {
  width: 150px;
  position: relative;
  z-index: 2;
}

.navbar__navigation {
  display: none;
}

.navbar__mobile {
  display: none;
}
.navbar__mobile.open {
  position: fixed;
  inset: 0;
  background: hsl(0, 0%, 0%);
  z-index: 1;
  display: flex;
  align-items: center;
  animation: navbarMobile 1s;
}

@keyframes navbarMobile {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.navbar__navigation_mobile {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.navbar__link_mobile {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  font-family: "Josefin Sans", serif;
  text-transform: uppercase;
  font-size: 2em;
  font-weight: 300;
  width: 90%;
  margin: auto;
}
.navbar__link_mobile:hover {
  text-decoration: underline;
}

.navbar__button {
  background: none;
  border: none;
  padding: 0;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  z-index: 2;
}
.navbar__button-icon {
  width: 25px;
}

.header__title {
  color: hsl(0, 0%, 100%);
  display: block;
  width: 90%;
  margin: auto;
  font-size: 3em;
  font-family: "Josefin Sans", serif;
  text-transform: uppercase;
  font-weight: 300;
  border: 1px solid hsl(0, 0%, 100%);
  padding: 6%;
  box-sizing: border-box;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 370px) {
  .header__title {
    overflow-wrap: break-word;
  }
}

.main {
  margin: 100px 0;
}
.main__content {
  margin-bottom: 100px;
}
.main__vr-image_desktop {
  display: none;
}

.main__vr-image_mobile {
  width: 90%;
  display: block;
  margin: auto auto 40px;
}

.main__text-container {
  width: 90%;
  margin: auto;
}
.main__title {
  text-align: center;
  font-family: "Josefin Sans", serif;
  text-transform: uppercase;
  font-size: 2em;
  font-weight: 300;
  margin-bottom: 20px;
}

.main__desc {
  text-align: center;
  font-family: "Alata", serif;
  color: hsl(0, 0%, 55%);
  line-height: 1.7;
  width: 80%;
  margin: auto;
}

.main__portfolio {
  display: grid;
  grid-template-rows: repeat(3, auto);
}
.main__portfolio-title {
  grid-row: 1/2;
  text-align: center;
  font-size: 2em;
  font-family: "Josefin Sans", serif;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.main__portfolio-button {
  grid-row: 3/4;
  display: block;
  margin: auto;
  width: 120px;
  text-align: center;
  padding: 10px;
  border: 1px solid hsl(0, 0%, 0%);
  text-decoration: none;
  font-family: "Alata", serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: hsl(0, 0%, 0%);
}
.main__portfolio-button:hover {
  background: hsl(0, 0%, 0%);
  color: hsl(0, 0%, 100%);
  transition: 0.5s ease;
}

.main__portfolio-images {
  grid-row: 2/3;
  display: grid;
  grid-template-rows: repeat(8, auto);
  gap: 25px;
  margin-bottom: 35px;
}
.main__portfolio-container {
  width: 90%;
  margin: auto;
  position: relative;
}
.main__portfolio-container::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: linear-gradient(to right, hsla(0, 0%, 0%, 0.4) 30%, hsla(0, 0%, 100%, 0) 70%);
}

.main__portfolio-container:hover {
  cursor: pointer;
}
.main__portfolio-container:hover .main__img-text {
  color: hsl(0, 0%, 0%);
  transition: 0.5s ease-out;
}
.main__portfolio-container:hover::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: hsla(0, 0%, 100%, 0.7);
  transition: 0.5s ease;
}

.main__portfolio-img_desktop {
  display: none;
}

.main__portfolio-img_mobile {
  display: block;
}

.main__img-text {
  position: absolute;
  inset: auto auto 20px 20px;
  z-index: 1;
  font-family: "Josefin Sans", serif;
  font-size: 1.7em;
  font-weight: 300;
  color: hsl(0, 0%, 100%);
  text-transform: uppercase;
}

.footer {
  display: grid;
  grid-template-rows: repeat(5, auto);
  background: hsl(0, 0%, 0%);
  padding: 50px 0;
  gap: 20px;
}
.footer__logo {
  margin: auto;
}

.footer__navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
.footer__navigation-link {
  font-family: "Alata", serif;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
  font-weight: 300;
  position: relative;
}
.footer__navigation-link::after {
  content: "";
  width: 0%;
}

.footer__navigation-link:hover {
  cursor: pointer;
}
.footer__navigation-link:hover::after {
  width: 50%;
  height: 2px;
  background: hsl(0, 0%, 100%);
  position: absolute;
  inset: auto auto -15px 50%;
  transform: translateX(-50%);
  transition: 0.2s ease;
}

.footer__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.footer__social-link {
  position: relative;
}
.footer__social-link::after {
  content: "";
  width: 0%;
}

.footer__social-link:hover::after {
  width: 100%;
  height: 2px;
  background: hsl(0, 0%, 100%);
  position: absolute;
  inset: auto auto -5px 50%;
  transform: translateX(-50%);
  transition: 0.2s ease;
}

.footer__copyright {
  text-align: center;
  color: hsl(0, 0%, 55%);
  font-family: "Alata", serif;
}

.attribution {
  font-family: "Alata", serif;
  color: hsl(0, 0%, 100%);
}
.attribution a {
  text-decoration: none;
  color: hsl(0, 0%, 55%);
}/*# sourceMappingURL=mobile.css.map */