:root {
  --background-color: rgb(253, 253, 230); 
  --text-color: rgb(0, 0, 0);
  --fade-text-color: rgb(40, 39, 39);
  --very-fade-text-color: rgb(0, 0, 0, 0.2);
  --header-text-color: rgb(4, 58, 116);
  --header-background-color: rgb(61, 130, 196);
  --footer-background-color: rgb(215, 230, 226);
  --mobile-nav-toggle-color: rgb(255, 255, 255);
  --ui-font: "Open Sans", sans-serif;
  --ide-bg: #ffffff;
  --ide-sidebar-bg: #f3f3f3;
  --ide-border: #e7e7e7;
  --ide-border-inner: #e0e0e0;
  --ide-tab-bg: #ececec;
  --ide-tab-active-bg: #ffffff;
  --ide-tab-text: #8e8e8e;
  --ide-tab-active-text: #333333;
  --ide-tab-hover-bg: #e0e0e0;
  --ide-tab-hover-text: #333333;
  --ide-item-hover-bg: #e5e5e5;
  --ide-file-active-bg: #0060c0;
  --ide-file-text: #333333;
  --ide-sidebar-title-text: #6f6f6f;
  --ide-scrollbar-thumb: #c2c2c2;
  --ide-scrollbar-track: #f5f5f5;
  --ide-img-bg: #e8e8e8;
  --ide-card-bg: #f5f5f5;
  --ide-text: #1a1a1a;
  --ide-text-muted: #555555;
  --ide-subtitle-text: #777777;
  --ide-linenum-text: #999999;
  --ide-link-text: #0066cc;
  --ide-link-hover: #004499;
  --ide-shadow: rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  background: var(--background-color) !important;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: -1;
}

select {
  background-color: var(--background-color); 
  color: var(--text-color);
}

@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}

a {
  color: var(--header-text-color);
  text-decoration: none;
}

a:hover {
  color: var(--header-text-color);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
}

.paragraph {
  /* text-align: justify; */
  color: var(--fade-text-color);
  padding-top: 10px;
  padding-bottom: 5px;
  font-size: 14px;
}

#normal-text {
  color: var(--text-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: height 0.3s ease;
}

#header h1 {
  font-size: 48px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

#header h1 a,
#header h1 a:hover {
  color: white;
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 24px;
  margin-top: 20px;
  color: white;
}

#header h2 span {
  color: white;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.1); */
  color: white;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: var(--background-color);
  color: rgb(24, 210, 110) !important;
}

h2.subtitle {
  line-height: 150% !important; 
  font-size: medium !important;
}


@media (max-width: 992px) {

  .window-div {
    width: 100%;
  }

  #header h1 {
    font-size: 36px;
  }

  #header h2 {
    font-size: 20px;
    line-height: 30px;
  }

  #header .social-links {
    margin-top: 15px;
  }

  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/** 
* Header Top 
*/
#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: var(--text-color);
}

#header.header-top .social-links,
#header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 36px;
}


#header.header-top .container {
  position: relative;
}

#header.header-top .navbar {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding-top: 10px;
  padding-right: 40px;
  z-index: 10;
}

@media (max-width: 768px) {

  #header.header-top {
    height: 60px;
  }

  #header.header-top h1 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding-left: 12px;
  padding-right: 12px;
  margin-top: 35px;
  margin-bottom: 20px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li+li {
  margin-left: 30px;
}

.navbar a,
.navbar a:focus,
.nav-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: rgb(24, 210, 110);
  visibility: hidden;
  width: 0px;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 25px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: rgb(24, 210, 110);
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--mobile-nav-toggle-color) !important;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block !important;
  }

  .navbar ul {
    display: none;
  }

  .nav-divider {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--background-color);
  z-index: 999;
  margin-top: 0;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 45px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar-mobile li {
  padding: 12px 20px;
}

.navbar-mobile li a {
  color: var(--fade-text-color) !important;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile .active:focus,
.navbar-mobile li:hover>a {
  color: var(--header-text-color) !important;
}

.navbar-mobile a:before {
  background-color: var(--header-text-color) !important;
}

.navbar-mobile li+li {
  margin: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  font-size: 16px;
  position: relative;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.2s ease;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 45px;
}

section .container {
  background: var(--background-color);
  padding: 30px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--header-text-color);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--header-text-color);
}



/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
  margin: -15px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: transparent;
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: var(--header-text-color);
  border-radius: 50px;
  line-height: 0;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: var(--text-color);
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# YouTube Videos
--------------------------------------------------------------*/
.project-box {
   margin-bottom: 30px !important;
}

