@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --text: #ffffff;
    --background: #232323;
    --primary: #490386;
    --secondary: #dedcff;
    --accent: #515151;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--background);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    color: white;
}

.center-container {
    display: flex;
    justify-content: center;
}

.typed-out {
    display: flex;
    margin-top: 1em;
    font-size: 40px;
    color: var(--text);
    overflow: hidden;
    border-right: 6px solid;
    white-space: nowrap;
    animation: typing 4s ease-in-out,
    blinking 0.6s infinite,
    hide-cursor 1.8s 1.8s forwards;

}

@keyframes typing {

    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
}

@keyframes blinking {
    from {
        border-color: transparent;
    }
    to {
        border-color: var(--accent);
    }
}

@keyframes hide-cursor {
    from {
        border-right: var(--accent);
    }
    to {
        border-right: none;
    }
}