/* ===== ELEMENTOS BASE ===== */
.anchor{
  display: none;
}

.lineContainer{
  display: inline-block;
   pointer-events: none;
   flex-wrap:wrap;
}

.line{
   stroke: #ffffff;
   stroke-width: 2;
   stroke-dasharray: 2;
 }

 #container{
position: absolute;
   display: flex;
   justify-content: space-evenly;
   bottom: 60px;
   left: 8px;
   width: 100%;
 }

.label{
   border-radius: 4px;
   border: none;
   box-sizing: border-box;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
   font-size: 12px;
   font-weight: 300;
   max-width: 100px;
   padding: 0.1em 0.4em;
   pointer-events: auto;
   overflow-wrap: break-word;
   background:  #ffffff; /* CORREGIDO: fondo blanco */
   cursor: pointer;
   z-index: 900;
   color: #373737; /* CORREGIDO: texto negro/gris oscuro */
 }

 .label:hover{
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  background:  #373737; /* CORREGIDO: fondo oscuro en hover */
  z-index: 900;
  color: #ffffff; /* CORREGIDO: texto blanco en hover */
}

 /* This keeps child nodes hidden while the element loads */
 :not(:defined) > * {
   display: none;
 }

 #l1 {
   visibility: hidden;
 }
 #l2 {
   visibility: hidden;
 } 
 #l3 {
   visibility: hidden;
 }
 #l4 {
  visibility: hidden;
}
#l5 {
  visibility: hidden;
}
#l6 {
  visibility: hidden;
}
#l7 {
  visibility: hidden;
}
#l8 {
  visibility: hidden;
}
#l9 {
  visibility: hidden;
}
#l10 {
  visibility: hidden;
}
#l11 {
  visibility: hidden;
}
#l12 {
  visibility: hidden;
}
#l13 {
  visibility: hidden;
}
#l14 {
  visibility: hidden;
}

 #hueso { 
 visibility: hidden;
position: fixed;
   justify-content: space-evenly;
   top: 5em;
   height: 2rem;
   left: 20%;
   transform: scale(0.8);
   }
  @media only screen and (max-width: 480px) { #hueso { 
    visibility: hidden;
    position: fixed;
     justify-content: space-evenly;
     top: 10rem;
     height: 2rem;
    left: 0rem;
    transform: scale(0.8);
     }}
  
#Membrana{ 
  visibility: hidden;
  position: fixed;
   justify-content: space-evenly;
   top: 18rem;
   height: 2rem;
   left: 20%;
   transform: scale(0.8);
   }

@media only screen and (max-width: 480px) { #Membrana { 
  visibility: hidden;
  position: fixed;
   justify-content: space-evenly;
   top: 18rem;
   height: 2rem;
   left: 0rem;
   transform: scale(0.8);
   }}

 #Maleo { 
  visibility: hidden;
  position: fixed;
   justify-content: space-evenly;
   top: 32em;
   height: 2rem;
   left: 65%;
   transform: scale(0.8);
   }
