@font-face {
    font-family: "Input";
    src: url(InputSansCompressed-Bold.ttf) format("truetype");
    font-display: fallback;
}

body {
    font-family: "Input", Courier, Monospaced, monospace;
    min-height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #fdffff;
}

a, a:visited {
    color: black;
    text-decoration-color: #39FF14;
}

.card {
    border: groove black 5px;
    padding: 1em;
    padding-top: 1.3em;
    margin: auto;
    margin-top: 2em;
    width: 50%;

    text-align: center;
    /*font-variant: small-caps;*/
    z-index: 1;
    /*position:relative;*/
    background-color: white;
    opacity: 0.92;
}

.banner {
    opacity: 0.92;
    /*text-align: center;*/
    padding-left: 3%;
    position: relative; /* Anchors the absolute positioned profile picture */
    z-index: 0;
    margin: 0;
    margin-top: 7%;
    background-color: white;
    border-bottom: groove black 3px;
    border-top: groove black 3px;
    padding-top: 0.25em;
    /*float:left;*/
    width: 100%;
}

.banner h1 {
    font-size: 36px;
}

.profile-pic {
    margin-top: -20px;
    margin-right: 25px;
    float: left;
    width: 150px;
    height: 150px;
    border: groove black 4px;
    background-color: white;
    z-index: 10;
    object-fit: cover;
    /* Sharp brutalist shadow to complement the web 1.0/groove aesthetic */
    box-shadow: 8px 8px 0px black;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* tactile click effect */
.profile-pic:active {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0px black;
}

@media (max-width: 1024px) {
    .profile-pic {
        width: 100px;
        height: 100px;
        margin-top: -10px;
        margin-right: 15px;
    }

    .banner h1 {
        margin-bottom: .25em;
    }

    .banner h1 #enable_whirl_animation {
        margin-left: -0.4em;
        display: inline;
    }

    #com-break {
        display: none;
    }
}

#sws-mini-logo {
    width: 1.5em;
    float: left;
    margin: 0.5em;
}

.rounded-checkbox {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-bottom: 10px;
    vertical-align: bottom;
    border: 1px solid black;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.rounded-checkbox:checked {
    appearance: auto;
    clip-path: circle(50% at 50% 50%);
    background-color: blue;
}

.subcard-container {
    margin-left: 3em;
    margin-bottom: 2em;
    margin-right: 1em;
    margin-top: 2em;
    z-index: 2;
    width: 45%;

    /* Allow clicks to pass through the invisible boundaries of the container */
    pointer-events: none;
}

@media (max-width: 1024px) {
    .subcard-container {
        width: revert;
        margin-left: 1em;
    }
}

.subcard {
    border: groove black 3px;
    background-color: white;
    font-size: 18px;
    padding: 0.5em;
    padding-top: 0.6em;
    transition: padding 0.5s;
    opacity: 1.0;
    text-align: left;
    margin-top: 1em;
    opacity: 0.95;
    max-width: 420px;

    /* Re-enable interactions (text selection, links) for the cards themselves */
    pointer-events: auto;
}

ul {
    margin: 0.1em 0;
    padding-left: 2em;
}

/*
.linkedin:hover {
    padding: 1em;
}
*/

.whirly {
    position: absolute;
    border: groove black 2px;
    z-index: -1;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* FIXME re-enable if/when send message is fixed... */
#send_message_form {
    display: none;
}

#send_message_form > textarea, #send_message_form > input[type='text'] {
    width: 100%;
}

#send_message_form > textarea {
    padding: 0;
}

.datfontdoe {
    font-family: 'Input';
}

#sm_result {
    border-color: white;
}

#sm_result.sm_success, #sm_result.sm_failure {
    margin: 1em;
    border-style: solid;
    border-width: 3px;
    padding: 1em;
}

#sm_result.sm_success {
    border-color: green;
}

#sm_result.sm_failure {
    border-color: red;
    font-weight: bold;
}

#enable_whirl_animation {

}

h2 {
    text-decoration: underline;
    margin-bottom: 0.5em;
    margin-top: 0em;
}

.deadlink {
    display: none;
}

.sim-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    image-rendering: pixelated;
    opacity: 0.4;
    filter: contrast(0.8) sepia(0.15) saturate(0.8);
    pointer-events: none;
    transition: opacity 1.5s ease, filter 1.5s ease, transform 1.5s ease;
    transform: scale(1.0);
}

@keyframes canvasBreathe {
    0% {
        transform: scale(1.0);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.05);
        /* Subtle brightness bump as it expands */
        opacity: 0.6;
    }
}

.sim-background.breathing {
    animation: canvasBreathe 4s ease-in-out infinite alternate;
}

