#console2{
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.slider{
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

.slider input{
    display: none;
}

.showCards{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 350px;
    perspective: 1000px;
    overflow: hidden;
}

.showCards .item{
    width: 300px;
    padding: 30px;
    border-radius: 5px;
    position: absolute;
    top: 0;
    box-sizing: border-box;
    transition: transform 0.4s;
    user-select: none;
    cursor: pointer;
}

.showCards .item img{
    width: 228px; 
    height: 337px;
}

.dots{
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.dots label{
    height: 5px;
    width: 5px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #282828;
    margin: 7px;
    transition-duration: 0.2s;
}

#card1:checked ~ .dots label[for="card1"],
#card2:checked ~ .dots label[for="card2"],
#card3:checked ~ .dots label[for="card3"],
#card4:checked ~ .dots label[for="card4"],
#card5:checked ~ .dots label[for="card5"]{
    transform: scale(2);
    background-color: #EB9712;
    box-shadow: 0px 0px 0px 3px #dddddd24;
}

#card1:checked ~ .dots label[for="card2"],
#card2:checked ~ .dots label[for="card1"],
#card2:checked ~ .dots label[for="card3"],
#card3:checked ~ .dots label[for="card2"],
#card3:checked ~ .dots label[for="card4"],
#card4:checked ~ .dots label[for="card3"],
#card4:checked ~ .dots label[for="card5"],
#card5:checked ~ .dots label[for="card4"]{
    transform: scale(1.5);
}

#card1:checked ~ .showCards label[for="card3"],
#card2:checked ~ .showCards label[for="card4"],
#card3:checked ~ .showCards label[for="card5"],
#card4:checked ~ .showCards label[for="card1"],
#card5:checked ~ .showCards label[for="card2"]{
    transform: translate3d(600px, 0, -180px) rotateY(-25deg);
    z-index: 2;
}

#card1:checked ~ .showCards label[for="card2"],
#card2:checked ~ .showCards label[for="card3"],
#card3:checked ~ .showCards label[for="card4"],
#card4:checked ~ .showCards label[for="card5"],
#card5:checked ~ .showCards label[for="card1"]{
    transform: translate3d(300px, 0, -90px) rotateY(-15deg);
    z-index: 3;
}

#card2:checked ~ .showCards label[for="card1"],
#card3:checked ~ .showCards label[for="card2"],
#card4:checked ~ .showCards label[for="card3"],
#card5:checked ~ .showCards label[for="card4"],
#card1:checked ~ .showCards label[for="card5"]{
    transform: translate3d(-300px, 0, -90px) rotateY(15deg);
    z-index: 3;
}

#card3:checked ~ .showCards label[for="card1"],
#card4:checked ~ .showCards label[for="card2"],
#card5:checked ~ .showCards label[for="card3"],
#card2:checked ~ .showCards label[for="card5"],
#card1:checked ~ .showCards label[for="card4"]{
    transform: translate3d(-600px, 0, -180px) rotateY(25deg);
    
}

#card1:checked ~ .showCards label[for="card1"],
#card2:checked ~ .showCards label[for="card2"],
#card3:checked ~ .showCards label[for="card3"],
#card4:checked ~ .showCards label[for="card4"],
#card5:checked ~ .showCards label[for="card4"],
#card5:checked ~ .showCards label[for="card5"]{
    
    z-index: 4;
}