
.experiments-tab {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 5% auto;
    align-items: center;
    justify-content: center;
}

.experiments-tab button {
    background: var(--theme-dark-purple);
    color: var(--theme-orange);
    outline: none;
    border: none;
    font-family: var(--spartan-font);
    font-size: 1.5em;
    padding: 2% 5%;
    border-bottom: 2px solid transparent;
    transition: color, border-bottom-color 200ms ease;
    cursor: pointer;
}

.experiments-tab button:hover {
    color: var(--theme-neon-blue);
}

.experiments-tab button.active {
    color: var(--theme-neon-blue);
    border-bottom: 2px var(--theme-neon-blue) solid; 
}

p.accordion-question {
    font-family: var(--libre-font);
    color: var(--theme-light-blue);
    font-weight: 500;
    font-size: 1.25em;
    margin-bottom: 0;
}

.accordion-answer ul li, .accordion-answer ol li, .accordion-answer p {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-weight: 400;
    font-size: 1.0em;
    margin-bottom: 0;
    line-height: 1.5em;
}

.togglenav {
    margin: 5% 0;
}

.question svg {
    height: 1.25em;
    /* padding-right: 5%; */
    margin-top: auto;
    transition: transform 0.5s ease-in-out;
}

.faq {
    padding: 1rem 0;
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--theme-white);
    padding: 0 0 1% 0;
}

.answer {
    max-height: 0;
    overflow: auto;
    transition: max-height 1.5s ease-in-out;
    padding: 0 1%;
}

.faq.active .answer {
    max-height: 1000px;
    animation: fade 0.7s ease-in-out;
}

.faq.active svg {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}


@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Temporary classes */
ol.ref-list li {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-weight: 400;
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 5% 0;
    font-style: italic;
}

@media (max-width: 540px) {
    .experiments-tab {
        margin: 7% auto;
    }

    .experiments-tab button {
        height: 2.5em;
    }
}