html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
si se poner el menu fixed yano se puede poner otro elemento fixed para que se pueda mover hacia abajo
NAV
SECTION
SECTION
/ */
foot{
          background-color: black;
  display: none;
}
.anuncio_inicio.anuncio_inicio_none{
display: none;
}

.anuncio_inicio:hover{
    /*cursor: url("crossAD.svg"), url("closedADpointer.png"), crosshair;*/
        cursor: pointer;
}
/*antes
.anuncio_inicio{
  font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
    position: fixed;
    top: 50px;
    text-align: center;
    vertical-align: middle;
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    color: ivory;
    background-color: black;
    height: 500px;
    z-index: 999;
    opacity: .6;
}*/
/*esta hasta arriba*/
.anuncio_inicio {
    
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo negro transparente */
  color: ivory;
  font-size: 15px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  /*display: flex;*/
  display:none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
   overflow-y:auto;
  box-sizing: border-box;
  
}

.anuncio_contenido {
  overflow-y:auto;
   padding-top: 50px;
    
}

/*loagrege con lo anterior codigo del anuncio*/
.anuncio_inicio p {
  margin: 0;
  line-height: 1.6;
}
/*anuncio dle pauet a aresala auzl*/
.paquete-destacado {
  color: #007BFF; /* Azul profesional */
  font-weight: bold;
}



input{
    background-color: white;
    color: black;
    font-size: 13px;
    height: 28px;
    font-family: 'Courier New', Courier, monospace;
    font-style: italic;
    font-weight: bold;
    border-radius: 6px;

    
}
.ahrefinicio{
    display:none;
}

        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
           
        }
      
        body{
            height:100%;
            overflow-y:auto;
                  background-color: black;

        }

        h1{
        cursor: pointer;
        font-family: 'Courier New', Courier, monospace;
        font-weight: bold;
        font-style: italic;
     }

     h2{
        cursor: pointer;
     }


/*NAV main-nav*/

/*Href para ir arriba pagina cuando haga clic en cualquier video lo enfoque*/
.inicio{
    
    /*display: none;*/
    visibility: hidden;
    top:-30px;
    background-color: black;
    
}
     /*EL MENU */

     .main-nav{
        position: fixed;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        background-color: black;
        color:aliceblue;
        width:100%;
        z-index:999999;
     }

     .hamburger{
        height: 40px;
        width: 40px;
        filter: invert(1);
        display: none;
        cursor: pointer;
     }

 
     .main-menu{
          display: flex;
        flex-direction: row;
        flex-wrap: wrap;
       
     }

     li{
        list-style: none;
        padding: 4px;
        cursor: pointer;
     }

     li:hover{
        border: 1px solid slategray;
     }

     


     a{
        font-size: 13px;
        font-weight: bold;
        font-family: monospace, sans-serif;
        text-decoration: none;
        padding: 2px 4px 2px 2px ;
        color:aliceblue;
     }

     

     ul  li .subscribe{
        color:red;
        font-weight: bold;
        font-size: 21px;
        font-family: 'Courier New', Courier, monospace;
    }

    ul  li #login{
        color:#2F58CD;
        font-weight:bold;
        font-size: 19px;
        font-style:italic;
        font-family:monospace,'Courier New', Courier ;
    }

    ul  li #cerrarSesion{
        color:#74a892;
        font-weight:bold;
        font-size: 16px;
        font-style:italic;
        font-family: 'Courier New', Courier, monospace;
    }
   

    #icono-buscar{
        height: 40px;
        width: 40px;
        filter: invert(1);
        cursor: pointer;

    }

    /*poner juntos cudaro e imagen en un DIv*/
    .fotoruta{
        border: 2px solid slategray;
        border-radius: 3px;
    }

    .busqueda{  
        display:flex;
        align-items:center;
        gap:6px;

    }
  

/*SECTION MAIN*/
/*izq conayiane der*/
/*contiene al iframe y al zoom*/

/*section izq iframe .container der*/


.main {
  display: flex;
    align-items: stretch; /* Asegura que los hijos tomen toda la altura */

  flex-direction: row;
  width: 100%;
  height: 550px;
  background-color: black;
  position: relative;
  top: 50px;
  flex-wrap: nowrap;
  gap: 0;
}

