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

body {
  background: radial-gradient(circle at top, #1a1a1a, #0d0d0d);
  font-family: Inter, "sans-serif";
  color: #eaeaea;
  height: 100vh;
  justify-content: center;
  align-items: center;
  display: block;
}

.dark-mode {
  background: whitesmoke;
  color: black;
  gap: 20px;
}

.header {
  background-color: inherit;
  text-align: center;
  margin: 32px 0;
}

.container {
  display: grid;
  flex-direction: column;
  grid-template-columns: 1fr 1fr 1fr;
  margin: auto;
  gap: 32px;
  width: 90%;
  max-width: 1200px;
}

.card {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  height: 350px;
  display: flex;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-direction: column;
  transition: 0.3s ease;
}

.card:hover {
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.body.dark-mode .card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 16px;
  font-weight: 300;
  color: #ccc;
}

.scroll {
  overflow-y: auto;
  padding-right: 5px;
}

.scroll::-webkit-scrollbar {
  width: 5px;
}

.scroll::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 10px;
}

.item {
  margin-bottom: 15px;
}

.item span {
  color: #888;
  font-size: 14px;
}

.item h4 {
  margin: 5px 0;
  font-size: 16px;
}

.item p {
  font-size: 14px;
  color: #aaa;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: inherit;
  backdrop-filter: blur(10px);
}

.topbar h1 {
  font-weight: 400;
  color: #eaeaea;
}

.left {
  display: flex;
  gap: 12px;
  align-items: center;

}

.profile {
  width: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 1s ease;
}

.profile:hover {
  filter: grayscale(25%);
}

.info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  align-items: flex-start;
}

.info span {
  color: #888;
  font-size: 14px;
}

.boton-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: #eaeaea;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.skills {
  padding: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 10px;

}

.skill {
  text-align: center;
}

.skill img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.10s ease;
}

.skill img:hover {
  filter: grayscale(25%);
}

.skill span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

.footer {
  background-color: inherit;
  text-align: center;
  margin: 32px 0;
  font-size: 14px;
  color: #888;
  position:relative;
  margin-top: 20px;
  padding: 15px 0;
  bottom: 0;
  width: 100vw;
  left: 0;
}