@media only screen and (max-width: 480px) { #Maleo { 
  visibility: hidden;
  position: fixed;
   justify-content: space-evenly;
   top: 22rem;
   height: 2rem;
   left: 17rem;
   transform: scale(0.8);
   }}

   #Yunque { 
    visibility: hidden;
    position: fixed;
     justify-content: space-evenly;
     top: 32rem;
     height: 2rem;
     left: 20%;
     transform: scale(0.8);
     }
  
  @media only screen and (max-width: 480px) { #Yunque { 
    visibility: hidden;
    position: fixed;
     justify-content: space-evenly;
     top: 26rem;
     height: 2rem;
     left: 0rem;
     transform: scale(0.8);
     }}

     #venasp{ 
      visibility: hidden;
      position: fixed;
       justify-content: space-evenly;
       top: 16rem;
       width: 170px;
       left: 65%;
       transform: scale(0.8);
       }
    
    @media only screen and (max-width: 480px) { #venasp { 
      visibility: hidden;
      position: fixed;
       justify-content: space-evenly;
       top: 20rem;
       height: 2rem;
       left: 17rem;
       transform: scale(0.8);
       }}

     #venaca{ 
        visibility: hidden;
        position: fixed;
         justify-content: space-evenly;
         top: 27rem;
         height: 2rem;
         left: 65%;
         z-index: 9999;
         pointer-events: auto;
         transform: scale(0.8);
         }
      
      @media only screen and (max-width: 480px) { #venaca { 
        visibility: hidden;
        position: fixed;
         justify-content: space-evenly;
         top: 18rem;
         height: 2rem;
         left: 17rem;
         transform: scale(0.8);
         }}

         #cavainf{
          visibility: hidden;
          position: fixed;
           justify-content: space-evenly;
           top: 22rem;
           height: 2rem;
           left: 20%;
           transform: scale(0.8);
           }
        
        @media only screen and (max-width: 480px) { #cavainf { 
          visibility: hidden;
          position: fixed;
           justify-content: space-evenly;
           top: 14rem;
           height: 2rem;
           left: 0%;
           transform: scale(0.8);
           }}

           #acoro{
            visibility: hidden;
            position: fixed;
             justify-content: space-evenly;
             top: 50em;
             height: 2rem;
             left: 65%;
             transform: scale(0.8);
             }
          
          @media only screen and (max-width: 480px) { #acoro { 
            visibility: hidden;
            position: fixed;
             justify-content: space-evenly;
             top: 30rem;
             height: 1rem;
             left: 17rem;
             transform: scale(0.8);
             }}
             #venant{
              visibility: hidden;
              position: fixed;
               justify-content: space-evenly;
               top: 55em;
               height: 2rem;
               left: 65%;
               transform: scale(0.8);
               }
            
            @media only screen and (max-width: 480px) { #venant{ 
              visibility: hidden;
              position: fixed;
               justify-content: space-evenly;
               top: 36rem;
               height: 2rem;
               left: 0rem;
               transform: scale(0.8);
               }}

               #sigma{
                visibility: hidden;
                position: fixed;
                 justify-content: space-evenly;
                 top: 46em;
                 height: 2rem;
                 left: 65%;
                 transform: scale(0.8);
                 }
              
              @media only screen and (max-width: 480px) { #sigma{ 
                visibility: hidden;
                position: fixed;
                 justify-content: space-evenly;
                 top: 26rem;
                 height: 2rem;
                 left: 17rem;
                 transform: scale(0.8);
                 }}

                 #cola{
                  visibility: hidden;
                  position: fixed;
                   justify-content: space-evenly;
                   top: 43em;
                   height: 2rem;
                   left: 65%;
                   transform: scale(0.8);
                   }
                
                @media only screen and (max-width: 480px) { #cola{ 
                  visibility: hidden;
                  position: fixed;
                   justify-content: space-evenly;
                   top: 28rem;
                   height: 2rem;
                   left: 17rem;
                   transform: scale(0.8);
                   }}

                   #cie{
                    visibility: hidden;
                    position: fixed;
                     justify-content: space-evenly;
                     top: 50em;
                     height: 2rem;
                     left: 20%;
                     transform: scale(0.8);
                     }
                  
                  @media only screen and (max-width: 480px) { #cie{ 
                    visibility: hidden;
                    position: fixed;
                     justify-content: space-evenly;
                     top: 22rem;
                     height: 2rem;
                     left: 0rem;
                     transform: scale(0.8);
                     }}

            #artem{
                visibility: hidden;
                position: fixed;
                 justify-content: space-evenly;
                 top: 33em;
                 height: 2rem;
                 left: 20%;
                 transform: scale(0.8);
                 }
              
              @media only screen and (max-width: 480px) { #artem{ 
                visibility: hidden;
                position: fixed;
                 justify-content: space-evenly;
                 top: 28rem;
                 height: 2rem;
                 left: 0rem;
                 transform: scale(0.8);
                 }}
            #venpuld{
                  visibility: hidden;
                  position: fixed;
                   justify-content: space-evenly;
                   top: 20em;
                   height: 2rem;
                   left: 20%;
                   transform: scale(0.8);
                   }
                
                @media only screen and (max-width: 480px) { #venpuld{ 
                  visibility: hidden;
                  position: fixed;
                   justify-content: space-evenly;
                   top: 16rem;
                   height: 2rem;
                   left: 0rem !important;
                   transform: scale(0.8);
                   }}
                   #arcin{
                    visibility: hidden;
                    position: fixed;
                     justify-content: space-evenly;
                     top: 5rem;
                     height: 2rem;
                     left: 65%;
                     transform: scale(0.8);
                     }
                  
                  @media only screen and (max-width: 480px) { #arcin{ 
                    visibility: hidden;
                    position: fixed;
                     justify-content: space-evenly;
                     top: 16rem;
                     height: 2rem;
                     left: 17rem;
                     transform: scale(0.8);
                     }}
                     
                     #pala{
                      visibility: hidden;
                      position: fixed;
                       justify-content: space-evenly;
                       top: 10rem;
                       height: 2rem;
                       left: 65%;
                       transform: scale(0.8);
                       }
                    
                    @media only screen and (max-width: 480px) { #pala{ 
                      visibility: hidden;
                      position: fixed;
                       justify-content: space-evenly;
                       top: 12rem;
                       height: 2rem;
                       left: 17rem;
                       transform: scale(0.8);
                       }}
                       #uvula{
                        visibility: hidden;
                        position: fixed;
                         justify-content: space-evenly;
                         top: 8rem;
                         height: 2rem;
                         left: 65%;
                         transform: scale(0.8);
                         }
                      
                      @media only screen and (max-width: 480px) { #uvula{ 
                        visibility: hidden;
                        position: fixed;
                         justify-content: space-evenly;
                         top: 10rem;
                         height: 2rem;
                         left: 17rem;
                         transform: scale(0.8);
                         }}
                         #lengu{
                          visibility: hidden;
                          position: fixed;
                           justify-content: space-evenly;
                           top: 12rem;
                           height: 2rem;
                           left: 65%;
                           transform: scale(0.8);
                           }
                        
                        @media only screen and (max-width: 480px) { #lengu{ 
                          visibility: hidden;
                          position: fixed;
                           justify-content: space-evenly;
                           top: 12rem;
                           height: 2rem;
                           left: 0rem;
                           transform: scale(0.8);
                           }}

                           #sub{
                            visibility: hidden;
                            position: fixed;
                             justify-content: space-evenly;
                             top: 16rem;
                             height: 2rem;
                             left: 65%;
                             transform: scale(0.8);
                             }
                          
                          @media only screen and (max-width: 480px) { #sub{ 
                            visibility: hidden;
                            position: fixed;
                             justify-content: space-evenly;
                             top: 14rem;
                             height: 2rem;
                             left: 17rem;
                             transform: scale(0.8);
                             }}
                             #apen{
                              visibility: hidden;
                              position: fixed;
                               justify-content: space-evenly;
                               top: 40rem;
                               height: 2rem;
                               left: 20%;
                               transform: scale(0.8);
                               }
                            
                            @media only screen and (max-width: 480px) { #apen{ 
                              visibility: hidden;
                              position: fixed;
                               justify-content: space-evenly;
                               top: 34rem;
                               height: 2rem;
                               left: 0rem;
                               transform: scale(0.8);
                               }}

                               #cond{
                                visibility: hidden;
                                position: fixed;
                                 justify-content: space-evenly;
                                 top: 20rem;
                                 height: 2rem;
                                 left: 65%;
                                 transform: scale(0.8);
                                 }
                              
                              @media only screen and (max-width: 480px) { #cond{ 
                                visibility: hidden;
                                position: fixed;
                                 justify-content: space-evenly;
                                 top: 24rem;
                                 height: 2rem;
                                 left: 0rem;
                                 transform: scale(0.8);
                                 }}
                                 #duo{
                                  visibility: hidden;
                                  position: fixed;
                                   justify-content: space-evenly;
                                   top: 28rem;
                                   height: 2rem;
                                   left: 20%;
                                   transform: scale(0.8);
                                   }
                                
                                @media only screen and (max-width: 480px) { #duo{ 
                                  visibility: hidden;
                                  position: fixed;
                                   justify-content: space-evenly;
                                   top: 20rem;
                                   height: 2rem;
                                   left: 0rem;
                                   transform: scale(0.8);
                                   }}
                                   #ile{
                                    visibility: hidden;
                                    position: fixed;
                                     justify-content: space-evenly;
                                     top: 35rem;
                                     height: 2rem;
                                     left: 20%;
                                     transform: scale(0.8);
                                     }
                                  
                                  @media only screen and (max-width: 480px) { #ile{ 
                                    visibility: hidden;
                                    position: fixed;
                                     justify-content: space-evenly;
                                     top: 32rem;
                                     height: 2rem;
                                     left: 0rem;
                                     transform: scale(0.8);
                                     }}

                                     #yeyu{
                                      visibility: hidden;
                                      position: fixed;
                                       justify-content: space-evenly;
                                       top: 30rem;
                                       height: 2rem;
                                       left: 65%;
                                       transform: scale(0.8);
                                       }
                                    
                                    @media only screen and (max-width: 480px) { #yeyu{ 
                                      visibility: hidden;
                                      position: fixed;
                                       justify-content: space-evenly;
                                       top: 24rem;
                                       height: 2rem;
                                       left: 17rem;
                                       transform: scale(0.8);
                                       }}

                                       #colon{
                                        visibility: hidden;
                                        position: fixed;
                                         justify-content: space-evenly;
                                         top: 30rem;
                                         height: 2rem;
                                         left: 20%;
                                         transform: scale(0.8);
                                         }
                                      
                                      @media only screen and (max-width: 480px) { #colon{ 
                                        visibility: hidden;
                                        position: fixed;
                                         justify-content: space-evenly;
                                         top: 30rem;
                                         height: 2rem;
                                         left: 0rem;
                                         transform: scale(0.8);
                                         }}

                                 
                     #vpulm{
                      visibility: hidden;
                      position: fixed;
                       justify-content: space-evenly;
                       top: 13rem;
                       left: 65%;
                       transform: scale(0.8);
                       }
                    
                    @media only screen and (max-width: 480px) { #vpulm{ 
                      visibility: hidden;
                      position: fixed;
                       justify-content: space-evenly;
                       top: 15em;
                       height: 2rem;
                       left: 7rem;
                       transform: scale(0.8);
                       }}
                       #vaor{
                        visibility: hidden;
                        position: fixed;
                         justify-content: space-evenly;
                         top: 23rem;
                         transform: scale(0.8);
                         left: 65%;
                         }
                      
                      @media only screen and (max-width: 480px) { #vaor{ 
                        visibility: hidden;
                        position: fixed;
                         justify-content: space-evenly;
                         top: 25rem !important;
                         height: 2rem;
                         left: 17rem !important;
                         transform: scale(0.8);
                         }}

                         #valmit{
                          visibility: hidden;
                          position: fixed;
                           justify-content: space-evenly;
                           top: 20rem;
                           transform: scale(0.8);
                           left: 65%;
                           }
                        
                        @media only screen and (max-width: 480px) { #valmit{ 
                          visibility: hidden;
                          position: fixed;
                           justify-content: space-evenly;
                           top: 28rem !important;
                           height: 2rem;
                           left: 17rem !important;
                           transform: scale(0.8);
                           }}
                           #valtri{
                            visibility: hidden;
                            position: fixed;
                             justify-content: space-evenly;
                             top: 28rem;
                             transform: scale(0.8);
                             left: 20%;
                             }
                          
                          @media only screen and (max-width: 480px) { #valtri{ 
                            visibility: hidden;
                            position: fixed;
                             justify-content: space-evenly;
                             top: 30rem !important;
                             height: 1rem;
                             left: 1rem !important;
                             transform: scale(0.8);
                             }}

