/* Webpage fonts */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/roboto.woff2') format('woff2');
    unicode-range: U+0370-03FF;
}

@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/roboto-mono.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Webpage styles */
html {
    color-scheme: dark;
}

body {
    margin: 0 32px;
    min-height: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12pt;
    color: white;
    background-color: #2c2c2c;
}

.container {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    padding: 1rem 2rem;
}

.heading {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nameheading {
    margin: 0;
    margin-top: auto;
    padding: 0;
    font-weight: 400;
    font-family: 'Roboto Mono', 'Cascadia Code', 'Courier New', Courier, monospace;
}

.nogapsubheading {
    margin: 0;
    padding: 0;
    font-size: 11pt;
}

.title {
    font-size: 14pt;
    font-weight: 400;
    padding-top: 0.5rem;
}

.links {
    line-height: 1.5;
}

footer {
    position: absolute;
    bottom: 0;
    padding-bottom: 1rem;
}

/* Blinking cursor animation */
@keyframes blink {
    0% { visibility: hidden; }
    50% { visibility: hidden; }
    100% { visibility: visible; }
}

.blink {
    animation: blink 1s infinite;
}

/* Typing effect animation */
@keyframes typing {
    from { width: 0; }
    to { width: 6ch; }
}

.typed-text {
    overflow: hidden;
    border-right: 2px solid;
    white-space: nowrap; 
    width: 0;
    display: inline-block;
    animation: typing 0.5s steps(15, end) forwards;
}

.blue {
    color: rgb(87, 126, 255);
}

.green {
    color: rgb(114, 219, 131);
}

* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

a:link, a:visited {
    color: #ff9375;
}

.footer-middle-icon {
    padding: 1.25rem;
}

.feather {
    stroke: white;
}

.footer-icon:link {
    color: transparent;
}

.feather:hover {
    stroke: #ff9375;
}

.p404 {
    padding-top: 2rem;
    font-size: 13pt;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .container {
        padding: 0;
        padding-top: 1rem;
    }

    h1 {
        font-size: 1.5em;
    }
}
