body {
    background-color: var(--dashboard-page-color);
}

h1 {
    text-align: center;
}

#subheading {
    text-align: center;
    color: var(--primary-1-faded);
    margin-bottom: 4vh;
}

section {
    width: 80%;
    margin: 4vh auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vh;
    grid-auto-rows: min-content;
}

section div {
    width: 98%;
    height: fit-content;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 2vh;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-content: start;
    align-self: start;
    overflow: hidden;
}

section h2 {
    color: var(--primary-1);
    margin: 2vh 0;
    grid-column: 2 / 7;
    font-size: 1.2em;
}

section p {
    color: var(--primary-1-faded);
    grid-column: 2 / 7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    margin: 0;
}

section p.hide {
    max-height: 0;
}

section p {
    max-height: 500px;
    margin: 1vh 0;
}

section img {
    grid-column: 1 / 2;
    margin: 2vh;
}

#support {
    width: 80%;
    margin: 2vh auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4vh;
}

#support h3 {
    font-size: 1.2em;
    color: var(--primary-1);
}

#support p {
    color: var(--primary-1-faded);
}

#support > a {
    height: 6vh;
    width: 80%;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
}

@media (orientation: portrait) {
    section {
        width: 100%;
        grid-template-columns: 1fr;
    }

    section div {
        margin: 0 auto;
        width: 90%;
        padding: 2vw 0;
    }

    section p {
        margin-right: 2vw;
    }

    #support {
        width: 80%;
        display: block;
    }

    #support > a {
        margin: 3vh 0;
        height: 5vh;
        font-size: 1.2em;
    }
}