.oculto {
 visibility: hidden;
}

model-viewer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #a51984;
  color: #ffffff;
  animation: fadeIn 1s ease-in both;
  justify-content: center;
  align-items: center;
}

 @media only screen and (max-width: 700px) {
    ar-button{ display: none;}}
    
@media only screen and (max-width: 480px) { model-viewer {
    display: flex;
    position: absolute;
    background-color: #a51984;
       width: 100%;
       margin: 0px;         
       padding: 0px;
       color: #ffffff;
       animation: fadeIn 1s ease-in both;
   } } 
   
.annotation {
  background-color: #888888;
  transform: translate(10px, 10px);
  border-radius: 10px;
  padding: 10px;
}

#controler01 {   
 top: 10rem;
right: 1%;
 position: absolute;
 opacity: 0.3;
 transition: 0.3s;
 width: 180px;
 height: 250px;
}

@media only screen and (max-width: 480px) { #controler01 {
 display:none; visibility: hidden;
}
}

#card {
 margin: 3em auto;
 display: flex;
 flex-direction: column;
 max-width: 600px;
 border-radius: 6px;
 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
 overflow: hidden;
}

.n1:visited {
 background: rgb(255, 255, 255);
   border-radius: 32px;
   border: 2px;
   box-shadow: rgb(0 0 0 / 25%) 0px 2px 4px;
   box-sizing: border-box;
   cursor: pointer;
   height: 15px;
   padding: 0px;
   position: relative;
   transition: opacity 0.3s ease 0s;
   width: 15px;
   color: blue;
}

