@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');



:root {
    --primary-color: #ffa000 ;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --background-color: #f5f5f5;
    --card-background: #ffffff;
    --hover-color: #e0a800;
    --h2-color:#3498db;
  }
  
  body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
  }


/* Navbar */
  .navbar {
    font-family: 'Poppins';
    height: 70px;
  }
  .navbar {
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.8rem;
    color: var(--primary-color) !important;
    font-weight: 400;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: white !important;
    border-color: inherit !important;
  }

  .navbar-nav a.btn {
    height: 30px;
    padding-top: 3px;
  }


/* Letras*/
h2,h1{
    font-family: 'Lobster', cursive;
    color: var(--h2-color);
  }
  h5, h6 {
    font-family: 'Lobster', cursive;
    color: var(--primary-color);
  }

p, li, blockquote{
 color: #1a1a1a;
}

h3, h4{
  color: #1a1a1a;
}





/* Aplicar sangría a los párrafos secundarios en las listas*/

li {
  margin-bottom: 0;
}

/* Aplicar sangría a los párrafos secundarios en las listas */
li {
  text-indent: 0.8em;
  margin-top: 0;
}


.attractive-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background-color 0.9s ease;
}

.button-dionisio {
  background-color: #ffffff;
  color: #000;
  border: 1px solid #ccc; /* Un borde gris claro */
}

.button-apolo {
  background-color: #000000;
  color: #ffffff;

}

.button-dionisio:hover {
  background-color: #000000;
}

.button-apolo:hover {
  background-color: #ffffff;
}

/* fondo de franja significado */

  .bg-warning {
    background-color: var(--primary-color) !important;
  }
  
li {
  font-family: 'Poppins';
  font-size: 15px;
}
/* Tarjetas tecnologias del yo*/

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
  
  .card-img-top {
    height: 390px;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
  }
  
  .card-title {
    color: var(--secondary-color);
    font-weight: 700;
  }
  

/* Color de de boton "ver mas". Letra y borde */  
  .btn-outline-primary {
    color: var(--h2-color);
    border-color: var(--h2-color);
  }
/* Color de de boton "ver mas" al apretarlo */
  .btn-outline-primary:hover {
    background-color: var(--h2-color);
    color: white;
  }





/* Seccion Newendo combate*/

  .pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}
.pillar {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.pillar:hover {
    transform: translateY(-5px);
}
.pillar h4 {
    color: #2c3e50;
    margin-top: 0;
}
.pillar i {
    font-size: 2em;
    margin-bottom: 15px;
    color: #3498db;
}







  /* Seccion Footer*/
  footer {
    background-color: var(--secondary-color);
  }
  
  footer a {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
  }
  
  footer a:hover {
    color: var(--hover-color) !important;
    transform: translateY(-2px);
  }


  .custom-yellow-hover:hover {
    color: #ffd700 !important;
}




  
  @media (max-width: 768px) {

    #logo {
      width: 125px;

    }

    .navbar-nav {
      text-align: center;
    }

    .navbar-collapse {
      background-color: rgba(255, 255, 255, 0.9);
      padding: 0rem;
      border-radius: 0px;
    }
    
    .navbar-nav .nav-link {
      padding: 0.5rem 1rem;
    }

    .card-img-top {
      height: 370px;
  }
  }
  
  /* Animaciones */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .card, .navbar, footer {
    animation: fadeIn 1s ease-out;
  }
  
  /* Mejoras de accesibilidad */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* Estilo para el foco en elementos interactivos */
  a:focus, button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
  }



  /* Estilos para accesibilidad */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}


@media (prefers-color-scheme: dark) {
  :root {
      --background-color: #1a1a1a;
      --text-color: #f0f0f0;
      --card-background: #2a2a2a;
  }

  .bg-white {
      background-color: var(--card-background) !important;
  }

  .text-dark {
      color: var(--text-color) !important;
  }
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline li {
  position: relative;
  margin-bottom: 20px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
}


.timeline li {
  color: black;
}

/* Mejoras de accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Estilo para el foco en elementos interactivos */
a:focus, button:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}



/* Piramide_Nutricional

    /* Estilos personalizados para el gradiente y otros detalles */
    .bg-gradient-warning {
        background: linear-gradient(45deg, #ffc107, #ff9800); /* Adaptado de Bootstrap warning */
        /* O un gradiente más personalizado */
        /* background: linear-gradient(45deg, #FFD700, #FFA500); */
    }
    .card {
        border-radius: 1.5rem !important; /* Bordes más redondeados */
    }
    .figure-img {
        max-height: 400px; /* Limita la altura de la imagen para mejor responsividad */
        object-fit: contain; /* Asegura que la imagen se vea completa */
    }
    .btn-outline-primary {
        transition: all 0.3s ease;
    }
    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: white;
        transform: translateY(-2px); /* Pequeño efecto hover */
    }
    .animate__pulse {
        --animate-duration: 2s; /* Ajusta la duración de la animación */
    }