@import "static/styles/terminal.css";

:root {
    --bg-primary: #2e2d2d;
    --fg-primary: #eeeade;

    color: var(--fg-primary);
    background-color: var(--bg-primary);
}

body {
    margin: 0;
}

#desk {
    background-image: url("static/images/desk.jpg");
    background-size: cover;
    background-position: center;
    width: 50%;
    aspect-ratio: 4 / 3;
    border-radius: 100%;

    position: relative;
}

.noise {
    width: 100%;
    height: 120%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0)
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    filter: contrast(145%) brightness(650%) invert(100%);
    mix-blend-mode: screen;
}

.flash-anim {
    position: relative;
    /* top: 161px; */
    top: 31.5%;
    /* left: 264px; */
    left: 38.7%;
    /* width: 169px; */
    width: 24.7%;
    /* height: 98px; */
    height: 19%;
    transform: skewx(359deg);
    background-color: var(--bg-primary);
    animation: strobe-animation 0.2s steps(1, start) infinite;

    & > a {
        color: var(--bg-primary);
    }
}

.flash-anim:hover {
    animation-play-state: paused;
    visibility: visible; 

    & > a {
        text-decoration: none;
        justify-content: center;
        align-items: center;
        display: flex;
        width: 100%;
        height: 100%;
        color: var(--fg-primary);
    }
}

@keyframes strobe-animation {
    50% { 
        visibility: hidden; 
    }
}

.fof {
    height: 100vh;

    & > article {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;

        & > a {
            text-decoration: none;
            color: var(--fg-primary);
        }
    }
}

.h-full {
    height: 100vh;
}

.border-box {
    box-sizing: border-box;
}

.flex {
    display: flex;
}

.p-sm-tb {
    padding: 2rem 0;
}

.p-m-tb {
    padding: 3rem 0;
}

.p-sm {
    padding: 2rem;
}

.md-margin-t {
    margin-top: 2rem;
}

.container {
    padding: 3rem;
}

.justify-text {
    text-align: justify;
}

.justify-content {
    justify-content: space-between;
}

.center-content {
    justify-content: center;
}

.top-align {
    align-items: flex-start;
}

.center-align {
    align-items: center;
}

.gap-1 {
    gap: 1rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}