@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Oleo+Script&family=Sacramento&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");

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

:root {
  --primary-color: #0d1117;
  --secondary-color: #edf3f0;
  --accent-color: rgba(2, 207, 180, 0.986);
  --font-family: "Roboto Mono", monospace;
  --header-logo-family: "Sacramento", serif;

  --header-height: 10vh;
  --sidebar-width: 25%;
  --padding: 1rem;
  --margin: 1rem;
  --sidebar-padding: 5px;
  --transition-duration: 0.5s;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background-color: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(22, 185, 163, 0.452);
  cursor: pointer;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-family);
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  width: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  height: var(--header-height);
  min-width: 100dvw;
  box-sizing: border-box;
  z-index: 1;
  background: rgba(25, 24, 24, 0.05);
  box-shadow: 0 8px 32px 0 rgba(161, 166, 236, 0.07);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: sticky;
  top: 0;
}

.headerLogo {
  font-family: var(--header-logo-family);

  font-size: 20px;
  color: var(--accent-color);
  display: flex;
  flex-direction: start;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 0.5rem;
  font-size: 18px;
  font-family: "Lato", sans-serif;
}

nav a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 1vh 2vw;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.123);
  color: var(--accent-color);
}
nav a:active {
  background-color: rgba(104, 241, 220, 0.1);
  box-shadow: 0 8px 32px 0 rgba(104, 241, 220, 0.1);
  transition: background-color 0.3s ease;
}

.container {
  display: flex;
  flex: 1;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.sidebar {
  max-width: var(--sidebar-width);
  color: var(--secondary-color);
  padding: var(--padding);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(25, 24, 24, 0.05);
  z-index: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: rgba(134, 132, 132, 0.34) 0px 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
  border-top: none;
  min-width: 250px;
  max-width: 350px;
}

.imagePadding {
  padding: 10px;
}

.sidebar img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  padding: 50px;
  object-fit: cover;
  margin-bottom: var(--margin);
}

.sidebar img:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.sidebar h3 {
  margin: var(--margin) 0;
  color: var(--accent-color);

  padding: 0;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.sidebar li {
  margin-bottom: var(--margin);
}

.sidebar p {
  padding-bottom: 5vh;
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 300px;
  margin-bottom: 50px;
}

#radarChart:hover {
  cursor: pointer;
}

.framework-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.social-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4vh;
}

.social-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  box-shadow: rgba(134, 132, 132, 0.089) 0px 3px 8px;
  border: 1px solid rgba(85, 85, 85, 0.18);
  max-width: 300px;
  padding: 2px;
  border-radius: 5em;
}

.social-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s;
}

.social-buttons svg {
  transition: 0.3s;
  height: 20px;
}

.social-buttons svg:hover {
  transform: translateY(-5px);
}

.github {
  background-color: rgba(14, 13, 13, 0.527);
}

.twitter {
  background-color: rgba(14, 13, 13, 0.527);
}

.WhatsApp {
  background-color: rgba(14, 13, 13, 0.527);
}

.email {
  background-color: rgba(14, 13, 13, 0.527);
}

.linkedIn {
  background-color: rgba(14, 13, 13, 0.527);
}

.social-button:hover {
  box-shadow: 0px 0px 6px 3px #cef1c910;
}

.social-button .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 2px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 16px;
}

.social-button.github .tooltiptext {
  margin-left: -30px;
}

.social-button:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.h2-Radar {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  border-top: 2px solid rgba(216, 231, 245, 0.06);
  width: 100%;

  color: var(--accent-color);
  padding-top: 4vh;
  padding-bottom: 2vh;
}

.framework-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  box-shadow: rgba(134, 132, 132, 0.089) 0px 3px 8px;
  border: 1px solid rgba(85, 85, 85, 0.18);
  max-width: 300px;
  padding: 2px;
  border-radius: 5em;
}

.framework-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s;
}

.framework-buttons svg {
  transition: 0.3s;
  height: 20px;
}

.framework-buttons svg:hover {
  transform: translateY(-5px);
}

.NodeJS {
  background-color: rgba(14, 13, 13, 0.527);
}

.Svelte {
  background-color: rgba(14, 13, 13, 0.527);
}

.react {
  background-color: rgba(14, 13, 13, 0.527);
}

