.gallery-header {
  padding: 4rem 0;
}

.gallery-header figure {
  padding-bottom: 4rem;
  position: relative;
}

.gallery-header figure > div {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  overflow: hidden;
}

.gallery-header figure figcaption {
  position: relative;
  z-index: 1;
}

.gallery-header figure figcaption h1,
.gallery-header figure figcaption h2 {
  margin: 0;
}

.gallery-header figure figcaption h1 {
  font-size: 6rem;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 0 10px #353e45;
  padding: 2rem 2rem 1rem;
}

.gallery-header figure figcaption h2 {
  display: inline-block;
  padding: 1rem 2rem;
  color: var(--text-3);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  background-color: var(--bg-header);
}

.gallery-header figure figcaption h2::after {
  content: "";
  display: block;
  width: 30%;
  padding-top: 1rem;
  border-bottom: 3px solid #FF5C00;
}

.gallery-header figure figcaption b {
  font-weight: 500;
}

.gallery-header figure .fit-content {
  width: fit-content;
  width: -moz-fit-content;
}

.gallery-header figure .fit-content .title-lg {
  font-family: Montserrat, serif, arial, sans-serif;
  font-weight: 600;
  font-size: 7rem;
  padding: 2rem;
}

.gallery-header figure img {
  width: 100%;
  opacity: .5;
}

.gallery-container {
  padding: 4rem 0;
}

.gallery-container figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-container figcaption {
  padding: 1rem;
  font-size: 1.2rem;
  color: var(--text-2);
}

.gallery-container div {
  display: grid;
  grid-template-columns: auto auto auto;
  position: relative;
}

.gallery-container div:before, .gallery-container div:after {
  content: '';
  width: 5rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.gallery-container div:before {
  background-image: url(../img/shadow-l.png);
  background-position: right;
}

.gallery-container div:after {
  background-image: url(../img/shadow-r.png);
  background-position: left;
}

.gallery-project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-gap: 2rem 4rem;
}

.gallery-project div {
  position: relative;
}

.gallery-project div a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-project picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-project figcaption {
  position: relative;
  transition: all .3s ease;
  background-color: var(--bg-dark);
  transform: translate(-2rem, -4rem);
}

.gallery-project figcaption:hover {
  box-shadow: 0 0 0 1px #846e60;
}

.gallery-project figcaption a {
  display: block;
  padding: 2rem 1rem 2rem 2rem;
}

.gallery-project h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: .1rem;
  color: var(--text-2);
}

.gallery-project h3 {
  font-size: 1.25rem;
  color: var(--text-3);
  font-weight: 500;
}

.gallery-project p {
  color: rgba(255, 255, 255, 0.55);
}

.gallery-project .dots {
  display: flex;
  align-items: center;
  padding-bottom: 1.5rem;
}

.gallery-project .dots > * {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 10px;
  border-radius: 20px;
}

.gallery-project .dots > :last-child {
  width: auto;
  height: auto;
  margin-left: auto;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
}

.gallery-collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-flow: dense;
  grid-gap: 3rem;
}

.gallery-collection figure {
  cursor: pointer;
}

.gallery-collection figure:hover picture {
  transform: rotate(2deg);
}

.gallery-collection picture,
.gallery-collection img {
  border-radius: 10px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform .2s ease;
}

.gallery-collection figcaption {
  display: none;
  padding: 1rem;
  color: var(--text-2);
}
/*# sourceMappingURL=gallery.css.map */