:root {
  --color-bg: #FAF9F6;
  --color-text-main: #000000;
  --color-primary: #FFFF00;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
  
}

/* Basic page style resets */
  * {
    box-sizing: border-box;
  }
  [hidden] {
    display: none !important;
  }

/* HTML */
html 
{
  background: #100c08;
  color: #fff5ee;
}


/* Import fonts */
  /* @font-face {
    font-family: Palmore;
    src: url("https://cdn.glitch.global/3845821b-eb53-441c-8813-9510f3d18ea3/Palmore.otf?v=1725475477089")
      format("opentype");
  } */ 
  @font-face {
    font-family: HK Grotesk;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
      format("opentype");
  }
  @font-face {
    font-family: HK Grotesk;
    font-weight: bold;
    src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
      format("opentype");
  }

  @font-face {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    src: url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
  }

  @font-face {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
    src: url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
  }

  @font-face {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: italic;
    src: url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
  }





/* Navigation grid */

/* Side Navigation */
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000; /* Higher than the modal */
    top: 0;
    left: 0;
    background-color: #f7ecac;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #100c08;
    display: block;
    transition: 0.3s;
  }

  .sidenav a:hover {
    color: #7b1103;
  }

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }

/* Hamburger Button */
.nav-tab {
  position: fixed;
  top: 20px; /* Move closer to the top */
  left: 0;
  background-color: #f7ecac;
  color: #540d07;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1001; /* Higher than the sidenav */
  border-radius: 0 5px 5px 0;
  font-size: 20px;
  transition: left 0.5s; /* Smoothly move the tab */
}

/* Main content */
#main {
  transition: margin-left 0.5s;
  padding: 16px;
}



  .footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  .footer a:hover {
    /*background: var(--color-primary);*/
  }

  .footer .links {
    padding: 0.5rem 1rem 1.5rem;
    white-space: nowrap;
  }

  .divider {
    padding: 0 1rem;
  }

  .footer-divider {
    border: none;
    border-top: 2px solid #f7ecac; /* Light divider color */
    margin: 2rem 0;
  }

  .footer-icon {
    color: #f7ecac; /* Icon color */
    fill: #f7ecac;
    text-decoration: none;
    transition: color 0.3s ease;
    transition: fill 0.3s ease;
  }

  .footer-icon:hover {
    color: #7b1103; /* Hover color */
    fill: #7b1103;
  }

body {
  font-family: HK Grotesk, sans-serif;
  background-image: url("#");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /*background-color: var(--color-bg);*/
}

/* Page structure */

.wrapper {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65vw;
  margin: auto;
}

.full-bleed {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: #100c08; /* Dark background */
  color: #f7ecac; /* Light text */
}

.full-bleed-title {
  font-family: "HK Grotesk", sans-serif;
  font-size: 15vw; /* Responsive font size */
  font-weight: bold;
  text-align: left;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

/* Very light scaling for our illustration */
.title {
  color: #2800FF;
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: bold;
  font-size: auto;
  line-height: 105%;
  margin: 0;
}

.pagetitle {
  font-weight: bold;
  font-size: 50px;
}
/* Subheading */
h2 {
  color: #2800FF;
}

.moved-element {
  position: absolute;
  top: 50px;
  left: 100px;
}

.card-overlay {
  position: relative;
  overflow: hidden;
}

.GalleryImg {
  width: 100%;
  height: auto;
  transition: transform 0.5s, filter 0.5s;
}

.card-overlay:hover .GalleryImg {
  transform: scale(1.1);
  filter: brightness(50%);
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.5s;
}

.card-overlay:hover .overlay-content {
  opacity: 1;
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin: 0;
}

.overlay-content p {
  font-size: 1rem;
  margin: 0;
}

.modal {
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  display: flex;
  background: #fff;
  color: #000;
  border-radius: 10px;
  overflow: hidden;
  width: 80%;
  max-width: 900px;
  height: 70%;
}

.full-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}


.project-description {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.project-description h3 {
  margin-top: 0;
}

.project-description p {
  line-height: 1.5;
}


    /* Ensure the sidenav and nav-tab are above the modal */
    .sidenav {
      z-index: 1000; /* Higher than the modal */
    }

    .nav-tab {
      z-index: 1001; /* Higher than the sidenav */
    }

    .modal {
      z-index: 999; /* Lower than the sidenav and nav-tab */
    }

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding-top: 24px; /* Add space above the logo */

}
.logo svg {
  width: 35px;
  height: auto;
  display: block;
}