@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@import url("https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

div.containers {
    width: 530px;
    height: 530px;
    position: relative;
    margin: 0px;
}

div.images {
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    position: absolute;
}

div.before {
    width: 50%;
    z-index: 2;
}

div.after {
    width: 100%;
    z-index: 1;
}

input.slider {
    width: 100%;
    height: 100%;
    outline: none;
    background-color: transparent;
    position: absolute;
    margin: 0px;
    z-index: 3;
    cursor: pointer;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    transition: 0.25s all ease-in-out;
    -moz-transition: 0.25s all ease-in-out;
    -webkit-transition: 0.25s all ease-in-out;
    z-index: 4;
}

input.slider::-moz-range-thumb {
    width: 15px;
    height: 530px;
    /*background-color: white;*/
    cursor: pointer;
}

input.slider::-webkit-slider-thumb {
    width: 15px;
    height: 530px;
    /*background-color: white;*/
    cursor: pointer;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("../images/before-after2.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
}

div.slider-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    -moz-broder-radius: 50%;
    -webkit-border-radius: 50%;
    /*background-color: white;*/
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    cursor: pointer;
    z-index: 3;
    background-image: url("../images/beforeAfter.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

div.slider-button:before {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    -moz-broder-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: white;
    position: absolute;
    top: calc(50% - 33px);
    left: calc(50% - 33px);
    cursor: pointer;
    z-index: 7;
    background-image: url("../images/beforeAfter.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

div.slider-button:after {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    -moz-broder-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: white;
    position: absolute;
    top: calc(50% - 34px);
    left: calc(50% - 34px);
    cursor: pointer;
    z-index: 7;
    background-image: url("../images/beforeAfter.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 767px) {
    div.containers {
	    margin-left: auto;
	    margin-right: auto;
        width: 350px;
        height: 350px;
    }
    input.slider::-moz-range-thumb {
	    width: 150px;
	    height: 350px;
	    background-image: url("../images/beforeAfter.png");
	    background-position: center center;
	    background-repeat: no-repeat;
	    background-size: cover;
	}
	
	input.slider::-webkit-slider-thumb {
	    width: 150px;
	    height: 350px;
	    
    background-image: url("../images/beforeAfter.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
	    appearance: none;
	    -moz-appearance: none;
	    -webkit-appearance: none;
	}
}
