@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: 'Soligant';
    src: url('../font/Soligant.ttf') format('truetype'),
        url('../font/Soligant.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
   background-color: #141414;
     color:white;
}


@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}


.containerHero {
    margin: auto;
    width: 100%;
    height: 100vh;
    margin-top:-10rem;
    
}

.containerProject {
    margin: auto;
    width: 100%;
    height: 100vh;
    position: relative;
 display: flex;
    justify-content: center;
    
}

.imgHero {
    margin: auto;
    width: 80%;
    height: 100vh;
    position: absolute;
    top: 10rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.imgHero img {
    width: 60%;
    margin: 0 auto;
}

#ar-button{
    visibility: hidden;
    display: none;   
}

.containerProject h1 {
    width: 370px;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 2.3em;
    text-align: center;
    position: absolute;
    top: 40%;
    margin: auto;
}


.containerProject h2 {
    width: 20rem;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 2.3em;
    text-align: center;
    position: absolute;
    top: 74%;
    margin: 0 auto;
}

.subTitle {
    font-family: 'Soligant', serif;
    font-size: 1.22em;
    width: 200px;
}




.containerOverview {
    width: 100%;
    position: absolute;
   top: 88%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    flex-wrap: wrap;
}



.containerOverview h4 {
    font-family: "Host Grotesk", serif;
    margin: 1em 0;
    margin-bottom: 0.1em;
    font-weight: 200;
    font-size: .7em;
    width: 70%;
    opacity: 0;
    animation: revealText 1.5s ease forwards;
}

.overview {
    margin-left: 1em;

}

.overview h3 {
    margin: auto;
    margin-bottom: 1em;
    width: 100%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;
    opacity: 0;
    animation: revealText 1.5s ease forwards;
    mask-image: url(/img/vecteezy_black-ink.gif);
    mask-size: 100%;
    mask-position: center;
    mask-repeat: no-repeat;
}
.overlay {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: flex-start;
        gap: 3rem;
        height: auto;
       margin: auto;
        margin-top: 1rem;
        margin-left:0rem;

        padding: 0.5rem 0rem;
        z-index: 1;
         /* background-color: rgba(132, 132, 132, 0.29);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.18); */
    } 
.services {
    margin: .5em 1em;
    width: 8em;
}

.services h5 {
    margin: auto 0;
    width: 8em;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 400;
    font-size: 1em;
    opacity: 0;
    animation: revealText 3.5s ease forwards;
}


@keyframes revealText {
    0% {

        opacity: 0;
    }

    100% {

        opacity: 1;
    }
}

.extraInfo {
    margin-top: .5em;
    width: 10em;
}

.extraInfo h5 {
    margin: auto;
    margin-left: 1em;
    width: 8em;
    font-family: "Host Grotesk", serif;
    font-weight: 400;
    font-size: 1em;
    opacity: 0;
    animation: revealText 3.5s ease forwards;
}

.extraInfo h4 {
    margin-left: 1.4em;
}


.thumbnail {
    margin:  auto;
    margin-top: 100%;
    margin-bottom: 30%;
    display: flex;
    align-items: center;
    position: relative;

}

.thumbText {
    margin: 1rem 0;
    opacity: 1;
    transition: all 4s;
}


.thumbText h4 {
    font-family: "Host Grotesk", serif;
    margin: 1rem;
    margin-bottom: 0.1em;
    font-weight: 100;
    font-size: .7em;
    width: 50%;
}



.thumbText h3 {
    margin-bottom: 1em;
    width: 55%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;
}

.thumbImg {

    width: 80%;
    height: 13em;
    position: absolute;
    left: 15%;
    top: 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
        "a2 a1"
        "a6 a5";

    grid-gap: 3em;

}


.caja1 {
    width: 100%;
    margin-top: -4em;
    grid-area: a1;
}
.caja1 img{
    width: 100%;
   
}

.caja2 {
    width: 10em;
    height: 10em;
    margin-left: 1.em;
    margin-top: -1em;
    grid-area: a2;
    display:none;
}
.caja2 img{
    width: 10rem;
   
}

.caja5 {

    width: 100%;
    height: auto;
    margin-top: -3em;
    grid-area: a5;
}
.caja5 img{
    width: 100%;
}

.caja6 {
    width: 12em;
    height: 12em;
    margin-left: 3em;
    margin-top: -2em;
    grid-area: a6;
    display:none;
}


.caja6 img{
    width: 10em;
}



.imgEntra {
    margin: 4% auto;
    width: 92% !important;
    height: auto;
    margin-top:0%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
   transition: all 1s ease-in-out;
}

.imgEntra video {
    width: 100%;
    margin-bottom: -10px;
}

