/* Estilo base para los botones */
.btn {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    align-items: center;
    padding: 7px 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none; /* Quita el subrayado del enlace */
    color: #ffffff; /* Color del texto */
    border-radius: 3px; /* Bordes redondeados */
    border: 1px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Variación para botones primarios */
.btn-primary {
    border-color: #7166F9;
    background-color: #020a13; /* Gris oscuro */
}

    /* Hover para el botón primario */
    .btn-primary:hover {
        background-color: #ffffff; /* Gris más oscuro */
        color: #7166F9;
    }

/* Variación para botones secundarios */
.btn-secondary {
    border-color: #ffffff;
    background-color: #ffffff; /* Color base */
    color: #000000;
    position: relative; /* Necesario para el pseudo-elemento */
    z-index: 1;
}

    /* Pseudo-elemento para el efecto de reflejo */
    .btn-secondary::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, #ff0000, #ff7300, #ff0, #A25281, #00f, #A25281, #A25281, #ff0000 );
        background-size: 200% 200%;
        opacity: 0.8;
        mix-blend-mode: color-dodge;
        transition: opacity 0.3s ease-in-out;
        animation: cd-effect 4s infinite linear;
        z-index: -1;
    }



/* Efecto de movimiento */
@keyframes cd-effect {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hover para el botón secundario */
.btn-secondary:hover::before {
    opacity: 1;
}

/* Hover para el botón secundario */
.btn-secondary:hover {
    background-color: #000000;
    color: #7166F9;
}


/* en línea horizontal */
ul {
    display: flex;
    gap: 10px; /* Espaciado horizontal */
    list-style: none; /* Quitar los estilos de lista */
    padding: 0;
    margin: 0;
}

/* Alineación de iconos en los botones */
.icon-btn-content {
    background-image: url("/static/ico/stash--cam-video-light.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1.5em;
    padding-left: 1.5em;
    
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-primary:hover .icon-btn-content {
    filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(220deg);
}

.material-symbols-outlined {
    vertical-align: middle;
    margin-right: 8px;
    font-size:22px !important;
}

@media (max-width: 768px) {
    .btn {
        padding: 5px 5px; /* Botón aún más pequeño en pantallas más pequeñas */
        font-size: 24px; /* Reducir más el tamaño del texto */
    }

    .icon-btn-content .material-symbols-outlined {
        font-size: 16px; /* Reducir el ícono más en dispositivos pequeños */
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 5px 3px; /* Reducir más en pantallas de celulares */
        font-size: 24px; /* Tamaño más pequeño para texto */
    }

    .icon-btn-content .material-symbols-outlined {
        font-size: 20px; /* Reducir aún más el tamaño del ícono */
    }
}