.project-box:hover {
  cursor: pointer !important;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
/* #courseGuide {
  background-color: var(--icon-box) !important; 
  border-radius: 17px; 
  height: 80px !important; 
  padding: 30px !important;
  padding-bottom: 20px !important;
  border: 1px solid var(--fade-text-color);
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#courseGuide:hover {
  background-color: var(--hover-icon-box) !important;
  cursor: pointer;
}

.images-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.image-wrapper {
  flex: 1;
  margin: 0 5px;
}

.images-container img {
  width: 100%;
  height: auto;
} 

.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--very-fade-text-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--header-text-color);
  margin-bottom: 10px;
}

.resume .resume-item p em {
  color: var(--fade-text-color) !important;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--header-text-color);
  border: 2px solid var(--header-text-color);
}

.resume .icon-box {
  text-align: center;
  background-color: var(--icon-box) !important;
  padding: 80px 20px;
  margin-top: -50px;
  border-radius: 5px;
}

.resume .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #0e7ef5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.resume .icon-box .icon i {
  color: var(--text-color);
  font-size: 28px;
}

.resume .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transform: translateZ(-1px);
}

.resume .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.resume .icon-box h4 a {
  color: var(--text-color);
}

.resume .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.resume .icon-box:hover {
  background: var(--hover-icon-box) !important;
}

.resume .disabled:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
}

.resume .icon-box:hover .icon {
  background: var(--text-color);
}

.resume .icon-box:hover .icon i {
  color: var(--header-text-color);
}

.resume .icon-box:hover .icon::before {
  background: var(--header-text-color);
}

.resume .icon-box:hover h4 a,
.resume .icon-box:hover p {
  color: var(--text-color);
} */

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 15px;
  text-align: right;
  font-size: 13px;
  color: var(--text-color);
  z-index: 999998;
}

.credits span {
  background-color: var(--footer-background-color);
}

@media (max-width: 992px) {
  .credits {
    text-align: center;
    padding: 10px;
    background: var(--footer-background-color);
  }
}

.credits a {
  color: var(--header-text-color);
  /*  ; */
}

.credits a:hover {
  color: var(--text-color);
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;    
  -webkit-animation-duration:          0.8s;
  -webkit-animation-iteration-count:   infinite;
  -webkit-animation-timing-function:   linear;
  -webkit-transform-origin:            50% 100%;
  will-change: transform;
}

/*--------------------------------------------------------------
# Discord Profile Card
--------------------------------------------------------------*/
:root {
  --dc-card-bg: #f2f3f5;
  --dc-card-section-bg: #e3e5e8;
  --dc-card-text: #2e3035;
  --dc-card-text-muted: #5c5f66;
  --dc-card-divider: #d4d5d7;
  --dc-avatar-border-color: #f2f3f5;
}

#dc-profile-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--dc-card-bg);
  color: var(--dc-card-text);
  font-family: var(--ui-font);
}

#dc-profile-card.dc-expanded {
  margin: 16px;
  border-radius: 8px;
}

.dc-banner {
  height: 90px;
  background: url("../img/banner.jpg") center/cover no-repeat;
  flex-shrink: 0;
}

.dc-header-row {
  background: var(--dc-card-bg);
  padding: 0 16px;
  position: relative;
  height: 36px;
  transition: background 0.3s;
}

#dc-custom-status-area {
  position: absolute;
  top: -16px;
  left: 100px;
  right: 12px;
  z-index: 2;
}

#dc-custom-status-area:empty {
  display: none;
}

.dc-avatar-container {
  position: absolute;
  top: -34px;
  left: 16px;
  width: fit-content;
}

.dc-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--dc-avatar-border-color);
  overflow: hidden;
  background: var(--dc-card-bg);
  transition: border-color 0.3s, background 0.3s;
}

.dc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.dc-status-badge {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--dc-avatar-border-color);
  bottom: 3px;
  right: 3px;
  background: #80848e;
  transition: background 0.3s, border-color 0.3s;
}

.dc-status-dnd-symbol::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.dc-status-offline-symbol::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dc-card-bg);
  border: 2px solid #80848e;
}

.dc-status-badge[data-status="online"] { background: #23a55a; }
.dc-status-badge[data-status="idle"] {
  background: #f0b232;
  box-shadow: inset 3px -2px 0 0 var(--dc-avatar-border-color);
}
.dc-status-badge[data-status="dnd"] { background: #f23f43; }
.dc-status-badge[data-status="dnd"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 2px;
  background: white;
  border-radius: 2px;
}
.dc-status-badge[data-status="offline"] { background: #80848e; }

.dc-profile-body {
  padding: 8px 16px 16px;
  background: var(--dc-card-bg);
  transition: background 0.3s;
}



.dc-display-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dc-card-text);
  gap: 6px;
  transition: color 0.3s;
}

.dc-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  background: none;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  line-height: 1.6;
  border: 1px solid var(--dc-card-section-bg);
  transition: border 0.3s;
}

