h1 {
  font-size: clamp(2.5rem, 5vw ,4rem);
}


p,
button,
li { 
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}

header {
  min-height: 32em;
    /* aspect-ratio: 4 / 5; */

  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
  object-fit: cover;
  object-position: center 80%;
}

.box-shadow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  min-height: 32rem;

  text-align: center;
  color: white;

  background: #1b1b1b52;

  position: relative;
  z-index: 2;
}

.main {
  width: 100%;
}

.tenants-nav-container {
  max-width: 1920px;

  margin-top: clamp(1rem, 5vw, 3rem);
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;

  padding: 0 1em 0 1em;
}

.tenants-nav-desktop {
  display: flex;
  gap: 1rem;
  padding-bottom: 2rem;
  padding-top: 0.5rem;

  list-style: none;

  /* Comment this out if need mobile */
  overflow-x: auto;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
  
  li {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.2rem 0;

    min-width: clamp(9rem, 15vw, 13rem);

    border-radius: 15px;
    
    background-color: white;
    box-shadow: 0px 0px 5px #1b1b1b;

    font-weight: 500;

    transition: transform 0.3s ease;

    cursor: pointer;
  }

  li:hover {
    transform: scale(1.05);
  }
}

.nav-icon {
  max-width: clamp(1rem, 2vw, 1.3rem);
}


.tenants-nav-mobile {
  display: none;
  flex-direction: column;
}

.tenants-nav-button {
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;

  background: none;
  border: none;
  border-bottom: 1px solid #1b1b1b;

  cursor: pointer;

  anchor-name: --tenants-nav;
}

.tenants-nav-list {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;

  width: anchor-size(width);

  margin-top: 0.5rem;

  background-color: white;
  border: 1px solid #1b1b1b;
  border-radius: 5px;

  position-anchor: --tenants-nav;
  position-area: bottom;

  position: absolute;

  li {
    width: 100%;
    padding: 0.5rem;

    list-style: none;

    cursor: pointer;
  }
}

.tenants-wrapper {
  display: flex;
  flex-direction: column;

  max-width: 1920px;
  margin: 0 auto 2rem auto;

  gap: 1rem;
}


hr {
  display: none;
}

.first-floor,
.second-floor,
.departure-area {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  
  h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    padding: 0 1rem 0 1rem;
  }

}

.tenants-container {
  display: flex;
  gap: 1rem;

  padding: 0.5rem 1rem 0.5rem 1rem;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;

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

.tenant-card {
  flex: 0 0 80%;
  display: flex;
  flex-direction: column;
  gap: 0.5em;

  max-width: 15rem;

  background-color: #ffffff;

  border-radius: 10px;

  box-shadow: 0px 0px 4px #1B1B1B;

  transition: transform 0.3s ease;
  
  p {
    font-size: clamp(0.6rem, 1vw, 1rem);
  }
}

.tenant-card:hover {
  transform: scale(1.05);
}

.tenant-name {
  font-size: clamp(0.7rem, 1vw, 1rem);
  font-weight: 800;
}

.tenant-image {
  aspect-ratio: 6 / 3;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    border-radius: 10px 10px 0 0;
  }
}

.tenant-bottom {
  display: flex;
  justify-content: space-between;

  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
}

.tenant-right {
  text-align: center;

  .category {
    border-radius: 8px;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
    margin-bottom: 0.2rem;

    
    color: white;
    background-color: rgb(0, 96, 156);
  }

  .public {
    border-radius: 8px;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;

    
    color: rgb(0, 97, 0);
    background-color: rgb(175, 255, 175);
  }

  .departure {
    border-radius: 8px;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;

    
    color: rgb(97, 0, 0);
    background-color: rgb(255, 175, 175);
  }

  .coming-soon {
    border-radius: 8px;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;

    
    color: rgb(97, 94, 0);
    background-color: rgb(252, 255, 175);
  }
}

.open {
  display: flex;
}

.hidden {
  display: none;
}

.tenants-nav-desktop .active {
  color: white;
  background: linear-gradient(90deg, #0c4a6e, #55aedf);
}

.tenants-nav-desktop .active .nav-icon {
  filter: brightness(0) invert(1);
}

@media (min-width: 500px) {
  /* .tenants-nav-mobile {
    display: none;
  } */
  
  /* .tenants-nav-desktop {
    display: flex;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  } */

  
}

@media (min-width: 800px) {
  .tenants-nav-desktop {
    justify-content: center;
  }

  hr {
    display: block;
    height: 1.3px;
    margin: 0 4.5rem 0 3rem;

    border: none;

    color: #1b1b1b;
    background-color: #1b1b1b;
  }

  .first-floor,
  .second-floor,
  .departure-area {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .tenants-wrapper {
    gap: 3rem;
  }

  .tenants-container {
    flex-wrap: wrap;
    gap: 2rem;

    overflow-x: visible;
  }

  .tenant-card {
    max-width: clamp(12rem, 20vw, 20rem);
    box-shadow: 0px 0px 5px #1B1B1B;
    
    .tenant-bottom {
      gap: 1rem;
    }

    & .tenant-left p {
      font-size: clamp(1rem, 1.5vw, 1.1rem);
    }
  }
}