  .container {
    display: flex;
 
    /* min-height: 100vh; 
    border-bottom: 2px solid black; */
    flex: 1;
  }

 html,body {
    height: 100%;
    margin: 0;

  }
  .col1 {
    flex: 1; /* Todas crecen por igual */
  }
  .col2 {
    flex: 5; /* Todas crecen por igual */
  }
  .col3 {
    flex: 1; /* Todas crecen por igual */
  }

.face-wrapper {
  position: relative;
  width: 1200px;
  height: 765px;
  display: flex;
  
}

/* Estilo común para las fotos */
.img-face {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: clip-path 0.4s ease-in-out;
}

/* Estado inicial: cada una cortada a la mitad */
.face-1 { clip-path: inset(0 50% 0 0); }
.face-2 { clip-path: inset(0 0 0 50%); }

/* Sensores invisibles que detectan el hover */
.sensor {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 10; /* Por encima de las imágenes */
}
.left { left: 0; }
.right { left: 50%; }

/* Lógica de interacción */

/* Si tocas el lado izquierdo: la cara 1 se expande, la 2 desaparece */
.sensor.left:hover ~ .face-1 { 
    clip-path: inset(0 0% 0 0); 
    transition: clip-path 1s ease-in-out;
}
.sensor.left:hover ~ .face-2 { 
    clip-path: inset(0 0 0 100%);  
    transition: clip-path 1s ease-in-out; 
}

/* Si tocas el lado derecho: la cara 2 se expande, la 1 desaparece */
.sensor.right:hover ~ .face-1 { 
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease-in-out; 
}
.sensor.right:hover ~ .face-2 { 
    clip-path: inset(0 0% 0 0); 
    transition: clip-path 1s ease-in-out; 
}
.cv {
  /* 1. Define el alto máximo permitido */
    max-height: 60vh; /* O '80vh' para alto relativo a la pantalla */
    
    /* 2. Activa el scroll vertical solo si es necesario */
    overflow: auto; 
    
    /* Opcional: para evitar que la imagen se deforme si es muy ancha */
    width: 100%; 
}

/* footer {
  background: #f5f5f5;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999; 
  height: auto;
} */

footer {
  height: 100%;
  margin-top: 50px;
  max-height: 100vh;
  display: grid;
  grid-template-columns: 60% 30%;
  grid-template-rows: 100%;
  background-color: black;
  color: white;
  padding: 1%;
  /* min-height: 16vh; */
}

.caja {
  border: 5px solid black;
}

/* .columna30 {
  text-align: center;
  flex-grow: 3;
  color: white;
}

.columna70 {
  flex-grow: 7;
  text-align: center;
  margin-right: 20px;

} */

.ocultar {
  display: none;
}

a {
  color: black;
}

.logo {
  order: 2;
  width: 200px;
  height: auto;
}

.logoCentrado {
  display: flex;
  justify-content: center;
  align-items: center; 
}

.visualizar {
  display: none;
}

.mostrarResponsive {
  display: none;
}

.centrarTexto {
  text-align: center;
}

@media (min-width: 268px) and  (max-width: 1190px) {
  .visualizar {
    display: block;
  }
  .face-wrapper {
    width: 100%;
  }

  .ocultarResponsive {
    display: none;
  }

  .mostrarResponsive {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .centrarImagen {
    display: flex;
  justify-content: center;
  align-items: center; 
  }
  
  footer {
    display: flex;
  justify-content: center;
    height: 100%;
  }
}
@media (min-width: 1190px) and  (max-width: 1158px) {
  .face-wrapper {
    width: 100%;
  }
  .cv {
    overflow-x: hidden;
    object-fit: contain;
    margin: 50px;
    width: 100%; 
}
}





