.home-container {
  height: 100%;
  overflow-x: auto;
}

.home-block-photo__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  overflow: visible;
}

.home-block-photo__title::after {
  content: "";
  overflow: visible;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 45px;
  background-color: black;
  z-index: 2;
}

.home-block-photo__image {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  cursor: pointer;
  display: flex;
  justify-content: end;
  align-items: end;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;

  &:hover {
    filter: grayscale(1);
    transform: scale(1.05);
  }
}

.home-block-photo__img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border: none;
  display: block;
  flex-shrink: 0;
}

.home-block-photo__title-arrow {
  width: 20px;
  height: 20px;

  > img {
    width: 100%;
    height: 100%;
  }
}

.bordered {
  border: 3px solid black;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 50px;
  padding-right: 50px;
}

.home-block-photo__title-text {
  font-size: 1.045vw;
  font-family: NewYork;
  color: #000;
  text-transform: uppercase;
  width: auto;
}

@keyframes home-slide-in-from-bottom {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.home-block-photos {
  display: flex;
  column-gap: 38px;
  aspect-ratio: 1 / 1.6;
  align-items: end;
  padding: 50px 100px 50px 100px;
  height: 101%;
  min-width: 480px;
  width: 100%;
  position: relative;
}

.home-block-photos__item {
  opacity: 0;
  animation: home-slide-in-from-bottom 2s forwards;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;

  &:nth-child(1) {
    animation-delay: 7.2s;
    flex: 1 1 0;
    max-height: 100vh;
  }

  &:nth-child(2) {
    animation-delay: 7.6s;
    flex: 0.82 0.8 0;
    max-height: calc(100vh * 0.82);
  }

  &:nth-child(3) {
    animation-delay: 8s;
    flex: 0.7 0.8 0;
    max-height: calc(100vh * 0.7);
  }
}

@media (max-width: 1200px) {
  .home-block-photo__title-text {
    font-size: 17px;
    margin-left: 15px;
  }
}

@media (min-aspect-ratio: 3/4) and (max-aspect-ratio: 4/3),
  (max-aspect-ratio: 3/4) {  

  .home-block-photos {
    display: block;
	 animation: home-slide-in-from-bottom 1.5s forwards;
    overflow: auto;
    padding: 0.52vw;
    margin-top: 0.132vw;
    height: calc(100% - 25px);
    min-width: auto;
  }

  .home-block-photos__item {
	height: calc(100% - 110px);
    margin-bottom: 50px;
    display: flex;
    align-items: start;
    justify-content: start;
  }

  .home-block-photos__item--1 {
	margin-top: 110px;
	width: 100%;
   min-height: 100%;
}

  .home-block-photos__item--2 {
    width: 100%;
    min-height: 100%;
  }

  .home-block-photo__image--1 {
    animation-delay: 7.2s;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    max-height: fit-content;
    margin: 0 auto;
  }

  .home-block-photo__img--1 {
    width: 100%;
  }

  .home-block-photo__image--2 {
    animation-delay: 7.4s;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    max-height: fit-content;
    transition: scale(1.2);
    margin: 0 auto;
  }

  .home-block-photo__img--2 {
    width: 100%;
  }

  .home-block-photos__item--3 {
    width: 100%;
    min-height: 100%;
  }

  .home-block-photo__image--3 {
    animation-delay: 7.4s;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    max-height: fit-content;
    transition: scale(1.4);
    margin: 0 auto;
  }

  .home-block-photo__img--3 {
    width: 100%;
  }
}

@media (max-width: 850px) {
  .home-block-photos__item {
    height: auto;
    min-height: auto;

    &:nth-child(1) {
      max-height: 100%;
		height: 100%;
    }
    &:nth-child(2) {
      max-height: 100%;
		height: 100%;
    }
    &:nth-child(3) {
      max-height: 100%;
		height: 100%;
    }
  }
}
@media (max-width: 600px) {
  .home-block-photos__item {
    height: auto;
    min-height: auto;

     &:nth-child(1) {
      max-height: 100%;
	 }
     &:nth-child(2) {
      max-height: 100%;
	}
    &:nth-child(3) {
      max-height: 100%;
	 }
  }
}
@media (max-width: 450px) {
  .home-block-photos__item {
    height: auto;
    min-height: auto;

    &:nth-child(1) {
      max-height: 100%;
		height: auto;
    }
    &:nth-child(2) {
      max-height: 100%;
		height: auto;
    }
    &:nth-child(3) {
      max-height: 100%;
		height: auto;
    }
  }
}


@media (min-width: 2500px) and (max-width: 5000px) {
	
	.home-logo__image{
		position: absolute;
		width: 500px;
		height: 500px;
	}
}

@media (aspect-ratio: 667 / 375), (aspect-ratio: 896 / 414), (aspect-ratio: 844 / 390), (aspect-ratio: 932 / 430), (aspect-ratio: 915 / 412), (aspect-ratio: 740 / 360), (aspect-ratio: 882 / 344), (aspect-ratio: 914 / 412) {

	.home-block-photos {
		display: flex;
		column-gap: 1.97vw;
		aspect-ratio: 1 / 1.6;
		align-items: end;
		padding: 15px;
		height: 101%;
		min-width: 480px;
		width: 100%;
		position: relative;
	}

	.home-block-photos__item {
		opacity: 0;
		animation: home-slide-in-from-bottom 2s forwards;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: end;
		margin: 0;
	 
		&:nth-child(1) {
		  animation-delay: 7.2s;
		  flex: 1 1 0;
		  max-height: 100vh;
		}
	 
		&:nth-child(2) {
		  animation-delay: 7.6s;
		  flex: 0.82 0.8 0;
		  max-height: calc(100vh * 0.82);
		}
	 
		&:nth-child(3) {
		  animation-delay: 8s;
		  flex: 0.7 0.8 0;
		  max-height: calc(100vh * 0.7);
		}
	 }
	 .home-block-photo__title {
		margin: 0 auto;
	 }

	 .home-block-photo__title::after {
		content: "";
		overflow: visible;
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		width: 2px;
		height: 30px;
		background-color: black;
		z-index: 2;
	 }

	 .home-block-photo__title-text {
		font-size: 16px;
		margin-left: 0;
		text-align: center;
		position: relative;
		padding: 10px 30px;
	 }
	 
	 .home-logo__image{
		position: absolute;
		top: 8px;
		left: 78%;
		width: 70px;
		height: 70px;
		transform: translate(-50%, 0);
	}

	 
}