#lazy-load-poster {
   z-index: 1;
   position: absolute;
   left: 0;
   right: 0;
   top: 0%;
   bottom: 0;
   background-color: #a51984;
   background-image: url("FONDOAPP0120230.jpg");
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
 }
 
 @media only screen and (max-width: 480px) { 
     #button-load {
   background-repeat: no-repeat;
   background-size: 50px 50px;
   background-position: 6% 50%;
   color: rgb(255, 255, 255);
   cursor: pointer;
   border-radius: 6px;
   padding: 30px 30px 30px 30px;
   font-weight: 500;
   box-shadow: 0 0 8px rgba(0,0,0,.2), 0 0 4px rgba(0,0,0,.15);
   z-index: 100;
   animation: fadeIn 1s ease-in both;
   width: 100%;
   text-align: center;
   min-height: 260px;
   }
}
 
 #button-load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
 }
 
.annotation { 
   font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
   font-weight: 600;
   font-size: 14px;
   background-color: transparent;
   align-content: auto;
   width:15%;
   margin-left: 85%;
   position: fixed;
   margin-top: 2em;
   position: absolute;
   padding-left: 2em;
}

@media only screen and (max-width: 480px) { .annotation {
  font-family:helvetica;
   font-weight: 600;
   font-size: 14px;
   background-color: red;
   align-content: center;
   width:40%;
   margin-left: -3%;
   position: absolute;
   margin-top: 1.5em;
   position: absolute;
   padding: 10px; 
   border-radius: 0 5px 5px 0;
}
}

