* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: 'DejaVu Sans Mono', monospace;
  justify-content: center;
  background: #111;
  color: #eee;
/*  transition: background-color 1s ease;*/
  scroll-behavior: smooth;
}

header {
  background-color: #374151;
  color: #e5e7eb;
  padding: 20px;
}

.header2 {
  background-color: #374151;
  color: #e5e7eb;
  padding: 20px;
  text-align: center;
}

.timestamp {
  font-size: 10px;
  margin: 0px;
}

nav {
  padding: 10px;
  text-align: center;
}

nav a {
  color: #f3f4f6;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.nav_mips{
  padding-top:20px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00d9ff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  text-decoration: none;
  color: #eee;
  font-weight: 500;
}

.navbar a:hover {
  color: #00d9ff;
}

.hero {
  height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero span {
  color: #00d9ff;
}

section {
  padding: 40px 10px;
  text-align: center;
}

.projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
/*  margin-top: 1rem;*/
}

.project-card {
  background: #222;
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 10px;
  transition: transform 0.3s cubic-bezier(.95,.05,.8,.04), box-shadow 0.3s ease;
  font-weight: normal; 
  border: 1px solid #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.project-card:hover {
  transform: scale(1.09);
  box-shadow: 0 0 16px rgba(147, 197, 253, 0.9);
  font-weight: bold;
}

.contact {
  max-width: 800px;
  color: #eee;
  padding: 0.2rem;
  text-align: center;
}

.contact p{
  margin-bottom: 0rem;
  margin-top: 1rem;
}

.contact ul li {
  text-decoration: none;
}

.contact a {
  color: #4ac9ff;
  text-decoration: none;
}

.contact a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.highlight {
  background-color: #e5e7eb;
  color: black;
  padding: 10px;
  border-left: 4px solid #3b82f6;
  margin: 10px 0;
  outline: 4px solid rgba(0, 217, 255, 0.4);
  transition: outline 0.5s ease;
}

.highlighted {
  animation: fadeHighlight 2s ease;
}

