:root {
    --custom-shadow-color: rgba(30, 125, 103, 0.7);
    --custom-shadow: 0 0 10px 1px var(--custom-shadow-color);
    --custom-shadow-hover: 0 0 15px 3px var(--custom-shadow-color);
    --tw-border-opacity: 0.1;
}

body {
    background-image: radial-gradient(ellipse 80% 80% at 50% -20%, #7877c64d, #fff0);
    background-color: rgba(3, 7, 18, 1.0);
    color: white;
}

.shadow-box {
    background: rgb(4, 1, 20);
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Sombra suave */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 !important;
}

.size-12 {
    width: 3rem;
    height: 3rem;
}

svg {
    fill: #ffffff;
}

svg:hover {
    fill: #ff4081;
    /* Cambia de color al pasar el cursor */
}

.proyectoimg {
    max-height: 300px;
    width: auto;
    object-fit: contain;
}

.object-contain {
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

.custom-shadow {
    border-radius: 0.75rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.custom-shadow:hover {
    border-width: 1px;
    --tw-border-opacity: 0.6;
    border-color: rgb(134 134 139 / var(--tw-border-opacity));
    --custom-shadow-color: rgba(30, 125, 103, 0.7);
    box-shadow: 0 0 10px 1px var(--custom-shadow-color);
}

.custom-shadow.active {
    border-width: 2px;
    border-color: rgba(231, 231, 231, 0.8);
    box-shadow: 0 0 15px 3px rgba(231, 231, 231, 0.9);
}

.laser-button {
    position: relative;
    border: none;
    padding: 2px;
    border-radius: 9999px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.laser-border {
    content: "";
    position: absolute;
    inset: -200%;
    background: conic-gradient(from 0deg,
            #a855f7 0%,
            #6b21a8 5%,
            transparent 5%,
            transparent 100%);
    animation: spin 2s linear infinite;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.laser-fill {
    content: "";
    position: absolute;
    inset: 0;
    background: #a855f7;
    opacity: 0;
    border-radius: 9999px;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.laser-content {
    position: relative;
    z-index: 2;
    background-color: #111;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.laser-button.blue .laser-border {
    background: conic-gradient(from 0deg,
            #38bdf8 0%,
            #0ea5e9 5%,
            transparent 5%,
            transparent 100%);
}

.laser-button.blue .laser-fill {
    background: #0ea5e9;
}

.laser-button:hover .laser-fill {
    opacity: 1;
}

.laser-button:hover .laser-content {
    box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.3);
    background-color: #222;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}