/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  color: #333;
}

header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Estilos para la sección de fondo */
.fondo {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fondo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Estilos para la sección inicial (index) */
.inicial {
  max-width: 800px;
  margin: 20px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.Joaco {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.informacion-personal {
  text-align: left;
  margin-top: 20px;
}

.informacion-personal h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.resumen {
  margin-bottom: 20px;
}

.valores {
  text-align: left;
  margin-top: 20px;
}

.valores h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.valores ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Estilos para la sección de proyectos */
.proyectos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  margin-top: 20px;
}

/* Estilos para cada artículo de proyecto */
.proyectos .proyecto {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  max-width: 400px;
  margin: auto;
}

.proyectos .proyecto:hover {
  box-shadow: 0 0 10px rgb(255, 255, 255);
}

/* Ajuste en el tamaño de las imágenes de proyecto */
.proyectos .proyecto .imagen-proyecto {
  width: 100%;
  height: auto;
  max-height: 200px;
}

.texto-proyecto {
  margin-top: 10px;
}

.texto-proyecto h2 {
  margin-bottom: 10px;
}

.texto-proyecto p {
  margin-bottom: 15px;
}

/* Estilos para la sección de comentarios */
.comentarios {
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.comentarios h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.comentarios label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
}

.comentarios input[type="text"],
.comentarios input[type="email"],
.comentarios input[type="tel"],
.comentarios input[type="number"],
.comentarios textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.comentarios textarea {
  resize: vertical;
}

.comentarios button {
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.comentarios button:hover {
  background-color: #555;
}

/* Estilos para el pie de página */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Estilos para la sección de testimonios */
.testimonios {
  padding: 20px;
  background-color: #f0f0f0;
  text-align: center;
  margin-top: 20px;
}

.testimonios h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.testimonio {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  max-width: 600px;
  margin: auto;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimonio p {
  margin-bottom: 10px;
}

.testimonio .autor {
  font-style: italic;
  color: #666;
}
