.pieces-slider {
	position: relative;
	text-align: center;
	padding: 8rem 0;
	z-index: 1;
}

.js .pieces-slider {
	padding: 0;
}

/* Make all slides absolutes and hide them */
.js .pieces-slider__slide {
	position: absolute;
	right: 100%;
}

/* Define image dimensions and also hide them */
.pieces-slider__image {
	max-width: 954px;
	max-height: 637px;
}

.js .pieces-slider__image {
	visibility: hidden;
}

/* Hide the titles */
.js .pieces-slider__text {
	text-indent: -9999px;
}

/* Canvas with viewport width and height */
.js .pieces-slider__canvas {
	position: relative;
	width: 100%;
	height: calc(100vh - 200px);
	transition: 0.2s opacity;
padding-top: 50px;	
}
.js .pieces-slider__canvas {
	
}
/* Class for when we resize */
.pieces-slider__canvas--hidden {
	opacity: 0;
	transition-duration: 0.3s;
}

/* Navigation buttons */
.pieces-slider__button {
	right: 60px;
	width: 60px;
	height: 60px;
	background-color: #1e222b;
	color: #fff;
	font-family: inherit;
	font-weight: bold;
	border: none;
	cursor: pointer;
	transition: 0.1s background-color;
}
.pieces-slider__button.pieces-slider__button--next {
	background: #373e4e;
}
.pieces-slider__button:hover {
	background: #0e1118;
}
/* Hide the buttons when no JS */
.no-js .pieces-slider__button {
	display: none;
}

/* Media queries with styles for smaller screens */
@media only screen and (max-width: 991px){
	.js .pieces-slider__canvas{
		padding-top: 20px;
	    height: 400px;	
	}
	.pieces-slider__button {
		width: 50px;
		height: 50px;
		margin: 0 5px;
	}	
}
@media screen and (max-width: 767px) {
	.pieces-slider__image {
		max-width: 300px;
	}
	.js .pieces-slider__canvas{
		height: 330px;
		padding-top: 0px;
	}
}


