body {
    background-color: white;
    color: grey;
    font-family: monospace, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#container {
    display: inline-block; /* Keep text and caret together */
    text-align: left; /* Center the text and caret */
}

#text {
    font-size: 1.5em;
    white-space: pre-line; /* Preserve line breaks */
    display: inline; /* Ensure caret is inline with text */
}

#caret {
    width: 8px;
    height: 1.5em;
    background-color: grey;
    display: inline-block; /* Keep caret inline with text */
    animation: blink 0.5s step-start infinite;
}

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

.styled-text {
    color: #008000;  /* Change text color to green */
}

a {
    text-align: center;
    color: grey;
    text-decoration: none;
}

a:hover {
    color: black;
}

#name {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3vh;
    font-size: 1.5em; /* Adjust the font size as needed */
    color: grey; /* Adjust the text color */
}

#education-link, #contact-link {
    display: block; /* Display as block to ensure it starts on a new line */
    font-size: 1.2em;
    color: royalblue; /* Blue color for the link */
    text-decoration: none;
    margin-top: 20px; /* Space above the link */
    text-align: center; /* Center the link within the container */
    position: absolute; /* Position relative to its parent */
    bottom: 20px; /* Move link to the bottom of the container */
    left: 50%; /* Center the link horizontally */
    transform: translateX(-50%); /* Adjust for the left position */
}

#education-link:hover, #contact-link:hover {
    color: dodgerblue;
}