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

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "PT Mono", monospace;
  line-height: 1.6;
  background: #ffffff;
  max-width: 80vw;
  margin: 0 auto;
  /* overflow-x: hidden; */
  font-size: 1.8rem;
}

.page-wrapper {
  opacity: 0;
  transform: translateY(-50px); /* Adjust the starting point as needed */
  animation: fadeInSlideDown 1s ease-out forwards; /* Smooth animation for 1 second */
}

@keyframes fadeInSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  opacity: 0;
}

#page-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* Semi-transparent black */
  top: 0;
  left: 0;
  display: none; /*Hidden by default */
  z-index: 999; /* Make sure it's below the menu but above other content */
}

.margin-bottom {
  margin-bottom: 4rem;
}

/**************************/
/* DISPLAY MENU */
/**************************/
.menu-bar-container {
  width: 30rem;
  height: 100vh;
  padding: 0.8rem 2rem 2rem 2rem;
  transition: all 0.3s;
  transition: transform 0.8s ease;

  background-color: #fff;
  box-shadow: -10px 0 30px 0 rgba(0, 0, 0, 0.15);

  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  z-index: 1000;
}

.menu-bar-header {
  display: flex;
  justify-content: end;
  margin-bottom: 1rem;
}

.icon-menu-container {
  cursor: pointer;
}

.menu-bar-container ul {
  font-size: 1.6rem;
  list-style: none;
  padding-left: 1rem;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link:link,
.nav-link:visited {
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link:active {
  color: #e192ae;
}

/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: rgba(255, 152, 245, 0.217); */
  max-width: 80vw;
  margin: 0 auto 6rem auto;

  /* Because we want header to be sticky later */
  height: 9rem;
  /* padding: 0 18rem; */
  position: relative;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

.logo span {
  color: #e192ae;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: inline-block;
}

.header-icon-cointainer {
  padding-top: 0.9rem;
}

.burga {
  transition: all 0.3s;
  /* opacity: 1; */
}

.icon-mobile-nav {
  height: 3.2rem;
  width: 3.2rem;
  color: #000;
}

/* .icon-mobile-nav[name="close-outline"] {
  display: none;
} */

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 4s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #cf711f;
}

/**************************/
/* BODY */
/**************************/
.container {
  /* 1140px */
  display: flex;
  justify-content: center;
  max-width: 80vw;
  margin: 0 auto 44rem auto;

  /* gap: 30rem; */
}

.photo-container {
  /* max-width: 40%; */
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/**************************/
/* CONTACT */
/**************************/

.contact-container ul {
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-link:link,
.contact-link:visited {
  color: #000;
  transition: all 0.3s;

  text-decoration: underline;
  text-underline-offset: 0.8rem;
}

.contact-link:hover,
.contact-link:active {
  color: #e192ae;
  text-decoration-color: #e192ae;
}

/**************************/
/* FOOTER */
/**************************/
.footer-container {
  display: flex;
  justify-content: end;
  position: absolute;
  bottom: 4px;
  right: 10vw;
}

/**************************/
/* QUERIES */
/**************************/

body {
  font-size: 1.2rem;
}

.icon-mobile-nav {
  height: 3.2rem;
  width: 3.2rem;
}

.menu-bar-container {
  width: 26rem;
}

.container {
  margin: 0 auto 24rem auto;
  gap: 26rem;
}

.text-container {
  gap: 6rem;
}

.photo-container img {
  max-width: 280px;
}

@media (max-height: 500px) {
  .footer-container {
    position: static;
  }
}

/**************************/
/* BELOW 540px (Phones) */
/**************************/
@media (max-width: 540px) {
  .menu-bar-container {
    width: 45vw;
  }
  .menu-bar-body ul {
    font-size: 1.4rem;
    gap: 0.8rem;
  }

  .logo {
    font-size: 1.4rem;
  }
  
  .icon-mobile-nav {
    height: 2.8rem;
    width: 2.8rem;
  }

  .footer-container {
    font-size: 1rem;
  }
}
