.beforeafter__column-wrapper {
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    --position: 50%;
    overflow: hidden;
    border: 10px solid #fff;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(50, 56, 62, 0.1);
}

.beforeafter__column-wrapper:after {
    content: "After";
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0, 23, 60, 0.80);
    background: rgb(0,31,59);
    background: linear-gradient(205deg, rgba(0,31,59,0.8995973389355743) 0%, rgba(6,90,163,0.7455357142857143) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    font-family: "Marcellus", serif;
}

.beforeafter__column-wrapper:before {
    content: "Before";
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(0,31,59);
    background: linear-gradient(135deg, rgba(0,31,59,0.8995973389355743) 0%, rgba(6,90,163,0.7455357142857143) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    font-family: "Marcellus", serif;
    z-index: 1;
}

.image-container {
	height: auto;
	width: 100%;
	position: relative;
}

.slider-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left;
}

.image-before {
	position: absolute;
	inset: 0;
	width: var(--position);
}

.beforeafter__slider {
	position: absolute;
	inset: 0;
	cursor: pointer;
	opacity: 0;
	/* for Firefox */
	width: 100%;
	height: 100%;
}

.beforeafter__slider:focus-visible~.slider-button {
	outline: 5px solid black;
	outline-offset: 3px;
}

.slider-line {
	position: absolute;
	inset: 0;
	width: 4px;
	height: 100%;
	background-color: #fff;
	/* z-index: 10; */
	left: var(--position);
	transform: translateX(-50%);
	pointer-events: none;
}

.slider-button {
	position: absolute;
	border-radius: 100vw;
	display: grid;
	place-items: center;
	top: 50%;
	left: var(--position);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.slider-button svg {
    width: 46px;
}

.beforeafter__content span {
	font-weight: 700;
	position: relative;
}

.beforeafter__content span img {
	position: absolute;
	right: 0;
	width: 117px;
	bottom: 0;
}

.beforeafter__content .btn {
	margin-top: 10px;
}

.beforeafter__content {
	margin-bottom: 25px;
}

.image-dragger-info p {
	font-size: 16px;
    font-weight: 300;
}

.image-dragger-info {
    text-align: center;
    margin-bottom: 15px;
}

.image-dragger-info p span svg {
	width: 20px;
	height: 20px;
	display: inline-block;
    box-shadow: 0 2px 10px rgba(50, 56, 62, 0.1);
    border-radius: 50%;
}

.beforeafter__column {
	padding: 0 9px;
}

.tag-remove:after,
.tag-remove:before {
    display: none;
}

@media(min-width: 768px) {
	.beforeafter__content span img {
		width: 146px;
	}

    .slider-line {
        width: 10px;
    }

	.beforeafter__column {
		padding: 0;
	}

    .beforeafter__column-wrapper {
        padding: 0;
        border: 15px solid #fff;
        overflow: hidden;
    }

    .beforeafter__column-wrapper:before {
        left: 0;
        top: 0;
        font-size: 22px;
        padding: 9px 30px;
    }

    .beforeafter__column-wrapper:after {
        right: 0;
        top: 0;
        font-size: 22px;
        padding: 9px 30px;
    }

    .slider-button svg {
        width: 64px;
    }
}

@media(min-width: 1200px) {
	.beforeafter__content span img {
		width: 180px;
	}
}
