@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

body {
  background: #fff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 10;
    transition: all 0.3s ease;
}

.navbar.white {
  background-color: #fff;
  color: #000 !important;
}

.navbar.white a,
.navbar.white h1,
.navbar.white button {
  color: #000 !important;
}

.body-cover {
  transform-origin: center;
}

.navbar .links a {
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    position: absolute;
    right: 150px;
    padding: 10px;
}

.navbar button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    margin-left: 10px;
    position: absolute;
    right: 30px;
    padding: 10px;
}

.navbar .links a:hover,
.navbar button:hover {
  opacity: 0.7;
}

/* MENU */
.menu {
  background-color: #3a3a3a;
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  height: 50vh;
  display: none;
  position: fixed;
  top: 0;
}

.menu.active {
  display: block;
}

.menu .divider {
  width: 1px;
  height: 25%;
  background-color: #fff;
}

.menu .h-50 {
  height: 55% !important;
}

.menu a {
  text-wrap: nowrap;
  color: #fff;
  font-size: 170%;
  font-weight: 500;
  text-decoration: none;
}

.menu .sub-links {
  margin: 10px 0;
  margin-top: auto;
}

.menu .sub-links a {
  font-size: 1rem;
  line-height: 0.8cm;
  color: #a3a3a3;
  font-weight: 400;
}

.menu .sub-links a:hover {
  color: rgb(115, 115, 115);
}

.menu #menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.fa-solid.fa-arrow-right {
  transform: rotate(-50deg);
}

@media screen and (max-width: 768px) {
  .col-md-6 svg {
    width: 70% !important;
    float: inline-end !important;
  }

  .menu {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 5rem !important;
  }

  .menu h1 {
    font-size: 3rem !important;
    margin-top: 1rem !important;
    margin-left: 1rem;
  }

  .menu a {
    font-size: 1.2rem;
  }

  .menu .sub-links a {
    font-size: 0.8rem;
  }

  .menu #menu-close {
    position: fixed;
    top: 40px;
    right: 20px;
  }

  .menu .divider {
    display: none;
  }

  .menu .h-50 {
    height: auto !important;
    border-bottom: 1px solid #fff;
    width: 100%;
    padding-bottom: 1rem;
  }

  .menu .sub-links {
    margin: 0;
  }

  .menu .sub-links a {
    font-size: 1rem;
    line-height: 1cm;
  }

  .menu p {
    display: none !important;
  }
}

/* Box */
.box {
  height: 98vh;
  width: 100vw;
  position: relative;
  background-position: center;
  background-size: cover;
  background-color: rgb(0, 0, 0);
}

.box .box-title {
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: -25%;
  left: 2%;
  font-size: 9rem;
}

.box .box-description {
  color: #fff;
  font-size: 0.9rem;
  position: absolute;
  top: 18%;
  right: 2%;
  width: 20%;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.box > * {
  position: relative;
  z-index: 2;
}

.footer {
  background-color: #f3f3f3;
  /* min-height: 80vh; */
  display: none;
}

.footer a {
  font-size: 1.3rem;
  color: #413c3c;
  text-decoration: none;
  margin-bottom: 2rem;
}

.footer a:hover {
  opacity: 0.7;
}

#last-box::before {
  background: none !important;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .box .box-title {
    font-size: 5rem;
    top: -20%;
    left: 5%;
  }

  .box .box-description {
    font-size: 1.2rem;
    width: 50%;
    padding: 1rem;
    top: 10%;
    font-weight: 500;
  }

  .footer {
    display: block;
  }

  .navbar .links a {
    font-size: 1.5rem;
  }

  .navbar button {
    font-size: 1.5rem;
    margin-left: 0;
    padding: 0;
  }

  .box {
    height: 90vh;
  }
}

@media screen and (max-width: 768px) {
  .box .box-title {
    font-size: 1.5rem;
    top: -10%;
    left: 5%;
  }

  #last-box .box-title {
    margin-top: 0 !important;
  }

  .box .box-description {
    font-size: 0.9rem;
    width: 100%;
    padding: 1.5rem;
    top: 10%;
    font-weight: 500;
  }

  .footer {
    display: block;
  }

  .navbar .links a {
    font-size: 1.2rem;
  }

  .navbar button {
    font-size: 1.2rem;
    margin-left: 0;
    padding: 0;
  }

  .box {
    height: 90vh;
  }
}

/* PROJECTS PAGE */
.navigation {
  border: 1px solid #c4c4c4;
  border-left: 0;
  border-right: 0;
  padding: 0.9rem 0 !important;
  margin-top: 50px;
}

.navigation a {
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

.projects .page-title {
  color: #413c3c;
  font-size: 10rem;
}

.projects .photo-card {
  border-bottom: 1px solid #c4c4c4;
  position: relative;
  height: 100%;
  margin-bottom: 3rem;
}

.projects .photo-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.projects .photo-card h1 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #413c3c;
}

