:root {
    --bg: #0d0d0d;        /* near black */
  --text: #e8e0d5;      /* warm off-white, easier on the eyes than pure white */
  --cursor: #c0392b;    /* deep red, gives it a brooding feel */
  --cursor-glow: rgba(192, 57, 43, 0.4); /* for a subtle glow effect on the cursor */
}

body {
    background-color: var(--bg);
    color: var(--text);
}

.typewriter-container {
    display: inline-block;
}

.text {
    font-family: iAWriterDuoV;
    margin-top: 300px;
    transform: translateX(100px);
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 3px solid;
    animation: type 8s steps(68) infinite, 
    blink 1s step-end infinite;
}

@keyframes type {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: var(--cursor);
    }

    100% {
        border-color: transparent;
    }
}

@font-face {
    font-family: iAWriterDuoV;
    src: url(iAWriterDuoV.ttf);
}

.audio-container {
    display: block;
    margin-left: 1rem;
    height: 50px;
    width: 300px;
}