.containerVideo {
    margin: 17% auto;
    margin-bottom: 10%;
    height: auto; 
    width: 100%;
     transition: all 2s ease;
}

.containerVideo video{
    margin: auto;
    width:100%;
    height: auto; 
}
/* .imgNarrative {
     margin: 20% auto;
     margin-bottom: 4%;
    width: 92%;
    height: 16rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* transition: all 3s ease; */
/* }

.imgNarrative img {
    width: 100%;
    height: 16rem;
}  */


h5 {
    margin: auto 1rem;
    width: 12em;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1.2em;

}

.containerObjective {
    margin: 0 auto;
    opacity: 0;
    margin-top:10%;
    transition: all 4s;
}

.narrative {
    margin: auto;
    margin-bottom: 20%;
    opacity: 1;
    transition: all 4s;
}
 

h3 {
    margin: auto;
    margin-bottom: 1em;
    margin-left: 1em;
    width: 92%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;
}

.cajaVarios {
    margin: 20% auto;
   margin-bottom: 10%;
    width: 92%;
    height: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 3s ease;
}


.cajaVarios video {
    width: 100%;
    height: auto;
    margin-bottom: -10px;
}

/* .cajaMobiles {
    margin: auto;
    width: 100%;
    height: auto;
} */

.imgM {
    margin: 3em auto;
    width: 100%;
}


.integrated {
    margin: auto;
    width: 100%;
}

.integratedImg {
    margin: auto;
    padding-top: 8rem;
    width: 92%;
   
}
.integratedImg video {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 3s ease;
}
.integratedText {
    margin: 2rem auto;
    opacity: 0;
    transition: opacity 4s; 
}
.integratedText h3 a{
    cursor:pointer;
    text-decoration:none;
    color: #328806;
    font-weight:600;

}

.integratedText h3 a:hover{
    cursor:pointer;
    text-decoration:none;
    color: black;
    font-size:1.1rem;
    font-family:'Soligant', serif;
    color: #45BF08;
    font-weight:600;
}
/* 
.btn_extra_info{
    margin: auto;
    display:flex;
     justify-content: center;  
      margin-top:0%;
       margin-bottom: 15%; 
}
.btn_extra_info h3 a{
    width: 240px;       
    height: 48px;  
     padding: 0 10px;
  font-size: 14px; 
  line-height:1;
   text-overflow: ellipsis;
 font-weight:600;
  border: none;
   text-decoration: none; 
   cursor: pointer;
   transition: all 0.3s ease;
    background-color: rgba(134, 134, 134, 0.38);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4rem;
        backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: 2px solid rgba(230, 230, 230, 0.33); 
color: white;
} */

.resultadoImg {
    margin: 20% auto;
    margin-bottom:24%;
    width: 92%;
transition: all 3s ease;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.resultadoImg video {
    margin: auto;
    width: 100%;
    margin-bottom: -10px;  
}
/* .resultadoImg1 {
    margin: 5rem auto;
    width: 92%;
transition: all 3s ease;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.resultadoImg1 video {
    margin: auto;
    width: 100%;
} */
.nextSection {
    position: relative;
    margin: auto;
    width: 100%;
    height: 20rem;
}
.nextSection a {
    text-decoration: none;
}

.nextSection h2 {
    margin: 10% auto;
    width: auto;
    font-family: "Host Grotesk", serif;
    font-weight: 300;
    font-size: 2.5em;
    text-align: center;
    color: white;
}

.nextSubTitle {
    width: 280px;
    font-family: 'Soligant', serif;
    font-size: 1.22em;
    position: absolute;
    top: 17%;
    left: 50%;
    transform: translateX(-50%);
}


img, video {
  opacity: 0;
  transition: opacity 1s ease-in-out; 
}

img.loaded, video.loaded {
  opacity: 1; 
}
#aparecerObj, #aparecerInte, #aparecerNarra, .narrative, .integratedText {
    opacity: 0;
    transform: scale(1); 
    transition: opacity 1.5s ease-out, transform 2s ease-out; 
    will-change: transform, opacity;
}

/* 2. Cuando el IntersectionObserver añade la clase para escalar */
.claseEscalar {
    transform: scale(0.865) !important; /* El tamaño reducido que buscas */
    transition: transform 3s ease-in-out;
}

/* 3. Cuando el observador de visibilidad añade 'visible' */
.visible {
    opacity: 1 !important;
}

@media (min-width: 630px) and (max-width: 1079px) {


.imgEntra {
    margin: 10rem auto;
    width: 100%;
    height: auto;
}
}

