.mpContainer {
    width: 100% !important;
    max-width: unset !important;
    margin: unset !important;
    padding: unset !important;
}

.mb-5 {
    margin-bottom: 0 !important;
}

.source-container {
    border-color: var(--palette-purple);
}

.page-header, footer.footer-beige, .footer {
    background-color: #d1bad6;
    border: 6px solid #d1bad6;
    width: 100%;
}
.center-pic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin:auto;
}

.pdfButton {
    background-color: #d1bad6;
    color: black;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
    display: block;
    margin: auto;

}

a {
    color: var(--palette-purple);
}

a:hover {
    color: #d1bad6;
}

.pdfButton:hover {
    background-color: var(--palette-purple);
    color: white;
}

.pdfButton.active {
    background-color: var(--palette-purple);
    color: white;
}

.tabbar {
    background-color: #d1bad6;
    border: unset;
    border-top: var(--palette-purple) 0.1rem solid;
    border-bottom: var(--palette-purple) 0.1rem solid;
}

.tab + .tab {
    border-left: solid 1px var(--palette-purple);
}

.tab {
    background-color: #d1bad6;
    color: black;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
}

.tab:hover {
    background-color: var(--palette-purple);
    color: white !important;
}

.tab.active {
    background-color: var(--palette-purple);
    color: white !important;
}
.titles {
    font-family: "multicolore", sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
    border-bottom: var(--palette-purple) 0.2rem solid;
    display: block;
    width: 100%;
    padding: 1rem;
    padding-top: 2rem;
    text-align: left;

}
.first {
    margin-top: 1rem;
}
/* Defining for mobile*/
@media only screen and (max-device-width: 768px) {
    .pageImg {
        width: 100% !important;
    }

    div {
        margin: auto !important;
        float: unset !important;
    }

    .imgDiv {
        width: 100% !important;
        margin: auto !important;
    }

    .math {
        overflow-x: auto !important;
    }
    .first {
        margin-top: 1rem !important;
    }
    .flexfix {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
}

.collapsible-text-header {
    background-color: #d1bad6;
    border: 6px solid var(--palette-purple);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.open_btn {
    font-family: "Multicolore", sans-serif;
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
    margin-bottom: 2rem;
    cursor: pointer;
}
.math {
    margin: auto;
    text-align: center;
    max-width: 100vw;
    overflow-wrap: break-word;
}
.buttontext {
    font-family: inherit;
    font-size: 1rem;
}

.purple {
    border: var(--palette-purple) 0.1rem solid;
    background-color: #e8eaf6;
    border-radius: 1rem;
}

.arrow {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transform: rotate(180deg);
}
.arrow.active {
    transform: rotate(0deg);
}
/* Nice latex table style */

table {
    border-collapse: collapse;
    border: 1px solid black;
    width: 80%;
    margin: auto;
    font-size: smaller;
}

th, td {
    border: 1px solid black;
    padding: 1.1rem;
    text-align: left;
    width: auto;
}

tr:nth-child(even) {
    background-color: #d1bad6;

}

#equations {
    margin: 0.2rem;
    width: 100%;
    overflow-x: scroll;
    justify-content: center;
}

#table {
    margin-bottom: 1rem;
}