.button-slider {
	border: none;
	border-radius: 5px;
	padding: .5rem 1rem;
	background-color: dodgerblue;
	color: white;
	margin: 1rem 0;
	font-size: 1rem;
}

.wrapper {
	position: relative;
	width: 100%;
    height: 240px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.input-slider {
	
	z-index: 2;
	margin-right: 1rem;
	width: 1rem;
	height: 1rem;
	background: dodgerblue;
	border-radius: 50%;
	cursor: pointer;
}

.input-slider:last-of-type {
	margin: 0;
}

.input-slider:focus {
	outline: none;
}

.input-slider:checked {
	background: hotpink;
}

.input-slider + * {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	transform: translateX(100%);
	transition: transform ease-in-out 400ms;
	border-radius: 5px;
	overflow: hidden;
	background: #ddd;
}

.input-slider + *[aria-label]:before {
	content: attr(aria-label);
	display: block;
	position: absolute;
	bottom: 0.3rem;
	left: 0.5rem;
	font-size: 1rem;
	color: white;
	z-index: 1;
	padding: .5rem;
	border-radius: 7px;
	background-color: rgba(0,0,0,0.5);
}
.input-slider a {
display: block;
    position: absolute;
    bottom: 0.3rem;
    left: 0.5rem;
    font-size: 1rem;
    color: white;
    z-index: 1;
    padding: .5rem; 
}

.section-slider {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.input-slider:checked + * {
	transform: translateX(0);
	z-index: 1;
}
.input-slider + * + *:not(input[type=radio]) {
	display: none;
}

.input-slider:before {
	display: none !important;
	content: '';
	position: absolute;
	top: 50%;
	left: 1rem;
	width: 2rem;
	height: 2rem;
	background: orange;
	border-radius: 50%;
}

.input-slider:after {
	display: none !important;
	content: '';
	position: absolute;
	top: calc(50% + 1rem);
	left: 2rem;
	width: .5rem;
	height: .5rem;
	border-bottom: 1px solid #262626;
	border-left: 1px solid #262626;
	transform: translate(-25%, -50%) rotate(45deg);
}