.bases {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
    		.carousel-2 {
    position: relative;
    width: 33rem;
    height: auto;
    perspective: 500px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-body{width:60%;}
  .card-common{display:inline-block;}
  .card-container-custom {
    position: absolute;
    width: 100%;
    transform: 
      rotateY(calc(var(--offset) * 50deg)) 
      scaleY(calc(1 + var(--abs-offset) * -0.4))
      translateZ(calc(var(--abs-offset) * -30rem))
      translateX(calc(var(--direction) * -5rem));
    filter: blur(calc(var(--abs-offset) * 1rem));
    transition: all 0.3s ease-out;
    opacity: var(--opacity);
  }
  
  .card-custom {
    width: 330px;
    padding: 2rem;
    background-color: hsl(280deg, 40%, calc(100% - var(--abs-offset) * 50%));
    border-radius: 1rem;
    color: #9CA3AF;
    text-align: justify;
    transition: all 0.3s ease-out;
  }
  .card-red > img{
  	width:100%;
    height:300px;
  	object-fit:cover;
  }
  .card-red{background:red;height:300px;}
  .card-red > h3{text-align:center;padding-top:110px;color:white;}
  .card-custom h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0.7em;
    color: #1F2937;
  }
  
  .card-custom p, .card-custom h4 {
    transition: all 0.3s ease-out;
  }
  .card-custom p{color:gray;}
  .nav-custom {
    color: white;
    font-size: 3rem;
    position: absolute;
    top: calc(50% - 1.5rem);
    z-index: 2;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
  }
  
  .nav-custom i {
    vertical-align: middle;
    font-size:36pt;
  }
  
  .nav-custom.left {
    left:-100px;
  }
  
  .nav-custom.right {
    right:-100px;
  }
  .txt-b{font-size:15pt;}
  .base-mobile{position:absolute;display:none;width:100%;}
  .bimg{position:absolute;right:0;top:0;width:70%;}
  .bimg-0{display:block;margin-left:auto;margin-right:auto;width:200px;}
  .bimg-1{display:block;margin-left:auto;margin-right:auto;width:270px;}
  .common-actions{width:38%;}
@media (max-width:765px) {
  .bimg{bottom:0;top:auto;bottom:-4vh;width:100vh;right:-50px;}
  .base-0{display:none;}
  .base-mobile{display:inherit;}
  .nav-custom i{font-size:25pt;}
  .nav-custom.left{left:-33px;}
  .nav-custom.right{right:-33px;}
  .card-red > img,.card-red{width:180px;height:180px;}
  .card-red > h3{padding-top:76px;}
  .card-custom{width:220px;}
  .carousel-2{width:22rem;margin-top:20vh;}
  .txt-b{font-size:8.2pt;}
}
@media (max-height:640px) {
  .bimg{width:570px;width:-33px;bottom:2vh;}
  .bimg-0{width:150px;}
  .card-custom{width:190px;}
  .card-red{background:red;height:150px;}
  .card-red > img,.card-red{width:150px;height:150px;}
  .carousel-2{width:18.9rem;margin-top:13vh;}
  .common-actions{width:100%;}
  .card-red > h3{padding-top:65px;}
  .bimg-1{width:220px;}
}