@import url('../color-variables/variables.css');

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

body {
    flex: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color-body);
    background-color: var(--bg-color-body);
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
    padding-top: 30px;
    padding-bottom: 30px; 
    margin: 0 auto;
    gap: 3rem;
}

footer {
    text-align: center;
    font-size: small;
    padding: 30px;
    width: 80%;
    margin: 0 auto;
}

.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
}

.config {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 20px;
    width: 200px;
    height: 100px;
}

#change-theme, #increase-text {
    background-color: var(--bg-color-button);
    color: var(--text-color-body);
    border: 1px solid var(--border-color-button);
    border-radius: 8px;
    padding: 12px;
    transition: 0.2s transform;
}

#change-theme:hover, #increase-text:hover, 
#change-theme:focus-visible, #increase-text:focus-visible {
    transform: scale(1.1);
}

.faq-container {
    width: 100%;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-container li {
    border-bottom: 1px solid var(--border-color-button);
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-color-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5px 10px 5px;
}

.faq-question::after {
    content: "▼";  
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    font-size: 16px;
    text-align: justify;
    transition: max-height 0.3s ease-in-out;
}