body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.contenedor {
  width: 960px;
  margin: 0 auto;
  background-color: #fff;
}


section {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.inicio { height: 600px; }
.acerca { height: 600px; }
.servicios { height: 500px; }
.curriculum { height: 600px; }
.portafolio { height: 1300px; }


.caja-pequena {
  width: 250px;
  height: 100px;
  background-color: #C0C0C0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #A9A9A9;
  padding: 10px;
}

.caja-grande {
  width: 500px;
  height: 100px;
  background-color: #EEE8AA;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px solid #F0E68C;
  padding: 10px;
}

.menu-navegacion {
  display: flex;
  justify-content: space-between; /* Justifica una caja a la izquierda y otra a la derecha */
  align-items: center;
  padding: 10px 40px; /* Espaciado horizontal para que no queden pegadas a los bordes */
  background-color: #708090;
}

.menu-navegacion a:hover {
  background-color: #2563eb;
}

section {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
  text-align: center;
}

.portada h1 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 20px;
}

.portada p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portada img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* sombra opcional */
}

.boton-accion {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.boton-accion:hover {
  background-color: #005fa3;
}

.servicios {
  display: flex;
  justify-content: center;
  gap: 20px; /* espacio entre columnas */
  padding: 20px;
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
  }

.servicios .columna {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servicios .icono {
  width: 315px;
  height: 100px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icono img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.servicios .box {
  width: 315px;
  height: 328px;
  background-color: #ffffff; /* color de fondo opcional */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
}

.curriculum {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
}

.curriculum .columna {
  flex: 1 1 45%;
  margin: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.curriculum .titulo {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333333;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 5px;
}

.curriculum .contenido ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #555555;
}

.curriculum .contenido ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.acerca {
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
}

.foto img {
  width: 400px; /* o el tamaño que prefieras */
  height: 500px;
  float: left;
  border-radius: 10px; /* bordes redondeados opcionales */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* sombra opcional */
}

.texto {
  background-color: #d0d0d0;
  padding: 20px;
  margin-bottom: 10px;
}

.texto-arriba {
padding: 10px;
  margin-bottom: 10px;
  height: 200px;
  width: 450px;
  float: right; 
  font-weight: 500;
  color: #2c3e50;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.texto-abajo {
padding: 10px;
  margin-bottom: 10px;
  height: 330px;
  width: 450px;
  float: right;
  font-weight: 500; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: #2c3e50;
}

.contacto {
  padding: 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.contacto h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.formulario {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario label {
  font-weight: bold;
  text-align: left;
}

.formulario input,
.formulario textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.formulario button {
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.formulario button:hover {
  background-color: #005fa3;
}

.footer {
  display: flex;
  justify-content: space-around;
  background-color: #f3f4f6;
  padding: 20px;
}

.footer-box {
  width: 45%;
  text-align: center;
}