/* Grouping container for both skills sections */
.skills-sections-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 32px;
  margin-bottom: 32px;
}
.skills-section, .soft-skills-section {
  flex: 1 1 0;
  min-width: 500px;
  max-width: 500px;
  background: #202124;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 28px 18px 18px 18px;
  margin: 0 0;
}
.skills-section .skills-title, .soft-skills-section .skills-title {
  margin-top: 0;
  margin-bottom: 1.5em;
  text-align: center;
  font-size: 1.3rem;
  color: #3ec6e0;
  border: none;
  background: none;
}
@media (max-width: 950px) {
  .skills-sections-container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .skills-section, .soft-skills-section {
    max-width: 100%;
    min-width: 0;
    padding: 22px 8px 12px 8px;
  }
}
/* Soft Skills Section */
.soft-skills {
    margin: 40px auto 0 auto;
    max-width: 700px;
    padding: 24px 0 0 0;
}
.soft-skills-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 0;
}
@media (max-width: 1200px) {
  .skills-list,
  .soft-skills-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .skills-list,
  .soft-skills-list {
    grid-template-columns: 1fr;
  }
}
.soft-skill-item {
    background: #232526;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    padding: 24px 18px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    letter-spacing: 0.01em;
    transition: transform 0.18s, box-shadow 0.18s;
    border: none;
    cursor: default;
}
.soft-skill-item:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 6px 24px rgba(62,198,224,0.18);
    z-index: 2;
}
.soft-skills .skills-title {
    margin-bottom: 0.5em;
    color: #2a2a3a;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: left;
    border-left: 5px solid #4a90e2;
    padding-left: 16px;
    background: none;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181a1b;
    color: #e0e0e0;
    margin: 0;
    min-height: 100vh;
}
.skills-header {
    background: linear-gradient(90deg, #005bea 0%, #3ec6e0 100%);
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.skills-header nav {
    margin-top: 1rem;
}
.skills-header nav a {
    color: #e0f7fa;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.skills-header nav a:hover {
    color: #fff;
    text-decoration: underline;
}
.skills-main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.skills-title {
    color: #3ec6e0;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}
.skill-item {
    background: #232526;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.skill-item img {
    max-width: 38px;
    max-height: 38px;
    display: block;
}
.skill-item:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 6px 24px rgba(62,198,224,0.18);
    z-index: 2;
}
.skill-item[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #232526;
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    pointer-events: none;
    opacity: 0.98;
}
.skills-footer {
    background: #232526;
    color: #b0b0b0;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
}
@media (max-width: 600px) {
    .skills-main {
        padding: 1rem 0.5rem;
    }
    .skills-header nav a {
        margin: 0 0.5rem;
    }
    .skill-item {
        padding: 0.7rem 1rem;
    font-size: 0.9rem;
    }
}
/* Botón de descarga de CV */
.cv-download {
  background: #232323;
  color: #fff !important;
  padding: 8px 18px 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  margin-bottom: 10px;
}
.cv-download:hover, .cv-download:focus {
  background: #e63946;
  color: #fff;
  box-shadow: 0 4px 16px #0002;
  outline: none;
}
.cv-download-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 1px 2px #0002);
  display: inline-block;
  margin: 0;
}