@media (min-width: 1080px) {


  .containerHero {
     position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    top:0;
}

    .containerProject {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;  
     justify-content: left;
}

    .imgHero {
        width: 40%;
    height: 60%;
   
    margin-left: auto;
    margin-right: auto;
    position: relative;
     top: 0rem;
    left: 50%;
    transform: translateX(-50%);
}

    .imgHero img {

        width: 20%;
    }
    #ar-prompt {
        width: 2.2rem;
        height: 2.2rem;
        
    }

    .containerProject h1 {
     position: absolute;
        width: max-content;
        height: auto;
        margin: auto;
       top: 28%;
        margin-left: 0;
        font-family: "Host Grotesk", serif;
        font-weight: 700;
        font-size: clamp(28px, 5vw, 64px);
        text-align: left;     
    }




   .containerProject h2 {
       position: absolute;
        width: 70%;
        height: auto;
        margin: auto;
        top:40%;
        margin-left:0;
        font-family: "Host Grotesk", serif;
        font-weight: 700;
         font-size: clamp(28px, 5vw, 64px);
        text-align: left;
        z-index: 2;   
       
    }

    .subTitle {
        font-family: 'Soligant';
    }


    .containerOverview {
        width: 100%;
        position: static;
        margin: auto;
        margin-top: -20%;
        margin-left: 0%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start; 
        z-index:5;
     padding:0;

    }

    .containerOverview h4 {
        font-family: "Host Grotesk", serif;
        font-weight: 200;
        margin-bottom:0.4rem;
        font-size:0.8rem;
        
    }

    .overview {
        margin: auto;
        margin-left: 0; 
         margin-top: 0; 
    }

    .overview h3 {
 margin: auto;
        width: 22em;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 2em;
    }
.overlay {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: flex-start;
        gap: 6rem;
        height: auto;
         position: relative;   
    left: 9%;
    margin-top:0%;
    padding:0;
    transform: translateX(-25%);
        z-index: 1;
         /* background-color: rgba(132, 132, 132, 0.29);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.18); */
    }  

   .services {
        margin:  auto;
        margin-left:17%;
        margin-top: 0;
       
    }

    .services h5 {
        margin: auto;
        width: 14em;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 1em;
    }


    .extraInfo  {
        margin:  auto;
        margin-top: 0;
        margin-left: -2%;
    }


    .extraInfo h5 {
        margin: auto;
        width: 14em;
        margin-left: 1.2rem;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 1em;

    }

    .containerBtnScroll {
        margin: auto;
        width: 100%;
        height: 30px;
        bottom: 2rem;
    }

    .btnToScroll {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.2rem;
        width: 8rem;
        height: 2.2rem;
        border-radius: 2rem;
        font-family: "Host Grotesk", sans-serif;
        cursor: pointer;
    }



    .thumbnail {
        margin: 10% auto;
        padding: 0%;
        margin-top: 4%;
        width: 100%;
        height: 20rem;
        display: flex;
        align-items: center;
    }


    .thumbText {
        margin: auto  ;
        position: static;
        margin-left: 8%;
        width: 35rem;
    }

    .thumbText h4 {
        font-family: "Host Grotesk", serif;
        margin-left: 0;
        margin-bottom: 0.5em;
        font-weight: 400;
        font-size: 1rem;
        width: 70%;
    }

    .thumbText h3 {
        margin:auto;
        width: 35rem;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 300;
        font-size: 1em;   
        margin-left: 0;
    }

    .thumbImg {
        width: 45.5em;
        margin:auto;
        height: 13em;
        position: absolute;
        left: 47%;
        top: 20%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-template-areas:
            "a1 a2"
            "a5 a6";

        grid-gap: 1em;
        
    }

    .cajaSube {
        transition: transform 2s ease;
        position: relative;
        transform: translateY(5px);
      
       
    }

    .cajaSube2 {
        transition: transform 3.5s ease-in-out;
        position: relative;
        transform: translateY(2px);
    }

    .caja1 {
        width: 20em;
        height: 13rem;
        overflow: hidden;
        margin-top: -4em;
        margin-left:1rem;
        grid-area: a1;
    }
    .caja1 img{
        width: 20em;
       height: auto;
    }
    

    .caja2 {
        width: 17em;
        height: 17em;
        margin-left: -23em;
        margin-top: 2em;
        grid-area: a2;
        display:block;
    }
    .caja2 img{
        width: 17em;
    }

    .caja5 {
        width: 20em;
        height: 21;
        margin-left: 1em;
        margin-top: 2rem;
        grid-area: a5;
    }

    .caja5 img{
        width: 20em;
    }
    

    .caja6 {
        width: 17em;
        height: 17em;
        margin-left: -23em;
        margin-top: -1em;
        grid-area: a6;
        display:block;
    }
    .caja6 img{
        width: 17em;
    }
    
    .imgEntra {
        margin: 30% auto 10%;
        width: 90%;
        height: auto;
    }

    .imgEntra video {
        width: 100%;
        height: auto;
        margin: auto;
        margin-bottom:-10px;
    }


    .containerVideo {
        margin: 10% auto 10%;
        width: 90%;
        height: auto;    
    }

    .containerVideo video {
         width: 100%;
        height: auto;
        margin: auto;
        margin-bottom:-10px;
    }


    .containerNarrative {
        width: 100%;
        margin: auto;
        height: auto;
        /* transition: all 3s ease-in-out;  */
    }

    /* .imgNarrative {
          margin: 10% auto 10%;
        width: 90%;
        height: auto;
    }
    
     .imgNarrative video {
            width: 100%;
        height: auto;
        margin: auto;
        margin-bottom:-10px;
    } */

    .containerObjective, .integratedText,  .narrative{
        width: 100%;
        margin: 10rem auto;
       max-width: 1200px;
        display: flex;
        justify-content: center;
        align-items: flex-start;    
        text-align: left;
        gap: 8rem;
  
    }

    .containerObjective h5,
    .narrative h5,
    .integratedText h5 {
        flex-shrink: 0;
        width: auto;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 700;
        font-size: 2em;
        margin:  0;

    }


    h3 {
        margin: auto;
        margin-bottom: 1em;  
        width: 35%;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 400;
        font-size: 1em;
    }
  .containerObjective  h3, .narrative h3, .integratedText h3 {
        margin: 0;
text-align: left;
width: 35%;
max-width: 50%;
      }

    .cajaVarios {
    margin: auto;
    width: 90%;
    margin-top:0%;
    margin-bottom: 5%;
    height: auto;
    }
    
     .cajaVarios video {
        width: 100%;
        height: 100%;
        margin-bottom: -10px;
    }

    /* .cajaMobiles {
        margin: 0 auto;
        width: 100%;
                margin-bottom: -10%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1800px;
} */

