/* Home page content styling */

.content-grid {
  grid-column: 1 / span 12;
  grid-row: 6;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 30px 50px minmax(400px, auto) 20px 30px;
  align-content: center;
  justify-content: center;
  padding: 25px;
}

.header-text {
  font-family: var(--ff-title);
  font-size: 2rem;
  color: var(--clr-yellow);
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.8);
  padding-left: 25px;
  grid-column: 1 / span 6;
  grid-row: 2;
  align-self: center;
}

.blurb-box {
  font-family: var(--ff-primary);
  color: var(--clr-white);
  padding-left: 25px;
  padding-right: 25px;
  grid-column: 1 / span 6;
  grid-row: 3;
  margin-top: 20px;
}

.collage-grid {
  grid-column: 7 / span 6;
  grid-row: 2 / span 2;
  /* align-self: center; */
  display: grid;
  grid-template-columns: 35px 185px 80px 150px;
  grid-template-rows: 35px 185px 80px 150px;
}

.img-collage-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: white;
  box-shadow: 10px 10px 17px 0 rgba(0, 0, 0, 1);
  padding: 10px;
  border-radius: 25px;
  max-width: 100%;
  transform: rotate(-10deg);
}

.pic1 {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
  z-index: 3;
}

.pic2 {
  grid-column: 3 / span 2;
  grid-row: 2 / span 2;
  z-index: 4;
}

.pic3 {
  grid-column: 2 / span 2;
  grid-row: 3 / span 2;
  z-index: 1;
}

.pic4 {
  grid-column: 3 / span 2;
  grid-row: 3 / span 2;
  z-index: 2;
}

.slogan {
  font-family: var(--ff-title);
  grid-column: 1 / span 12;
  grid-row: 5;
  color: var(--clr-yellow);
  justify-self: center;

  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.8);
}

/* Media queries */

@media screen and (max-width: 1000px) {
  .content-grid {
    grid-template-rows: 30px 50px minmax(300px, auto) 30px;
  }

  .img-collage-pic {
    width: 150px;
    height: 150px;
  }

  .collage-grid {
    grid-template-columns: 25px 145px 55px 105px;
    grid-template-rows: 25px 145px 55px 105px;
  }
}

@media screen and (max-width: 780px) {
  .content-grid {
    grid-template-columns: 25px 1fr 25px;
    grid-template-rows: 25px minmax(50px, auto) minmax(100px, auto) minmax(
        400px,
        auto
      );
  }

  .header-text {
    grid-column: 2;
    grid-row: 2;
  }

  .blurb-box {
    grid-column: 2;
    grid-row: 3;
  }

  .collage-grid {
    justify-content: center;
    grid-column: 2;
    grid-row: 4;
  }
}

@media screen and (max-width: 400px) {
  .content-grid {
    grid-template-columns: 10px 1fr 10px;
    grid-template-rows:
      25px minmax(50px, auto) minmax(100px, auto) minmax(200px, auto)
      20px;
  }

  .img-collage-pic {
    width: 125px;
    height: 125px;
  }

  .collage-grid {
    grid-template-columns: 25px 120px 55px 105px;
    grid-template-rows: 25px 120px 55px 105px;
  }

  .slogan {
    letter-spacing: 0;
    font-size: 1.2rem;
  }
}
