/* ============================
   ESTILOS GENERALES
============================ */

html {
  font-family: Arial;
}

/* ===========================
   HEADER / NAVBAR
=========================== */

header {
  margin-top: 10px;
}

.navbar {
  background-color: #d7ff31;
  padding: 10px 30px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap;
  font-family: "Arial", sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.logo-texto {
  display: flex;
  align-items: center;
  gap: 10px;
}

.img-style {
  width: 50px;
  height: auto;
  border-radius: 8px;
}

.texto-logo {
  color: #222;
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

/* ===========================
   NAVEGACIÓN
=========================== */
.navbar-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar-list a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar-list a:hover {
  color: #a420f0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .navbar-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===========================
   MAIN
=========================== */
main {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

main h1 {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 20px;
}

main > p {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

section {
  margin-bottom: 40px;
}

section h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid #a420f0;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

ul {
  margin-left: 20px;
  color: #333;
}

strong {
  color: #a420f0;
}

#user-persona {
  background-color: #f2f2f2;
  padding: 35px 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

#user-persona h2 {
  color: #a420f0;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
}

#user-persona .persona-contenido {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#user-persona article {
  margin-bottom: 25px;
}

#user-persona h3 {
  color: #a420f0;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#user-persona ul {
  margin-left: 25px;
  list-style-type: disc;
  color: #333;
  margin-bottom: 20px;
}

.necesidades {
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.necesidades h3 {
  color: #a420f0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.necesidades li {
  list-style: disc;
  margin-left: 20px;
}

#user-persona .motivacion {
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

#user-persona .motivacion h3 {
  color: #a420f0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.desygn-texto {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
  width: 100%;
}

.desygn-texto img {
  width: 90%;             
  max-width: 1200px;    
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15); 
}

/* ===========================
   FOOTER
=========================== */
footer {
  background-color: #333333;
  color: #f7f7f7;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  padding: 30px 40px;
  border-top: 1px solid #555;
  font-style: oblique;
  width: 100%;
  margin-top: 60px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .navbar-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  main {
    margin: 30px 10px;
    padding: 20px;
  }

  main h1 {
    font-size: 1.4rem;
  }

  section h2 {
    font-size: 1.2rem;
  }

  #user-persona {
    padding: 20px;
  }

  #user-persona .persona-contenido {
    padding: 20px;
  }

  footer {
    font-size: 0.75rem;
  }
}