.titulo_boton {
 position: absolute;
 padding:10px;  
 background-color:#e6e6e6;
 width:20em;
 font-family:helvetica;
 font-size:11px;
 font-weight: bold;
 margin-top: 2em;
 margin-left: 2.2em;
 border-radius: 5px 5px 0 0;
 right:2em;
 color: #0A5976;
}

@media only screen and (max-width: 450px) {
 .titulo_boton {
 padding:10px;  
 background-color:#e6e6e6;
 width:20em;
 font-weight:bold;
 margin-top: 85vh;
 margin-left: 21%;
 border-radius: 0px 0px 5px 5px;
 align-content: center;
 align-items: center;
 color: #0A5976;
 position: fixed;
 max-width: 65%;
}}

model-viewer[ar-status="session-started"] >.titulo_boton {
   margin-top: 170%;
   margin-left: 20%;
}

model-viewer[ar-status="object-placed"] >.titulo_boton {
   margin-top: 170%;
   margin-left: 20%;
}

model-viewer[ar-status="failed"] >.titulo_boton {
   margin-top: 170%;
   margin-left: 20%;
}

model-viewer[ar-status="session-started"] >#contenido {
   margin-top: 17%;
   margin-left: 0%;
   border-radius: 0px 0px 10px 10px;
   width: 16.5em;
}

.boton_mostrar {
 float:right;
 font-size:10px;
 line-height:px;
 color:#166FAC;
}

#click01 {z-index: 1;
   position: relative;
   margin-left: 40%;
   opacity: 1;
   margin-bottom: -10px;
   transition: 1s ease;
}

#click01:hover {
  opacity: .5;
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  transition: 1s ease;
}

@media only screen and (max-width: 480px) {#click01 
   {z-index: 1;
   position: relative;
   margin-left: -2%;
   opacity: 1;
   margin-bottom: -10px;
   transition: 1s ease;
}}

#contenido {
  position: fixed;
  display: none;
  z-index: 1;
  float: right;
  clear: both;
  border: 2px solid #e6e6e6;
  border-radius: 0 0 10px 10px;
  margin-top: 5em;
  padding: 15px;
  width: 18em;
  overflow: auto;
  font-family: helvetica;
  font-size: 14px;
  color: black;
  text-align: justify;
  margin-right: 0.1em;
  background-color: #FFFFFF63;
right: 1rem;
}

@media only screen and (max-width: 480px) {
 #contenido{
 position: relative;
 float: left;
 border:2px solid #e6e6e6;
 border-radius: 10px 10px 0 0 ;
 top: 57%;
 padding:15px;
 width: 13rem;
 font-size:12px;
 color: black;
 text-align: justify;
 left: 3.5rem;
 background-color: #e4e4e4a9;
max-width: 61%;
z-index: 999;
 
}}

:not(:defined) > * {
   display: none;
 }
 
/* LOADER */
 body{
 height:100vh;
}
.container4{
 position:absolute;
 height:30px;
 width:30px;
 margin-left:42%;
 margin-top:15%;
 -webkit-transform: translateX(-50%) translateY(-50%);
         transform: translateX(-50%) translateY(-50%);
 -webkit-perspective:400px;
         perspective:400px;
         transition: 1s ease;
}

.container4:hover {
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -ms-transform: scale(2);
  transform: scale(2);
  transition: 1s ease;
  margin-left: 38%;
  margin-top: 15%
}