.Embedded {
  background-color: rgba(14, 13, 13, 0.527);
}

.framework-button:hover {
  box-shadow: 0px 0px 6px 3px #cef1c910;
}

.framework-button .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 2px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 16px;
}

.framework-button.Svelte .tooltiptext {
  margin-left: -30px;
}

.framework-button:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#about-me p {
  font-size: 0.9375rem;
  color: var(--secondary-color);
  line-height: 1.5;
  width: min(600px, 100%);
  contain: content;
  text-rendering: optimizeLegibility;
  margin: 0 auto;
}

#about-me h2 {
  margin-block: 1rem 2rem;
  font-display: swap;
  font-family: system-ui, -apple-system, "Trebuchet MS", "Segoe UI",
    "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  font-size: 30px;
  color: var(--accent-color);
  padding: 0;
}

main {
  flex: 1;
  padding: var(--padding);
  display: flex;

  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

#projects > h2 {
  padding: 20px;
}

.repo-list {
  margin-top: 6dvh;
  margin-bottom: 2dvh;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: var(--padding);
  width: 100%;
  max-width: 70dvw;
  max-height: auto;
}

.repo-card {
  background: rgba(25, 24, 24, 0.05);
  box-shadow: 0 8px 32px 0 rgba(156, 162, 241, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 10px;
  border: 1px solid rgba(2, 207, 180, 0.205);
  padding: var(--padding);
  transition: transform 0.3s;
}

.repo-card:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 8px 32px 0 rgba(104, 241, 220, 0.1);
}

.repo-card h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
}

.repo-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.repo-card h3:hover::after {
  width: 50%;
}

.repo-card p {
  padding-top: 8px;
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.repo-card .repo-stats {
  display: flex;
  justify-content: start;
  gap: 5px;
}

.repo-card a {
  color: var(--accent-color);
  text-decoration: none;
}

.repo-card .tech-badge {
  font-size: 12px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background-color: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(2, 207, 180, 0.486);
  text-align: center;
  height: fit-content;
  width: fit-content;
  padding: 5px;
}

.repo-card .tech-badge:hover {
  border: none;
  background-color: var(--accent-color);
  color: #212122;
}

.GITHUB {
  width: 100%;
  padding: 10px;
  border-top: 1px solid #302f2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4vh;
}

.GITHUB > h2 {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.github-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 20px;
  width: 100%;
  margin-top: 4dvh;
}

#stat-card {
  background: var(--primary-color);
  box-shadow: 0 8px 32px 0 rgba(104, 241, 220, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(237, 243, 240, 0.18);
  margin: 20px auto;
  padding: 2rem;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

#stat-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    circle,
    rgba(2, 207, 180, 0.14) 0%,
    transparent 70%
  );
  transform: rotate(30deg);
  pointer-events: none;
  animation: shine 3s infinite linear;
}

#stat-card:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(104, 241, 220, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.stat-card-content h3 {
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 2vh;

  font-size: 1.8rem;
  color: var(--secondary-color);
}

.stat-card-content p {
  margin: 0;
  padding-top: 0;
  padding-right: 10px;
  padding-left: 10px;
  color: var(--secondary-color);
  font-size: 1.1rem;
  line-height: 2.5;
}

@keyframes shine {
  0% {
    transform: rotate(2deg) translateY(-100%) translateX(-160%);
  }
  100% {
    transform: rotate(2deg) translateY(100%) translateX(160%);
  }
}

#contribution-graph {
  display: grid;
  grid-template-columns: repeat(40, 18px);

  grid-gap: 4px;
  margin: 20px auto;
  width: auto;
}

.contribution-day {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: rgba(216, 231, 245, 0.06);
  transition: background-color var(--transition-duration),
    transform var(--transition-duration);
  position: relative;
}

.contribution-day:hover {
  cursor: pointer;
  transform: translateY(-5px);
}

.contribution-day[data-level="1"] {
  background-color: #b2ec9b;
}

.contribution-day[data-level="2"] {
  background-color: #7bc96f;
}

.contribution-day[data-level="3"] {
  background-color: #239a3b;
}

.contribution-day[data-level="4"] {
  background-color: #196127;
}

.contribution-day:hover::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 150%;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 1;
}

