/* Barra de navegacion */

.navbar {
    padding: 2rem;
    background-color: white;
  }
  
  .navbar-collapse {
    align-items: center;
    justify-content: space-between;  
  }
  
  /* Estilos generales */
  
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  h1 {
    font-size: 2.5rem;
    font-family: 'Rubik Dirt', cursive;
  }
  
  .seccion-oscura {
    color: white;
    background-color: #1b1b32;
  }
  
  .seccion-clara {
    color: black;
    background-color: white;
  }
  
  .seccion-titulo {
    font-size: 2rem;
    padding: 15px 0;
    font-family: 'Rubik Dirt', cursive;
  }
  
  .seccion-descripcion {
    font-size: 1.2rem;
    color: #584e4e;
  }
  
  .seccion-texto {
    font-size: 1.2rem;
  }
  
  .btn-info {
    font-size: 1.1rem;
    margin: 20px;
  }
  
  .texto-negro {
    color: black;
  }
  
  .texto-blanco {
    color: white;
  }
  
  /* Seccion Hero */
  
  .hero {
    background-color: white;
    min-height: 400px;
    text-align: center;
  }
  
  .hero-principal {
    padding: 1rem;
  }
  
  .hero-imagen-desarrollador {
    width: 205px;
    height: 210px;
    margin: 20px;
  }
  
  .hero-principal h2 {
    font-size: 1.5rem;
    color: #615151;
  }
  
  /* Sobre mi */
  
  .sobre-mi {
    height: auto;
    padding: 30px;
    text-align: center;
    display: auto;
    justify-content: justify;
    margin-bottom: 20px;
  }
  
  .sobre-mi .contenedor {
    max-width: 905px;
    text-align: center;
    display: block;
    justify-content: justify;
    margin-bottom: 20px;
  }

/* SECTION 2: Skills */
.skills-section {
  padding: 0 50px;
  margin-bottom: 10px;
}

.skills-section h2 {
  text-align: center;
  font-size: 35px;
}

.skills-section .text {
  text-align: center;
  margin-bottom: 100px;
}

.skills-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 200px;
  padding: 10px 10px;
  margin: 10px;
  border: 1.5px solid #d3d3d3;
  border-radius: 5px;
  transition: all 0.2s ease-in;
}

.skills-section .cells .cell:hover {
  color: white; /* Cambia el texto a blanco */
  background-color: #1b1b32; /* Cambia el fondo a azul oscuro */
  border-color: #1b1b32; /* Ajusta el borde para que combine con el fondo */
}

.skills-section .cells .cell img {
  width: 30px;
  height: 40px;
  object-fit: contain;
  border-radius: 2px;
}

.skills-section {
  text-align: center;
  padding: 20px 0; /* Ajusta el padding superior e inferior */
  margin-bottom: 0; /* Elimina el margen inferior */
}

.cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 celdas por fila */
  gap: 20px; /* Espacio entre las celdas */
  justify-content: center; /* Centrar horizontalmente */
  margin: 0 auto; /* Centrar todo el contenedor */
  max-width: 1200px; /* Limitar el ancho máximo */
}

.cell img {
  max-width: 100px; /* Ajustar tamaño máximo de las imágenes */
  height: auto; /* Mantener proporciones */
}

.cell strong {
  margin-top: 0px;
  font-size: 14px;
}

/* Diseño Responsive */
@media (max-width: 768px) {
  .skills-section .cells {
    grid-template-columns: repeat(3, 1fr); /* 3 celdas por fila en pantallas medianas */
    gap: 15px; /* Reduce el espacio entre celdas */
    justify-content: center; /* Centrar horizontalmente */
    margin: 0 auto; /* Centrar todo el contenedor */
    max-width: 1200px; /* Limitar el ancho máximo */
  }

  .skills-section .cells .cell {
    width: 160px; /* Ajusta el ancho de la celda */
  }
}

