/* Estilo para el contenedor de la imagen de fondo */
.bg {
  z-index: -1;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;

 background-image: url("bg.jpg");
 background-size: cover;
background-position: center center;
height: 100vh; /* Altura larga para probar el scroll */
   overflow: auto; /* Habilita scroll en el fondo */


}

/* Estilo para el div flotante */
.floating-div {

      position: absolute;
      top: 53%;
      left: 50%;
      transform: translate(-50%, -50%);
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
      padding: 0px;
      border-radius: 8px;
      width: 100%; /* Default para móviles */
      max-height: 100vh; /* Máxima altura */
      overflow-y: auto; /* Hacerlo scrolleable si es necesario */
      color: #fff;
      overflow-x: hidden;
}




.logo {
    width: 100%; /* Ocupa todo el ancho del contenedor */

    margin-bottom: 0; /* Espaciado entre bloques */
    box-sizing: border-box; /* Incluye padding y borde dentro del ancho */
    text-align: center; /* Centra texto dentro del bloque */
    background-color: #000;
    position: sticky;




    top:0;
    z-index: 1000;
    padding: 5px 5px;


}

.logo img{
max-width: 90%;

}



/* Responsivo para pantallas más grandes */
@media (min-width: 768px) {
    .floating-div {
        width: 40%;
    }
    .logo {
      width: 100%;
    }
}


.block {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    padding: 0; /* Espaciado interno */
    margin-bottom: 0; /* Espaciado entre bloques */
    box-sizing: border-box; /* Incluye padding y borde dentro del ancho */
    text-align: center; /* Centra texto dentro del bloque */
}

.block img {
max-width: 100%;
background-color: #000;
padding: 5px;
}

.block img:hover {
  filter: brightness(50%); /* Oscurece la imagen */
  opacity: 0.8; /* Opcional: ajusta la opacidad para más efecto */
}

.block iframe {
margin-top: 40px;
max-width: 100%;
width: 90%;
height: auto;
background-color: #000;
min-height: 400px;
}



.block2 {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    padding: 0; /* Espaciado interno */
    margin-bottom: 0; /* Espaciado entre bloques */
    box-sizing: border-box; /* Incluye padding y borde dentro del ancho */
    text-align: center; /* Centra texto dentro del bloque */
}

.block2 img {
max-width: 100%;
background-color: #000;
padding: 5px;
}




.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;

    text-align: center;
    transition: all 0.3s ease-in-out;
    max-height: 100px;
    max-width: 400px;
    z-index: 1;
}
.content img {
  max-width: 400px;
}





.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width:400px;
}


        .animated-input {
          position: relative;
          width: 100%;
          left: 56%;
          transform: translate(-50%, 50%);
          margin-top: 0;
          margin-bottom: 0;
           }

           .animated-input input {
               width: 90%;

               padding: 0px;
               border: 0;

               background-color: #000;
               font-size: 16px;
               outline: none;
               transition: border-color 0.3s ease;
               color: #fff;
           }





           .naranja {
             background-color: #ff8300;
               display: flex;
               height: 50px;
               width: 90%;
               position: relative;
               top: 50%;
               left: 50%;
                transform: translate(-50%, 50%);
                         }

           .naranja  img {
               width: 100%; /* Ajusta el tamaño según sea necesario */
               height: auto;
               transition: filter 0.3s ease, opacity 0.3s ease; /* Transición suave */

           }


           .naranja svg{
           margin-left: 2px;
           margin-right: 10px;

           }


           .naranja svg:hover {
             filter: brightness(0%); /* Oscurece la imagen */
             opacity: 0.8; /* Opcional: ajusta la opacidad para más efecto */
           }




           /* Estilo general de la sección */
                 .blog-section {
                     max-width: 95%;
                     margin: 0 auto;
                     padding: 20px;
                 }

                 .blog-post {
                     display: flex;
                     flex-direction: column;
                     background-color: #000;
                     margin-bottom: 10px;
                     border-radius: 8px;
                     box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
                     overflow: hidden;
                 }

                 .blog-post img {
                     width: 100%;
                     height: auto;
                 }

                 .blog-content {
                     padding: 20px;
                 }

                 .blog-title {
                     font-size: 1.5rem;
                     font-weight: bold;
                     margin-bottom: 10px;
                 }

                 .blog-subtitle {
                     font-size: 1rem;
                     color: #666;
                     margin-bottom: 15px;
                 }

                 @media (min-width: 768px) {
                     .blog-post {
                         flex-direction: row;
                         align-items: center;
                     }

                     .blog-post img {
                         width: 40%;
                         height: 100%;
                     }

                     .blog-content {
                         padding: 20px 30px;
                     }
                 }



                 /* Estilo general del footer */
                         footer {
                             background-color: #000;
                             color: #fff;
                             padding: 40px 20px;
                             font-size: 0.9rem;
                         }

                         footer a {
                             color: #f0c040;
                             text-decoration: none;
                         }

                         footer a:hover {
                             text-decoration: underline;
                         }

                         .footer-logo {
                             font-size: 1.5rem;
                             font-weight: bold;
                         }

                         .footer-links ul {
                             list-style: none;
                             padding: 0;
                         }

                         .footer-links ul li {
                             margin-bottom: 10px;
                         }

                         .social-icons a {
                             margin: 0 10px;
                             font-size: 1.2rem;
                             color: #fff;
                         }

                         .social-icons a:hover {
                             color: #f0c040;
                         }

                         .footer-bottom {
                             border-top: 1px solid #444;
                             margin-top: 30px;
                             padding-top: 20px;
                             text-align: center;
                         }