.projects .photo-card p {
  margin-bottom: 5rem !important;
  width: 70%;
  font-size: 1rem;
}

.projects .photo-card a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
  position: absolute;
  bottom: 2rem;
}

.divider-h {
  width: 100%;
  height: 1px;
  background-color: #c4c4c4;
  margin-top: 3rem;
}

@media screen and (max-width: 768px) {
  .divider-h {
    margin-top: 0rem;
  }

  .projects .page-title {
    font-size: 3rem;
    padding: 1rem 0;
  }

  .projects .photo-card h1 {
    font-size: 1.3rem;
  }

  .projects .photo-card p {
    font-size: 0.8rem;
    width: 100%;
  }

  .projects .photo-card a {
    font-size: 0.9rem;
  }

  .projects .row {
    margin: 0 !important;
  }
}

/* CONTACT PAGE */
.contact .page-title {
  background-color: #e6e6e6;
  color: #2d2d2d;
}

.contact .page-title h1 {
  font-size: 7rem;
}

.contact form label {
  color: #2d2d2d;
  font-size: 0.8rem;
  margin-top: 1rem;
}

.contact form input,
.contact form select {
  width: 100%;
  padding: 0.3rem 0;
  margin: 1rem 0;
  border: 0;
  border-bottom: 1px solid #000000;
  outline: none;
  font-weight: 500;
  font-size: 1.2rem;
  margin-top: 0;
  color: #000000;
  background-color: transparent;
  border-radius: 0;
}

.contact form textarea {
  width: 100%;
  padding: 0.3rem;
  margin: 0.5rem 0;
  border: 1px solid #000000;
  outline: none;
  font-weight: 500;
  font-size: 1.2rem;
  margin-top: 0;
}

.contact form button {
  background-color: transparent;
  font-size: 1rem;
  color: #000000;
  border: none;
}

.contact form button:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .contact .page-title {
    padding: 1rem !important ;
  }
  .contact .page-title h1 {
    font-size: 3rem;
    padding: 1rem 0;
    margin: 0 !important;
  }

  .contact form label {
    font-size: 0.7rem;
  }

  .contact form input,
  .contact form select {
    font-size: 1rem;
  }

  .contact form textarea {
    font-size: 1rem;
  }

  .contact form button {
    font-size: 0.9rem;
  }
}

.contact .contact-cards {
  min-height: 24rem;
}

.contact .contact-cards .address {
  width: 70%;
}

.contact .contact-cards a {
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .contact .contact-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
    border: none !important;
    padding-bottom: 2rem;
  }

  .contact .col-md-4 {
    border: none !important;
    border-bottom: 1px solid #c4c4c4 !important;
  }

  .contact .contact-cards .address {
    width: 100%;
  }

  .contact .contact-cards .address h1 {
    font-size: 1.5rem;
  }

  .contact .contact-cards .address p {
    font-size: 0.9rem;
  }

  .contact .contact-cards .address a {
    font-size: 0.9rem;
  }

  .contact .contact-cards .address .divider-h {
    display: none;
  }

  .contact .gray-div .col-md-6 .w-75 {
    width: 100% !important;
  }

  .contact .gray-div .col-md-6 {
    justify-content: flex-start !important;
    align-items: start !important;
  }
  .contact .gray-div .col-md-6 h1 {
    margin: 0 !important;
    line-height: 1cm !important;
    width: 100% !important;
    font-size: 1.5rem;
    padding-top: 2rem;
  }
  .contact .white-div .col-md-6 {
    justify-content: flex-start !important;
    align-items: start !important;
    padding: 0 1rem !important;
    min-height: 30vh !important;
  }
  .contact .white-div .col-md-6 h1 {
    margin: 0 !important;
    line-height: 1cm !important;
    width: 100% !important;
    font-size: 1.5rem;
    padding-top: 2rem;
  }

  .footer .col-md-6 {
    padding: 0 !important;
  }

  .footer .col-md-4 {
    border: none !important;
    border-bottom: 1px solid #c4c4c4 !important;
    padding: 0 !important;
  }

  .footer h1 {
    margin-top: 2rem !important;
    font-size: 2rem !important;
    text-align: center !important;
  }

  .footer img {
    max-width: 150px !important;
    margin-top: 2rem !important;
  }
}

.bottom-scroll {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: #fff;
  z-index: 10;
  text-align: center;
  display: none;
  cursor: pointer;
}

.bottom-scroll p {
  font-size: 1rem;
  margin-bottom: 0 !important;
}

.bottom-scroll i {
  font-size: 4rem;
  animation: float 2s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.hidden-navbar {
  display: none !important;
}
