* {
    box-sizing: border-box;
}

:root {
    --color-background: #cdb3ff;
    --color-link: #083e66;
    --color-link-border: #946cdf;
    --color-text: #82105a;
}

html {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

body {
    color: var(--color-text);
    margin: 0 auto;
    padding: 0;
}

a {
    border-bottom: 2px solid var(--color-link-border);
    color: var(--color-link);
    display: inline-block;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
}

a:hover {
    border-bottom: 2px dotted var(--color-link-border);
}

body {
    align-items: center;
    display: flex;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.c-content {
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    width: min(100%, 700px);
}

.c-content__inner {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
}

.c-content__text {
    font-size: min(5rem, 10vw);
    font-weight: 500;
}

legend {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}

.c-label {
    display: block;
    font-size: 1.1rem;
}

.c-label + .c-label {
    margin-top: 0.5rem;
}

.c-text-option {
    display: none;
    hyphens: auto;
    line-height: 1.1;
    word-break: break-word;
}

.c-form:has(#option-1:checked) + .c-content__text .c-text-option.c-text-option--1,
.c-form:has(#option-2:checked) + .c-content__text .c-text-option.c-text-option--2,
.c-form:has(#option-3:checked) + .c-content__text .c-text-option.c-text-option--3,
.c-form:has(#option-4:checked) + .c-content__text .c-text-option.c-text-option--4,
.c-form:has(#option-5:checked) + .c-content__text .c-text-option.c-text-option--5,
.c-form:has(#option-6:checked) + .c-content__text .c-text-option.c-text-option--6,
.c-form:has(#option-7:checked) + .c-content__text .c-text-option.c-text-option--7,
.c-form:has(#option-8:checked) + .c-content__text .c-text-option.c-text-option--8, 
.c-form:has(#option-9:checked) + .c-content__text .c-text-option.c-text-option--9, 
.c-form:has(#option-10:checked) + .c-content__text .c-text-option.c-text-option--10, 
.c-form:has(#option-11:checked) + .c-content__text .c-text-option.c-text-option--11, 
.c-form:has(#option-12:checked) + .c-content__text .c-text-option.c-text-option--12, 
.c-form:has(#option-13:checked) + .c-content__text .c-text-option.c-text-option--13, 
.c-form:has(#option-14:checked) + .c-content__text .c-text-option.c-text-option--14,
.c-form:has(#option-15:checked) + .c-content__text .c-text-option.c-text-option--15,
.c-form:has(#option-16:checked) + .c-content__text .c-text-option.c-text-option--16,
.c-form:has(#option-17:checked) + .c-content__text .c-text-option.c-text-option--17,
.c-form:has(#option-18:checked) + .c-content__text .c-text-option.c-text-option--18, 
.c-form:has(#option-19:checked) + .c-content__text .c-text-option.c-text-option--19, 
.c-form:has(#option-20:checked) + .c-content__text .c-text-option.c-text-option--20, 
.c-form:has(#option-21:checked) + .c-content__text .c-text-option.c-text-option--21, 
.c-form:has(#option-22:checked) + .c-content__text .c-text-option.c-text-option--22,
.c-form:has(#option-23:checked) + .c-content__text .c-text-option.c-text-option--23, 
.c-form:has(#option-24:checked) + .c-content__text .c-text-option.c-text-option--24, 
.c-form:has(#option-25:checked) + .c-content__text .c-text-option.c-text-option--25 {
    display: block;
}

.c-footer {
    background-color: var(--color-background);
    font-size: 0.85rem;
    inset: auto 0 0 0;
    padding: 1rem 1.5rem 1rem;
    position: fixed;
    text-align: center;
    width: 100%;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #211930;
        --color-link: #dd64b3;
        --color-link-border: #7053a6;
        --color-text: #1b94bf;
    }
}

@media (min-width: 860px) {
    .c-content {
        padding: 0 1rem;
    }

    .c-content {
        width: min(100%, 1000px);
    }

    .c-content__inner {
        display: grid;
        gap: 5rem;
        grid-template-columns: 1fr 1fr;
    }

    .c-content__text {
        align-items: center;
        bottom: 0;
        display: flex;
        height: calc(100vh - 2rem);
        position: sticky;
        top: 0;
    }
}