
/* TEST CODE ABOVE */
html[data-theme="light"] {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent: #005fcc; /* strong blue, color-blind safe */
  --surface: #e9e9e9;
  --fliter: brightness(0) saturate(100%) invert(2%) sepia(2%) saturate(494%) hue-rotate(314deg) brightness(96%) contrast(84%);
}
/* html[data-theme="light"] .icon, .icon-tool{
    filter: brightness(0) saturate(100%) invert(2%) sepia(2%) saturate(494%) hue-rotate(314deg) brightness(96%) contrast(84%);
} */
html[data-theme="dark"] {
  --bg: #121212;
  --text: #f2f2f2;
  --accent: #4da3ff; /* bright blue, visible in dark mode */
  --surface: #1e1e1e;
  --fliter:brightness(0) saturate(100%) invert(99%) sepia(5%) saturate(12%) hue-rotate(42deg) brightness(116%) contrast(90%);
}
/* html[data-theme="dark"] .icon, .icon-tool{
    filter: brightness(0) saturate(100%) invert(99%) sepia(5%) saturate(12%) hue-rotate(42deg) brightness(116%) contrast(90%);
} */
html[data-theme="cb-safe"] {
  --bg: #52278A;
  --text: #898989;
  --accent: #0072b2; /* blue safe across all CB types */
  --surface: #eaeaea;
  --fliter:brightness(0) saturate(100%) invert(73%) sepia(83%) saturate(0%) hue-rotate(160deg) brightness(98%) contrast(96%);
}
/* html[data-theme="cb-safe"] .icon, .icon-tool{
    filter: brightness(0) saturate(100%) invert(73%) sepia(83%) saturate(0%) hue-rotate(160deg) brightness(98%) contrast(96%);
} */

/*  Egyptian Purple #52278A Arianna #7850A8 Cold Purple #AE98D7
    Light Gray #D5D5D5 Silver Coin #BABABA and Neutral Grey #838383 
*/


body {
  background: var(--bg);
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
#about_md{
  color:rgb(80, 80, 80);
  margin-bottom: -2px;
}
/* ################################# IDs ################################# */
#hero {
  background-color: var(--surface);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}
#about {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}
#projects { 
    background-color: var(--surface); 
    color: var(--text); 
    transition: background-color 0.3s ease, color 0.3s ease; }
#skills {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}
#contact {
  background-color: var(--surface);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}
#footer {
  background-color: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--surface);
  transition: background-color 0.3s ease, color 0.3s ease;
}
#footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
#footer a:hover {
  text-decoration: underline;
}

#credly{
    margin-left: -3px;
}

/* ################################# Classes ################################# */
.accent-text {
  color: var(--accent);
}
.icon-tool{
    margin:0 3px;
}
.icon, .icon-tool{
    filter:var(--fliter);
}
/* NAVBAR */
.navbar{
    /* background: var(--bg); */
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg)70%, transparent );
    /* opacity: .95; */
}
.nav-link.active {
    color: var(--accent) !important;
    font-weight: 700;
    text-decoration: underline; 
    text-underline-offset: 4px;
}
/* /NAVBAR */

/* Layer Images */
    .holder{
        /* margin: auto; */
        position: relative;
        width: 240px;
        height: 220px;
    }
    @media (max-width: 767px) {
        .holder{
            margin: auto ;
            margin-bottom: -20px;
        }
    }
    .hero-image-placeholder { /* DarkBlue Square */
    width: 120px;
    height: 120px;
    border-radius: 30%;
    background-color: var(--accent);
    position: absolute;
    /* opacity: 0.55; */
    margin: 50px 100px;
    z-index: 3;
    }
    .hero-image-placeholder2 {/* LightBlue Circle */
    width: 220px;
    height: 220px;
    border-radius: 100%;
    background-color: var(--accent);
    position: absolute;
    opacity: 0.45;
    margin: 0 auto;
    z-index: 2;
    }
.about-image-placeholder {
  width: 200px;
  height: 550px;
  border-radius: 12px;
  background-color: var(--accent);
  opacity: 0.15;
  margin: 0 auto;
}
.project-card { 
    background-color: var(--bg); 
    color: var(--text);
    border: 1px solid var(--surface); 
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease; } 
.project-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--accent); 
} 
.project-card .card-title { 
    color: var(--accent); 
    min-height: 50px;
}
.project-card .card-text { 
    min-height: 120px; 
    max-height: 160px; 
}
.skill-card {
  background-color: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--surface);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.skill-card .skill-title {
  /* color: var(--accent); */
    min-height: 45px;
}
.skill-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}
.skill-card h5 {
  color: var(--accent);
}
.skill-card ul li {
  margin-bottom: 0.4rem;
  font-size: 0.805rem;
}
.contact-box {
  background-color: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--bg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.contact-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-link:hover {
  text-decoration: underline;
}



.floating-links {
  position: fixed;
  opacity: 0.75;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  gap: 1rem;
  z-index: 999;
}
.floating-links a {
  background-color: var(--surface);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.floating-links a:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateX(-2px);
}
@media (min-width: 692px) {
  main, section {
    padding-right: 120px; /* adjust to match your floating panel width */
  }
}