.left_container,
.container,
.right_container {
  flex-shrink: 0;
  height: 100%;
}

.left_container {
  width: 15%;
  background-color: black;
  padding: 40px 6px 2px 2px;
  overflow-y: auto;
  color: white;
}

.container {
  width: 70%;
  background-color: black;
  position: relative;
  overflow: hidden;
}

.visor-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 15% derecha */
.right_container {
  height: 100%;
  min-height: 100%;
  width: 15%;
  min-width: 15%;
  max-width: 15%;
  background-color: black;
  padding: 0 3px 3px 3px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;

  display: block; /* ✅ Se muestra como bloque normal */
}


.right_container.expanded {
    display:flex;
   flex-direction: row; /* Cambiar a fila cuando está expandido */
    width: 100%; /* Ampliar al 100% cuando está expandido */
    overflow: scroll;
}

/*imagen para fullscreen*/
.fullscreen{
        position: absolute;
        top: 80px;
        left: 20%;
        cursor: pointer;
        height: 40px;
        width: 40px;
        
        z-index:999999;
     }


   /* clase para que se haga grande*/  
     .visor-iframe.on{
    position:fixed; 
    top:0; 
    left:0; 
    bottom:0; 
    right:0; 
    width:100%; 
    height:100%; 
    border:none; 
    margin:0; 
    padding:0; 
    overflow:hidden; 
    z-index:999998;


     }
         

     .left-ads{
        width: 100px;
        height: 100px;
        margin: 2px 2px 2px 2px;
        background-color: black;
     }

     #resultado{
         
        position: relative;
        
        top:100px;
        height:100%;
        width:100%;
        background-color: black;
    
    
    }


.lastReleased {
    position: relative;
    top: 100px; /* ajusta según sea necesario */
    left: 0;
    right: 0;
    width: 100%;
    background-color: black;
    color: aliceblue;
    font-size: 21px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    padding: 10px 0; /* Puedes ajustar el espaciado superior e inferior */
  
        z-index:1000;

}

 
    

 



/*carrusel*/
.carousel-overlay {
    
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  /*display: flex;*/
  display:none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  flex-direction: row;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #444;
  color: white;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 30%;
}

.carousel-btn.prev {
  left: 5px;
}

.carousel-btn.next {
  right: 5px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  z-index: 2;
}


/*el chatbot

#chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  height: 450px;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: auto;  /* Esto habilita el scroll tanto vertical como horizontal cuando el contenido se desborda 
  display: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  flex-direction: column;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0;
    gap: 10px; /* Espacio entre los botones
}


#chatbot-header {
  background: #333;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-toggle {
  font-weight: bold;
}

#chatbot-iframe {
  flex-grow: 1;
  border: none;
}

#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

*/

/* Estilo general del contenedor del chatbot */
#chatbot-container {
  /*position: fixed;*/
  bottom: 110px; /* Ajuste para que no esté tan abajo */
  right: 10px;
  width: 350px; /* Ancho del chatbot */
  height: auto; /* Dejar que la altura se ajuste según el contenido */
  max-height: 100vh; /* Asegura que no ocupe más del 80% de la altura de la ventana */
  border: 1px solid #ccc;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none; /* Establecerlo en 'none' para que no se muestre inicialmente */
  flex-direction: column;
  overflow: hidden; /* Evitar el overflow horizontal, pero permitirlo en vertical si es necesario */
}

/* Estilo de los botones sociales */
.social-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Espacio entre los botones */
  padding: 10px;
}

/* Estilo del encabezado del chatbot */
#chatbot-header {
  background: #333;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

/* Estilo del botón para alternar el chatbot */
#chatbot-toggle {
  font-weight: bold;
  font-size: 20px; /* Hacerlo un poco más grande */
}

/* Estilo del iframe para que ocupe todo el espacio disponible */
#chatbot-iframe {
  width: 100%; /* Asegura que el iframe ocupe todo el contenedor */
  height: 100%; /* Asegura que el iframe ocupe todo el contenedor */
  border: none; /* Quita el borde del iframe */
  min-height: 300px; /* Garantiza que tenga una altura mínima, puedes ajustarlo */
 
}

