/*CLASES DE DOCENCIA*/

/*fotter*/
.custom-button {
    width: 100%; /* Se ajusta automáticamente al contenedor */
    height: 200px; /* Define una altura fija */
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .custom-button:hover {
    border-color: #007bff;
    box-shadow: 0 0 10px #007bff;
  }
  
  .button-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
  }
  
  .button-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    color: #000;
  }
  .footer-icon {
    font-size: 30px; /* Tamaño del ícono */
    margin-right: 10px; /* Espacio entre ícono y texto */
  }
  
  .footer-text {
    font-size: 20px; /* Tamaño del texto */
    font-weight: bold; /* Negrita */
  }
  /*Estilos para el encabezado y pie de pagina*/

.navbar {
    background-color: #f8f9fa;
}
.navbar-brand {
    font-weight: bold;
    color: #1a237e; /* Azul marino */
}
.navbar-nav .nav-link {
    color: #1a237e; /* Azul marino */
}
.navbar-nav .nav-link:hover {
    color: #0d47a1; /* Azul más oscuro al pasar el cursor */
}
.btn-custom {
    background-color: #1a237e; /* Azul marino */
    color: #fff;
}
.btn-custom:hover {
    background-color: #0d47a1; /* Azul más oscuro al pasar el cursor */
}
.custom-header-height {
height: 200px; /* Ajusta este valor según tus necesidades */
}
.footer {
    background: linear-gradient(45deg, #011232, #00369a); /* Degradado de colores */
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    }
    
    .footer-title {
        font-size: 24px;
        margin-bottom: 10px;
        text-align: left;
        padding-left: 20px;
    }
    
    .footer-divider {
        border: none;
        height: 1px;
        background-color: #ffffff;
        margin: 20px auto;
        width: 80%;
    }
    
    .footer-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .circle-button {
        display: inline-block;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #ffffff;
        margin: 20px;
    }
    
    .circle-button img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Media Query para pantallas de hasta 600px de ancho */
    @media (max-width: 600px) {
        .footer-buttons {
            justify-content: space-around;
        }
        .circle-button {
            /*flex: 0 0 calc(50% - 20px); /* Dos botones por fila */
            width: 100px;
             height: 100px;
            flex: 0 0 auto; /* Evita que el tamaño del botón cambie en diseños flexibles */
        }
        
    }
    
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .social-icon {
        color: #ffffff;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        text-decoration: none;
    }
    
    .footer-domain {
        margin-top: 10px;
        font-size: 14px;
    }  
     /* Estilos para el botón "Volver arriba" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff; /* Color de fondo azul */
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    font-size: 40px;
}

/* Mostrar el botón cuando se hace scroll */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Efecto hover */
.back-to-top:hover {
    background-color: #0056b3; /* Color de fondo azul más oscuro */}