.cube{
 height:20px;
 width: 20px;
 -webkit-transform-origin:50% 50%;
         transform-origin:50% 50%;
 -webkit-transform-style:preserve-3d;
         transform-style:preserve-3d;
 -webkit-animation:rotate 4s infinite ease-in-out;
         animation:rotate 4s infinite ease-in-out;
}
.side{
 position:absolute;
 display:block;
 height:30px;
 width:30px;
}
.side1{
 background:#41C3AC;
 -webkit-transform:translateZ(15px);
         transform:translateZ(15px);
}
.side2{
 background:#FF884D;
 -webkit-transform:rotateY(90deg) translateZ(15px);
         transform:rotateY(90deg) translateZ(15px);
}
.side3{
 background:#32526E;
 -webkit-transform:rotateY(180deg) translateZ(15px);
         transform:rotateY(180deg) translateZ(15px);
}
.side4{
 background:#65A2C5;
 -webkit-transform:rotateY(-90deg) translateZ(15px);
         transform:rotateY(-90deg) translateZ(15px);
}
.side5{
 background:#FFCC5C;
 -webkit-transform:rotateX(90deg) translateZ(15px);
         transform:rotateX(90deg) translateZ(15px);
}
.side6{
 background:#FF6B57;
 -webkit-transform:rotateX(-90deg) translateZ(15px);
         transform:rotateX(-90deg) translateZ(15px);
}

@-webkit-keyframes rotate{
 0%{
   -webkit-transform:rotateX(0deg) rotateY(0deg) rotateZ(0deg);
 }
 33.33%{
    -webkit-transform:rotateX(360deg) rotateY(0deg)  rotateZ(0deg);    
 }
 66.66%{
    -webkit-transform:rotateX(360deg) rotateY(360deg)  rotateZ(0deg);
 }
 100%{
    -webkit-transform:rotateX(360deg) rotateY(360deg)  rotateZ(360deg);
 }
}
@keyframes rotate{
 0%{
   transform:rotateX(0deg) rotateY(0deg);
 }
 50%{
   transform:rotateX(360deg) rotateY(0deg);    
 }
 100%{
   transform:rotateX(360deg) rotateY(360deg);
 }
}
a{
  font-family: Arial, Helvetica, sans-serif;
 color:#428bca;
 text-align:center;
 display:block;
}

.container2{
 left:66%;
}
.container2 .side{
 border-radius:50%;
}

#icon3D { opacity: 0;
   transition: display 8s;
   margin-left: 50%;
   top: 90%;
   width: 35px;
   height: 35px;
   position: fixed;
   animation-name: icon;
 animation-duration: 2s;
 animation-iteration-count: 5;
}

@keyframes icon {
 10%   {opacity: 0%; }
 20%  {opacity:  10%; }
 30%  {opacity:  20%; }
 40%  {opacity:  40%; }
 60%  {opacity:  60%; }
 80% {opacity:   80%; }
 10%   {opacity: 0%; }
}

#icon3D.hide{display: none;
}

#controler01:hover {
  opacity: 1
}

@media only screen and (max-width: 480px) {
  #icon3D {
    transition: display 8s;
    margin-left: 48%;
    bottom: 10%;
    width: 35px;
    height: 35px;
    position: fixed;
    animation-name: icon;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

model-viewer::part(default-progress-bar) {
   position: fixed;
   margin-top: 0%;
   height: 2%;
}

model-viewer[ar-status="session-started"]  {
    height: 70vh;
}

BUTTON#botonp {
  position: absolute; 
  bottom: 3%; 
  left: 5%; 
  height:30px; 
  width:20vh;
  font-size: 12px; 
  border-radius: 5px; 
  border: 0px; 
  font-weight: 500; 
  background-color: white; 
  color: #ff0000;
  cursor: pointer;
  width: 100%;
  scale: 1;
  border-radius: 5px;
}

#botonp:hover {
  position: absolute;
  bottom: 3%;
  left: 5%;
  height: 30px;
  width: 20vh;
  font-size: 12px;
  border-radius: 5px;
  border: 0px;
  font-weight: 500;
  background-color: rgb(193, 19, 129);
  cursor: pointer;
  width: 100%;
  scale: 1;
  border-radius: 5px;
  color: #bd0808;
  font-size: 19px;
  transform: scale(1.1, 1.1);
}

.boton001:hover {
  color: #ffffff !important;
  font-size: 19px;
  transform: scale(1.1);
}
.boton001 {
  background:#8b5cf6 !important;
  font-size: 19px;
  transform: scale(1.1);
}

#fullscreen-button>img {
  min-width: 50px;
  cursor: pointer;
}
}
#fullscreen-button:hover > img {
cursor: pointer;
opacity: 0.5;
transform: scale(1.1, 1.1);  
}