/* Estilo para el botón flotante que abre el chatbot */
#chatbot-button {
  /*position: fixed;*/
  bottom: 110px;
  right: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}



/* Contenedor del iframe */
#iframe-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  
}



/* Ajustar burbuja de Chatbase */
#chatbase-bubble-button {
    bottom: 20px !important;   /* subirla para no encimarse con Tawk.to */
    right: 140px !important;    /* margen lateral igual para todas */
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    z-index: 9998 !important;  /* debajo del chat manual si quieres */
}

/* Asegurar que los hijos no rompan el layout */
#chatbase-bubble-button * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
        bottom: 170px !important;   /* subirla para no encimarse con Tawk.to */
    right: 230px !important;    /* margen lateral igual para todas */

}


@media (max-width: 767px) {
    
    /*lo dle anunco grande*/
      .anuncio_inicio {
    padding-top: 250px;  /* menos espacio en móvil si quieres */
    overflow-y:auto;
  }
  .anuncio_contenido {
    max-width: 90%;      /* ocupa casi toda la pantalla */
  }
    
    /*lo del carrusel*/
      .carousel-overlay {
    align-items: flex-start;  /* Alinear arriba */
  }

.carousel {
    margin-top: 100px;          /* colocarlo a 100px desde arriba */
    transform: scale(0.85);     /* hacer todo más pequeño proporcionalmente */
    transform-origin: top center; /* que la escala se aplique desde el top */
  }
    /*se vea lka x y ente bien/*/
  /*inicio movil**/

/* Estilo para el menú por defecto (oculto en móviles) */
.main-menu {
    display: none; /* Por defecto el menú está oculto */
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

/* Estilo cuando el menú se activa */
.main-menu.activo,
.main-menu.activo * {
    display: flex; /* El menú se muestra cuando tiene la clase 'activo' */
       justify-content: center;    /* Centrar horizontalmente */
    align-items: center;        /* Centrar verticalmente */
       cursor: pointer; /* Mostrar puntero de mano */
}

  .hamburger {
        display: block;
        cursor: pointer;
    }

    .main-menu {
        display: none; /* Ocultar por defecto */
        flex-direction: column;
        width: 100%;
    }
    /*fin menu*/
    
    
  .main {
    display: grid;
    grid-template-areas:
      "container"
      "right"
      "left";
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    position: static;
    height: auto;
  }

  .container {
    grid-area: container;
    position: static;
    width: 100%;
    height: auto;
    padding-top: 0;
  }

  .visor-iframe {
    position: relative;
    width: 100%;
    height: 540px;
    left: 0;
  }

 /* CONTENEDOR DERECHO EN MÓVIL */
.right_container {
    grid-area: right;
  position: static;
  width: 100%;
  min-width: 100%;
  height: 250px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  background-color: black;
  color: white;
  padding-bottom:100px;

  display: flex;
  flex-direction: row; /* ✅ fila horizontal */
  gap: 10px;

  scroll-behavior: smooth;
  /* Opcional: evitar que los hijos se encojan */
  flex-wrap: nowrap; /* si no quieres saltos de línea */
}

/* Cada elemento se queda fijo en su tamaño, uno al lado del otro */
/*ight_container .miniaturas {*/
.right_container > * {
  flex: 0 0 auto;         /* ✅ evita que se reduzca o expanda */
  width: 150px;
  height: 150px;
  background-color: #222;
  background-size: cover;
  background-position: center;
  border: 1px solid #444;
  cursor: pointer;
}
  

  

  .left_container {
    margin-top: 30px;
    position: static;
    width: 100%;
    height: 400px;
    overflow: visible;
    padding: 10px;
    background-color: #111;
    color: white;
  }




  .left-ads {
    width: 100%;
    height: auto;
    margin: 6px 0;
    background-color: #222;
    padding: 10px;
    text-align: center;
  }

  .lastReleased,
  #resultado {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
  }
  
  
  /*para la descrioon dle boton ver mas*/
   .modal-contenido {
    max-width: 90vw !important;
    margin: 100px 10px 20px 10px !important;
    padding: 10px !important;
  }

  .modal-contenido p {
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
  }

  
}

/*fin movil*/
