/* CSS insipiration via Vulfpeck - vulfpeck.com*/

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --link-color: #0066cc;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --link-color: #6eb3ff;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: fadeIn 0.6s ease-in;
}

pre {
    font-family: 'JetBrains Mono', 'Berkeley Mono', 'SF Mono', Menlo, Monaco, "Courier New", Courier, monospace;
    font-size: 16.0px;
    line-height: 1.7;
    max-width: min(90%, 600px);
    margin: auto;
    padding: 20px;
    position: relative;
    text-align: left;
    white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
    white-space: -pre-wrap; /* Opera */
    white-space: -o-pre-wrap; /* Opera */
    white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
    word-wrap: break-word; /* IE 5.5+ */
}

.name {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 0.05em;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin: 0;
}

a:link {
    color: var(--link-color);
    text-decoration:none;
    transition: color 0.2s ease;
}

a:visited {
    color: var(--link-color);
}

a:hover {
    text-decoration:underline;
    opacity: 0.8;
}

a:focus-visible {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Link color classes */
.link-detroit { color: #7B9095; }
.link-detroit:visited { color: #7B9095; }
.link-duo { color: #5AB63D; }
.link-duo:visited { color: #5AB63D; }
.link-plangrid { color: #2196F3; }
.link-plangrid:visited { color: #2196F3; }
.link-trove { color: #664897; }
.link-trove:visited { color: #664897; }
.link-mobiata { color: #3D88DD; }
.link-mobiata:visited { color: #3D88DD; }
.link-github { color: #3CB371; }
.link-github:visited { color: #3CB371; }
.link-linkedin { color: #0077B5; }
.link-linkedin:visited { color: #0077B5; }

