.slider {
	position: relative;
	overflow: hidden;
	height: 700px;
	width: 100%;
}

.slide {
	background-position: center center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 100%;
	height: 100%;
	width: 100%;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* tinggi area gelap */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.345),
        rgba(0,0,0,0)
    );
    z-index: 1;
}

.slide.active {
	transform: translateX(-100%);
}

.slide .info {
	background-color: rgb(255 255 255 / 64%);
    color: #333;
    padding: 20px 15px;
    position: absolute;
    opacity: 0.1;
    bottom: 70px;
    left: 0px;
    text-align: left;
    width: 800px;
    max-width: 100%;
}

.slide.active .info{
	opacity: 1;
	transform: translateY(-40px);
	transition: all 0.5s ease-in-out 0.8s;
}

.slide .info h1 {
	margin: 10px 0;
}

.slide .info p {
	letter-spacing: 1px;
}

.eraser {
	background: #418f92;
	position: absolute;
	transition: transform 0.5s ease-in-out;
  opacity: 0.95;
	top: 0;
	left: 100%;
	height: 100%;
	width: 100%;
	z-index: 100;
}

.eraser.active {
	transform: translateX(-100%);
}

.buttons-container {
	position: absolute;
	bottom: 50px;
	right: 60px;
/*   display: flex; */
  
}

.buttons-container button {
	border: 2px solid #418f92;
	background-color: #418f92;
	color: #fff;
	cursor: pointer;
	padding: 8px 30px;
  	margin-right: 10px;
	border-radius: 10px;
}

.buttons-container button:hover {
	background-color: #fff;
	color: #A9A9A9;
  opacity: 0.9;
}


@media (max-width: 400px) {
	.slide .info {
		bottom: 100px;
		left: 10px;
	}

	.slide .info h4 {
		font-size: 17px !important;
	}
}