.fixed-menu {
    position: fixed !important;
/*    top: 0;
    width: 100%;
    z-index: 1000; */
}

/*#menu-placeholder {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}*/


.menu-transition {
    position: relative;
    opacity: 0;
    -webkit-transition: opacity 2s ease-out;
    -moz-transition: opacity 2s ease-out;
    -o-transition: opacity 2s ease-out;
    transition: opacity 2s ease-out;
}
.menu-visible {
    top: 0 ;
    width: 100%;
    z-index: 1000; /* Ajusta el valor según tus necesidades */
    opacity: 1;
}

/* Estilos para el botón de búsqueda */
/* Estilos para el contenedor del cuadro de búsqueda */
#search-container {
    position: absolute;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

#search-inner-container {
    display: flex;
    align-items: center;
}

#search-input {
    width: 200px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    outline: none;
}

#search-input::placeholder {
    color: #666;
}

#search-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 5px 10px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-button .material-icons {
    font-size: 20px;
}

#search-button:hover {
    background-color: #f0f0f0;
}

@media (max-width: 991.98px) {
    #search-container {
        top: 60px;
        right: 10px;
    }
}

/* Estilos para el enlace de búsqueda */
#search-link {
    display: flex;
    align-items: center;
    padding-top: 8px; /* Ajusta este valor según sea necesario */
    padding-bottom: 8px; /* Ajusta este valor según sea necesario */
}

/* fin boton busqueda */

.icon-home-format {
    font-size: xx-large !important;
    color:  var(--bs-primary);
}

.bg-gradient-pink {
    background-image: linear-gradient(195deg, #EC407A 0%, #D81B60 100%);
}

.mi-bg-gradient-dark {
    background-image: linear-gradient(195deg, #3c84ec 0%, #223147 100%);
}

.text-xlg {
    font-size: 1.4rem !important;
}

.imagen-redes-home{
    height: 30px;
}

.center-imagen-redes-yt{
    align-content: center;
}

.center-imagen-redes-yt:hover {
    background-image: linear-gradient(195deg, #f12334 0%, #ce1d1d 100%);
}

.center-imagen-redes-tk{
    align-content: center;
}

.center-imagen-redes-tk:hover {
    background-image: linear-gradient(195deg, #1d1a1a 0%, #000000 100%);
}
.center-imagen-redes-gh{
    align-content: center;
}

.center-imagen-redes-gh:hover {
    background-image: linear-gradient(195deg, #8215ad 0%, #5b0970 100%);
}

/* Start: Video Responsive */
.video-responsive {
    overflow:hidden;
    padding-bottom:400px; /* Adecua este valor para controlar la altura del video */
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
/* End: Video Responsive */

.hr-style{
    height:2px;
    border-width:0;
    color:#344767 ;
    background-color:#344767;
    opacity: 0.75;
}

.texto-post-style{
    text-align: justify;        
}

.text-justified{
    text-align: justify;
}

.text-center {
    text-align: center;
}

.five-menu-elements{
    box-sizing: content-box !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.card-background-light::after{
    background: rgb(45 45 45 / 56%) !important;
}

.card-background-celeste-light::after{
    background: rgb(37 110 141 / 56%) !important;
}

.card-background-rojo-light::after{
    background: rgb(141 37 37 / 56%) !important;
}

.card-background-amarillo-light::after{
    background: rgb(138 133 51 / 56%) !important;
}

.card-background-azul-light::after{
    background: rgb(45 37 141 / 56%) !important;
}

.card-background-verde-light::after{
    background: rgb(37 141 39 / 56%) !important;
}

.card-menu-tutoriales{
    margin-bottom: 10px;
}

.btn-floating {
    position: fixed !important;
    bottom: 50px;
    right: 50px;
    z-index: 100;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
  }
  
  /* Tamaño predeterminado para pantallas pequeñas */
  .btn-floating {
    width: 64px;
    height: 64px;
  }
  
  /* Para pantallas grandes, se muestra el footer con los botones uno al lado del otro */
#footer-large {
    display: flex;
}

/* Para pantallas pequeñas, se muestra el footer con los botones uno debajo del otro */
#footer-small {
    display: none;
}

.imagen-redondeada img{
    border-radius: 50% 50% 50% 50%;
  }
  
  /* Imagen para pantallas grandes */
  .bg-image-ppal {
      background-image: url('../img/images/background/coding-image.jpg');
  }
  

  /* Tamaño más grande para pantallas medianas y grandes */
  @media (min-width: 768px) {
    .btn-floating {
      width: 60px;
      height: 60px;
    }
  }
  
  @media (min-width: 1024px) {
    .btn-floating {
      width: 70px;
      height: 70px;
    }
  }


    /* Ajustes para pantallas muy pequeñas, como móviles en modo vertical */
    @media (max-width: 768px) {
        /* Elimina la transición al cargar en móvil */
        .menu-transition {
            transition: none; /* Sin transición en la carga inicial para móviles */
        }

        /* Aplica la transición al volverse visible en móviles */
        .menu-visible {
            opacity: 1;
            transition: opacity 0.2s ease-out; /* Aplica una transición más corta solo en móviles */
        }

        .bg-image-ppal {
            background-image: url('../img/images/background/coding-image-small.jpg');
            background-size: cover;
            background-position: center;
            height: 75vh; /* Mantiene la altura fija de 75vh */
        }
    
    }   

  /* Ajustes para pantallas pequeñas */
    @media (max-width: 576px) {
        .btn-floating {
            bottom: 15px;
            right: 15px;
            padding: 10px;
        }

          #footer-large {
              display: none;
          }
          #footer-small {
              display: flex;
          }              
    }
  
  /* Ajustes para pantallas muy pequeñas, como móviles en modo vertical */
  @media (max-width: 360px) {
    .btn-floating {
      bottom: 10px;
      right: 10px;
    }
  }



  /* Ocultar el botón en pantallas muy pequeñas */
@media (max-width: 320px) {
    .btn-floating {
      display: none;
    }
  }

