body {
  margin: 0px;
}

@font-face {
    font-family: 'nb';
    src: url('assets/NB-International-Pro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

p {
  font-family: 'nb', sans-serif;
  margin-top: 0px;
}

#scrollToTop {
  display: flex;
  align-items: flex-start; /* Aligns text to the top */
  font-family: serif;
  background: none; /* Removes background */
  border: none; /* Removes border */
  color: black;
  cursor: pointer; /* Ensures it looks clickable */
}

.blur_container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 200px;
  z-index: 1001;
}

.blur_8 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 20px;
  backdrop-filter: blur(128px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(128px); /* Safari support */
  z-index: 992;
}

.blur_7 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 30px;
  backdrop-filter: blur(64px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(64px); /* Safari support */
  z-index: 993;
}

.blur_6 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  backdrop-filter: blur(32px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(32px); /* Safari support */
  z-index: 994;
}

.blur_5 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  backdrop-filter: blur(16px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(16px); /* Safari support */
  z-index: 995;
}

.blur_4 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
  backdrop-filter: blur(8px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  z-index: 996;
}

.blur_3 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 75px;
  backdrop-filter: blur(4px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(4px); /* Safari support */
  z-index: 997;
}

.blur_2 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100px;
  backdrop-filter: blur(2px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(2px); /* Safari support */
  z-index: 998;
}

.blur_1 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 120px;
  backdrop-filter: blur(1px); /* Blurs content underneath */
  -webkit-backdrop-filter: blur(1px); /* Safari support */
  z-index: 999;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px 0px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 1000;
}

.footer {
  padding: 0px 0px 50vh 0px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 10px;
}

.gallery {
  padding: 0px 25vw 0px 0px;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Class to add when the element is visible */
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.text {
  font-size: 15px;
}

.desc {
  font-size: 15px;
  padding: 0px 25vw 0px 0px;
}

.gallery_content {
  column-count: 1;
}

div.gallery img {
  width: 100%;
  height: auto;
}

h1 {
  font-family: 'nb', sans-serif;
  margin-top: 0px;
  text-align: left;
  font-size: 24px;
}

a:link {
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
  text-decoration: underline;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

a:active {
  text-decoration: underline;
  cursor: pointer;
}

a:focus {
  text-decoration: underline;
  cursor: pointer;
}

@media only screen and (max-width: 850px) {
  [class*="text"] {
    font-size: 10px;
  }

  [class*="desc"] {
    font-size: 10px;
  }

  .gallery {
    padding: 0px 2px;
  }
  
  .desc {
  padding: 0px 2px;
}

}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  /* Blurred background */
  backdrop-filter: blur(0.4px);
  -webkit-backdrop-filter: blur(0.4px); /* Safari support */

  z-index: 9999; /* Below grain but above content */
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("https://img.freepik.com/free-photo/white-plain-concrete-textured-background_53876-102604.jpg?semt=ais_hybrid");
  background-size: cover;
  opacity: 0.08;
  animation: grain 0.2s steps(2) infinite;
  z-index: 10000;
}

@keyframes grain {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}
