.carousel {
    display: flex;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin-top: 10vh;
    /* background-color: black; */
    font-family: 'Cuprum', sans-serif;
    /* background: rgb(237,237,237);
background: linear-gradient(90deg, rgba(237,237,237,1) 49%, rgba(214,214,214,1) 100%); */
}

#nav-mobile, #menu, #close {
  display: none;
}


.carousel-item {
    margin-top: 10vh;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
    width: 100%;
    /* animation: showImage 0.5s linear 1 forwards; */
  }

  @keyframes showImage {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .carousel-item.active .one {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
    animation: showOne 0.2s linear 1 forwards;
    /* background: linear-gradient(135deg, #223e31 60%, #1b181a 40%); */
  }

  /* background: linear-gradient(135deg, #223e31 60%, #1b181a 40%); */
  @keyframes showOne {
    from {
      width: 100vw;
      height: 100vh;
      filter: blur(10px);
    }
    to {
      filter: blur(0px);
      width: 100vw;
      height: 100vh;
    }
  }

  .carousel-item.active .two {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
    animation: showTwo 0.2s linear 1 forwards;
  }

  @keyframes showTwo {
    from {
      width: 100vw;
      height: 100vh;
      opacity: 0;
      filter: blur(10px);
    }
    to {
      /* background: linear-gradient(135deg, #222a3e 60%, transparent 40%); */
      opacity: 1;
      filter: blur(0px);
      width: 100vw;
      height: 100vh;
      /* transition: opacity 0.5s ease-in-out; */
    }
  }

  .carousel-item.active .three {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
    animation: showThree 0.3s linear 1 forwards;
  }

  @keyframes showThree {
    from {
      width: 100vw;
      height: 100vh;
      opacity: 0;
      filter: blur(10px);
    }
    to {
      /* background: linear-gradient(135deg, #3e3322 60%, transparent 40%); */
      opacity: 1;
      filter: blur(0px);
      width: 100vw;
      height: 100vh;
      /* transition: opacity 0.5s ease-in-out; */
    }
  }

  .carousel-item .content {
    opacity: 0;
  }

  .carousel-item.active .content {
    width: 80vw;
    position: absolute;
    top: 18vh;
    left: 10vw;
    padding: 10px;
    opacity: 1;
  }

  @media (max-width: 768px) {

    .carousel-item.active .content {
      top: 10vh;
    }

    .carousel-item.active .content .title {
      font-weight: bold;
      font-size: 5em;
      line-height: 1.3em;
    }
  }

  .carousel-item.active .content .title {
    font-weight: bold;
    font-size: 4em;
    line-height: 1.3em;
    color: #ff0000;
    animation: showContent 0.6s linear 1 forwards;
  }

@keyframes showContent {
    from {
        transform: translateY(150px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }


  .carousel-item.active .content .descr {
    width: auto;
    min-width: 270px;
    max-width: 500px;
    font-size: 16px;
    color: #323232;
    text-transform: uppercase;
    animation: showDescr 0.8s linear 1 forwards;
  }

@keyframes showDescr {
    from {
        transform: translateY(150px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel-item.active .content .descr2 {
    width: auto;
    min-width: 300px;
    max-width: 500px;
    font-size: 16px;
    color: #eee;
    animation: showDescr2 1s linear 1 forwards;
  }

@keyframes showDescr2 {
    from {
        transform: translateY(150px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel-item.active .shadow{
    position: absolute;
    top: 80%;
    right: 16%;
    width: 200px;
    height: 5px;
    /* background-color: #2d2d2d; */
    background-color: white;
    border-radius: 50px;
    opacity: 1;
    animation: showShadow .5s linear 1 forwards;
    animation: bounceAnimation 4s infinite;
  }

  @keyframes showShadow {
    from {
        transform: translateY(150px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: 1;
      filter: blur(20px);
      transform: translateY(-20px);
    }
  }

  @keyframes bounceAnimation {
    0%, 100% {
      filter: blur(20px);
      /* opacity: 0; */
      transform: translateY(-30px);
    }
    50% {
      /* opacity: 1; */
      filter: blur(20px);
      transform: translateY(-5px);
    }
  }

  .carousel-item .product img {
    opacity: 0;
  }
  
  .carousel-item.active .product img{
    position: absolute;
    top: 15vh;
    right: 10vw;
    width: 400px;
    height: 500px;
    opacity: 1;
    animation: showProduct 2s linear 1 forwards;
    animation-delay: 0.1s;
    animation: bounceAnimationProd 4s infinite;
  }

  @keyframes showProduct {
    from {
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      filter: blur(0);
      opacity: 1;
    }
  }

  @keyframes bounceAnimationProd {
    0%, 100% {
      transform: translateY(-20px);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  .carousel-item .grafic {
    opacity: 0;
  }

  .carousel-item.active .grafic{
    position: absolute;
    top: 51%;
    right: 35%;
    width: 150px;
    height: 150px;
    background-color: #6ea18a;
    border-radius: 10px;
    opacity: 1;
    animation: showGrafic 1.2s linear 1 forwards;
  }

  @keyframes showGrafic {
    from {
        transform: translateY(10px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: .5;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel-item.active .name{
    display: flex;
    padding-top: 15px;
    align-items: center;
    justify-content: center;
    color: rgb(211, 28, 28);
    font-size: 20px;
    opacity: 1;
    animation: showName 1.2s linear 1 forwards;
  }

  @keyframes showName {
    from {
        transform: translateY(10px);
        filter: blur(20px);
        opacity: 0; 
    }
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
      font-size: 40px;
    }
  }

  .arrows {
    position: absolute;
    top: 80%;
    left: 15%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    background-color: white;
    border: none;
    /* border: 1px solid orangered; */
    font-family: monospace;
    /* color: #6c6c6c; */
    color: orangered;
    cursor: pointer;
    font-weight: bold;
    font-size: large;
    transition: .5s;
    z-index: 100;
  }

  .arrows button:hover {
    background-color: red;
    color: #ffffff;
    transform: scale(1.2);
  }