/* Last Edited 10/9/2023 5:00pm */

/*                \/ Targeted CSS \/ || Frontpage Splash                */

.frontpage-splash {
  position: relative;
  display: flex;
  background-position-y: center;
  background: url(../IMGs/Turbine.webp) no-repeat center 0px / cover;
  filter: contrast(0.95);
  width: 100%;
  min-height: 75rem;
  align-items: flex-end;
}

/*                \/ Targeted CSS \/ || Main                */

main {
  background: var(--bg-light);
  position: relative;
  width: 100%;
  z-index: 2;
}

main > section:first-of-type {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  max-height: 90rem;
  padding: 4rem 0;
}

.section--what-we-do > div {
  margin: 0 auto;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.section--what-we-do > div:first-of-type {
  max-width: var(--maximumw);
  display: flex;
  flex-direction: column;
}

.section--what-we-do > div:first-of-type h3 {
  font-size: 2.4rem;
  font-weight: 300;
}

.section--what-we-do > div:first-of-type h2 {
  padding-top: 1rem;
  font-size: 5rem;
  font-weight: 400;
}

.section--what-we-do > div:first-of-type p {
  opacity: 0.9;
  font-size: 2.8rem;
  font-weight: 350;
  margin: 2rem;
}

.section--what-we-do > div:last-of-type {
  max-width: 75rem;
  width: 90%;
}

.section--what-we-do > div:last-of-type > div:first-of-type {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.section--what-we-do > div:last-of-type > div:last-of-type {
  margin: auto;
  max-width: 75%;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  padding: 0rem;
}

.section--what-we-do > div:last-of-type > div {
  height: 50%;
}

.section--what-we-do-services a {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.section--what-we-do-services img {
  height: 5rem;
  width: inherit;
  transition: 200ms;
}

.section--what-we-do-services p {
  height: 5rem;
  font-size: 2rem;
  letter-spacing: -0.05rem;
  font-weight: 300;
  display: flex;
  align-items: center;
}

.section--what-we-do-services p {
  color: #000;
}

.section--what-we-do-services a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 0.25px #000);
}

/*                \/ Media Queries \/                */

/* big landscape tablets, laptops, and desktops */

@media screen and (max-width: 1025px) {
}

/* tablet, landscape iPad, lo-res laptops ands desktops */

@media screen and (max-width: 961px) {
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media screen and (max-width: 641px) {
}

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */

@media screen and (max-width: 481px) {
  main > section:first-of-type {
    max-height: none;
  }
  .section--what-we-do > div:last-of-type p {
    font-size: 1.5rem;
  }
  .section--what-we-do > div:last-of-type > div {
    margin: auto;
    max-width: 75% !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr;
  }
  .section--what-we-do
    > div:last-of-type
    > div:last-of-type
    > div:last-of-type {
    grid-column: span 2;
  }
  .section--what-we-do-services img {
    height: 7.5rem;
  }
}

/* smartphones, iPhone, portrait 480x320 phones */

@media screen and (max-width: 320px) {
}