.gallery{width:100%}.gallery-container{align-items:center;display:flex;height:400px;margin:0 auto;overflow:hidden;position:relative}.gallery-item{height:266px;position:absolute;transition:all .3s ease-in-out;width:730px;z-index:0}.gallery-item-1{left:15%;transform:translateX(-83%)}.gallery-item-1 p,.gallery-item-3 p{font-size:14px}.gallery-item-1 .card-img,.gallery-item-1 h5,.gallery-item-1 p,.gallery-item-3 .card-img,.gallery-item-3 h5,.gallery-item-3 p{text-align:center}.gallery-item-2{height:364px;left:50%;opacity:1;transform:translateX(-50%);width:730px;z-index:2}.gallery-item-3{left:85%;transform:translateX(-17%)}.gallery-controls{display:flex;justify-content:center;margin:30px 0}.gallery-controls button{background-color:transparent;border-radius:4px;cursor:pointer;font-size:16px;height:40px;margin:0 10px;padding:0 12px;text-transform:capitalize;width:40px}.gallery-controls button:focus{outline:none}.gallery-controls-previous{position:relative}.gallery-controls-previous:hover:before{left:-18px}.gallery-controls-next{position:relative}.gallery-controls-next:hover:before{right:-18px}.gallery-nav{bottom:-15px;display:flex;justify-content:center;list-style:none;padding:0;position:absolute;width:100%}.gallery-nav li{background:#ccc;border-radius:50%;height:10px;margin:0 16px;width:10px}.gallery-nav li.gallery-item-selected{background:#555}@media (max-width:768px){.gallery-item-1{left:-50%}.gallery-item-2{height:400px;width:350px}.gallery-item-3{left:150%}}