.carousel {
	width: 100%;
	height: 90%;
	overflow: hidden;
	background-color: red;
}

.carousel > div {
	position: relative;
	width: 200%;
	height: 100%;
}

@keyframes slideInFromRight {
	0% {
		left: 100%;
	}
	100% {
		left: 0;
	}
}

.carousel > div > div {
	position: absolute;
	background-color: white;
	background-size: cover;
	background-repeat: no-repeat;
	width: 50%;
	height: 100%;
}

.carousel > div > div:nth-child(1) {
	left: 0;
}
.carousel:not(.static) div > div:nth-child(2) {
	left: 100%;
}
.carousel:not(.static) div > div:nth-child(2).animate {
	animation: 1s slideInFromRight;
	left:0;
}