.icon-repo {
  color: #4caf50;
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.icon-pr {
  color: #2196f3;
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.icon-issue {
  color: #ff9800;
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.sidebarContainer {
  display: flex;
  justify-content: end;
  padding-right: 8px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(216, 231, 245, 0.06);

  box-sizing: border-box;
}

.h2-seperator {
  margin-top: 40px;
  padding: 25px;
  width: 100%;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  text-align: center;
  border-top: 1px solid #302f2f;
}

.container-timeline {
  min-width: 100%;
  max-width: 50vw;
  margin-top: 10dvh;
  margin-bottom: 6dvh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  width: 80%;
  height: auto;
  max-width: auto;
  margin: 0 auto;
  position: relative;
}

.timeline img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 64px;
  max-width: 64px;
  border-radius: 5px;
}

.container-timeline h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 600;
}

.timeline ul {
  list-style: none;
}

.timeline ul li {
  padding: 20px;

  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.5s ease-in-out;
  position: relative;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline ul li:hover {
  cursor: pointer;
  box-shadow: 0 8px 32px 0 rgba(104, 241, 220, 0.1);
}

.timeline ul li:last-child {
  margin-bottom: 0;
}

.timeline-content h1 {
  font-weight: 500;
  font-size: 20px;
  color: var(--accent-color);
  line-height: 30px;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 25px;

  font-optical-sizing: auto;
  font-weight: 400;
}

.timeline-content .date {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.timeline ul li {
  width: 50%;
  position: relative;
  margin-bottom: 50px;
}

.timeline ul li:nth-child(odd) {
  float: left;
  clear: right;
  transform: translateX(-30px);
  border-radius: 20px 0px 20px 20px;
}

.timeline ul li:nth-child(even) {
  float: right;
  clear: left;
  transform: translateX(30px);
  border-radius: 0px 20px 20px 20px;
}

.timeline ul li::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  top: 0px;
}

.timeline ul li:nth-child(odd)::before {
  transform: translate(50%, -50%);
  right: -30px;
}

.timeline ul li:nth-child(even)::before {
  transform: translate(-50%, -50%);
  left: -30px;
}

.timeline-content .date {
  position: absolute;
  top: -30px;
}

.timeline ul li:hover::before {
  background-color: #e6e6e9b7;
  cursor: pointer;
}

.tooltip {
  font-size: 8px;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.918);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 115%;
  left: 30%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.timeline ul li:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tech-badge {
  display: inline-block;
  padding: 4px 8px;
  margin: 2px;
  border-radius: 4px;
  color: var(--secondary-color);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.prof {
  list-style: none;
  color: #16a085;

  text-decoration: none;
}

.prof:hover {
  color: #077962;
  text-decoration: underline;
}

.javascript {
  background-color: #ec940f;
}
.nodejs {
  background-color: #68a063;
}
.reactjs {
  background-color: #20b9e4;
}
.python {
  background-color: #3776ab;
}
.flask {
  background-color: #1f1e1e;
}
.html {
  background-color: #e34c26;
}
.hardware {
  background-color: #6a737d;
}
.maintenance {
  background-color: #4a90e2;
}
.network {
  background-color: #2c3e50;
}
.remote {
  background-color: #3498db;
}
.ros {
  background-color: #22314e;
}
.algorithms {
  background-color: #ff6f61;
}
.sensors {
  background-color: #8e44ad;
}
.solidworks {
  background-color: #ff5733;
}
.cad {
  background-color: #2980b9;
}
.mobile-robotics {
  background-color: #16a085;
}
.css {
  background-color: #289eec;
}

.company-logo-card {
  display: inline-block;
  padding: 0;
  margin-bottom: 10px;
}

.timeline-content .company-logo-card img {
  width: 80px;
  height: 80px;
}

.dual-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.dual-logos img {
  width: 70px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.dual-logos img:hover {
  transform: scale(1.05);
}


.tech-badges {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
}

.tech-badges-mobile {
  display: none;
}

.cardContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 100px;
  width: 80vw;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.card {
  padding: 20px;

  width: 450px;

  margin-top: 4vh;
  border-radius: 20px;
  background: var(--primary-color);
  font-family: var(--font-family);
  box-shadow: rgba(134, 132, 132, 0.34) 0px 3px 8px;

  transition: 0.4s;
  margin-bottom: 6vh;
}

.card:hover {
  translate: 0 -10px;
  box-shadow: 0 8px 32px 0 rgba(104, 241, 220, 0.1);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);

  margin: 15px 0 0 10px;
}

.card-body {
  margin: 13px 0 0 10px;
  color: rgb(184, 184, 184);
  font-size: 15px;
}

@keyframes colorPulseLink {
  0%,
  100% {
    color: #ffffff;
  }
  50% {
    color: var(--accent-color);
  }
}

.doi {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  height: 25px;
  background-color: #778f8b2f;
  border-radius: 4px;
}

.doi a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.5s ease-in-out;
  animation: colorPulseLink 3.5s ease-in-out infinite;
}

.doi:hover {
  cursor: pointer;
  background-color: #69948d62;
}

.doi a:hover {
  animation: none;
}

.card span {
  color: var(--accent-color);
}

.publicationInfo {
  font-size: 18px;
  margin: 10px;
  left: 0;
}

.card-with-tooltip {
  position: relative;
}

.publication-tooltip {
  display: none;
  position: absolute;
  top: -70px;
  left: -125px;
  background-color: rgba(0, 0, 0, 0.959);
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
}

.card-image img {
  display: flex;
  margin: 0 auto 0 auto;
  width: 380px;
  height: 175px;
}

.card-image:hover {
  cursor: pointer;
}

.card-image:hover .publication-tooltip {
  display: block;
}

.footer-class {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  overflow-x: hidden;
}

footer {
  background-color: #0d1117;
  position: relative;
  padding: 3rem 0;
  width: 100%;
}

.container-footer {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.row-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.col-footer {
  min-width: 250px;
  color: var(--secondary-color);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  padding: 2rem;
}

.col-footer .logo-footer {
  width: 100px;
  font-family: var(--header-logo-family);

  font-size: 30px;
  color: var(--accent-color);
  margin-bottom: 6vh;
}

.col-footer h3 {
  color: var(--accent-color);

  font-size: 20px;
  position: relative;
  cursor: pointer;
}

#useful-links-footer h3 {
  margin-bottom: 6vh;
}

.col-footer h3::after {
  content: "";
  height: 3px;
  width: 0px;
  background-color: var(--accent-color);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

.col-footer h3:hover::after {
  width: 30px;
}

.col-footer .social-footer a i {
  color: var(--accent-color);
  margin-top: 2rem;
  font-size: 30px;
  margin-right: 5px;
  transition: 0.3s ease;
}

.col-footer .social-footer a i:hover {
  transform: scale(1.5);
  filter: grayscale(25);
}

.col-footer .links-footer a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  padding-top: 1vh;
  color: var(--secondary-color);
  margin-bottom: 5px;
  position: relative;
  transition: 0.3s ease;
}

.col-footer .links-footer a::before {
  content: "";
  height: 16px;
  width: 3px;
  position: absolute;
  top: 5px;
  left: -10px;
  background-color: var(--accent-color);
  transition: 0.5s ease;
  opacity: 0;
}

.col-footer .links-footer a:hover::before {
  opacity: 1;
}

.col-footer .links-footer a:hover {
  transform: translateX(-8px);
  color: var(--accent-color);
}

.col-footer .contact-details {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 20px;
}

.col-footer .contact-details i {
  margin-right: 15px;
}

.newsletter-card {
  background: rgba(33, 32, 32, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  display: none;
}

.newsletter-card h2 {
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 10px;
}

.newsletter-card p {
  color: var(--secondary-color);
  font-size: 16px;
  margin-bottom: 20px;
}

#company-footer p {
  padding: 0;
  margin: 0;
  text-align: center;
}

.row-footer .form-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.row-footer .form-footer form {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 400px;
}

.row-footer .form-footer input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
  padding: 14px 20px;
  border-radius: 6px 0 0 6px;
  color: var(--secondary-color);
  flex: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.row-footer .form-footer input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

.row-footer .form-footer button {
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 6px 6px 0;
  background-color: var(--accent-color);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.row-footer .form-footer button:hover {
  background-color: darken(var(--accent-color), 10%);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--accent-color);
}

.row-footer .form-footer button i {
  margin-left: 5px;
}

#contact-footer h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12vh;
}

#map {
  margin-top: 2vh;
  height: 150px;
  width: 220px;
  border-radius: 8px;

  box-shadow: 0 15px 40px 0 rgba(104, 241, 220, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.leaflet-control-attribution.leaflet-control {
  display: none;
}

.leaflet-top.leaflet-left {
  display: none;
}

.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive {
  display: flex;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1650px) {
  .github-content {
    padding: 10px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
  }

  #contribution-graph {
    grid-template-columns: repeat(
      35,
      18px
    ); 
  }

  #stat-card {
    max-width: 35vw;

    padding-left: 15px;
    padding-right: 15px;
  }

  .stat-card-content h3 {
    font-size: 25px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 2vh;
  }

  .stat-card-content p {
    font-size: 15px;
  }

  .cardContainer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 80%;
  }
}

