@font-face {
    font-family: 'MiTipografia1';
    src: url(../font/Montreal-Bold.ttf);
}
@font-face {
    font-family: 'MiTipografia2';
    src: url(../Font/Montreal-Regular.ttf);
}
@font-face {
    font-family: 'MiTipografia3';
    src: url(../font/Syne-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'MiTipografia4';
    src: url(../font/PPNeueMontreal-Bold.otf);
}
@font-face {
    font-family: 'MiTipografia5';
    src: url(../font/PPNeueMontreal-Book.otf);
}
@font-face {
    font-family: 'MiTipografia6';
    src: url(../font/PPNeueMontreal-Italic.otf);
}
@font-face {
    font-family: 'MiTipografia7';
    src: url(../font/PPNeueMontreal-Medium.otf);
}
@font-face {
    font-family: 'MiTipografia8';
    src: url(../font/PPNeueMontreal-SemiBolditalic.otf);
}
@font-face {
    font-family: 'MiTipografia9';
    src: url(../font/PPNeueMontreal-Thin.otf);
}
 @font-face {
    font-family: 'Manrope';
    src: url(../font/Manrope-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'Oswald';
    src: url(../font/Oswald-VariableFont_wght.ttf);
}

body, html {
    color: white;
    background-color: black;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Para asegurar que no haya scroll horizontal */
}

/*composicion de banner inicio*/
.contenedor-pr {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    box-sizing: border-box;
    padding-top: 50px
}

.video-fondo {
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Coloca el video detrás del contenido */
}
.imagen_banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgb(0, 0, 0)); /* Degradado negro */
    z-index: 0; /* Coloca el degradado sobre la imagen */
    pointer-events: none; /* Permite interactuar con otros elementos */
}

.contenedor-interno-pr {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bienvenida-pr {
    font-family: 'MiTipografia9';
    font-size: 40px;
    flex: 1;
    text-align: left;
}

.texto-intermedio {
    width: 100%; /* Opcional: ajusta según el diseño */
    margin-top: 20px; /* Espacio superior */
    text-align: center; /* Alinea el texto al centro */
}

.texto-intermedio p{
    padding-top: 30px;
    font-family: 'MiTipografia5';
    font-size: 20px;
}

.texto-intermedio2 {
    width: 100%; /* Opcional: ajusta según el diseño */
    margin-top: 100px; /* Espacio superior */
    margin-bottom: 50px;
    text-align: center; /* Alinea el texto al centro */
}

.texto-intermedio2 p{
    font-family: 'MiTipografia6';
    font-size: 30px;
    line-height: 0.8; 
    margin: 0; 
    display: inline-block;
}


.imagen-bpr {
    flex: 1;
    text-align: right;
}

.imagen-bpr img {
    border-radius: 50%;
    max-width: 70%;
    height: auto;
}
.video-bpr {
    border-radius: 50%;
    max-width: 70%;
    height: auto;
}

.bienvenida-pr {
    background-image: url('../../../img/rectangulo.png');
    font-family: 'MiTipografia9';
    font-size: 40px;
    text-align: center;
    flex: 1;

    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    perspective: 1000px;
}

.titulo_bi{
    transform: rotateX(-10deg) rotateY(5deg); /* Ajusta la perspectiva en los ejes X e Y */
    transform-origin: center; /* Centra el punto de transformación */
    text-align: center; /* Centra el texto */
}
/**/


/* Contenedor principal */
.contenedor-principal-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}/**/

/*botonera*/
.content-branding {
    font-family: 'MiTipografia9';
    display: flex;
    flex-direction: column; /* Alinea los elementos en columna */
    align-items: center; /* Centra los elementos horizontalmente */
    text-align: center; /* Alinea el texto al centro */
    width: 100%;
    padding-top: 80px;
}

.bnt-pr{
    width: 80%;
}

.p-pr{
    font-size: 20px;
    text-align: left;
}

