/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía general */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding-top: 80px; /* Espacio para navbar fijo */
}

/* NAV PRINCIPAL */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #06520c; /* Verde oscuro consistente */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  color: white;
}

nav .logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

#menu {
  display: flex;
  gap: 25px;
  list-style: none;
  align-self: flex-end; /* 👈 Por si querés solo mover el menú */
  margin-bottom: 0px;   /* Ajustá si querés más separación del borde */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background-color: #06520c;
    width: 200px;
    display: none;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  nav ul.show {
    display: flex;
  }
}

@media (max-width: 768px) {
  #menu {
    display: none !important;
    flex-direction: column;
  }

  #menu.show {
    display: flex !important;
  }
}

/* Estructura general */
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h1, h2, h3, h4 {
  margin-bottom: 15px;
  color: #2e7d32;
}

p {
  margin-bottom: 20px;
}

/* Enlaces */
a {
  color: #2e7d32;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: greenyellow;
}

/* Listas */
ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

ol{
  margin-bottom: 20px;
  padding-left: 20px;
}

ol li {
  margin-bottom: 10px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.card {
  flex: 1 1 30%;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 20px;
  border-radius: 10px;
  min-width: 280px;
  max-width: 31%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.card ul {
  padding-left: 20px;
}

.card ul li {
  font-size: 0.95em;
}


.tiponoti ul {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas iguales */
  gap: 0.5rem 2rem; /* espacio entre filas y columnas */
   padding-left: 50px;
  
}

.columnas {
  column-count: 2;
  column-gap: 2rem; /* espacio entre columnas */
}

/* Imágenes explicativas */
.imagen-explicativa img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

.imagen-explicativados img {
  width: 100%;
  max-width: 650x;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

.imagen-explicativatres img {
  width: 100%;
  max-width: 450px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* Nota informativa */
.note {
  background-color: #e3f2fd;
  padding: 15px;
  border-left: 4px solid #2196f3;
  margin: 1rem 0;
  border-radius: 6px;
}

/* Lista especial para cambiar tarjeta */
.confiTarje li {
  background-color: #ffffff;
  margin-left: 20px;
  padding: 5px;
  border-left: 3px solid #007bff;
  list-style-type: none;
}

/* Responsive general */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }

  main {
    padding: 15px;
  }
}

/*footer*/
.footer {
  background-color: #06520c;
  color: white;
  padding: 30px 20px 20px;
  margin-top: 4px;
  border-top: 5px solid #2e7d32;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}


.footer-copy {
  font-size: 0.9em;
  color: #ccc;
  margin-top: 10px;
}


