@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;
}


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

.containerProject {
    margin: auto;
    width: 100%;
    height: 100vh;
    position: relative;
   display: flex;
    justify-content: center;
    pointer-events: none;
    
}
.castillo {
    position: relative;
   top:-2%;
   z-index:1;
   pointer-events: auto;
}
.desktop-only-btn, 
#qr-modal-new {
    display: none;
}
#ar-button {

    color: white;
    cursor: pointer;
    pointer-events: auto !important; 
    position: absolute;
    top:60%;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 18px;
    width: 85%;     
    max-width: 200px; 
    font-family: "Host Grotesk", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    z-index: 99999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
   background-color: rgba(134, 134, 134, 0.38);
        display: flex !important;
        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); 
}

#ar-button:hover {
   font-family: 'Soligant', serif;
    background-color: rgba(134, 134, 134, 0.25);
}

#ar-button:active {
    background-color: rgba(134, 134, 134, 0.5);
}


#ar-button::before {
   content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M21 16.5C21 16.88 20.79 17.21 20.47 17.38L12.57 21.82C12.41 21.94 12.21 22 12 22C11.79 22 11.59 21.94 11.43 21.82L3.53 17.38C3.21 17.21 3 16.88 3 16.5V7.5C3 7.12 3.21 6.79 3.53 6.62L11.43 2.18C11.59 2.06 11.79 2 12 2C12.21 2 12.41 2.06 12.57 2.18L20.47 6.62C20.79 6.79 21 7.12 21 7.5V16.5ZM12 4.15L6.04 7.5L12 10.85L17.96 7.5L12 4.15ZM5 15.91L11 19.29V12.58L5 9.21V15.91ZM19 15.91V9.21L13 12.58V19.29L19 15.91Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}



/* El contenedor de la mano */
#ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 175px;
  transform: translateX(-50%);
  z-index: 10; 
  display: none; 
  pointer-events: none;
}


model-viewer[ar-status="session-started"] > #ar-prompt,
.castillo[ar-status="session-started"] > #ar-prompt {
  display: block !important;
}

#ar-prompt img {
  width: 80px;
    animation: 
    circle 3s linear infinite, 
    elongate 2s infinite ease-in-out alternate,
    fade-out 3s forwards;
}

@keyframes fade-out {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes circle {
  from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(-100px); }
  to   { transform: translateX(100px); }
}

.containerProject h1 {
    width: 300px;
    font-family: "Host Grotesk", serif;
    font-weight: 700;
    font-size: 2.5em;
    text-align: center;
    position: absolute;
    top: 40%;
    margin: 0 auto;
     pointer-events: none;
}


.containerProject h2 {
pointer-events: none;
    width: 22rem;
    font-family: "Host Grotesk", serif;
    font-weight: 700;
    font-size: 2.5em;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    top:88%; 
}

.subTitle {

    font-family: 'Soligant', serif;
    font-size: 1.22em;
    font-weight: 400;
    width: 200px;
}




.containerOverview {
    width: 100%;
    margin-top:10%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    flex-wrap: wrap;
        text-shadow: #fff 0.5px 0 1px;
}



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

.overview {
    margin-left: 1em;
}

.overview h3 {
    margin: auto;
    margin-bottom: 1em;
    width: 100%;
    max-width: 380px;
    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-left: 0;
        margin-top: 1rem;
        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: 0.8em;
    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.1em;
}


.thumbnail {
    margin: 18rem 0 0 0;
    
    display: flex;
    align-items: center;
    position: relative;

}

.thumbText {
    margin: 8rem 0 0 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: 0; 
    height: 13em;
    position: absolute;
    left: 54%;
    top: 10em;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
        "a1 a2"
        "a3 a3"
        "a5 a6";

    grid-gap: 3em;
}


.caja1 {
    width: 9em;
    margin-top: -4em;
    margin-left: 1rem;
    grid-area: a1;
}
.caja1 img{
    width: 9em;
   
}

.caja3 {
    width: 9em;
    height: auto;
    margin-left: 1rem;
    margin-top: -1em;
    grid-area: a3;
    display:block;
}
.caja3 img{
    width: 9rem;
   
}
.caja2 {
    width: 9em;
    height: auto;
    margin-left: 1rem;
    margin-top: 6em;
    grid-area: a3;
    display:block;
}
.caja2 img{
    width: 9rem;
   
}

.caja5 {

    width: 9em;
    height: 9em;
    margin-left: 1rem;
    margin-top: 8em;
    grid-area: a5;
}
.caja5 img{
    width: 9em;
}

.caja6 {
   
    width: 9em;
    height: 9em;
    margin-left: -12rem;
    
    margin-top: 1em;
    grid-area: a6;
    display:block;
}
.caja6 img{
    width: 9em;
}



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

