.slider{width:100%}.slider input{display:none}.testimonials{overflow:hidden;min-height:420px;justify-content:center;position:relative;perspective:1000px;align-items:center;display:flex}.testimonials .item{padding:30px;transition:transform .4s;position:absolute;text-align:center;top:0;background-color:maroon;box-sizing:border-box;box-shadow:0 0 10px rgba(0,0,0,.3);border-radius:5px;cursor:pointer;width:450px;user-select:none}.testimonials .item img{height:100px;border:3px solid #fff;object-fit:cover;border-radius:50%;width:100px}.testimonials .item p{padding-top:30px;color:#ddd}.testimonials .item h2{font-size:14px;font-weight:800;font-style:normal;color:#fff;font-family:Montserrat,sans-serif}.dots{justify-content:center;align-items:center;display:flex}.dots label{height:20px;transition-duration:.2s;background-color:silver;margin:10px;border-radius:50%;cursor:pointer;width:20px}#t-1:checked~.dots label[for=t-1],#t-2:checked~.dots label[for=t-2],#t-3:checked~.dots label[for=t-3],#t-4:checked~.dots label[for=t-4],#t-5:checked~.dots label[for=t-5]{transform:scale(2);background-color:maroon}#t-1:checked~.dots label[for=t-2],#t-2:checked~.dots label[for=t-1],#t-2:checked~.dots label[for=t-3],#t-3:checked~.dots label[for=t-2],#t-3:checked~.dots label[for=t-4],#t-4:checked~.dots label[for=t-3],#t-4:checked~.dots label[for=t-5],#t-5:checked~.dots label[for=t-4]{transform:scale(1.5)}#t-1:checked~.testimonials label[for=t-5]{transform:translate3d(1200px,0,-360px) rotateY(-45deg)}#t-1:checked~.testimonials label[for=t-4],#t-2:checked~.testimonials label[for=t-5]{transform:translate3d(900px,0,-270px) rotateY(-35deg);z-index:1}#t-1:checked~.testimonials label[for=t-3],#t-2:checked~.testimonials label[for=t-4],#t-3:checked~.testimonials label[for=t-5]{transform:translate3d(600px,0,-180px) rotateY(-25deg);z-index:2}#t-1:checked~.testimonials label[for=t-2],#t-2:checked~.testimonials label[for=t-3],#t-3:checked~.testimonials label[for=t-4],#t-4:checked~.testimonials label[for=t-5]{transform:translate3d(300px,0,-90px) rotateY(-15deg);z-index:3}#t-2:checked~.testimonials label[for=t-1],#t-3:checked~.testimonials label[for=t-2],#t-4:checked~.testimonials label[for=t-3],#t-5:checked~.testimonials label[for=t-4]{transform:translate3d(-300px,0,-90px) rotateY(15deg);z-index:3}#t-3:checked~.testimonials label[for=t-1],#t-4:checked~.testimonials label[for=t-2],#t-5:checked~.testimonials label[for=t-3]{transform:translate3d(-600px,0,-180px) rotateY(25deg)}#t-4:checked~.testimonials label[for=t-1],#t-5:checked~.testimonials label[for=t-2]{transform:translate3d(-900px,0,-270px) rotateY(35deg)}#t-5:checked~.testimonials label[for=t-1]{transform:translate3d(-1200px,0,-360px) rotateY(45deg)}#t-1:checked~.testimonials label[for=t-1],#t-2:checked~.testimonials label[for=t-2],#t-3:checked~.testimonials label[for=t-3],#t-4:checked~.testimonials label[for=t-4],#t-5:checked~.testimonials label[for=t-4],#t-5:checked~.testimonials label[for=t-5]{z-index:4}