#about-page .magic-words {
    margin: 13px auto 0;
    width: 100%;
    border-radius: 24px;
    background: var(--heo-card-bg);
    border: var(--style-border-always);
    box-shadow: var(--heo-shadow-border);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.shapes {
    position: relative;
    height: 315px;
    width: 100%;
    background: #2128bd;
    overflow: hidden;
}

.shape {
    will-change: transform;
    position: absolute;
    border-radius: 50%;
}

.shape.shape-1 {
    background: #005ffe;
    width: 650px;
    height: 650px;
    margin: -325px 0 0 -325px;
}

.shape.shape-2 {
    background: #ffe5e3;
    width: 440px;
    height: 440px;
    margin: -220px 0 0 -220px;
}

.shape.shape-3 {
    background: #ffcc57;
    width: 270px;
    height: 270px;
    margin: -135px 0 0 -135px;
}

.magic-words .content {
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 315px;
    width: 100%;
    background: #fff;
    mix-blend-mode: screen;
}

[data-theme="dark"] .magic-words .content {
    background: transparent;
}

[data-theme="dark"] .magic-words h1 {
    color: var(--heo-white);
}

.magic-words h1 {
    font-size: 200px;
    color: #000;
    margin: 0;
    text-align: center;
    font: inherit;
    vertical-align: baseline;
    line-height: 1;
    font-size: calc((0.1289119683 * 80vw + (8.5262155885px)));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 419px) {
    /* .magic-words h1 {
        font-size: calc((0.0989119683 * 100vw + (58.5558852621px)));
    } */
}

@media (max-width: 768px) {
    .magic-words {
        margin:20px 0 auto
    }
}

.cursor {
    position: absolute;
    background: #2128bd;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    will-change: transform;
    user-select: none;
    pointer-events: none;
    z-index: 3;
}

::selection {
    color: #fff;
    background: #2128bd;
}

/* --- restore Magic Words interactivity & keep it above neighbors --- */
#about-page .magic-words {
  position: relative;     /* ensure stacking context */
  z-index: 100;           /* sit above map/carousel blocks */
  pointer-events: auto;   /* make sure it can receive events */
  min-height: 315px;      /* reserve its own hit area */
}

/* overlays inside shouldn't eat the mouse */
#about-page .magic-words .content,
#about-page .magic-words .shapes,
#about-page .magic-words .shape,
#about-page .magic-words .cursor {
  pointer-events: none;
}

/* neighbors: keep below so they don't cover it */
#about-page .aboutMapRight,
#about-page .imageContainer {
  position: relative;
  z-index: 0;
}