.dc-badge-img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: inline-block;
}

.dc-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dc-card-text);
  font-size: 13px;
  padding: 0 2px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}

.dc-copy-btn:hover {
  opacity: 1;
  color: var(--dc-card-text);
}

.dc-username-pronouns {
  font-size: 13px;
  color: var(--dc-card-text);
  margin-top: 2px;
  transition: color 0.3s;
}

.dc-dot-sep {
  font-size: 10px;
  opacity: 0.7;
}

.dc-divider {
  height: 1px;
  background: var(--dc-card-divider);
  margin: 10px 0;
  transition: background 0.3s;
}



.dc-section-inline .dc-section-label {
  margin-bottom: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.dc-section-label,
.dc-activity-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dc-card-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.dc-section-label { margin-bottom: 8px; }
.dc-activity-section-label { margin-bottom: 6px; }

.dc-game-thumb {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

#discord-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-activity-box {
  background: var(--dc-card-section-bg);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background 0.3s;
}

.dc-activity-thumb-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  position: relative;
}

.dc-activity-large-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.dc-activity-icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  font-size: 28px;
  color: var(--dc-card-text-muted);
}

.dc-activity-small-img {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--dc-card-section-bg);
  object-fit: cover;
  background: var(--dc-card-bg);
}

.dc-activity-info {
  flex: 1;
  min-width: 0;
}

.dc-activity-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-card-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}

.dc-activity-detail,
.dc-activity-state {
  font-size: 12px;
  color: var(--dc-card-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
  transition: color 0.3s;
}

.dc-activity-timer {
  font-size: 11px;
  color: var(--dc-card-text-muted);
  margin-top: 4px;
  transition: color 0.3s;
}

.dc-custom-status-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--dc-card-section-bg);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--dc-card-text);
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.dc-custom-status-box::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid var(--dc-card-section-bg);
}

.dc-custom-status-emoji {
  font-size: 16px;
  flex-shrink: 0;
}

.dc-custom-status-emoji-img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dc-custom-status-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-no-activity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 6px;
  color: var(--dc-card-text-muted);
  font-size: 13px;
  text-align: center;
}

#dc-profile-card a {
  color: inherit;
}



/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@-webkit-keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }
  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }
  100% {
    -webkit-transform: none;
    transform: none;
  }
}

a,
.navbar a,
.social-links a,
.window-button,
.music-tabs .nav-link,
#toggle-button,
#btn-code,
#btn-play {
  transition: color 0.15s ease, background-color 0.15s ease,
              opacity 0.15s ease, border-color 0.15s ease !important;
}

a,
button,
[role="button"],
.tooltips,
.window-button,
.navbar a,
.social-links a,
.mobile-nav-toggle,
.project-box {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tooltip {
  transition: opacity 0.15s linear !important;
}

.tooltips:hover {
  cursor: pointer;
}



/*--------------------------------------------------------------
# Music Tabs
--------------------------------------------------------------*/
.music-tabs {
  background: var(--background-color);
  border-radius: 10px 10px 0 0;
  padding: 5px;
  margin-bottom: 20px;
}

.music-tabs .nav-link {
  color: var(--text-color);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 10px;
  font-weight: 600;
  margin-right: 5px;
  position: relative;
}

.music-tabs .nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--header-text-color);
  visibility: hidden;
}

.music-tabs .nav-link.active:before,
.music-tabs .nav-link:hover:before {
  visibility: visible;
  width: 100%;
}

.music-tabs .nav-link.active,
.music-tabs .nav-link:hover {
  color: var(--header-text-color);
  background: transparent;
}

/*--------------------------------------------------------------
# YouTube Channel Page
--------------------------------------------------------------*/
.yt-channel-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.yt-channel-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
}

.yt-oac-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: rgba(255, 0, 0, 0.1);
  color: #e00000;
  border-radius: 12px;
  padding: 2px 9px;
  font-weight: 500;
}

.yt-channel-meta {
  font-size: 13px;
  color: var(--fade-text-color);
}

.yt-subscribe-btn {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--background-color);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.yt-subscribe-btn:hover {
  opacity: 0.82;
  color: var(--background-color);
  text-decoration: none;
}

