body
{
    background-color: black;
    color: white; 
    justify-content: center;
    overflow-x: hidden;

}


p {
  font-family: monospace;
  font-size: 16px;
  text-align: center;
}


/* logo */

.logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  opacity: 0.2; /* 20% opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -10;
}

.logo img {
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: 130%;
  opacity: 1; /* Make sure the image itself is fully opaque */
}



/* sara, NYC, email */
.nav {
  font-family: monospace;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  padding: 15px;
  z-index: 3;
}

.nav a {
  content: '\2022';
  color: white;
  text-decoration: none;
  padding: 5px;
  margin: 0 10px;
  font-size: 16px;
  transition: color 0.3s;
}

.top-links:hover a {
  filter: drop-shadow(0 0 10px white);
}


#location-link,
.bullet {
  display: inline;
}


/* HAMBURGER MENU */

#menu-toggle {
  display: none;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: white;
  transition: .3s;
}

.dropdown-menu {
  position: fixed;
  top: 60px;
  right: 20px;
  background: black;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 9998;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  font-family: monospace;
  font-size: 16px;
}

.dropdown-menu a:hover {
  filter: drop-shadow(0 0 8px white);
}

.wildcard-logo img {
  height: 24px;   /* adjust as needed */
  width: auto;
  display: block;
  transition: filter 0.3s;
}

.wildcard-logo:hover img {
  filter: drop-shadow(0 0 8px white);
}

#menu-toggle:checked ~ .dropdown-menu {
  opacity: 1;
  visibility: visible;
}



/* copyright */

.copyright {
  font-family: monospace;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 15px;
}

.copyright a {
  color: white;
  text-decoration: none;
  padding: 5px;
  margin-right: 10px;
  font-size: 16px;
}




/* works */

.title{
  font-family: monospace;
  text-align: center;
  margin-top: 5%;
  font-size: 2vw;
}

.heading{
  margin: 1%;
}
.heading p {
  font-family: monospace;
  font-style: italic;
}


.works {
  width: 80%;
  margin: 120px auto 80px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}


.work-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  display: block;
  transition: filter 0.2s, transform 0.2s;
}

.work-card img:nth-child(1) {
  animation: slideshow 5s infinite 0s;
}

.work-card img:nth-child(2) {
  animation: slideshow 5s infinite 1s;
}

.work-card img:nth-child(3) {
  animation: slideshow 5s infinite 2s;
}

.work-card img:nth-child(4) {
  animation: slideshow 5s infinite 3s;
}

.work-card img:nth-child(5) {
  animation: slideshow 5s infinite 4s;
}

.gif-card img {
  opacity: 1;
  animation: none !important;
}

.work-card:hover img {
  filter: drop-shadow(0 0 10px white);
  transform: scale(1.03);
}

@keyframes slideshow {
  0%, 19% {
    opacity: 1;
  }

  20%, 100% {
    opacity: 0;
  }
}







/* phone media queries */


@media only screen and (max-width: 567px) {
  .works {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav a, 
  .bottom-nav a, 
  .copyright a {
    font-size: 14px;
  }

  #location-link,
  #first-bullet {
    display: none;
  }


  .nav a, 
  .bottom-nav a, 
  .copyright a {
    font-size: 14px; /* Adjust font size for smaller screens */
  }

  #location-link,
  #first-bullet{
    display: none;
  }

}



