.image-container {
    text-align: center;
    position: relative;
    display: inline-block;
}

.center-image {
    display: inline-block;
    max-width: 82%;
}

.typed {
    min-width: 75%;
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-57%, -57%);
    /* Center text */
    font-weight: bold;
    color: white;
    /* Ensure visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Make text readable */
}

.typed-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

@media (min-width: 768px) {
    .typed-layout {
        flex-direction: row;
        justify-content: center;
    }
}

.static-text {
    display: block;
}

.animated-text {
    display: inline-block;
    padding-left: 5px;
    color: #9b111e
}

.animated-text::after {
    content: "|";
    /* Cursor representation */
    display: inline-block;
    color: white;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    50% {
        opacity: 0;
    }
}