@font-face {
    font-family: "EliteGroteskLight";
    src: url(./font/EliteGroteskText-Light.woff2);
}

* {
    background-color: #5b047f;
    ;
}

body {
    max-width: 1280px;
    margin: auto;
    padding: 0 1rem 2rem 1rem;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 7rem;
}

h3 {
    font-family: "EliteGroteskLight", sans-serif;
    font-weight: 100;
    font-size: 2.25rem;
    line-height: 2.89rem;
    margin: 0;
    color: #ffffff;
    max-width: 800px;
}

p {
    font-family: "EliteGroteskLight", sans-serif;
    font-size: 1.8rem;
    line-height: 2.3rem;
    text-wrap: pretty;
    margin: 0;
    color: #ffffff;
    max-width: 800px;
}

.large-paragraph {
    font-size: 2.25rem;
    line-height: 2.89rem;
    text-wrap: balance;
}

a {
    font-family: "EliteGroteskLight", sans-serif;
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: #eec5ff;
}

.selected-page {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
    text-underline-offset: 0.75rem;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0.25rem 1rem 0.25rem;
    margin-bottom: 160px;
}

.page-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.header a {
    font-family: "EliteGroteskLight", sans-serif;
    font-size: 1.8rem;
    line-height: 2.3rem;
}

.header-logo {
    height: 60px;
}

.footer-logo {
    height: 42px;
}

.accordion {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 120px;
    border-top: 1px solid #ffffff;
}

.accordion li {
    border-bottom: 1px solid #ffffff;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px 0;
    list-style: none;
    gap: 0.5rem;
}

summary::-webkit-details-marker {
    display: none;
}

/* icon container */
.icon {
    position: relative;
    width: 40px;
    height: 40px;
    color: #ffffff;
}

/* horizontal line */
.icon::before,
.icon::after {
    content: "";
    position: absolute;
    background: currentColor;
}

/* horizontal bar */
.icon::before {
    width: 40px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* vertical bar */
.icon::after {
    width: 1px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

/* remove vertical bar when open → becomes minus */
details[open] .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    padding-top: 16px;
}

.content p {
    overflow: hidden;
    margin: 0;
    padding-bottom: 0;
    transition: padding 0.35s ease;
}

/* expanded state */
details[open] .content {
    grid-template-rows: 1fr;
    padding-bottom: 28px;
}

details[open] .content p {
    padding-bottom: 20px;
}

h4 {
    font-family: "EliteGroteskLight", sans-serif;
    font-size: 1.8rem;
    line-height: 2.3rem;
    font-weight: 100;
    color: #ffffff;
    margin: 0;
    margin-bottom: -1rem;
}

.text-list-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
}

.text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-list li {
    font-family: "EliteGroteskLight", sans-serif;
    font-size: 1.8rem;
    line-height: 2.3rem;
    color: #ffffff;
    position: relative;
    padding-left: 2rem;
    border-bottom: none;
}

/* minus symbol */
.text-list li::before {
    content: "–";
    position: absolute;
    left: 0;
}

.footer {
    display: flex;
    flex-direction: row;
    margin-top: 10rem;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.footer a {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.footer-details {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}



@media (max-width:700px) {

    .header {
        margin-bottom: 80px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 6rem;
        gap: 1rem;
        width: 100%;
    }

    .header {
        align-items: flex-start;
    }

    .page-links {
        flex-direction: column;
        margin-top: 1rem;
    }
}


@media (max-width:500px) {

    .header {
        padding: 1rem 0.25rem 1rem 0.25rem;
        margin-bottom: 60px;
    }

    .page-content {
        gap: 2rem;
    }

    .header-logo {
        height: 44px;
    }

    .footer-logo {
        height: 44px;
    }

    .header a {
        font-family: "EliteGroteskLight", sans-serif;
        font-size: 1.3rem;
        line-height: 1.4rem;
    }

    .page-links {
        margin-top: 0.9rem;
    }

    .selected-page {
        text-underline-offset: 0.4rem;
    }

    .accordion {
        margin-top: 80px;
    }

    .large-paragraph {
        font-size: 1.9rem;
        line-height: 2.4rem;
    }

    h3 {
        font-size: 1.9rem;
        line-height: 2.4rem;
    }

    p {
        font-size: 1.5rem;
        line-height: 1.9rem;
    }

    h4 {
        font-size: 1.5rem;
        line-height: 1.9rem;
    }

    .text-list li {
        font-size: 1.5rem;
        line-height: 1.9rem;

    }

    .footer-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* icon container */
    .icon {
        width: 32px;
        height: 32px;
    }

    /* horizontal bar */
    .icon::before {
        width: 32px;
    }

    /* vertical bar */
    .icon::after {
        height: 32px;
    }

}