* {
  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.4rem;
}

.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 */
}

/**************************/
/* 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-body 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 4rem auto;

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

.logo {
  font-size: 1.6rem;
  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;
  max-width: 80vw;
  margin: 0 auto 36rem auto;

  gap: 30rem;
}

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

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

/**************************/
/* CAROUSEL */
/**************************/
.carousel {
  width: 28rem;
  height: 38rem;
  position: relative;
  margin: 0 auto 14rem auto;

  /* shadow + border */
  box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
  border-radius: 0.5%;
  overflow-x: hidden;
}

.carousel ul {
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 800ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0 1rem 0.6rem 1rem;
  /* background-color: rgba(0, 0, 0, 0.03); */
}

.carousel-button:hover,
.carousel-button:active {
  color: white;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

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