@keyframes fadeHighlight {
/*  0%   { background-color: rgba(0, 217, 255, 0.2); }*/
  0%   { background-color: #374151; }
  100% { background-color: transparent; }
}

.container {
  padding: 10px;
  max-width: 900px;
  margin: auto;
}

.container_source {
  padding: 5px;
  max-width: 900px;
  margin: auto;
}

.container_about {
  max-width: 1200px;
  margin: auto;
  transition: transform 0.2s cubic-bezier(.95,.05,.8,.04), box-shadow 0.2s ease;
}

.module-list {
  color: #eee;
  list-style: none;
  padding: 0;
}

.module-list li {
  font-weight: normal;
  background: #60a5faaa;
  margin: 15px 0;
  padding: 15px;
  border-left: 7px solid #09ebf2;/*#3b82f6;*/
/*  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);*/
  transition: background-color 0.2s cubic-bezier(.95,.05,.8,.04), box-shadow 0.2s cubic-bezier(.95,.05,.8,.04), transform 0.2s cubic-bezier(.95,.05,.8,.04);
  cursor: pointer;
  color: white;
}

.module-list li:hover {
  font-weight: bold;
  background: #60a5fa;
  box-shadow: 8px 8px 10px rgba(147, 197, 253, 0.7);
  transform: scale(1.03) translateY(-5px);
}

.module-list li.designPatterns {
  background-color: #60a5faaa;
  padding: 2px;
  padding-left: 15px;
}
.module-list li.designPatterns:hover {
  background-color: #60a5fa;
}

/* CREATIONAL (Blue) */
.module-list li.creational_pattern {
  background-color: #3b82f6aa;
  padding: 2px;
  padding-left: 15px;
}
.module-list li.creational_pattern:hover {
  background-color: #3b82f6;
}

/* STRUCTURAL (Gray) */
.module-list li.structural_pattern {
  background-color: #6b7280aa;
  padding: 2px;
  padding-left: 15px;
}
.module-list li.structural_pattern:hover {
  background-color: #6b7280;
}

/* BEHAVIORAL (Green) */
.module-list li.behavioral_pattern {
  background-color: #10b981aa;
  padding: 2px;
  padding-left: 15px;
}
.module-list li.behavioral_pattern:hover {
  background-color: #10b981;
}

.em-highlight-creational {
  background-color: #3b82f6;
  border-radius: 2px;
  color: white;
  padding: 0px 5px;
  font-size: 0.8em;
}

.em-highlight-structural {
  background-color: #6b7280; 
  border-radius: 2px;
  color: white;
  padding: 0px 5px;
  font-size: 0.8em;
}

.em-highlight-behavioral {
  background-color: #10b981;
  border-radius: 2px;
  color: white;
  padding: 0px 5px;
  font-size: 0.8em;
}

.module-list li.oop {
  background-color: #60a5faaa;
  color: white;
}

.module-list li.oop:hover {
  background-color: #60a5fa;
}

.module-list li.solid {
  background-color: #ff2244aa;
  color: white;
}

.module-list li.solid:hover {
  background-color: #ff2244;
}

/* Make links inside module list readable on colored backgrounds */
.module-list li a {
  color: #111;               /* Dark gray text for visibility */
  text-decoration: none;     /* Optional: remove underline */
  font-weight: 500;
  display: block;            /* Make full <li> clickable */
}

/* Optional: Change color on hover */
.module-list li a:hover {
  color: #000;
  text-decoration: none;
}

.pre-creational {
  background-color: transparent; /*#3b82f6;*/
  padding: 1px;
  border-radius: 0px;
  border: 0px solid #d1d5db;
  margin-bottom: 0rem;
  color: white;
  font-size: 1em;
}

.pre-structural {
  background-color: transparent; /* #6b7280aa;*/
  padding: 1px;
  border-radius: 0px;
  border: 0px solid #d1d5db;
  margin-bottom: 0rem;
  color: white;
  font-size: 1em;
}

.pre-behavioral {
  background-color: transparent; /* #10b981aa;*/
  padding: 1px;
  border-radius: 0px;
  border: 0px solid #d1d5db;
  margin-bottom: 0rem;
  color: white;
  font-size: 1em;
}

code {
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

pre {
  background-color: #f3f4f6;
  padding: 15px;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

ol {
  margin-left: 20px;
}

ul {
  margin-left: 20px;
}

.callout {
  background-color: #fef3c7;
  padding: 10px;
  border-left: 4px solid #facc15;
  margin: 10px 0;
  color: black;
}

.footer {
/*  padding: 1rem;*/
  text-align: center;
  background: #000;
  font-size: 0.9rem;
}

footer {
  text-align: center;
/*  margin-top: 40px;*/
  font-size: 0.9em;
  color: #6b7280;
}

.word-container {
  text-align: center;
/*      padding: 100px 20px;*/
  font-size: 1.5em;
}

.word {
  margin: 0 25px;
  opacity: 0.2;
  transition: opacity 1.5s ease, transform 1.5s ease;
  padding: 5px 30px;
  border-radius: 10px;
}

.word.active {
  font-weight: bold;
  opacity: 0.8;
/*  transform: scale(1.2);*/
}

/*div*/
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: -2px;
  border-bottom: none; /* remove bottom border to merge with content box */
  font-size: 1.3em;
}

/*title TAB*/
.tab {
  opacity: 0.2;
  /*padding inside tab title*/
  padding: 5px 60px;
  /*distance between tabs*/
  margin: 0 10px;
  border: 1px solid #ccc;
  border-bottom: none; /* remove bottom border to merge with content box */
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.95,.05,.8,.04), box-shadow 0.2s ease, opacity 0.2s cubic-bezier(.95,.05,.8,.04);
/*  transition: opacity 0.1s cubic-bezier(.95,.05,.8,.04), transform 0.1s cubic-bezier(.95,.05,.8,.04);
/*  transition: background-color 0.3s, transform 0.3s;*/
}

.tab.active {
  font-weight: bold;
  opacity: 0.8;
  transform: scale(1.1);
  border-bottom: none; /* remove bottom border to merge with content box */
  margin-bottom: 5px;  /* visually connect with content box */
  z-index: 2; /* bring tab above content */
}

.tab-content {
  display: none;
  position: relative;
  opacity: 0;
  transition: opacity 0.1s ease;
  border: 1px solid #ccc;
  border-radius: 0 0 8px 8px;
  padding: 10px;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1; /* ensure it's behind the tab */
}    

.tab-content.active {
  display: block;
  opacity: 1;
  text-align: center;
  height: 120px;
}

.tab-content.active p {
  display: inline-block;
  vertical-align: middle;
}

.no-bullets {
  list-style: none; 
  padding-left: 0;
}

.em-highlight {
  background-color: #ffbf00aa;
  border-radius: 2px;
  color: white;
  padding: 0px 5px;
}

.p-text-indent {
  text-indent: 2em;
}

.clickable {
  display: inline-block;
  padding: 0px 2px;
  background-color: #ff2a60aa;
  border-radius: 5px;
  transition: transform 0.2s cubic-bezier(.95,.05,.8,.04), box-shadow 0.2s ease, opacity 0.2s cubic-bezier(.95,.05,.8,.04);
}

.clickable:hover {
  background-color: #ff2a60ff;
  font-weight: bold;
  transform: scale(1.05);
  cursor: pointer;
}

.navItem {
  display: flex;
  padding: 5px 30px;
  border-radius: 0 0 8px 8px;
  transition: transform 0.2s cubic-bezier(.95,.05,.8,.04), box-shadow 0.2s ease, opacity 0.2s cubic-bezier(.95,.05,.8,.04);
  align-items: center;
}

.navItem:hover {
  cursor: pointer;
  background-color: #374151;
  transform: scale(1.05);
}

h1 {
  display: block;
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h3 {
  display: block;
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h4 {
  display: block;
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h5 {
  display: block;
  font-size: .83em;
  margin-top: 1.67em;
  margin-bottom: 1.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h6 {
  display: block;
  font-size: .67em;
  margin-top: 2.33em;
  margin-bottom: 2.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

#container {
  position: relative;
  top: 10px;
/*  display:block;*/
  height: 110%;
}

#label{
  position: absolute;
  top: -10px;
  left: 40px;
  height: 20px;
  /*width: 100%;*/
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgb(12, 12, 43);
  border: 1px solid rgb(228, 225, 248);
  text-align: center;
  font-size: 12px;
  /*border-radius: 15px;*/
  display: inline-block;
  border-radius: 8px;
}

#rcorners2{
/*  border-radius: 15px;*/
  border: 1px solid #009F9F;/*#73AD21;*/
  padding: 10px;
  white-space: pre-wrap;
  color: #fff;
  background-color: #333;/*rgb(48, 48, 54);*/
/*  width: 200px;
  height: 150px;  */
}

.container_about:hover {
  transform: scale(1.3);
}

.hljs-ln-numbers {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    text-align: center;
    color: #ccc;
    border-right: 1px solid #CCC;
    vertical-align: top;
    padding-right: 5px;

    /* your custom style here */
}

/* for block of code */
.hljs-ln-code {
    padding-left: 10px;
}
.flexme {
  display: flex;
  width:90%;
  position: absolute;
  justify-content: safe center;
  flex-wrap: wrap;
}

.wp-content {
  margin-top: 60px;
  margin-left: 75px;
}

.text {
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 120%;
        text-align: center;
        color: white;
        /*background: rgb(26, 20, 61); */
        background: #4d4d4d;
}

/* Remove unde
a:hover {
  text-decoration: none;
}
/* Remove Bootstrap button outline */
button .focus, a .focus {
  outline: 0;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
button:focus, a:focus {
  outline: 0;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

[data-component=navbar] {
  /* Right Menu Dropdowns */
  /* Notification */
  /* Notification Dropdown */
}
[data-component=navbar] .navbar {
  /*background-color: rgb(26, 60, 90) ;*/
  /*background-color: #09a0c0;*/
  background-color: #4d4d4d;
}
[data-component=navbar] .navbar-toggler {
  line-height: 2.4;
  margin-left: 75px;
}
[data-component=navbar] .navbar-toggler span {
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 400;
  font-family: "Lato", sans-serif;
  display: none;
}
[data-component=navbar] .navbar-toggler[aria-expanded=true] {
  color: #009fff;
}
[data-component=navbar] .navbar-toggler[aria-expanded=true] span {
  display: initial;
  color: #009fff;
}
[data-component=navbar] .navbar-toggler[aria-expanded=true] i {
  color: #009fff;
}
[data-component=navbar] .navbar-collapse {
  /*background-color: #292a2c;*/
  /*background-color: #09a0c0;*/
  background-color: #4d4d4d;
  margin-left: 75px;
}
[data-component=navbar] .navbar-nav {
  height: 100vw;
}
[data-component=navbar] .collapsing {
  -webkit-transition: height 0.2s ease;
  -o-transition: height 0.2s ease;
  transition: height 0.2s ease;
}
[data-component=navbar] .navbar-brand {
  /*background-color: rgb(26, 60, 90) ; */
  /*background-color: #09a0c0; */
  background-color: #4d4d4d;
  height: 60px;
  width: 75px;
  text-align: center;
}
[data-component=navbar] ::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

[data-component=navbar] .right-links i {
  color: #000;
  font-size: 20px;
  line-height: 2.8;
}
[data-component=navbar] .home {
  border-right: 1px solid #ababab;
}
[data-component=navbar] .dropdown-toggle::after {
  display: none;
}
[data-component=navbar] .dropdown-item {
  color: #292b2c;
  font-size: 0.75em;
}
[data-component=navbar] .dropdown {
  position: relative;
}
[data-component=navbar] .dropdown span {
  color: #fff;
  position: absolute;
  width: 15px;
  height: 15px;
  top: -8px;
  right: -3px;
  background-color: red;
  border-radius: 50%;
  text-align: center;
  font-size: 0.625em;
  font-weight: 600;
}
[data-component=navbar] .dropdown img {
  border-radius: 50%;
  height: 40px;
}
[data-component=navbar] .list-group .lg {
  height: 500px;
  width: 270px;
  overflow: auto;
}
[data-component=navbar] .list-group .list-group-item {
  border-radius: 0;
  letter-spacing: 0.5px;
}
[data-component=navbar] .list-group h5 {
  font-size: 0.6875em;
  font-weight: 700;
  line-height: 2;
}
[data-component=navbar] .list-group p {
  font-size: 0.5625em;
  font-weight: 400;
  line-height: 2;
}

[data-component=navbar] .megamenu #menuOne, [data-component=navbar] .megamenu #menuTwo, [data-component=navbar] .megamenu #menuThree {
  position: absolute;
  width: 100%;
  z-index: 1;
}
[data-component=navbar] .megamenu .megamenu-links {
  background-color: #EEEEEE;
  height: 100vh;
  overflow: hidden;
}
[data-component=navbar] .megamenu .btn {
  font-size: 0.875em;
  font-weight: 400;
  letter-spacing: 0.5px;
}
[data-component=navbar] .megamenu .btn:hover {
  background-color: #292a2c;
  color: #fff;
}
[data-component=navbar] .megamenu a[aria-expanded=true] .fa-plus {
  display: none;
}
[data-component=navbar] .megamenu a[aria-expanded=false] .fa-minus {
  display: none;
}
[data-component=navbar] .megamenu [aria-expanded=true] {
  background-color: #292a2c;
  color: #fff;
}
[data-component=navbar] .megamenu [aria-expanded=true] i {
  color: #fff;
  font-size: 1.25em;
}
[data-component=navbar] .megamenu [aria-expanded=false] {
  background-color: #eee;
  color: #292a2c;
  border-radius: 0;
}
[data-component=navbar] .megamenu [aria-expanded=false] i {
  color: #009fff;
  font-size: 1.25em;
}
[data-component=navbar] .megamenu .list-group {
  height: 100vw;
  background-color: #292a2c;
}
[data-component=navbar] .megamenu .list-group-item {
  border-radius: 0;
  background-color: #292a2c;
  font-size: 0.75em;
  color: #fff;
}
[data-component=navbar] .megamenu .list-group-item:hover {
  background-color: #009fff;
}

[data-component=sidebar] .sidebar {
  position: fixed;
  z-index: 9999;
}

[data-component=sidebar] .sidebar img {
  width: 75px;
}

[data-component=sidebar] .first-menu:hover img {
  width: 160px;
}

[data-component=sidebar] .first-menu {
  position: fixed;
  background-color: #292a2c;
  height: 100vw;
  width: 75px;
  top: 60px;
  overflow: hidden;
  transition: width 0.2s;
}
[data-component=sidebar] .first-menu a {
  color: #fff;
}
[data-component=sidebar] .first-menu i {
  font-size: 20px;
  color: #fff;
}
[data-component=sidebar] .first-menu span {
  font-size: 14px;
  white-space: nowrap;
  font-family: "Open Sans", sans-serif;
  opacity: 0;
  visibility: hidden;
  color: #fff;
}
[data-component=sidebar] .first-menu:hover span {
  opacity: 1;
  visibility: visible;
}
[data-component=sidebar] .first-menu .list-group-item {
  border-radius: 0;
}
[data-component=sidebar] .first-menu .list-group-item:hover {
  background-color: rgb(6, 70, 120);/*#009f9f;*/
}
[data-component=sidebar] .first-menu:hover {
  width: 260px;
}
[data-component=sidebar] .list-group-item {
  font-size: 14px;
}

[data-component=sidebar] .submenu {
  position: fixed;
  left: 260px;
  width: 195px;
  top: 60px;
  background-color: rgb(6, 70, 120);
  height: 100vw;
  opacity: 0;
  visibility: hidden;
  transition: 50ms opacity 100ms, 100ms visibility 100ms;
}
[data-component=sidebar] .submenu .list-group-item {
  margin-top: 8px;
}
[data-component=sidebar] .first-menu li:hover .submenu {
  visibility: visible;
  opacity: 1;
}
[data-component=sidebar] .sub-submenu {
  position: fixed;
  background-color: #fff;
  left: 455px;
  top: 60px;
  height: 100vw;
  width: 295px;
  opacity: 0;
  visibility: hidden;
  transition: 200ms opacity 200ms, 200ms visibility 200ms;
}
[data-component=sidebar] .sub-submenu a {
  color: #009fff;
}
[data-component=sidebar] .sub-submenu .list-group-item:hover {
  background-color: transparent;
}
[data-component=sidebar] .submenu li:hover .sub-submenu {
  visibility: visible;
  opacity: 1;
}
[data-component=sidebar] .list-group-item {
  background-color: transparent;
  border: none;
  border-radius: 0;
}
[data-component=sidebar] .arrow {
  position: fixed;
  left: 429px;
  width: 0;
  height: 0;
  border-top: 27px solid transparent;
  border-bottom: 27px solid transparent;
  border-right: 27px solid white;
}
[data-component=sidebar] .arrow:nth-child(3) {
  top: 20px;
}


