.block-home {
  height: 100vh;

  display: flex;
  flex-direction: column;
  gap: 30px;

  @media (min-width: 768px) {
    display: unset;
  }
}

.block-home-carousel {
  @media (min-width: 768px) {
    max-height: unset;
  }

  .shared-image {
    width: 100%;
    height: 100%;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.block-home-carousel-wrapper {
  position: relative;
  max-height: 50vh;
  display: flex;
  gap: 30px;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 auto;

  @media (min-width: 768px) {
    display: revert;
    max-height: unset;
    padding: 30px;
  }
}

.block-home-carousel-wrapper-overlay {
  position: absolute;
  background: rgba(0,0,0,0.4);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 50px;

  @media (min-width: 768px) {
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    padding-bottom: 100px;
  }

  svg {
    width: 150px;

    @media (min-width: 768px) {
      width: 300px;
    }
  }
}

.block-home-carousel-item {
  width: 100%;
  height: calc(100vh - 150px);
}

.block-home-navigation {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-sans-serif-title);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--font-size-small);
  flex-direction: column;

  @media (min-width: 768px) {
    flex-direction: row;
  }
  

  a {
    text-decoration: none;

    &.active, &:hover, &:focus {
      text-decoration: underline;
      text-underline-offset: 5px;
    }
  }
}