.controls { 
  position: absolute;
  width: 170px;
  border-radius: 5px;
  color: #0c204d;
  position: absolute;
  top: 45%;
  left: 3%;
  font-family: 'Karla', sans-serif;
  background-color: #ffffff81;
  padding: 8px;
  font-size: 12px;
}

@media only screen and (max-width: 480px) {.controls { position: absolute;
   top: 12%;
   left: 3%;
   width: 13em;
}
}

@media only screen and (max-width: 480px) {
  #variant {
    width: 100%;
  }
}

#contenedorprincipal {
  margin: 0;
  padding: 0;
}
 
svg#lines.linecontainer { width: 100%;
height: 100%;
position: absolute;}

@media only screen and (max-width: 480px) { #toggle-button01 {
    margin-bottom: 3%;
    cursor: pointer;
    border-style: none;
  }
}

@media only screen and (max-width: 480px) { #toggleView {
  bottom: 1.5%;
  cursor: pointer;
  max-height: 40px;
  border-style: none;
  left: 2rem;
  width: 150px;
  
}
}

@media only screen and (max-width: 480px) { #audioPlayer {
  bottom: 9.5% !important;
  cursor: pointer;
  left: 2rem !important;
  width: 150px !important;
}
}

@media only screen and (max-width: 480px) { #toggleHotspotPoints {
  bottom: 1.5% !important;
  left: 2rem !important;
  width: 150px;
  font-size: 10px;
}
}

@media only screen and (max-width: 480px) { #resetCameraBtn {
  bottom: 7% !important;
  right: 0.9rem !important;
  width: 150px;
  height: 1.8rem;
}
}

@media only screen and (max-width: 480px) { #toggle-button01 {
  bottom: 6% !important;
  left: 2rem !important;
  width: 150px;
  height: 1.6rem;
  background: #8b5cf6 !important;
}
}

@media only screen and (max-width: 480px) { #playPauseBtn {
  bottom: 10% !important;
  right: 1rem !important;
  width: 150px;
  height: 1.8rem;
}
}

@media only screen and (max-width: 480px) { #infoPanel {
  
  left: 1rem !important;
  scale: 0.8;
}
}
@media only screen and (max-width: 480px) { #Logo {
  
  left: 7rem !important;
  top: 0.5rem;
}
}

@media only screen and (max-width: 480px) { #variantDropdown {
  top: 7.2rem !important;  
  scale: 0.8;
  right: 2rem;
}
}



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

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}
body {
  display: block;
  margin: 0px;
}

.button-container {
  bottom: 5em;
  display: flex;
  position: fixed;
  padding:10px;  
  background-color:#e6e6e6;
  margin-top: 2em;
  right: 2.2em;
  border-radius: 5px 5px 5px 5px;
  align-content: center;
}

@media only screen and (max-width: 480px) { .button-container {
  bottom: 2em;
  right: 6em;
 } } 

.button-option {
  padding: 8px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
}
.button-option.active {
  background-color: #007bff;
  color: #fff;
}

.logo {
  position: absolute;
  top: 3em;
  left: 2em;
  z-index: 100;
  width: 200px;
  height: auto;
}

#click-interactuar {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

.HotspotAnnotation {
  display: none;
}
.Hotspot:focus {
 width: 8px;
 height: 8px;
}
.Hotspot {
  z-index: 100;
background: rgb(255, 255, 255);
  border-radius: 32px;
  border: 0px;
  box-shadow: rgb(0 0 0 / 25%) 0px 2px 4px;
  box-sizing: border-box;
  cursor: pointer;
  height: 8px;
  padding: 0px;
  position: relative;
  transition: opacity 0.3s ease 0s;
  width: 8px;
}

@media only screen and (max-width: 480px) {.Hotspot {
  z-index: 100;
background: rgb(255, 255, 255);
  border-radius: 32px;
  border: 0px;
  box-shadow: rgb(0 0 0 / 25%) 0px 2px 4px;
  box-sizing: border-box;
  cursor: pointer;
  height: 15px;
  padding: 0px;
  position: relative;
  transition: opacity 0.3s ease 0s;
  width: 15px;
  MARGIN: 3PX;
}
}

.Hotspot:not([data-visible]) {
background: transparent;
border: 2px solid #fff;
box-shadow: none;
height: 12px;
pointer-events: none;
width: 12px;
border: 2px solid rgb(0, 128, 200);
}

.Hotspot:active {
 border: 2px solid rgb(0, 128, 200);
 height: 15px;
 outline: none;
 width: 15px;
 background-color: #ffffff34;
}
.Hotspot:visited {
 border: 2px solid rgb(0, 128, 200);
 height: 12px;
 outline: none;
 width: 12px;
 background-color: #ffffff34;
}

