/* off-stage-practice-www/about.css  --  the "About <name>" section of the profile window + its answer form.
   Loaded after style.css and logform.css (see index.html). Change the colours here. */

:root {
    --about-head: #090909;   /* "ABOUT <NAME>" heading */
    --about-q:    #3f4041;   /* the questions */
    --about-a:    #7C1823;   /* the answers 棗紅*/
}

/* heading row: "About <name>" on the left, the answer/edit button on the right */
.p-about-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--about-head);
    margin: 48px 0 6px;
}
.p-about-btn {
    flex: none;
    border: 2px solid var(--win-ink);
    border-radius: 5px;
    background: #fff6d4;
    color: var(--win-ink);
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 3px 8px;
    cursor: pointer;
}
.p-about-btn:hover { background: #f1c40f; }

/* the answered questions (unanswered ones are not rendered at all) */
.p-about { margin-top: 4px; }
.p-aq {
    font-size: 12px;
    line-height: 1.5;
    color: var(--about-q);
    margin-top: 14px;
}
.p-aa {
    font-size: 12px;
    line-height: 1.6;
    color: var(--about-a);
    margin-top: 2px;
    white-space: pre-wrap;        /* keeps the line breaks the person typed */
    overflow-wrap: anywhere;
}
.p-alist { white-space: normal; }   /* list answers: "a, b, c" */

@media (max-width: 560px) {
    .p-about-head { font-size: 16px; margin-top: 32px; }
}

/* the answer form (popup opened by the button) */
.lg-ab + .lg-ab { margin-top: 4px; }
