@charset "utf-8";

body{
    margin: 0 auto;
    padding: 0;
    max-width: 450px;
    width: 100%;
}
 .hero {
    height: 45vh;
    min-height: 260px;
  }
  #work h2{
    padding-top: 20px;
    margin: 100px 0 0 0 ;
  }
.WORK-img{
    flex-flow: column;
}
.WORK img{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 10px;
    width: 100%;
      height: 400px;         
    object-fit: cover;   
}
.hovertext {
    position: absolute;
    top: 0;
    left: -1px;
    width: 108%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
    text-decoration: none;
    z-index: 10;
}
h1,h2{
    text-align: center;
    font-size: 50px;
 
   } 
.sub-text{
    text-align: center;
    font-size:30px;
    margin-top: -45px;
   } 
.hero .hero-text h2,.hero .hero-text h1{
    font-size: 35px !important;
   } 
  
.flex{
    display: flex;
    flex-direction: column;
}
img{
    margin: 0;
}

 

  .perspective-container {
    perspective: 1200px;
    height: 420px;
  }

  .carousel {
    width: 180px;
    height: 280px;
  }

  .card {
    transform: rotateY(calc(var(--i) * 90deg)) translateZ(200px);
  }

  .card.active {
    transform: rotateY(calc(var(--i) * 90deg)) translateZ(240px) scale(1.05);
  }

  .card.active:hover {
    transform: rotateY(calc(var(--i) * 90deg)) translateZ(260px) scale(1.05);
  }

  .card img {
    height: 150px;
    margin-left: 0;
    margin-top: 0;
  }
.product-name{
  font-size: 1.2rem;
    margin-top: 0;
}
  .controls {
    margin-top: 20px;
  }

  .controls button {
    padding: 8px 16px;
    font-size: 14px;
  }

