.item {
  width: 200px;
  height: 150px;
  list-style-type: none;
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
 opacity:0.8;

  &:nth-child(1),
  &:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
  }

  &:nth-child(3) {
    left: 55%;
  }

  &:nth-child(4) {
    left: calc(55% + 220px);
  }

  &:nth-child(5) {
    left: calc(55% + 440px);
  }

  &:nth-child(6) {
    left: calc(55% + 660px);
    opacity: 0;
  }
}

.content {
  width: min(30vw, 400px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica, sans-serif;
  color: white;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
/* 	background: rgba(0, 0, 0, 0.5); */
/* 	background: rgba(128, 128, 128, 0.5);
 */
  display: none;

  & .title {
    font-family: 'arial-black';
    text-transform: uppercase;
	  	background: rgba(128, 128, 128, 0.2);

  }

  & .description {
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 0.8rem;
	  	background: rgba(128, 128, 128, 0.2);

  }

  & button {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
  }
}
.title{
font-size:1.4rem !important;}
.description {
	font-size:0.8rem !important;
	
}

.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;

  & .btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.6);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;

    &:hover {
      background-color: rgba(255, 255, 255, 0.3);
    }
  }
}



/* Tablet view (iPad, etc.) */
@media (max-width: 1024px) and (min-width: 651px) {
  .item {
    width: 160px;
    height: 250px;

    &:nth-child(3) {
      left: 50%;
    }

    &:nth-child(4) {
      left: calc(50% + 170px);
    }

    &:nth-child(5) {
      left: calc(50% + 340px);
    }

    &:nth-child(6) {
      left: calc(50% + 510px);
      opacity: 0;
    }
  }

  .content {
    width: 50vw;
    left: 1.5rem;
  }

  .content .title {
    font-size: 1rem !important;
  }

  .content .description {
    font-size: 0.75rem;
  }

  .content button {
    font-size: 0.75rem;
  }
}

/* Mobile view */
@media (max-width: 650px) {
  .item {
    top:80%;
    width: 120px;
    height: 80px;

    &:nth-child(3) {
      left: 50%;
    }

    &:nth-child(4) {
      left: calc(50% + 130px);
    }

    &:nth-child(5) {
      left: calc(50% + 260px);
    }

    &:nth-child(6) {
      left: calc(50% + 390px);
      opacity: 0;
    }
  }

  .content {
    width: 80vw;
    left: 1rem;
	margin-top:-20px !important;
  }

  .content .title {
    font-size: 0.85rem !important;
  }

  .content .description {
    font-size: 0.65rem;
  }

  .content button {
    font-size: 0.7rem;
  }

  .nav {
    bottom: 1rem;
  }

  .nav .btn {
    padding: 0.5rem;
  }
}


/* @media (width > 650px) and (width < 900px) {
  .content {
    & .title        { font-size: 1rem; }
    & .description  { font-size: 0.7rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 160px;
    height: 270px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 170px); }
    &:nth-child(5) { left: calc(50% + 340px); }
    &:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
  }
}

@media (width < 650px) {
  .content {
    & .title        { font-size: 0.9rem; }
    & .description  { font-size: 0.65rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 130px;
    height: 220px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 140px); }
    &:nth-child(5) { left: calc(50% + 280px); }
    &:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
  } 
} */
