@charset "UTF-8";

.h-card {
    display: block;

    max-width: 480px;

    margin: 24px auto 60px auto;
    padding-top: 12px;

    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    background-color: white;
    overflow: hidden;

    background: linear-gradient(#ffffff 0%, #f1f1f1 100%);
    box-shadow: 0px 8px 48px rgba(40, 0, 82, 0.25);
}

.h-card .u-logo, .h-card .u-photo {
    margin-right: 12px;
    width: 144px;
    height: 144px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

#identity {
    display: flex;
}

#general {
    display: flex;
    flex-direction: column;
    align-items: space-around;
}

#contact {
    display: flex;
    flex-direction: column;

    font-size: 1.2em;
}

.type {
    font-style: italic;
}

#elsewhere {
    padding: 0;
}

#elsewhere h3 {
    display: none;
}

#elsewhere ul#links {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
}

#elsewhere ul#links li {
    flex-grow: 1;
    flex-basis: 0;
    text-align: center;
    padding: 8px;

    list-style: none;
}

#elsewhere ul#links li:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

#elsewhere ul#links li:last-child {
    border-left: 1px solid transparent; /* Forces alignment to pixels in WebKit. */
}

/* Silly stuff */

.h-card #holes {
    display: flex;
    justify-content: space-around;
    min-width: 100%;
}

.h-card #holes .hole {
    flex: 1;

    max-width: 18px;
    height: 18px;
    color: transparent;
    background-color: rgba(240, 230, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 100%;
    box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.25)
}

@media (max-width: 480px) {
    .h-card {
        border-left: none;
        border-right: none;
        border-radius: 0px;
        margin: 24px 0 60px 0; /* Render box-shadow outside viewport, pt. 2 */
    }

    .h-card #identity {
        flex-direction: column;
    }
}

@media (min-width: 800px) {
    #π {
        position: absolute;
        bottom: 24px;
        right: 24px;

        color: rgba(209, 205, 218, 1);
    }

    #π:after {
        content: 'π';
    }

    #unauthorized-access {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        max-width: 752px;

        padding: 24px;

        background-color: rgba(255, 0, 0, 1);
        color: rgba(255, 255, 255, 1);

        font-weight: 500;
        font-size: 64pt;
        text-align: center;
        text-transform: uppercase;

        border: 3px solid rgba(205, 0, 0, 1);
    }

    #unauthorized-access:after {
        content: 'Unauthorized Access';
    }
}


