.avatar-img {
    width: 100%;
    aspect-ratio: 1;
}

._3d-mouse-effect {
    transition: transform 500ms linear, box-shadow 100ms ease-out;

    box-shadow:
            0 5px 15px rgba(0, 0, 0, 0.15),   /* Tight ambient shadow */
            0 15px 35px rgba(0, 0, 0, 0.2);   /* Deep drop shadow */

    &:hover {
        box-shadow:
                0 10px 20px rgba(0, 0, 0, 0.15),
                0 25px 50px rgba(0, 0, 0, 0.25);
    }
}

section.certs {

    .certs-grid {
        display: grid;
        gap: 2.5rem;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .cert {
        position: relative;
        border: 2px solid white;
        border-radius: 1rem;
        min-block-size: 5rem;
        display: flex;
        align-items: center;
        background: #1b1b1b;
        padding: 1rem 1rem 1rem 0;
        transition: transform 0.2s ease-in-out;
        cursor: crosshair;

        &:hover {
            transform: translateY(-5px);
        }

        .cert-title {
            display: block;
            font-weight: bold;
            font-size: 1.1rem;
            color: white;
            margin: 0;
            line-height: 1.3;
        }

        img.cbadge {
            aspect-ratio: 374 / 616;
            max-width: 25%;
            height: auto;
            transform: translateY(-2rem) translateX(-1rem);
            margin-bottom: -2rem;
        }
    }
}

.icon {
    padding: 0px 8px 3.5px 0px;
    vertical-align: middle;
    width: 20px;
    height: 20px;
}


.button, button {
    display: inline-block;
    text-decoration: none;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    width: 300px;
    font-weight: 700;
    line-height: 20px;
    padding: 14px 12px 12px 12px;
    letter-spacing: 0.1px;
    white-space: wrap;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}

@media (prefers-color-scheme: dark) {
    a:hover {
        color: #7AB8FF;
    }
}

a:hover {
    color: #083BDA;
}

a:active, a:hover {
    outline: 0;
}

.button.button-paypal {
    color: #ffffff;
    background-color: #003087;
}

.button.button-paypal:hover, .button.button-paypal:focus {
    filter: brightness(90%);
}

.button.button-github {
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #FFFFFF;
}

.button.button-github:hover, .button.button-github:focus {
    filter: brightness(90%);
}