 body {
  background-color: #f0f0f0; /* Color de fondo predeterminado (modo claro) */
  color: #333; /* Color de texto predeterminado (modo claro) */
}

.dark-mode {
  background-color: #333; /* Color de fondo para modo oscuro */
  color: #f0f0f0; /* Color de texto para modo oscuro */
}
.imagen-redonda {
    width: 200px; /* Ajusta el tamaño según tus necesidades */
    height: 200px; /* Debe ser igual al ancho para mantener la proporción circular */
    border-radius: 50%; /* Hace que las esquinas sean redondeadas hasta formar un círculo */
    object-fit: cover; /* Asegura que la imagen se ajuste bien dentro del contenedor circular */
}

a {
  outline: none;
  text-decoration: none;
  padding: 2px 1px 0;
}

a:link {
  color: #1ABC9C;
}

a:visited {
  color: #437a16;
}

a:focus {
  border-bottom: 1px solid;
  background: #bae498;
}

a:hover {
  border-bottom: 1px solid;
  background: #cdfeaa;
}

a:active {
  background: #265301;
  color: #cdfeaa;
}
 
 /* Estilos del menú */
        .menu {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #333;
            color: white;
            padding: 10px;
        }

        .menu a {
            text-decoration: none;
            color: white;
            margin: 0 10px;
        }

        .menu a:hover {
            color: #ccc;
        }

        /* Estilos del icono de hamburguesa */
        .menu i.fa-bars {
            display: none;
            cursor: pointer;
        }

        /* Estilos del icono de aspa */
        .menu i.fa-times {
            display: none;
            cursor: pointer;
        }
        
        /* Estilos de la lista */
#lista2 {
    counter-reset: li; 
    list-style: none; 
    *list-style: decimal; 
    font: 15px 'trebuchet MS', 'lucida sans';
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

#lista2 ul {
    margin: 0 0 0 2em; 
}

#lista2 li{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;   
}

#lista2 li:hover{
    background: #eee;
}

#lista2 li:hover:before{
    transform: rotate(360deg);  
}

#lista2 li:before{
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: #87ceeb;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}
        
    /* Estilos del contenido */
        .content {
            padding: 20px;
            font-family: Arial, sans-serif;
        }

        .content h2 {
            text-align: center;
            margin-bottom: 20px;
        }

        .content p {
            text-align: justify;
            line-height: 1.5;
        }
        .container {
      display: grid;
      grid-template-columns: 1fr;
      grid-gap: 10px;
    }
    
    .item {
      background-color: #3498db;
      color: #fff;
      padding: 20px;
      text-align: center;
    }
    
        /* Estilos para las imágenes */
        /* Les vamos a bajar la luz un poco pero si pasamos el ratón por encima las vemos normal */
        img {
    display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 80%;
  filter: brightness(.8) contrast(1.2);
  transition: filter .3s;

  &:hover {
    filter: brightness(1) contrast(1);
  }
}
        /* Estilos del footer */   
    footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease; /* Transición suave al cambiar el color */
}

.social-icons a:hover {
  color: #ffcc00; /* Cambia el color al pasar el mouse */
}

.copyright {
  font-size: 14px;
}
        /* Estilos para pantallas pequeñas (menos de 768px) */
        @media screen and (max-width: 768px) {
            /* Ocultar los enlaces del menú y mostrar el icono de hamburguesa */
            .menu a {
                display: none;
            }

            .menu i.fa-bars {
                display: block;
            }

            /* Mostrar el icono de aspa cuando el menú esté abierto */
            .menu.open i.fa-bars {
                display: none;
            }

            .menu.open i.fa-times {
                display: block;
            }

            /* Mostrar los enlaces del menú cuando el menú esté abierto */
            .menu.open a {
                display: block;
            }
            @media(min-width: 780px) {
      .container {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, 1fr);
      }
    }
    

    .item {
      background-color: #3498db;
      color: #fff;
      padding: 20px;
      text-align: center;
    }
    
 /* Estilos del footer */   
    footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease; /* Transición suave al cambiar el color */
}

.social-icons a:hover {
  color: #ffcc00; /* Cambia el color al pasar el mouse */
}

.copyright {
  font-size: 14px;
}

.resaltado { 			
background-color: #BDC3C7; 			
font-weight: bold; 		
}
