/* --------  WORK PAGE --------- */

.workPage {
  background-color: #f9f9f9;
  overflow: hidden;
}

/* -------- WORK PAGE GALLERY ------- */

.workGallery {
  display: block;
  width: 90vw;
  margin: 0% auto 10% auto;
}

.thumbnail img {
  width: 90vw;
  height: 60vw;
  margin: 10px auto 10px auto;
  object-fit: cover;
}

.thumbnail img:hover {
  filter: brightness(90%);
}

.workPage h1 {
  font-size: 14vw;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  color: #8a59d6;
  margin: auto;
  width: 90vw;
}

.workPage h2 {
  font-family: Roboto;
  font-size: 4.6vw;
  font-weight: 400;
  line-height: 6vw;
  letter-spacing: 0.02em;
  text-align: left;
  color: #e04333;
  margin: auto;
  width: 90vw;
}

.workPage p {
  font-size: 2rem;
}

.thumbnail h4 {
  font-family: Roboto;
  font-size: 2em;
  font-weight: 900;
  padding-top: 4vh;
  /* color: #3fa8c1; */
}

.thumbnail h5 {
  font-family: Roboto;
  font-weight: 300;
  width: 90%;
}

.thumbnail a {
  font-weight: 900;
  text-decoration: none;
  color: #3fa8c1;
  /* padding-top: 10px; */
  position: relative;
  top: 10px;
}

.thumbnail a:hover {
  font-weight: 600;
  text-decoration: wavy underline #1b4d5e;
  color: #ffb034;
}

.thumbnail h5 {
  padding: 1vh 0px;
}

.thumbnail h6 {
  padding: 0vh 0px 1vh 0;
}

@media only screen and (min-width: 1000px) {
  .workGallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
    width: 100vw;
    gap: 2vw;
    max-width: 88vw;
  }
  .thumbnail h4 {
    font-family: Roboto;
    font-size: var(--step-0);
  }

  .thumbnail h5 {
    font-size: 1.2em;
  }

  .thumbnail img {
    width: 100%;
    height: 40vh;
    margin: 10px auto 10px auto;
    object-fit: cover;
    /* border-radius: 1%; */
    /* box-shadow: -6px -6px 0px #3FA8C1; */
  }
}

/* ------- DESKTOP STYLES ----- */
@media only screen and (min-width: 1200px) {
  .workGallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 2 calc(33.333% - 20px);
    height: 100%;
    gap: 2vw;
    max-width: 88vw;
  }

  .workPage h1 {
    font-size: 120px;
    margin: 4% 12lvw;
  }

  .workPage h2 {
    font-size: 3vw;
    line-height: 3vw;
    margin: 2% 12lvw;
    width: 50vw;
  }

  .thumbnail img {
    width: 20vw;
    height: 46vh;
    /* box-shadow: -1px -1px 35px rgb(85, 85, 85); */
  }

  .thumbnail h4 {
    font-size: var(--step-0);
    width: 100%;
  }

  .thumbnail h5 {
    font-size: var(--step-0);
  }
  .thumbnail h6 {
    font-size: var(--step-0);
  }

  .thumbnail img:hover {
    box-shadow: -6px -6px 0px #3fa8c1;
  }
}

@media only screen and (min-width: 1500px) {
  .thumbnail h4 {
    font-size: var(--step-1);
    width: 100%;
  }

  .thumbnail h5 {
    font-size: var(--step-0);
  }
  .thumbnail h6 {
    font-size: var(--step-1);
  }
}
