:root {
  --darkgrey: rgb(17, 16, 14);
  --darkgrey-transparent: rgba(17, 16, 14, 0.2);
  --offwhite: rgb(250, 242, 239);
  --whiteblue: rgb(247, 252, 255);
  --whiteblue-transparent: rgba(248, 247, 255, 0.5);
  --whiteblue-transparent03: rgba(189, 224, 245, 0.3);
  --whiteblue-transparent04: rgba(189, 224, 245, 0.1);
  --lightblue: rgb(156, 173, 220);
  --darkblue: rgb(19, 26, 42);
  --nightblue: rgb(3, 8, 10);
  --jazzblue: rgb(57, 80, 142);
  --darkjazzblue: rgb(57, 72, 115);
  --jazzbrown: rgb(219, 113, 27);
  --gold: rgb(185, 136, 11);
  --gold-light: rgb(219, 180, 60);
  --gold-dark: rgb(150, 100, 0);
  --header-font: 'Abril Fatface', cursive;
  --paragraph-font: 'Poppins', sans-serif;
}

.tile h1,
.tile h2,
.bandlid-img h1,
.bandlid-img h2 {
  font-family: var(--header-font);
}

.tile {
  width: 350px;
  height: 350px;
  margin: 20px auto;
  background-color: var(--darkblue);
  background-size: cover;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  color: white;
  font-family: var(--paragraph-font);
}

.bandlid-img {
  width: 350px;
  height: 700px;
  margin: 20px auto;
  background-color: var(--darkblue);
  background-size: cover;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  color: white;
  font-family: var(--paragraph-font);
}

.tile img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: all 0.4s ease-out;
}

.bandlid-img img {
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: all 0.4s ease-out;
  border: 2px solid transparent;
    border-image: linear-gradient(
    190deg,
    var(--whiteblue) 0%,
    var(--lightblue) 20%,
    transparent 50%) 1;
}

.tile .text,
.bandlid-img .text {
  position: absolute;
  padding: 10px 35px;
  height: calc(100% - 60px);
  width: 100%;
}

.tile h1,
.bandlid-img h1 {
  font-size: 2rem;
  font-weight: 300;
  margin: 20px 0 0 0;
}

.tile h2,
.bandlid-img h2 {
  font-weight: 100;
  font-style: italic;
  transform: translateX(200px);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.bandlid-img h2 {
  margin-bottom: 1.5rem;
}

.tile p,
.bandlid-img p {
  font-weight: 300;
  margin: 0;
  line-height: 25px;
  transform: translateX(-200px);
  transition-delay: 0.2s;
}

.tile ol {
  font-weight: 300;
  margin: 5px 0 0 0;
  line-height: 16px;
  width: 100%;
}

.animate-text {
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.small-txt {
  font-size: .7rem;
}

.tile:hover,
.bandlid-img:hover {
  box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.64);
  transform: scale(1.05);
}

.tile:hover img,
.bandlid-img:hover img {
  opacity: 0.2;
}

.tile:hover .animate-text,
.bandlid-img:hover .animate-text {
  transform: translateX(0);
  opacity: 1;
}

.dots {
  position: absolute;
  bottom: -30px;
  right: 10px;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  color: currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.dots span {
  width: 5px;
  height: 5px;
  background-color: currentColor;
  display: block;
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.5s ease;
  transform: translateY(30px);
}

.tile:hover span,
.bandlid-img:hover span {
  opacity: 1;
  transform: translateY(0px);
}

.dots span:nth-child(1) {
  transition-delay: 0.05s;
}

.dots span:nth-child(2) {
  transition-delay: 0.1s;
}

.dots span:nth-child(3) {
  transition-delay: 0.15s;
}


@media only screen and (min-width: 768px) {

  .photo-grid-1 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .photo-grid-2 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .photo-grid-3 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .photo-grid-4 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .photo-grid-5 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .tile {
    width: 300px;
    height: 300px;
  }
}

@media only screen and (min-width: 1025px) {
  .photo-grid-1 {
    width: 100vw;
    margin: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 20px;
    font-size: 1rem;
  }

  .photo-grid-2 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 20px;
    font-size: 1rem;
  }

  .photo-grid-3 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: 1rem;
  }

  .photo-grid-4 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .photo-grid-5 {
    display: grid;
    justify-content: center;
    margin: auto;
    max-width: 70wv;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    font-size: .8rem;
  }

  .tile {
    width: 350px;
    height: 350px;
  }
}

@media only screen and (min-width: 1200px) {
  .photo-grid-1, .photo-grid-2, .photo-grid-3 {
    width: 70vw;
  }
}