.yt-video-link,
.yt-video-link:hover { color: var(--text-color); text-decoration: none; }
.yt-video-link { display: block; }

.yt-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}

.yt-video-link:hover .yt-thumb {
  opacity: 0.85;
}

.yt-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  pointer-events: none;
}

.yt-video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-video-meta {
  font-size: 12px;
  color: var(--fade-text-color);
}

/*--------------------------------------------------------------
# Window Div
--------------------------------------------------------------*/
.window-div {
  float: right; 
  margin-bottom: -120px; 
  border-radius: 15px; 
  background-color: var(--background-color); 
  width: 400px;
  position: relative;
}



@media (max-width: 992px) {
  .window-div {
      display: none;
  }
}

.window-bar {
  width: 100%; 
  background-color: rgb(40, 39, 39); 
  height: 35px; 
  border-top-left-radius: 15px; 
  border-top-right-radius: 15px; 
  display: flex; 
  align-items: center; 
  padding-left: 15px;
}

.window-button {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 10px;
  font-weight: bold;
  cursor: pointer; 
}

.red {
    background-color: rgb(255, 95, 87);
}

.yellow {
    background-color: rgb(254, 188, 46);
}

.green {
    background-color: rgb(40, 200, 64);
}

.window-button:hover {
    opacity: 0.7; 
}

.window-title {
  flex: 1; text-align: center; color: #999; font-size: 12px; font-family: sans-serif;
}

#terminal-wrapper {
  padding-left: 30px; padding-right: 35px; margin-top: 10px; display: none;
}

#terminal-container {
  padding: 15px; color: #d4d4d4; font-size: 13px; line-height: 1.5; height: 350px; overflow-y: auto; cursor: text;
}

.terminal-input-line {
  display: flex; align-items: center;
  margin-top: 0px;
}

#terminal-prompt {
  margin-right: 5px;
}

#terminal-input {
  display: inline;
  background: transparent;
  border: none;
  color: #d4d4d4;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  min-width: 5px;
  margin-left: 3px;
  word-break: break-all;
}

.shell-in-a-box {
  display: none; 
  padding-left: 30px;
  padding-right: 35px;
  padding-top: 10px;
  font-size: smaller;
  text-align: justify;
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
.ide-showcase {
  display: flex;
  height: 74vh;
  min-height: 500px;
  max-height: 720px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ide-border);
  background: var(--ide-bg);
  margin: 28px 0 36px;
  box-shadow: 0 6px 36px var(--ide-shadow);
  font-family: 'Consolas', 'Courier New', monospace;
}

.ide-sidebar {
  width: 220px;
  min-width: 200px;
  background: var(--ide-sidebar-bg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ide-border);
  flex-shrink: 0;
  overflow: hidden;
}

.ide-sidebar-title {
  padding: 10px 14px 6px;
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--ide-sidebar-title-text);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ide-folder-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  font-family: var(--ui-font);
  font-size: 13px;
  color: var(--ide-file-text);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.ide-folder-row:hover { 
  background: var(--ide-item-hover-bg); 
}

.ide-chevron { 
  font-size: 10px; transition: transform 0.2s; 
}

.ide-chevron.collapsed { 
  transform: rotate(-90deg); 
}

.ide-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.ide-file-list::-webkit-scrollbar { width: 6px; }
.ide-file-list::-webkit-scrollbar-track { background: transparent; }
.ide-file-list::-webkit-scrollbar-thumb { background: var(--ide-scrollbar-thumb); border-radius: 3px; }

.ide-file-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 26px;
  font-family: var(--ui-font);
  font-size: 13px;
  color: var(--ide-file-text);
  cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ide-file-item:hover { background: var(--ide-item-hover-bg); }
.ide-file-item.active { background: var(--ide-file-active-bg); color: #fff; }
.ide-file-item i { font-size: 14px; flex-shrink: 0; }

.ide-editor-pane {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ide-bg);
}

.ide-tab-bar {
  display: flex;
  background: var(--ide-sidebar-bg);
  border-bottom: 1px solid var(--ide-border);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}

.ide-tab-bar::-webkit-scrollbar { 
  display: none; 
}

.ide-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--ui-font);
  font-size: 12px;
  color: var(--ide-tab-text);
  cursor: pointer;
  white-space: nowrap;
  border-right: 1px solid var(--ide-bg);
  background: var(--ide-tab-bg);
  transition: color 0.12s, background 0.12s;
  position: relative;
}

.ide-tab::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.12s;
}

