.home-hero {
  position: relative;
  height: 30rem;
  padding-top: 7.5rem;
  padding-right: 1.25rem;
  overflow: hidden;
  @media screen and (min-width: 768px) {
    height; 40rem;
    padding-right: 3.75rem;
  }
  @media screen and (min-width: 1024px) {
    height: 45rem;
    padding-right: 7.5rem;
  }
  @media screen and (min-width: 1200px) {
    padding-right: 0;
  }
  
  & .home-hero__dec {
    position: absolute;
    top: 9.375rem;
    right: -1.25rem;
    width: 20rem;
    opacity: 40%;
    & img {
      width: 100%;
    }
  }
  
  & .home-hero__image {
    position: relative;
    object-fit: cover;
    border: 2px 2px 2px 0;
    border-style:  solid;
    border-color: var(--blue);
    border-top-right-radius: 3.75rem;
    border-bottom-right-radius: 0.25rem;
    height: 100%;
    width: 100%;
    @media screen and (min-width: 1024px) {
      border-top-right-radius: 7.5rem;
    }
    @media screen and (min-width: 1200px) {
      width: 76.5625%;
    }
  }
  
  & .home-hero__title {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
    right: 0.625rem;
    bottom: 1.25rem;
    @media screen and (min-width: 768px) {
      gap: 0.75rem;
      bottom: 2rem;
    }
    @media screen and (min-width: 1200px) {
      right: 5rem;
      bottom: 7.5rem;
    }
    
    & .home-hero__title-text, & .home-hero__title-text--sub {
      background-color: var(--snow);
      border-radius: 0.25rem;
    }
    & .home-hero__title-text {
      padding: 0.25rem 0.75rem 0.5rem 0.75rem;
      & img {
        height: 1.25rem;
      }
    }
    & .home-hero__title-text--sub {
      padding:  0.125rem 0.5rem 0.25rem 0.5rem;
      & img {
        height: 0.875rem;
      }
    }
    @media screen and (min-width: 768px) {
      & .home-hero__title-text {
        padding: 0.5rem 1rem 0.75rem 1rem;
        & img {
          height: 1.5rem;
        }
      }
      & .home-hero__title-text--sub {
        padding:  0.25rem 0.75rem 0.5rem 0.75rem;
        & img {
          height: 1rem;
        }
      }
    }
    @media screen and (min-width: 1024px) {
      & .home-hero__title-text {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
        & img {
          height: 3rem;
        }
      }
      & .home-hero__title-text--sub {
        padding-right: 1rem;
        padding-left: 1rem;
        & img {
          height: 1.25rem;
        }
      }
    }
  }
}

.home-philosophy-dec {
  position: absolute;
  display: none;
  opacity: 20%;
  & img {
    width: 100%;
  }
  @media screen and (min-width: 768px) {
    display: block;
  }
  &.home-philosophy-dec--r {
    width: 22.5rem;
    top: 50%;
    right: 2.5rem;
    transform: translateY(10%);
  }
  &.home-philosophy-dec--l {
    width: 30rem;
    top: 50%;
    left: -10rem;
    transform: translateY(-25%);
    @media screen and (min-width: 1024px) {
      width: 45rem;
    }
  }
}

.home-about-dec {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 25rem;
  opacity: 20%;
  transform: scaleX(-1);
  & img {
    width: 100%;
  }
}

.home-about-images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.5rem;
  height: 20rem;
  @media screen and (min-width: 768px) {
    height: auto;
    max-height: 32.8125rem;
  }
  & img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border: 2px solid var(--blue);
  }
  & img:nth-child(1) {
    grid-column: 1 / 11;
    border-radius: 1rem 1rem 0.25rem 0.25rem;
  }
  & img:nth-child(2) {
    grid-column: 2 / 12;
    border-radius: 0.25rem 0.25rem 1rem 1rem;
  }
}