.botonera-branding {
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.branding {
    display: flex;
    flex-direction: row;
    align-items:baseline;
}

.branding a {
    background-color: black;
    margin-right: 20px;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 50px;
    border: 1px solid white;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.seleccionado{
    background-color: white !important;
    color: black !important;
}

.branding a:hover {
    background-color: white;
    color: black;
    transition: 0.2s ease-out;
}

.icono-branding{
    filter: invert(100%);
    width: 50px;
}
.efecto-borde::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Ajusta la posición del subrayado */
    width: 100%;
    height: 2px; /* Ajusta el grosor del subrayado */
    background: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.efecto-borde:hover::after,
.efecto-borde.active::after {
    transform: scaleX(1); /*efecto de subrayado aparicion*/
}
/**/


/* Contenedor de textos e imágenes */
.textos-imagenes {
    padding-top: 100px;
    font-family: 'MiTipografia5';
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ex1 { /* Estilos para cada sección de contenido */
 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    margin-bottom: 20px;
}

.ex1-texts {/* Contenedor de textos dentro de ex1 */
    width: 80%;
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.ex1-text1, .ex1-text2 {/* Estilos para las secciones de texto */
    width: 45%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.ex1-text1 p, .ex1-text2 p {/* Eliminar márgenes de los párrafos */
    margin: 0;
}

.ex1-text1 img, .ex1-text2 img {/* Estilos para imágenes dentro de las secciones */
    width: 100%;
    border-radius: 0 150px 0 0;
}

.aaa {/* Títulos */
    font-family: 'MiTipografia9';
    font-size: 50px;
}

.bbb-1 {/* Subtítulos */
    width: 80%;
    text-align: center;
    font-size: 25px;
    padding-block-end: 40px;
}

.bbb-pc{
    font-size: 25px;
    text-align: left !important;
}

.ex1-text1-pcs{/* Estilos para las secciones de texto */
    width: 45%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.ex1-text1-pcs p {/* Eliminar márgenes de los párrafos */
    margin: 0;
}

.ex1-text1-pcs img{/* Estilos para imágenes dentro de las secciones */
    width: 100%;
    border-radius: 150px 0 0 0;
}

.aaa-izquierda {/* Títulos */
    font-size: 50px;
    text-align: end;
}
/**/


/* div de imagenes y textos */
.imagenes-bran {
    padding-block-end: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    width: 100%;
    height: 90%;
    box-sizing: border-box;
}

.main-container {
    display: flex;
    width: 80%;
    height: 100%;
    justify-content: center;
}

.first-div {
    flex: 2 1 40%; /* Ocupa el 40% del contenedor */
    margin-right: 10px;
    box-sizing: border-box;
}

.second-div {
    display: flex;
    flex-direction: column;
    flex: 1 1 20%; /* Ocupa el 20% del contenedor */
    margin-right: 10px;
    box-sizing: border-box;
}

.third-div {
    flex: 1 1 20%; /* Ocupa el 20% del contenedor */
    box-sizing: border-box;
}

.first-div img, .second-div img, .third-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.second-div-image {
    flex: 1;
}

.second-div-image:last-child {
    margin-bottom: 0; /* Elimina el margen inferior del último elemento */
}

.second-div-image img {
    height: 100%;
    width: 100%;
}

/*div de textos*/
.textos-imagenes{
    padding-top: 100px;
    font-family: 'MiTipografia5';
}

.ex1 {
    width: 100%;
    display: flex;
    justify-content: center; /* Centrar el contenido horizontalmente */
    align-items: center; /* Centrar el contenido verticalmente */
    background-color: black; /* Color de fondo opcional para visualización */
    padding: 20px 0; /* Espaciado opcional para visualización */
    padding-top: 70px;
}

.ex1-texts {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espacio entre los divs hijos */
    background-color: black; /* Color de fondo opcional para visualización */
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Sombra opcional para visualización */
}

.ex1-text1, .ex1-text2 {
    width: 100%; /* Ajustar para tener un pequeño espacio entre los dos divs */
    box-shadow: 0 0 5px rgba(0,0,0,0.1); /* Sombra opcional para visualización */
}

.ex1-text1 p, .ex1-text2 p {
    margin: 0; /* Eliminar márgenes de los párrafos */
}

.ex1-text1{
    padding: 0 50px;
}

.ex1-text1 img {
    border-radius: 150px 0 0 0;
}

.ex1-text2 img {
    border-radius: 0 150px 0 0;
}

.aaa{
    font-size: 50px;
}

.bbb{
    font-family: 'MiTipografia9';
    font-size: 25px;
}

.ex1-text2 img{
    width: 100%;
}

.ex1-text1 img{
    width: 100%;
}
/**/

/*viñeta*/
.linea-con-icono {
    position: relative;
    padding-left: 25px;
    display: inline-block;
    line-height: 1.5; 
}

.linea-con-icono::before {
    content: "\f00c"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px; 
}

/*boton empieza del menu desplegable*/
.boton-empieza{
    font-family: 'MiTipografia5';
    margin: auto;
    width: 160px;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px solid black;
    text-align: center;
}

.boton-empieza:hover{
    background-color: black;
    transition: 0.5s;
    color: white;
}

/*******************************************************ANIMACIONES**************************************************/

/*animacion titulo de subapartados*/
.imagen-bpr {
    animation: slideInFromLeft 1s forwards;
}

.bienvenida-pr h2 {
    opacity: 0;
    animation: fadeIn 1s forwards 1s; /* Inicia después de que la imagen se deslice */
}

.texto-intermedio {
    opacity: 0;
    animation: slideUp 1s forwards 2s; /* Inicia después de que el h2 aparezca */
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*efecto aparicion zoom SIN USAR*/
.efecto1 {
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0.5); 
    opacity: 0;
}
.efecto1.visible {
    transform: scale(1);
    opacity: 1;
}
.ex1-text2-pc {
    position: relative; 
}

/* Contenedor de la imagen, que oculta el desbordamiento */
.zoom-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 45%;
    height: auto;
}
.zoom-wrapper {
    display: inline-block;
    width: 100%; 
    height: auto;
    transition: transform 0.5s ease;
    overflow: hidden; 
    border-radius: 0 150px 0 0;
}

/* Imagen que va a hacer el zoom */
.zoom-image {
    display: block;
    max-width: 100%;
    width: 100%; 
    transition: transform 0.5s ease; 
    transform-origin: center;
    border-radius: 0 150px 0 0;
}
.zoom-wrapper:hover .zoom-image {
    transform: scale(1.2); 
}

/*movimiento de divs izquierdos y derechos*/
.add {
    opacity: 0; 
    transform: translateX(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease; 
}
.add.show {
    opacity: 1; 
    transform: translateX(0); 
}

.ex1 {
    overflow: hidden; 
}
.adi {
    opacity: 0; 
    transform: translateX(100%); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}
.adi.show {
    opacity: 1;
    transform: translateX(0); 
}

/*texto animado hacia arriba*/
.texto-animado {
    transition: transform 1s ease, opacity 1s ease;
    transform: translateY(20px); 
    opacity: 0; 
}
.texto-animado.visible {
    transform: translateY(0); 
    opacity: 1; 
}
.ex1 {
    overflow: hidden; 
}

/*mosaico de imagenes*/
.imagenes-bran img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.imagenes-bran img.visible {
    opacity: 1;
    transform: translateY(0);
}

/*sefecto subida de titulo*/
.emerger {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 2s ease-in-out, opacity 2s ease-in-out;
}

.emerger.animate {
    transform: translateY(0);
    opacity: 1;
}
/*css efecto icono*/
.ee {
    transition: transform 2s ease-in-out;
}

.ee.animate {
    transform: rotate(360deg);
}

/*************************************MEDIA QUERY*************************************/
@media (max-width: 480px) {
    .contenedor-pr {
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }

    .contenedor-interno-pr {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .bienvenida-pr {
        width: 300px;
        margin-top: 100px;
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    .imagen-bpr {
        text-align: center;
        padding-top: 20px;
    }

    .video-bpr {
        max-width: 90%;
        border-radius: 50%;
    }

    .texto-intermedio {
        width:100%;
        margin-top: 60px;
    }

    .texto-intermedio p {
        width: 80%;
        padding-top: 10px;
        font-size: 14px;
        margin: auto;
        text-align: justify;
    }
    .texto-intermedio p br {
        display: none;
    }

    /*frases centradas*/
    .texto-intermedio2 {
        width:100%;
        margin-top: 10px;
        padding-top: 50px;
    }

    .texto-intermedio2 p {
        width: 80%;
        padding-top: 10px;
        font-size: 14px;
        margin: auto;
        text-align: justify;
        line-height: 1;
    }
    .texto-intermedio2 p br {
        display: none;
    }

    /*botonera*/
    .contenedor-principal-branding {
        padding-top: 20px;
    }

    .content-branding {
        padding-top: 20px;
    }

    .bnt-pr {
        width: 100%;
    }

    .p-pr {
        text-align: center;
    }

    .botonera-branding {
        flex-direction: column;
        align-items: center;
    }

    .branding {
        align-items: center;
        width: 80%;
        flex-direction: column;
    }

    .branding a {
        margin-bottom: 10px;
        margin-right: 0;
        width: 90%;
        padding: 10px 20px;
        font-size: 16px;
    }

    .icono-branding {
        display: none;
    }

    /*servicios ofrecidos*/
    .ex1-texts{
        padding-top: 0px;
    }

   .ex1-texts.add {
    flex-direction: column; /* Cambia la dirección del flexbox a columna */
    align-items: center; /* Centra los elementos */
    }

    .ex1-text2 {
        order: 1; /* Cambia el orden para que la imagen aparezca primero */
        width: 100%; /* Ocupa todo el ancho disponible */
        padding-bottom: 20px; /* Espacio inferior entre elementos */
    }

    .ex1-text1 {
        order: 2; /* Cambia el orden para que el título y texto aparezcan después */
        width: 100%; /* Ocupa todo el ancho disponible */
        text-align: center; /* Centra el contenido */
    }

    .aaa {
        font-size: 25px; /* Tamaño de fuente ajustado */
    }

    .bbb {
        font-size: 14px !important; /* Tamaño de fuente ajustado */
        text-align: left; /* Centra el texto */
    }

    .ex1-text2 img{
        border-radius: 20px;
    }

    .textos-imagenes{
        padding-top: 20px;
    }

    /*incluimos...*/
    .ex1-texts.adi {
        padding-top: 50px;
        flex-direction: column; /* Cambia la dirección del flexbox a columna */
    }

    .ex1-text1 {
        order: 1; /* Cambia el orden para que la imagen aparezca primero */
        width: 100%; /* Ocupa todo el ancho disponible */
        padding-bottom: 20px; /* Espacio inferior entre elementos */
        text-align: center; /* Centra la imagen */
    }

    .ex1-text1 img{
        border-radius: 20px;
    }

    .ex1-text2 {
        order: 2; /* Cambia el orden para que el texto aparezca después */
        width: 100%; /* Ocupa todo el ancho disponible */
        text-align: center; /* Centra el texto */
    }

    .bbb.padd {
        padding-left: 0; /* Quita el padding izquierdo */
        text-align: justify; /* Justifica el texto */
    }

    .padd{
        padding-top: 0px !important;
        padding-left: 0px !important;
    }

    .bbb-1{
        font-size: 20px;
    }

    /*portafolio*/
    .main-container {
        display: block; /* Cambia el display a block para la versión móvil */
    }

    .first-div, .second-div, .third-div {
        display: none; /* Oculta todas las divisiones de imagen */
    }

    .first-div {
        margin-right: 0px;
        display: block; /* Muestra solo la primera división de imagen */
    }
}