/* styles.css */


/* Estilos del menú */
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a.active {
  background-color: royalblue;
  color: white;
}

.topnav .icon {
  display: none;
}

/* Hover para enlaces del menú */
.topnav a:hover {
  background-color: #555;
  color: white;
}

/* Estilos de los dropdown */
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Mostrar contenido del dropdown al hacer hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Estilos responsive para pantallas de 600px o menos */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), 
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* Estilo para párrafos */
p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

/* Estilo para listas sin orden (ul) */
ul {
  list-style-type: disc;  /* Tipo de viñeta */
  padding-left: 20px;     /* Sangría para separar viñetas del borde */
  margin-bottom: 20px;
}

/* Estilo para listas ordenadas (ol) */
ol {
  list-style-type: decimal;  /* Números en lugar de viñetas */
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Estilo para cada elemento de lista (li) */
li {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

/* Ejemplo de estilo para enlaces dentro de listas o párrafos */
p a, li a {
  color: royalblue;
  text-decoration: none;
}

p a:hover, li a:hover {
  text-decoration: underline;
}
