body {
    font-family: 'Merriweather', serif;
}
}
.contenedorCabecera {
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Merriweather', serif;
}
.navegacion a{
    color: #fff;
    font-family: GOOGLE Fonts 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: inline;
    font-style: normal;
    justify-items: right;
    margin: 0;
    padding: 5px;
    font-family: 'Merriweather', serif;
    font-weight: 100;
    text-decoration: none;
    
    
}

.Cabeceraimagen{
   background-image: url(../../imagenes/ejercicio15CABECERA.jpg);
   background-size: cover;
   background-position: center;
   height: 700px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
}
#Titulo2{
    font-size: 70px;
    text-align: right;    
    padding-top: 200px;
    margin: 0;
    font-family: 'Merriweather', serif;
    font-weight: 100;
}
#Parrafo1{
    text-align: right;
    font-family: 'Merriweather', serif;
}
#Titulo3{
    text-align: center;
    font-size: 50px;
    margin-top: 50px;
    
    font-family: 'Merriweather', serif;
}
#Titulo5{
    text-align: center;
    font-size: 60px;
    margin-top: 50px;
    font-family: 'Merriweather', serif;
    font-weight: 100;
}
#Contenedor3{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    font-family: 'Merriweather', serif;
    font-size: small;
}
#Formulario{
    display: flex;
    flex-direction: column;
    font-family: 'Merriweather', serif;
    text-align: center;
    align-items: center;
    

}

#Nombre , #Email{
    border-radius: 5px;
    width: 760px;
    margin: 10px;
    padding: 10px;
    font-family: 'Merriweather', serif;
}
#Mensaje{
    border-radius: 5px;
    width: 760px;
    height: 200px;
    margin: 10px;
    padding: 10px;
    font-family: 'Merriweather', serif;
}
#BotonEnviar{
    border-radius: 5px;
    width: 780px;
    height: 20px;
    text-align: center;
    align-items: center;
    font-family: 'Merriweather', serif;
}

#Titulo3{
    text-align: center;
    font-size: 50px;
    margin-top: 50px;
    font-weight: 100;
    font-family: 'Merriweather', serif;
}
#Contenedor1{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
    margin: 10px;
    font-family: 'Merriweather', serif;
}
.ParrafoCaja1{
    text-align: left;
    font-family: 'Merriweather', serif;
    font-size: small;
    word-spacing: 5px;
    
}
#Titulo4{
    text-align: center;
    font-size: 3rem; 
    font-family: 'Merriweather', serif;
    background-color: #707070;
    height: 100px;
   font-weight: 100;
    padding-top: 30px;
    margin-bottom: 30px;
    margin: 0;

    
}
#Contenedor2{
    
    background-color: #707070;
    column-count: 2;
    column-gap: 50px;
    padding: 100px;
    text-align: left;
    font-family: 'Merriweather', serif;
    align-content: top  ;
    
    
    
}
.Cabeceraimagen{
  position: relative;
  width: 100%;
  min-height: 70vh !important;
  padding: 80px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: right;
    

  background: url("./img/ejercicio15CABECERA.jpg?v=4") center/cover no-repeat !important;
}

.Cabeceraimagen::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.Cabeceraimagen > *{
  position: relative;
  z-index: 1;
  color: white;
}
/* Evita que el padding rompa el ancho */
* {
  box-sizing: border-box;
}

/* Saca scroll horizontal accidental */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* HERO / CABECERA */
.Cabeceraimagen {
  position: relative;
  width: 100%;
  min-height: 70vh;

  /* Espaciado interno sin romper ancho */
  padding: clamp(60px, 8vw, 100px) clamp(16px, 5vw, 64px);

  /* Texto ordenado dentro de la sección */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  /* Fondo */
  background: url("./img/ejercicio15CABECERA.jpg?v=5") center / cover no-repeat;
}

/* Capa oscura para que el texto se lea */
.Cabeceraimagen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Todo lo de adentro queda por encima del overlay */
.Cabeceraimagen > * {
  position: relative;
  z-index: 1;
  color: white;
}

/* Título: anulamos reglas viejas que lo empujan */
#Titulo2 {
  margin: 0 0 12px 0 !important;
  width: 100%;
  max-width: 700px;

  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  white-space: normal !important;

  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

/* Párrafo */
#Parrafo1 {
  margin: 0 !important;
  width: 100%;
  max-width: 700px;

  font-size: 1rem;
  line-height: 1.5;
  white-space: normal !important;

  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

/* Header */
header{
  width: 100%;
  padding: 16px 24px;
  position: relative;
  z-index: 20; /* por encima del fondo */
}

.contenedor-header{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Título izquierda */
#Titulo1{
  margin: 0;
  color: white;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  white-space: nowrap;
}

/* Nav derecha */
.navegacion{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap; /* si no entra, baja prolijo */
}

.navegacion a{
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.navegacion a:hover{
  opacity: 0.8;
}

/* Evitar scroll horizontal */
html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

*{
  box-sizing: border-box;
}