.Hotspot:hover {
 border: 2px solid rgb(0, 128, 200);
 height: 15px;
 outline: none;
 width: 15px;
 background-color: #ffffff70;
}

.Hotspot > * {
opacity: 1;
transform: translateY(-50%);
}

.Hotspot:focus {
border: 2px solid rgb(0, 128, 200);
height: 15px;
outline: none;
width: 15px;
}

/* ESTADO BASE DEL BOTÓN */
.mini-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: linear-gradient(135deg, #ffffff, #fafbfc);
  border: 1.2px solid #f1f3f4;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  min-width: 0;
  overflow: hidden;
  color: #0A5976;
}

/* ESTADO HOVER */
.mini-btn:hover {
  transform: translateY(-1px);
  border-color: #760a50;
  box-shadow: 0 4px 12px rgba(10, 89, 118, 0.1);
}

/* ESTADO ACTIVO (SELECTED) */
.mini-btn.active {
  background: linear-gradient(135deg, #c537d7, #bd36d5);
  border-color: #cf3cbb;
  color: white;
  box-shadow: 0 3px 10px rgba(10, 89, 118, 0.2);
}

.mini-btn.active:hover {
  background: linear-gradient(135deg, #d02190, #ea50bc);
  box-shadow: 0 4px 14px rgba(205, 37, 155, 0.3);
}

/* ESTADO PRESIONADO */
.mini-btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* TEXTO */
.mini-text {
  font-size: 10px;
  font-weight: 600;
  color: #0A5976;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.mini-btn.active .mini-text {
  color: white;
}

/* ICONOS */
.mini-icon {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.mini-btn:hover .mini-icon {
  transform: scale(1.08);
}

.mini-btn.active .mini-icon {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mini-variant-controls {
    bottom: 1.5em;
    left: 50%;
    transform: translateX(-50%) scale(0.8) translateY(8px);
    padding: 8px;
    gap: 4px;
  }
  
  .mini-variant-controls.loaded {
    transform: translateX(-50%) scale(1) translateY(0);
  }
  
  .mini-btn {
    padding: 6px 10px;
  }
  
  .mini-text {
    font-size: 9px;
  }
  
  .mini-icon {
    font-size: 12px;
  }
}

.label, .line {
  visibility: hidden;
}

#infoPanel {
  top: 5rem;
}

#resetCameraBtn{
    position: absolute;
    right:50%;
    bottom:1rem;
    margin-left: auto;
    margin-right: auto;
  }


  #resetCameraBtn:hover {
    background-color: mediumpurple;
    scale: 1.1;
  } 
  #playPauseBtn:hover {
    background-color: mediumpurple;
    scale: 1.1;
  } 
  .variant-dropdown {
    position: fixed;
    top: 3rem;
    right: 20px;
    z-index: 10000;
    font-family: 'Segoe UI', sans-serif;
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-toggle {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 180px;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
  }
  
  .dropdown-toggle:hover {
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
  }
  
  .toggle-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
    color: #6b7280;
  }
  
  .dropdown-toggle.active .toggle-arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown-menu.open {
    max-height: 400px;
    overflow-y: auto;
  }
  
  .dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
  }
  
  .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .dropdown-item:hover {
    background: #f9fafb;
    color: #8b5cf6;
  }
  
  .dropdown-item.active {
    background: #8b5cf6;
    color: white;
  }
  
  .dropdown-item.loading {
    opacity: 0.7;
    pointer-events: none;
  }
  
  .dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }
  
  .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .dropdown-menu::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 3px;
  }
  
  .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
  }

  #variantDropdown {
    top: 6.5rem;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#variantDropdown.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.label {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #374151;
  min-width: 10rem;
  min-height: 2rem;
  box-sizing: content-box;
  padding: 0px;
}

.lineContainer {
  pointer-events: none !important;
}
/* Agregar al final de tu CSS existente */
button[style*="left: 2rem"][style*="bottom: 2%"] {
  position: fixed;
  left: 2rem;
  bottom: 2%;
  background: none;
  border: medium;
  cursor: pointer;
  z-index: 9999;
}

button[style*="left: 2rem"][style*="bottom: 2%"] img {
  width: 60px;
  height: 60px;
}

@media only screen and (max-width: 480px) {
  #dynamic-fullscreen-btn {
     visibility: hidden;
    scale: 0;
  }
  
  #dynamic-fullscreen-btn img {
      width: 40px !important;
      height: 40px !important;
      left: 1rem;
  }
}