@media (max-width: 1550px) {
  .framework-container {
    max-width: 280px;
  }

  .framework-buttons {
    max-width: 280px;
  }

  .framework-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 5px;
  }

  .social-button-container {
    max-width: 280px;
  }

  .social-buttons {
    max-width: 240px;
  }

  .social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 5px;
  }

  #about-me p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 1480px) {

  .github-content {
    padding: 10px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
  }

  #contribution-graph {
    grid-template-columns: repeat(
      30,
      16px
    ); /* Adjust the number of columns as needed */
  }

  #stat-card {
    font-family: sans-serif;
    font-weight: 200;

    display: flex;

    justify-content: center;
    align-items: center;
  }


  .chart-container {
    height: 280px;
  }
}

@media (max-width: 1366px) {
  .github-content {
    padding: 10px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 2fr;
    grid-gap: 10px;
  }

  #contribution-graph {
    grid-template-columns: repeat(
      25,
      16px
    ); /* Adjust the number of columns as needed */
  }

  #stat-card {
    font-family: sans-serif;
    font-weight: 200;
    display: flex;
    justify-content: center;
    align-items: center;

    max-height: fit-content;
  }

  #stat-card h3 {
    font-size: 25px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --sidebar-width: 30%;
  }

  .social-button-container,
  .framework-container,
  .chart-container {
    height: 200px;
  }
}