.imgEntra video {
    width: 100%;
    margin-top: 0;
    margin-bottom:-1rem;
}



.containerVideo1 {
    margin: 0 auto;
    margin-top: 18%;
    margin-bottom: 4%;
    height: auto; 
    width: 100%;
     transition: all 2s ease;
}

.containerVideo1 video{
    margin: auto;
    width:100%;
    height: auto; 
}
.containerVideo {

    margin: 0;
    margin-top: -4%;
    margin-bottom: 4%;
    height: auto; 
    
    width: 100%;
     transition: all 2s ease;
}

.containerVideo video{
    margin: auto;
    width:100%;
    height: auto; 
}
.containerObjective {
    margin: auto;
    opacity: 1;
    margin-top:5rem;
    
    transition: all 4s;

}
.containerObjective h5, .narrative h5, .integratedText h5 {
   
font-weight: 700;
}
.imgNarrative {
     
    margin: auto;
    width: 100%;
    margin-top:-3%;
    margin-bottom: 6%;
    height: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 1s ease;
}

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


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

}



.narrative {
    margin:5rem auto;
   margin-top:0;
    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;
}



.cajaMobiles {
    margin: auto;
    margin-bottom: 5rem;
    width: 100%;
    height: 41.4rem;
    display:none;
}

.imgM {
    margin: 3em auto;

    width: 35%;
    height: 19.2rem;
}


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


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


.integratedText1{
    margin:  auto;
    margin-bottom:45%;
    opacity: 1;
    transition: opacity 4s; 
    
}
.integratedText1 h5 {
    margin: 2rem 1rem;
    width: 92%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1.2em;
   
}


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


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

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

.nextSection a h2 {
    margin: auto;
    width: auto;
    text-decoration:none;
    font-family: "Host Grotesk", serif;
    font-weight: 300;
    font-size: 2.5em;
    text-align: center;
}

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

        .nextSection a:hover {
            text-decoration:none;
            color: rgba(255, 255, 255, 0.49);
                }
            
    
.nextSubTitle {
    width: 280px;
    font-family: 'Soligant', serif;
    font-size: 1.22em;
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
}

.nextIcon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    position: absolute;
}

.nextIcon img {
    width: 100%;
    height: auto;
    
}
 img {
  opacity: 0;
  transition: opacity 1s ease-in-out; 
}

img.loaded {
  opacity: 1; 
}
 .thumbText,  .containerObjective, .narrative, .integratedText, .nextSection, .footer {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1s ease-out;
}

.containerObjective.visible,  .thumbText.visible,  .narrative.visible, .integratedText.visible, .nextSection.visible, .footer.visible {
    opacity: 1;
  transform: translateY(0); 
}


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


.imgEntra {
    margin: 10rem auto;
    width: 100%;
    height: auto;
}
#ar-button {

    color: white;
    cursor: pointer;
    position: absolute;
    top:60%;
    left: 50%;
    transform: translateX(-50%);
}
}

@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;
}
   
  
    
.castillo {
    width: 200%;
    height: 100vh;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 70%;
    top: -8%;
    transform: translateX(-50%);
}

    #ar-button {
        display: none !important;
    }
    
    .desktop-only-btn {
        width: 240px;
        height: 48px;
        z-index: 2;
        display: flex !important; 
        visibility: visible !important;
        opacity: 1 !important;
        font-family: "Host Grotesk", sans-serif;
        pointer-events: auto !important;
        cursor: pointer;
        font-weight: 700;
        font-size: 16px;
        justify-content: center;
        align-items: center;
        position:absolute;
         top:64%;
        left:0%;
        transform: translateY(-64%);
        padding: 8px 16px;
        color: white;
     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: 5rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    }
.desktop-only-btn:hover {
    font-family: 'Soligant', serif;
    font-size: 18px;
     background-color: rgba(132, 132, 132, 0.20);
}
    #qr-modal-new {
        /* display: flex !important; */
         display: flex ;  
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 10000;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(2px); 
        pointer-events: auto !important;
    }
.modal-hidden {
        display: none !important;
        pointer-events: none !important;
    }
.modal-content-new {
        margin: auto;
        margin-top: 16%;
        padding: 1rem;
        width: 300px;
        height: auto;
           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.4rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background-color: white;
    color: black;
    }
    .modal-content-new h3{
 font-family: "Host Grotesk", serif;
    font-weight: 200;
    text-align: left;
      text-transform: uppercase;
    color: black;
    width: 100%;
    padding:0 1.5rem;
    }
#close-modal-new {
        position: absolute;
        top: 0.2rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        cursor: pointer;
        pointer-events: auto !important;
    }
   
