/* Main Darkest =  #7f3c18 */
/* Main darker =  #C95F26 */
/* Main dark =  #DF8758 */
/* main light =  #E9A986*/

/* reusable flex tables */
.flex-container {
    font-weight: 700;
    margin: 16px;
}

.flex-category {
    background-color: #7f3c18;
    color: white;
    text-align: center;
}

.flex-category a {
    color: white;
}

.flex-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: white;
}

.category-flex-description {
    flex: 1;
    border: 1px solid #7f3c18;
    display: flex;
    flex-direction: column;
}

.flex-download {
    display: flex;
    justify-content: space-around;
    background-color: white;
    margin-top: auto;
}

.category-download {
    flex: 1;
}

/* spectra section 2 */
.category-title {
    background-color: #7f3c18;
    color: white;
}

.flex-text {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    border-bottom: 2px solid #7f3c18;
    border-left:  2px solid #7f3c18;
    border-right: 2px solid #7f3c18;
}

.flex-text p {
    margin: 0;
}

/* spectra section 3 */
.figure-table h5 {
    text-decoration: underline;
    margin-top: 50px;
}

.figure-table img {
    width: 326px;
}

/* interstellar & Cometary */
.first-molecule-table {
    width: calc(100% - 395px);
}

.molecule-table {
    border: 1px solid #7f3c18;
    margin-bottom: 40px;
}

.block-text {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-text p {
    padding: 8px;
    width: max-content;
}

@media screen and (max-width: 600px) {
    .first-molecule-table {
        width: auto;
    }
}

@media screen and (max-width: 350px) {
    .figure-table img {
        width: 200px;
    }
}