:root {
    --bg: #ebebeb;
    --bg2: #bbbbbb;

    --tx: #000000;
    --tx2: #838383;

    --cf: #FF1E00;
    --cf-light: #ff1e00db;
    /* --cf-opposite: #00E1FF; */

    --font-main: "Funnel Display", "Inter", sans-serif;
}

/* :root {
    --bg: #000000;
    --bg2: #838383;

    --tx: #ebebeb;
    --tx2: #bbbbbb;

    --cf: #FF1E00;
    --cf-light: #ff1e00db;

    --font-main: "Funnel Display", "Inter", sans-serif;
} */

.dark-mode {
    --bg: #000000;
    --bg2: #838383;
  
    --tx: #ebebeb;
    --tx2: #bbbbbb;
  
    --cf: #FF1E00;
    --cf-light: #ff1e00db;
  
    --font-main: "Funnel Display", "Inter", sans-serif;
}


::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--cf);
  border-radius: 6px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--cf-light);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;

    scrollbar-width: thin;
    scrollbar-color: var(--cf) var(--bg);
}

::selection {
    /* background-color: #000000e0; */
    background-color: var(--cf-light);
    color: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--tx);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none;
}

#mode-toggle {
    all: unset;
    text-wrap: nowrap;
}

.Cursor {
	pointer-events: none;
	position: fixed;
	display: block;
	border-radius: 0;
	transform-origin: center center;
	mix-blend-mode: difference;
	top: 0;
	left: 0;
	z-index: 1000;
	filter: url('#goo');
}

.Cursor span {
	position: absolute;
	display: block;
	width: 26px;
	height: 26px;
	border-radius: 20px;
	background-color: white;
	transform-origin: center center;
	transform: translate(-50%, -50%);
}

.cf {
    color: var(--cf);
}

/* #menu {
    all: unset;
    position: fixed;
    right: 20px;
    top: 20px;
    background-color: red;
    height: 40px;
    width: 40px;
    z-index: 1000;
} */

.main-nav {
    position: fixed;
    margin: 1em;
    padding-right: 2em;
    top: 0;
    width: 100%;
    z-index: 999;
    /* mix-blend-mode: difference; */
}

/* .main-nav li,
.main-nav p,
.main-nav ul li a {
    color: white;
} */

.main-nav > ul {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.nav-heading {
    font-weight: normal;
    text-transform: uppercase;
    color: var(--tx2);
    font-size: 12px;
}

li {
    list-style-type: none;
}

.nav-content,
#mode-toggle {
    color: var(--tx);
    font-size: 20px;
}

.nav-content a,
footer a,
#mode-toggle {
    color: var(--tx);
    text-decoration: none;
}

.nav-content a:hover,
footer a:hover,
#mode-toggle:hover {
    text-decoration: underline;
    color: var(--cf);
}

/* .nav-tooltip {
    position: fixed;
    pointer-events: none;
    padding: 6px 10px;
    background: var(--bg);
    color: var(--tx);
    border: 1px solid var(--tx);
    font-size: 13px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    z-index: 999;
} */

.title-container {
    padding: 60px 12px 30px;
    font-size: clamp(26px, 100px, 7vw);
    /* margin-top: 60px; */
    /* display: flex;
    flex-direction: column;
    gap: .2em; */
}

.name {
    font-weight: normal;
    line-height: 1;
    /* transform-origin: left; */
}
.role {
    font-size: clamp(16px, 80px, 6vw);
    font-weight: normal;
    /* transform-origin: left; */
}

section,
footer {
    padding: 30px 12px;
    font-size: 1.6em;
}

.name-container,
.role-container {
    width: fit-content;
    overflow: hidden;
}

.title-hr,
.section-end-hr {
    margin: 80px auto 0;
}

.heading-container {
    /* background-color: red; */
    width: fit-content;
    overflow: hidden;
}

.heading {
    font-weight: normal;
    font-size: 16px;
    text-transform: uppercase;
}

.para {
    width: 600px;
    max-width: 80vw;
    text-align: justify;
    font-weight: normal;
    margin: 1em auto;
}

/* .core-competencies ul {
    width: 600px;
    max-width: 80vw;
    margin: 1em auto;
}

.core-competencies ul li {
    position: relative;
    padding-left: 1em;
}

.core-competencies ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--cf);
} */

.core-competencies ul,
.company-description ul,
.projects ul,
.certifications ul,
.skills ul,
.education ul,
.achievements ul {
    max-width: 80vw;
    margin: 1em auto;
}

.core-competencies ul li,
.company-description ul li,
.projects ul li,
.certifications ul li,
.skills ul li,
.education ul li,
.achievements ul li {
    padding: .6em;
    border-bottom: 1px solid;
}
.core-competencies ul li:first-child,
.company-description ul li:first-child,
.projects ul li:first-child,
.certifications ul li:first-child,
.skills ul li:first-child,
.education ul li:first-child,
.achievements ul li:first-child {
    border-top: 1px solid;
}

.core-competencies ul li:hover,
.company-description ul li:hover,
.projects ul li:hover,
.certifications ul li:hover,
.skills ul li:hover,
.education ul li:hover,
.achievements ul li:hover {
    background-color: var(--bg2);
}

.list-icon {
    color: var(--cf);
    margin: 0 .6em;
}

.company-container,
.project-container,
.achievements-container,
.footer-content {
    max-width: 80vw;
    margin: 1em auto;
}

.company-name,
.degree {
    font-weight: normal;
    font-size: 26px;
    color: var(--cf);
}

.company-role,
.project-name,
.institute {
    font-size: 22px;
}

.experience-duration,
.company-location,
.education-duration,
.education-location {
    font-size: 18px;
}

.company-description {
    margin-top: 1em;
}

/* .company-description ul {
    display: flex;
    flex-wrap: wrap;
    gap: .6em;
}
.company-description ul li {
    position: relative;
    border: 1px solid;
    padding: 1em;
    border-radius: 8px;
    width: 40%;
    height: fit-content;
} */

/* .company-description ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--cf);
} */

.copyright {
    font-size: 14px;
    text-align: center;
}
.copyright a {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        cursor: crosshair;
    }
    .main-nav {
        display: none;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1em;
    }

    #cursor,
    #cursor-svg {
        display: none;
    }
}