body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  /* padding-bottom: 2rem; */
}

main {
  margin: 2rem;
}
.gradient1::before {
  content: "";
  position: absolute; /* Stays fixed while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(145, 145, 0, 0.5),
    rgba(158, 0, 158, 0.5)
  );
  z-index: -1; /* Ensures it's behind the content but above the image */
}

.gradient2::before {
  content: "";
  position: fixed; /* Stays fixed while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(158, 0, 158, 0.5),
    rgba(0, 146, 146, 0.5)
  );
  z-index: -1; /* Ensures it's behind the content but above the image */
}

#backgroundImg {
  z-index: -5;
  width: 100%;
  object-fit: cover;
  position: fixed;
  /* filter: brightness(35%) saturate(0%); */
}

h1 {
  color: white;
}

header h1 {
  width: 100%;
  justify-content: center;
  text-align: center;
  color: white;
}

header {
  background-color: rgba(0, 132, 132, 0.893);
  margin-bottom: 2rem;
  height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: white;
}

#tabs {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#tabs #art-toggle {
  color: cyan;
  cursor: pointer;
}

#tabs #project-toggle {
  cursor: pointer;
}

#tabs p {
  margin: 5px;
}

#art-gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

#art-gallery .art {
  width: auto;
  height: 200px;
  margin: 1em;
  align-content: center;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "."
    "."
    "text";
  align-items: end;
  position: relative;
}

.art p {
  position: absolute;
  z-index: 2;
  text-align: center;
  grid-area: text;
  width: 100%;
  padding: 0.5rem;
  color: white;
  display: none;
}

.art img {
  filter: drop-shadow(10px 10px 1px #00000089);
  outline: cyan solid 5px;
}

#art-gallery .art:hover img {
  filter: brightness(50%) drop-shadow(10px 10px 1px #00000089);
  transform: translateY(-5px);
  cursor: pointer;
}

/* #art-gallery .art:active img{
    width:50%;
    height: auto;
} */

#art-gallery .art:hover p {
  display: block;
}

.project img {
  width: 30%;
  float: left;
  margin-right: 3rem;
}

.project h2 {
  text-align: left;
  margin-bottom: 1rem;
}

#projects {
  display: none;
}

#bigImg {
  height: 70%;
  width: auto;
  position: fixed;
  z-index: 4;
  display: none;
  flex-flow: column;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#bigImg #exit {
  position: absolute;
  width: 100%;
  z-index: 2;
  text-align: right;
  margin: 0.5rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
}

#bigImg #exit i {
  background-color: rgba(0, 0, 0, 0.493);
  padding: 0.5rem;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#bigImg #exit i:hover {
  padding: 0.75rem;

  /* transform: scale(0.87); */
}

#bigImg #exit i:hover {
  cursor: pointer;
}

#bigImg p {
  position: relative;
  z-index: 2;
  text-align: center;
  grid-area: text;
  width: 100%;
  padding: 0.5rem;
  color: white;
  display: block;
  margin: 1rem;
}

#bigImg img {
  height: 100%;
}

@media (max-width: 700px) {
  #bigImg {
    width: auto;
    height: 40%;
  }

  #bigImg img {
    height: 100%;
  }

  #backgroundImg {
    z-index: -5;
    height: 100%;
    width: auto;
    object-fit: cover;
    position: fixed;
    filter: brightness(35%) saturate(0%);
  }

  #art-gallery {
    flex-flow: column;
    align-items: center;
  }

  .project img {
    width: 100%;
    float: none;
    margin-bottom: 2rem;
  }
}

#siteNav #galleryButton h3 {
  color: rgb(0, 255, 255);
}

#siteNav #galleryButton:hover h3 {
  color: white;
}

#siteNav .dropdown:hover #galleryButton h3 {
  color: white;
}