#qr-code-new {
        display: block;
        margin: 1rem auto;
        width: 80%;
        height: auto;
        text-align: center;
    }

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

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

    .subTitle {
        font-family: 'Soligant', serif;
       font-size: clamp(30px, 5.1vw, 68px);
    }


    .containerOverview {
        width: 100%;
        position: static;
        margin: auto;
        margin-top: -18%;
        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-left: 0;
        width: auto;                 
  }
   
    .overview h3 {
        margin: auto;
        width: 100%;
        max-width: 550px;
        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: 18%;
    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: 1rem;
        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 {
        position: static;
        margin: auto;
        padding: 0 ;
        margin-top: 10rem;
        width:100%;
        height: 20rem;
        display: flex;
        align-items: center; 
    }
    
    
    
    /* align-items: flex-start;
    /* Center horizontally 
    z-index:5; */

    .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 {
        position: block;
        width:20%;
        margin: auto;
        margin-left: 3%;      
        top: 130%;    
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "a1 a2"
            "a3 a3"
            "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);   
    }

    .caja3 {
        width: 25em;
        height: auto;
        margin:auto;
        margin-left:-15%;
        margin-top: -24rem;
        grid-area: a3;   
        display:block;
    }
    .caja3 img{
        width: 20em;
    }
    .caja1 {
        position: static;
        width: 20em;
        height: auto;
        margin:auto;
        margin-top: 10rem;
         
        
        grid-area: a1;
    }
    .caja1 img{
        width: 20em;
    }
    

    .caja2 {
        position: static;
        width: 18em;
        height: auto;
        margin:auto;
        margin-right: 50%;
       margin-left: -60%;
        margin-top:-14rem;
        grid-area: a2;
        
       
    }
    .caja2 img{
        width: 18em;
    }

    .caja5 {
        display:static;
        width: 20em;
        height: auto;
        margin-left: 0;
        margin-top: 10rem;
        grid-area: a5;
       
    }

    .caja5 img{
        width: 20em;
    }
    

    .caja6 {
        width: 20em;
        height: auto;
        margin:auto;
        margin-right: 50%;
       margin-left: -60%;  
        margin-top: -2em;
        grid-area: a6;
        display:block;
    }
    .caja6 img{
        width: 20em;
    }
    
    .imgEntra {
        margin: -1rem auto 10rem;
        width: 90%;
        height: auto;     
    }

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

    .containerVideo {
        margin:  auto;
        margin-bottom: auto;
        width: 100%;
        height: 110vh;
        display:flex;
        justify-content:center;
        background-color:rgba(8, 8, 8, 0);
        padding: 1rem auto; 
    }

    .containerVideo video {
        width:  100%;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }


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

    .imgNarrative {
        margin: -1rem auto;
        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;
    }



    .containerObjective1 {
      margin-top:40rem;
      margin-bottom: 20rem;
    }


    .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 {
text-align: left;
width: 35%;
max-width: 50%;
margin: 0;
      }
  


    .cajaVarios {
        margin: auto;
         width: 90%;
    margin-top:-10rem;
    height: 55rem;
        background-color: #ededed;
        display:none;
    }
    
     .cajaVarios img {
        width: 100%;
        height: 100%;
    }

    .cajaMobiles {
        margin: 20rem auto;
        margin-top:10rem;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        perspective: 1800px;
        display:none;
}

.imgM {
    width: 110%;
    height: 110vh;
    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: 20rem auto;
        margin-bottom: 10rem;
         width: 100%;
         height: auto;
         
         box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
         
    }
    
     .resultadoImg video {
        width: 100%;
        height: auto;
        margin-bottom:-10px;
          
    }
   
    .integratedText1 {
       display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem; 
    margin: auto;
    margin-bottom: 8rem;
        }

        .integratedText1 h5 {
         width: 60rem;
         font-family: "Host Grotesk", sans-serif;
        font-weight: 500;
        font-size: 2em;
        margin:  2rem;
        margin-bottom: 0rem;
     }
 
     .integratedText1 h3 {   
         margin-bottom: 1em;
         margin-left: 12em;
         width: 85%;
         font-family: "Host Grotesk", sans-serif;
         font-weight: 300;
         margin: 0 auto;
         text-align: center;
         font-size: 1em; 
      
     }

     .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;
        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', serif;
        font-size: 1.22em;
        text-align: center;
        display: inline;
        z-index:1;
        position: absolute;
        top: 54px;
        left: 50%;
    }


    .nextIcon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        width: 40%;
        height: 90vh;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .nextIcon img {
        width: 100%;
        height: auto;
     
    }
    



    .claseEscalar {
    transform: scale(0.865); /* Aumenta el tamaño en un 20% */
    transition: transform 5s ease-in-out; 
    /* Hace la transición suave */
}
}