/* ==========================================
   CUSTOM CURSOR - SOVAREL
   Color: #3C2622
   Transparency: 60%
========================================== */

.cb-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 150;
	contain: layout style size;
	pointer-events: none;
	will-change: transform;
	color: rgba(60, 38, 34, 0.4);
	transition: opacity 0.3s, color 0.4s;
}

.cb-cursor:before {
	content: "";
	position: absolute;
	top: -24px;
	left: -24px;
	display: block;
	width: 48px;
	height: 48px;
	transform: scale(0);
	border-radius: 50%;
	background: rgba(60, 38, 34, 0.4);
	transition: opacity 0.1s, transform 0.3s ease-in-out;
}

.cb-cursor-text {
	position: absolute;
	top: -18px;
	left: -18px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0) rotate(10deg);
	opacity: 0;
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	letter-spacing: -0.01em;
	transition: opacity 0.4s, transform 0.3s;
}

/* Disable blend mode */
.cb-cursor.-opaque,
.cb-cursor.-exclusion {
	mix-blend-mode: normal !important;
}

/* Default Cursor */
.cb-cursor.-normal,
.cb-cursor.-text {
	mix-blend-mode: normal;
}

.cb-cursor.-normal:before,
.cb-cursor.-text:before,
.cb-cursor.-opaque:before,
.cb-cursor.-exclusion:before {
	background: rgba(60, 38, 34, 0.4) !important;
}

/* Inverse Cursor */
.cb-cursor.-inverse {
	color: rgba(60, 38, 34, 0.4) !important;
}

/* Visible State */
.cb-cursor.-visible:before {
	transform: scale(0.2);
}

.cb-cursor.-visible.-active:before {
	transform: scale(0.23);
	transition-duration: 0.2s;
}

/* Pointer State */
.cb-cursor.-pointer:before {
	transform: scale(0);
}

/* Text Cursor */
.cb-cursor.-text:before {
	background: rgba(60, 38, 34, 0.4) !important;
	backdrop-filter: blur(10px);
	transform: scale(1.7);
}

.cb-cursor.-text .cb-cursor-text {
	opacity: 1;
	transform: scale(1);
}

.cb-cursor.-text.-active:before {
	transform: scale(1.6);
	transition-duration: 0.2s;
}

/* Opaque Mode */
.cb-cursor.-opaque:before {
	transform: scale(1.32);
}

.cb-cursor.-opaque.-active:before {
	transform: scale(1.2);
}

/* Large Cursor */
.cb-cursor.-lg:before {
	transform: scale(2);
}

/* Hidden Cursor */
.cb-cursor.-hidden:before {
	transform: scale(0);
}

/* Optional Colors */
.-color-red {
	color: red;
}

.-color-green {
	color: #51c67d;
}

/* ==========================================
   FORCE COLOR OVERRIDE
========================================== */

.cb-cursor,
.cb-cursor.-normal,
.cb-cursor.-text,
.cb-cursor.-opaque,
.cb-cursor.-exclusion,
.cb-cursor.-inverse {
	color: rgba(60, 38, 34, 0.4) !important;
}

.cb-cursor:before,
.cb-cursor.-normal:before,
.cb-cursor.-text:before,
.cb-cursor.-opaque:before,
.cb-cursor.-exclusion:before,
.cb-cursor.-lg:before,
.cb-cursor.-visible:before,
.cb-cursor.-active:before {
	background: rgba(60, 38, 34, 0.4) !important;
	background-color: rgba(60, 38, 34, 0.4) !important;
	border-color: rgba(60, 38, 34, 0.4) !important;
}