:root {
    --accent-color: #FF6B6B;
    --background-color: #191719;
    --surface-color: #242024;
    --surface-deep: #131113;
    --surface-raised: #3A2E33;
    --text-color: #F2EDEE;
    --muted-color: #B8A9AE;
}

body {
    margin: 0px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "JetBrains Mono", monospace;

    scrollbar-color: var(--accent-color) var(--background-color);

    display: grid;
    justify-content: center;

    /* Safety net against sideways scrolling. "clip" (unlike "hidden") keeps position: sticky working. */
    overflow-x: clip;
}

::selection {
    background: var(--accent-color);
    color: var(--background-color);
}


::-webkit-scrollbar {
    width: 7px;
    height: 15px;
}

::-webkit-scrollbar-track-piece {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb:vertical {
    background-color: var(--accent-color);
    border-radius: 100px;
}

.accent-color {
    color: var(--accent-color);
}

a {
    color: inherit;
}

.a-href-style:link,
.a-href-style:visited {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 3px dotted var(--accent-color);
    background-color: transparent;

    transition: color 400ms, background-color 400ms;

    width: fit-content;
}

.a-href-style:hover {
    color: var(--background-color);
    background-color: var(--accent-color);
}

.breadcrumb-link {
    font-size: 18px;

    text-decoration: none;
    transition: color 200ms;
}

.breadcrumb-link:hover {
    color: var(--accent-color);
}

.breadcrumb-console-bar {
    width: 80%;
    justify-self: center;

    font-size: 22px;

    margin-top: 20px;
    display: flex;
}

.breadcrumb-console-bar-cursor {
    font-size: 18px;
    margin-left: 2px;
    margin-top: 5px;

    animation: blink 1700ms infinite;
}

@keyframes blink {
    50% {
        opacity: 1;
    }

    70% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.breadcrumb-console-bar-holder {
    display: grid;

    z-index: 9999;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;

    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);

    mask-image: linear-gradient(to bottom,
            black 0%,
            black 70px,
            transparent 90px);
    -webkit-mask-image: linear-gradient(to bottom,
            black 0%,
            black 70px,
            transparent 90px);
}

.top-button-holder{
    height: 30px;
    display: flex;

    margin-left: auto;

    margin-right: -3vw;
}

.top-button{
    width: 120px;
    height: 30px;

    text-align: center;

    font-size: 18px;

    padding-top: 5px;

    transition: color 200ms, font-size 200ms, padding-top 200ms;
    text-decoration: none;
}

.top-button:hover{
    padding-top: 3.5px;
    font-size: 20px;
    color: var(--accent-color);
}

.top-button-cv{
    color: var(--accent-color);
    font-weight: bold;
}

.FullscreenFade {
    z-index: 9998;
    width: 100vw;
    height: 100vh;
    background-color: var(--background-color);
    position: fixed;
    top: 0px;
}


.hosted-where-text{
    font-size: 14px;
    margin-top: 12px;
    justify-self: center;

    margin-bottom: 32px;
}

.bottom-bar {
    background-color: var(--surface-deep);
    width: 75vw;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    height: fit-content;

    border-radius: 10px;

    justify-self: center;
    
    margin-top: 100px;


    display: flex;
    justify-content: baseline;

    box-shadow: 3px 4px 6px rgba(0, 0, 0, 0.24);
}

.bottombar-separator{
    margin-top: 11px;
    margin-bottom: 11px;

    border-left: 1.5px solid var(--text-color);
}

.cpy-right {
    height: 100%;

    margin-left: 1.4%;
}

.bottom-all-icon-holder{
    display: flex;
    
    align-self: center;
}

.bottom-icon {
    width: 36px;
    height: auto;

    margin-top: 20%;
    margin-left: -20%;


}

/* Tablets and small laptops: 16px gutter, and buttons only as wide as their text
   so all five always fit next to the ~ path. */
@media (max-width: 1100px) {
    .breadcrumb-console-bar {
        width: calc(100% - 32px);
    }

    .top-button-holder{
        margin-right: 0px;
    }

    .top-button{
        width: auto;
        padding: 5px 12px 0px 12px;
    }

    .bottom-bar {
        width: calc(100vw - 32px);
    }
}

/* Phones: smaller buttons, and the typed path is hidden to make room for them. */
@media (max-width: 760px) {
    .top-button{
        padding: 5px 8px 0px 8px;
        font-size: 15px;
    }

    .top-button:hover{
        padding-top: 5px;
        font-size: 15px;
    }

    .breadcrumb-base{
        display: none;
    }
}

@media (max-width: 440px) {
    .top-button,
    .top-button:hover{
        padding: 6px 6px 0px 6px;
        font-size: 13px;
    }
}

/* Phones: the footer stacks vertically and is centred.
   !important is needed because BottomBar.js sets the email's margins inline. */
@media (max-width: 700px) {
    .bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 16px 20px 16px;
        margin-top: 60px;
    }

    .bottom-bar > p {
        margin: 0px 0px 12px 0px !important;
        overflow-wrap: anywhere;
    }

    .cpy-right {
        margin-left: 0px;
    }

    .bottombar-separator {
        display: none;
    }

    .bottom-all-icon-holder {
        gap: 20px;
    }

    .bottom-icon {
        margin: 0px;
    }
}
/* Plain list of links shown only when JavaScript is disabled. */
.noscript-list {
    grid-column: 1 / -1;
    font-size: 20px;
    line-height: 2;
}