@media (max-width: 576px) {
  .skills-section .cells {
    grid-template-columns: repeat(2, 1fr); /* 2 celdas por fila en pantallas pequeñas */
    gap: 10px; /* Reduce aún más el espacio entre celdas */
  }

  .skills-section .cells .cell {
    width: 130px; /* Ancho más pequeño */
    height: 60px; /* Altura más pequeña */
    padding: 8px; /* Menor padding */
  }

  .skills-section .cells .cell strong {
    font-size: 12px; /* Texto más pequeño */
  }
}

  /* Experiencia */
  
  .experiencia {
    padding: 40px 40px 20px 40px; /* Ajusta el padding inferior */
}
  .experiencia h2 {
  text-align: center;
  font-size: 35px;
}

  .experiencia .columna {
    padding: 20px;
    border: 2px solid #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: all 0.2s ease-in;
  }
  
  .experiencia .columna:hover {
    color: rgb(255, 255, 255);
    background-color: #1b1b32;
  }
  
  .experiencia i {
    font-size: 2.5rem;
    color: #7ade30;
    background-color: #0a0a23;
    padding: 8px 19px;
    border-radius: 50%;
  }
  
  .experiencia-titulo {
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
  }
  
  .badges-contenedor {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
  }
  
  .badge {
    margin: 5px;
  }
  

  /* Proyectos */
  
  .proyectos-recientes {
    padding: 40px;
  }
  
  .proyectos-recientes h2 {
    text-align: center;
    font-size: 35px;
  }

  .proyectos-recientes img {
    height: 100%;
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;
  }
  
  .proyectos-contenedor {
    padding-top: 60px;
    margin-bottom: 40px;
  }
  
  .overlay {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .overlay p {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 0;
  }
  
  .proyecto {
    position: relative;
  }
  
  .proyecto:hover img {
    opacity: 0.2;
  }
  
  .proyecto:hover .overlay {
    opacity: 1;
  }
  
  .overlay .iconos-contenedor {
    display: flex;
  }
  
  .overlay i {
    color: black;
    font-size: 60px;
    margin: 10px;
  }
  
/* Ajustes para dispositivos móviles */
@media screen and (max-width: 767px) {
  .proyectos-recientes img {
      height: auto;
      width: 100%;
      padding: 3px;
  }

  .proyecto {
      margin-bottom: 10px;
  }

  .overlay p {
      font-size: 18px;
  }

  .overlay i {
      font-size: 40px;
  }

  .col-12 {
      flex: 0 0 100%;
      max-width: 100%;
  }
}
  /* Contacto */
  
  .contacto .container {
    max-width: 1100px;
    min-height: 200px;
    padding: 20px;
  }
  
  .contacto .rectangulo {
    margin-top: -5rem;
    background-color: rgb(13, 110, 253);
    border-radius: 10px;
    box-shadow: 0px 1px 4px 1px white;
  }
  
  .contacto .row {
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .contacto .descripcion {
    color: white;
    font-size: 1.2rem;
  }
  
  .contacto button {
    color: white;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid white;
    padding: 1.25em 2em;
    margin: 10px;
    border-radius: 100px;
    transition: all 0.2s ease-in-out;
  }
  
  .contacto button:hover {
    background-color: white;
    color: black;
  }
  
  .contacto button i {
    color: white;
    font-size: 1.3rem;
    transition: all 0.2s ease-in-out;
  }
  
  .contacto button:hover i {
    color: black;
  }
  
  /* Pie de pagina (footer) */
  
  footer {
    min-height: 500px;
  }
  
  .footer-logo {
    height: 80px;
    width: 80px;
    margin: 10px;
  }
  
  .footer-texto {
    font-size: 1.5rem;
    padding: 10px;
    margin-bottom: 30px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .iconos-redes-sociales a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 10px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.2s ease-in;
  }
  
  .iconos-redes-sociales i {
    color: white;
    font-size: 1.5rem;
    transition: all 0.2s ease-in;
  }
  
  .iconos-redes-sociales a:hover {
    background-color: white;
    border: 2px solid rgb(13, 110, 253);
  }
  
  .iconos-redes-sociales a:hover i {
    color: black;
  }
  
  .derechos-de-autor {
    font-size: 15px;
    color: #aeaeae;
    padding: 20px;
  }
  
  /* Adaptable (Responsivo) */
  
  @media screen and (max-width: 400px) {
    .overlay p {
      font-size: 18px;
    }
  
    .overlay i {
      font-size: 40px;
    }
  }
  
  @media screen and (max-width: 767px) {
    .navbar-brand {
      display: none;
    }
  }
  
  @media screen and (max-width: 800px) {
    .testimonio-imagen {
      height: 120px;
      width: 120px;
    }
  
    .testimonio-texto {
      font-size: 18px;
    }
  }
  
  @media screen and (min-width: 700px) {
    .hero-inferior-imagen {
      max-width: 600px;
    }
  }