@font-face {
    font-family: 'minimalist';
    src: url('../docs/minimalist-font.woff') format('truetype');
}

.inset-4-0 {
    top: 4%;
    left: 0%;
}
.inset-20-75 {
    top: 20%;
    left: 75%;
}
.inset-60-33 {
    top: 60%;
    left: 33%;
}

.content {
    grid-template-rows: auto 3fr auto;
    grid-template-columns: 1fr;
}

.font-mini {
    font-family: 'minimalist', sans-serif;
}

.field-cards {
  background: linear-gradient(to right, #9ca3af 35%, #e5e7eb 60%, #f3f4f6 100%);
  box-shadow: 10px -10px 10px -5px rgb(14 0 0 / 30%);
}
.field-title {
  box-shadow: 10px -10px 10px -5px rgb(14 0 0 / 30%);
}

#cv {
  font-size: 12pt !important;
}

.progress-bar {
  transition: all 2s;
  transition-timing-function: cubic-bezier(0.66, 0.68, 0, 1.24)
}

/* Imagen difuminada del inicio */
.hero {
  position: relative;
  /* overflow: hidden; */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center;
  filter: blur(2.5px);
  z-index: -1;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.carousel img {
  display: none;
}
.carousel img:first-child {
  display: block;
}

/* Contenedor de cada habilidad */
.skill-card {
  position: relative;
  padding: 16px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contenedor de la barra de habilidad */
.progress-bar-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 14px; /* Altura de la barra */
  margin-top: 16px;
  background-color: #e0e0e0; /* Fondo gris claro */
  border-radius: 20px;
  position: relative;
}

/* Estilo para cada cuadro de la barra */
.progress-square {
  width: 10px; /* Tamaño de cada cuadro */
  height: 10px;
  margin: 1px;
  background-color: rgba(239, 68, 68, 0.5); /* Rojo opaco */
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
}

/* Animación de pulso cuando un cuadro se llena */
@keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
      transform: scale(1.2);
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
  }
}

.pulsing {
  animation: pulse 1s ease-in-out;
}

/* Título de la habilidad */
.skill-title {
  font-size: 18px;
  font-weight: 600;
  color: #EF4444;
  margin-top: 12px;
}



.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: rgba(255, 0, 0, 0.5);
  z-index: 50;
  transition: all 0.5s ease;
}

.expanded {
  width: 100vw;
  height: 100vh;
}

.content-hidden {
  visibility: hidden;
}

.me-icons {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}