.imgM {
    width: 100%;
    height: 100%;
    transition: transform 6s ease-in-out;
}
@media (prefers-reduced-motion: no-preference) {
    .imgM {
        transform-origin: center;
        animation: rotate3D linear;
        animation-timeline: view();
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(-60deg);
    }
}

  
    .resultadoImg {
        margin: 15% auto 5%;
         width: 90%;
         height: auto;
    }
    
     .resultadoImg video {
        width: 100%;
        height: auto;
        margin-bottom: -10px;  
    }

    .resultadoImg1 {
        margin: 10rem auto 10rem;
         width: 90%;
         height: 55rem;
        
    }
    
     .resultadoImg1 img {
        width: 100%;
        height: 55rem;
    }
.integratedText{
    margin-bottom: 2%;
}
/* 
.btn_extra_info{
    margin: auto;
    display:flex;
     justify-content: center;  
      margin-top:0%;
       margin-bottom: 15%; 
}
.btn_extra_info h3 {
      margin: 0;
    padding: 0;           
}
.btn_extra_info h3 a{
   margin-left:30%;
   transform:(translateX(-30%));
  text-align: center; 
    width: 300px;        
    height: 48px;  
     padding: 0 20px;
  font-size: 16px; 
  line-height:1;
   text-overflow: ellipsis;
 font-weight:600;
 color: white;
   text-decoration: none; 
   cursor: pointer;
   transition: all 0.3s ease;
    background-color: rgba(134, 134, 134, 0.38);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4rem;
        backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: 2px solid rgba(230, 230, 230, 0.33); 
} 

.btn_extra_info h3 a:hover { 
  opacity: 0.8;
  font-family:'Soligant', serif;

 }
    */
.nextSection {
        margin: auto;
        width: 100%;
        height: 20rem;
        text-align: center;
        position: relative;
    }

    .nextSection a h2 {
        margin: 2.5em auto;
        width: 100%;
        font-family: "Host Grotesk", serif;
        font-weight: 300;
        font-size: 2.5em;
        text-align: center;
        position: absolute;
        top: -4rem;
        color: white;
        z-index:1;
    }

     .nextSection a h2:hover{
        font-family: 'Soligant', serif;
    font-size: 2.6em;
    }

    .nextSection a{
text-decoration:none;
color:white;
    }

    .nextSection a:hover{
        text-decoration:none;
        color: rgba(255, 255, 255, 0.49);
        font-family: 'Soligant', serif;
            }
        

    .nextSubTitle {
        margin: auto;
        margin-left: 0;
        width: 100%;
        font-family: 'Soligant',sans-serif;
        font-size: 1.22em;
        text-align: center;
        display: inline;
        z-index:1;
        position: absolute;
        top: 57px;
    left: 50%;
    transform: translateX(-50%);
    }

   
 
}