@media (max-width: 900px) {
  .row-footer {
    flex-direction: column;
  }
  .col-footer {
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
  }

  #contact-footer h3 {
    margin-bottom: 4vh;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
  }

  .container {
    flex-direction: column; 
  }

  .sidebar {
    width: 100%;
    max-width: none;
    min-width: auto;
  }
  .social-button-container,
  .framework-container,
  .chart-container {
    height: 250px; 
    margin-bottom: -2vh;
    padding: 0;
  }

  .imagePadding {
    padding: none;
  }

  nav ul {
    flex-direction: column;
    position: absolute;
    top: var(--header-height); 
    left: 0;
    width: 100%;
    background-color: #000000f8; 
    display: none; 
    padding: 0;
  }

  nav ul.open {
    display: flex;
  }

  nav li {
    margin: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a {
    font-family: var(--font-family);
    font-size: 15px;
    display: block;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
  }

  .menu-toggle:active {
    background-color: rgba(197, 240, 208, 0.062);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .GITHUB {
    padding: 0;
  }

  .github-content {
    padding: 10px;
    justify-content: center;
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }

  #contribution-graph {
    grid-template-columns: repeat(25, 16px);
  }

  #stat-card {
    font-family: sans-serif;
    font-weight: 400;
    display: flex;

    justify-content: center;
    width: 80vw;
    max-width: 100%;
    padding: 15px;
  }

  .stat-card-content h3 {
    margin-bottom: 2vh;
  }

  .stat-card-content p {
    font-size: 15px;
  }

  .repo-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 25px;
  }

  .repo-card {
    padding: 8px;
    max-height: auto;
    max-width: fit-content;
  }

  header {
    font-size: 16px;
    z-index: 1; 
    position: sticky;
    top: 0;
  }

  .container-timeline {
    width: 100%;
    margin-top: 5dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timeline {
    width: 100%;
    max-width: 90%;
    margin-top: 5vh;
  }

  .timeline ul {
    padding: 0;
    margin: 0;
  }

  .timeline ul li {
    width: 100%;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    transform: none;
    position: relative;

    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }

  .timeline ul li:nth-child(odd),
  .timeline ul li:nth-child(even) {
    float: none;
    clear: both;
    transform: none;
    border-radius: 10px;
  }

  .timeline ul li::before {
    content: none;
  }

  .timeline:before {
    content: none;
  }

  .timeline-content h1 {
    font-size: 22px;
    line-height: 26px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .timeline-content .date {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
  }

  .tooltip {
    display: none;
  }

  .company-logo-card {
    display: flex;
    align-items: center;
  }

  .company-logo-card .tech-badges {
    display: none;
  }

  .tech-badges-mobile {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .row-footer {
    flex-direction: column;
    padding: 0;
  }
  .col-footer {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .card {
    padding: 10px;

    max-width: 320px;

    margin-top: 2vh;
    border-radius: 8px;
    background: var(--primary-color);
    font-family: var(--font-family);
    box-shadow: rgba(134, 132, 132, 0.34) 0px 3px 8px;
    transition: 0.4s;
    margin-bottom: 4vh;
  }

  .card .card-title {
    font-size: 16px;
  }

  .card .publicationInfo {
    font-size: 12px;
  }

  .doi {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: fit-content;
    padding: -2px;
    width: fit-content;
    font-size: 10px;
    background-color: #778f8b2f;

    border-radius: 4px;
  }

  .doi span,
  a {
    font-size: 10px;
    padding: 2px;
  }

  .card-image img {
    display: flex;
    margin: 0 auto 0 auto;
    width: 300px;
    height: 145px;
  }

  .card-image:hover .publication-tooltip {
    display: none;
  }

  .timeline-content .company-logo-card img {
    width: 60px;
    height: 60px;
  }

  .newsletter-card h2 {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 5px;
  }

  .newsletter-card p {
    color: var(--secondary-color);
    font-size: 12px;
    margin-bottom: 16px;
  }

  .row-footer .form-footer form {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 300px;
    padding: 0;
  }

  .row-footer .form-footer input {
    padding: 2px;
    text-align: center;
  }

  .row-footer .form-footer button {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 6px 6px 0;
    background-color: var(--accent-color);
    color: #fdfdfd;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;

    max-width: 24vw;
    gap: 2px;
    font-size: 12px;
  }

  .row-footer .form-footer button i {
    margin-left: 2px;
  }

  .col-footer .contact-details {
    display: flex;
    flex-direction: row;
    padding-bottom: 15px;
    justify-content: start;
    align-items: start;
  }

  #about-me p {
    line-height: 1.6;
    font-style: normal;

    margin: 0 auto;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .headerLogo {
    font-size: 15px;
  }

  .repo-card a {
    font-size: 16px;
  }
  .repo-card p {
    font-size: 12px;
  }
  .repo-card .repo-stats p {
    font-size: 10px;
  }

  .repo-card .tech-badge {
    font-size: 10px;

    height: 30px;
  }
}

@media (max-width: 480px) {
  .repo-list {
    grid-template-columns: 1fr;
  }

  #contribution-graph {
    grid-template-columns: repeat(20, 14px);
  }

  .header {
    font-size: 14px;
  }

  .timeline ul li {
    padding: 15px;
    margin-bottom: 50px;
  }

  .timeline-content h1 {
    font-size: 16px;
  }

  .timeline-content p {
    font-size: 12px;
    margin-bottom: -5px;
  }

  .timeline-content .date {
    font-size: 12px;
    font-weight: 400;
  }

  .social-button-container,
  .framework-container,
  .chart-container {
    max-width: 100%;
  }

  .tech-badge {
    display: inline-block;
    padding: 2px;
    margin: 2px;
    margin-bottom: 0;
    border-radius: 4px;
    color: var(--secondary-color);
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
  }

  .doi span,
  a {
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  body {
    min-width: 100vw;
    width: 100%;
  }

  header {
    min-width: 100vw;
  }

  .repo-list {
    grid-template-columns: 1fr;
  }

  #contribution-graph {
    max-height: auto;
    grid-template-columns: repeat(15, 15px);
  }

  .container {
    min-width: 100vw;
    border-left: none;
    border-right: none;
    padding: 0;
  }
  .social-button-container,
  .framework-container,
  .chart-container {
    height: 180px;
  }

  .sidebar img {
    width: 160px;
    height: 160px;
    padding: 12px;
  }

  .h2-Radar {
    font-size: 18px;
  }
}