.ide-tab.active { background: var(--ide-tab-active-bg); color: var(--ide-tab-active-text); }
.ide-tab.active::after { background: #007acc; }
.ide-tab:hover:not(.active) { color: var(--ide-tab-hover-text); background: var(--ide-tab-hover-bg); }
.ide-tab i { font-size: 13px; }

.ide-tab-close {
  margin-left: 4px;
  font-size: 11px;
  opacity: 0;
  line-height: 1;
  transition: opacity 0.12s;
}

.ide-tab:hover .ide-tab-close,
.ide-tab.active .ide-tab-close { opacity: 0.55; }

.ide-scroll-area {
  flex: 1;
  overflow-y: auto;
}

.ide-scroll-area::-webkit-scrollbar { width: 8px; }
.ide-scroll-area::-webkit-scrollbar-track { background: var(--ide-scrollbar-track); }
.ide-scroll-area::-webkit-scrollbar-thumb { background: var(--ide-scrollbar-thumb); border-radius: 4px; }

.ide-project-block {
  padding-bottom: 28px;
}

.ide-readme-block {
  padding: 16px 20px 0px 10px;
}

.ide-readme-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.4em;
}

.ide-readme-row:last-child { 
  margin-bottom: 0; 
}

.ide-readme-linenum {
  width: 44px;
  min-width: 44px;
  padding-right: 14px;
  text-align: right;
  color: var(--ide-linenum-text);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.65;
  user-select: none;
  flex-shrink: 0;
}

.ide-readme-heading,
.ide-readme-para {
  font-family: var(--ui-font);
  margin: 0;
}

.ide-readme-heading:focus,
.ide-readme-para:focus {
  outline: none;
  border: none;
}

.ide-readme-heading:hover,
.ide-readme-para:hover {
  cursor: text;
}

.ide-readme-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--ide-text);
  line-height: 1.4;
}

.ide-readme-para {
  flex: 1;
  font-size: 13px;
  color: var(--ide-text-muted);
  line-height: 1.65;
  word-break: break-word;
}

.ide-project-card {
  display: flex;
  margin: 16px 20px 0 56px;
  background: var(--ide-card-bg);
  border: 1px solid var(--ide-border-inner);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.ide-project-card:hover { 
  border-color: #007acc; 
}

.ide-project-img-wrap {
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
  background: var(--ide-img-bg);
}
.ide-project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.ide-project-card:hover .ide-project-img-wrap img { 
  transform: scale(1.02); 
}

.ide-project-body {
  padding: 16px 18px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ide-proj-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ide-proj-title {
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ide-text);
}

.ide-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #1f6feb;
  color: #fff;
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.4px;
}

.ide-verified svg { 
  width: 9px; height: 9px; 
}

.ide-proj-subtitle {
  font-family: var(--ui-font);
  font-size: 12px;
  color: var(--ide-subtitle-text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.ide-badge {
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: #fff;
}

.ide-proj-desc {
  font-family: var(--ui-font);
  font-size: 13px;
  color: var(--ide-text-muted);
  line-height: 1.65;
  flex: 1;
}

.ide-proj-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.ide-proj-link {
  font-family: var(--ui-font);
  font-size: 12px;
  color: var(--ide-link-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.12s;
}

.ide-proj-link:hover { 
  color: var(--ide-link-hover); text-decoration: underline; 
}

.ide-status-bar {
  height: 22px;
  background: #007acc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-family: var(--ui-font);
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.ide-status-left, .ide-status-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .ide-showcase {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: unset;
  }

  .ide-sidebar {
    width: 100%;
    min-width: unset;
    height: auto;
    flex-direction: column;
    border-right: none;
    border-bottom: 1px solid var(--ide-border);
  }

  .ide-tab-bar { 
    display: none; 
  }

  .ide-file-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 6px 8px;
    flex: none;
    scrollbar-width: thin;
    scrollbar-color: var(--ide-scrollbar-thumb) var(--ide-scrollbar-track);
  }

  .ide-file-list::-webkit-scrollbar { height: 4px; }
  .ide-file-list::-webkit-scrollbar-track { background: var(--ide-scrollbar-track); }
  .ide-file-list::-webkit-scrollbar-thumb { background: var(--ide-scrollbar-thumb); border-radius: 2px; }

  .ide-file-item {
    padding: 5px 12px;
    flex-shrink: 0;
    border-radius: 4px;
  }

  .ide-scroll-area { 
    max-height: 540px; 
  }

  .ide-project-card {
    flex-direction: column;
    margin: 0 10px;
  }

  .ide-project-img-wrap { 
    width: 100%; height: 180px; 
  }
}

@media (max-width: 576px) {
  .ide-file-item span { font-size: 12px; }
}