@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
	margin: 0;
	padding: 0;
	font-family: "Poppins";
}

body {
	/* animation: pulse 10s linear infinite; */
	background-image: url("bg.png");
	background-position: center;
	background-size: cover;
}

section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	overflow: hidden;
	box-sizing: border-box;
	/* background: #151515; */
}

div {
	position: relative;
}

/* @keyframes pulse {
    0% {
        color: #22ff08;
    }
    10% {
        color: #8cb826;
    }
    20% {
        color: #7be617;
    }
    30% {
        color: #bdee0d;
    }
    40% {
        color: #daf10a;
    }
    50% {
        color: #f1db0c;
    }
    60% {
        color: #ffa908;
    }
    70% {
        color: #ff2508;
    }
    80% {
        color: #eb11a2;
    }
    90% {
        color: #7708df;
    }
    93% {
        color: #063be7;
    }
    96% {
        color: #078cfa;
    }
    98% {
        color: #12e06f;
    }
    100% {
        color: #06f341;
    }
} */

#rangeValue {
	position: relative;
	box-sizing: border-box;
	text-align: center;
	display: block;
	font-size: 10em;
	color: #22ff08;
	font-weight: 800;
	z-index: 1;
}

#rangeValue::after {
	content: "%";
}

.range {
	position: relative;
	width: 500px;
	height: 30px;
	appearance: none;
	background: rgba(0, 0, 0, 0.8);
	outline: none;
	border-radius: 30px;
	border: 2px solid #151515, inset 0 0 5px #000;
	z-index: 1;
	overflow: hidden;
}

.range::-webkit-slider-thumb {
	appearance: none;
	width: 30px;
	height: 30px;
	background: #22ff00;
	cursor: pointer;
	border: 10px solid #222;
	border-radius: 50%;
	box-shadow: -415px 0 0 400px #22ff08;
}

#fillRangeTopLeft {
	position: fixed;
	top: 0;
	left: 0;
	height: 50%;
	z-index: 2;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	pointer-events: none;
	box-sizing: border-box;
	backdrop-filter: blur(15px);
}

#fillRangeTopRight {
	position: fixed;
	top: 0;
	right: 0;
	width: 50%;
	z-index: 2;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.25);
	border-left: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	pointer-events: none;
	box-sizing: border-box;
	backdrop-filter: blur(15px);
}

#fillRangebottomLeft {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 50%;
	z-index: 2;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.05);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	pointer-events: none;
	box-sizing: border-box;
	backdrop-filter: blur(15px);
}

#fillRangebottomRight {
	position: fixed;
	bottom: 0;
	right: 0;
	height: 50%;
	z-index: 2;
	box-shadow: 5px 0 15px rgba(0, 0, 0, 0.25);
	border-left: 1px solid rgba(255, 255, 255, 0.05);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	pointer-events: none;
	box-sizing: border-box;
	backdrop-filter: blur(15px);
}
