.text {
    width: 20%;
    height: 100%;
    padding-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.text h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: calc(var(--body-font) * 2);
    color: var(--purple);
    text-align: center;
}

.text p {
    font-family: "Sour Gummy", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--purple);
    text-align: center;
    font-size: var(--body-font);
}

.image {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.image img {
    width: 100%;
    bottom: var(--footer-height);
    position: relative;
}

.accordion {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2%;
    padding-bottom: 5%;
}

.accordion-heading {
    width: 100%;
    height: calc(var(--body-font) * 2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5%;
    background-color: #F9FCFE54;
    outline: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.accordion-heading h2 {
    font-family: "Sour Gummy", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--purple);
    font-size: calc(var(--body-font) * 1.25);
}

.accordion-heading img {
    height: 70%;
    width: auto;
}

.accordion-heading:hover {
    background-color: #F9FCFE90;
}

.accordion-text {
    width: 100%;
    margin-bottom: 2vh;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.accordion-text p {
    font-family: "Sour Gummy", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(var(--body-font) * 0.9);
    color: var(--white);
}

.accordion-text.open {
    max-height: calc(var(--body-font) * 10);
}

@media screen and (max-width: 48em) {
    .content {
        flex-direction: column;
    }

    .text {
        width: 80%;
        max-width: 15rem;
    }

    .image {
        width: 80%;
        max-width: 15rem;
    }

    .accordion {
        width: 80%;
        max-width: 15rem;
    }
}
