body, h1, h2, h3, ul, ol, li, p, a {
    margin: 0;
    padding: 0;
    font-weight: 400;
    text-decoration: none;
    list-style-type: none;
}

:root {
    --primary-color: #271B2E;
    --secondary-color: #FCBA7A;
    --text-color: #444444;
    --background-color: #FFFFFF;
    --viewport-padding: 5%;
}

body {
    font-size: 12pt;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--primary-color);
}

@media (max-width: 1280px) {
    body {
        font-size: 10pt;
    }
}

a {
    color: var(--text-color);
}

.container {
    padding: 0 var(--viewport-padding);
}

header {
    margin-top: 15px;
    padding-top: 5ex;
    padding-bottom: 5ex;
    border-bottom: solid 1px var(--text-color);
    background-color: var(--background-color);
}

#logo {
    display: flex;
    gap: 2ex;
}

#logo div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo div:first-child {
    padding-right: 2ex;
    text-align: right;
    border-right: solid 1px var(--text-color);
}

#logo h1 {
    font-family: "Uncial Antiqua", system-ui;
    font-optical-sizing: auto;
    font-size: 3em;
}

#logo h2 {
    font-size: 1.2em;
}

#logo h3 {
    font-size: 1.5em;
}

#logo h2, #logo h3 {
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

#logo a {
    color: var(--primary-color);
}

#logo h1 a:hover {
    color: var(--secondary-color);
}

footer {
    background-color: var(--background-color);
}

#contact {
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1em;
    border-top: solid 5px var(--primary-color);
    border-bottom: solid 1px var(--text-color);
    padding-top: 5ex;
    padding-bottom: 5ex;
}

#contact a {
    border-bottom: dotted 1px var(--text-color);
}

#contact h2, #contact h3 {
    font-weight: 500;
    margin: 1ex 0 .5ex 0;
}

#copyright {
    font-size: .8em;
    text-align: center;
    padding-top: 4ex;
    padding-bottom: 8ex;
}

main {
    background-image: url(./img/floral-pattern.png);
    padding-top: 2ex;
    padding-bottom: 2ex;
}

main .container {
    background-color: #ffffff;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1em;
    padding-top: 4ex;
    padding-bottom: 4ex;
    border-bottom: solid 1px var(--text-color);
    border-top: double 6px var(--text-color);
}

.multi-menu {
    display: flex;
    flex-direction: column;
    gap: 4ex;
    flex-wrap: wrap;
    margin-bottom: 4ex;
    text-align: center;
}

.multi-menu div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5ex;
}

@media (max-width: 1280px) {
    .multi-menu div {
        flex-direction: column;
        gap: 2ex;
    }
}

.multi-menu a {
    border-bottom: dotted 1px transparent;
    font-weight: 500;
}

.multi-menu a:hover {
    border-bottom: dotted 1px var(--text-color);
}

.multi-menu .special-menu a {
    color: var(--text-color);
    padding: 1ex 2ex;
    border: solid 2px var(--text-color);
}

.multi-menu .special-menu a.special-link {
    background-color: var(--primary-color);
    border: solid 2px transparent;
    color: var(--background-color);
}

/* #main-menu {
    background-image: url(./img/abstract.jpg);
    background-size: cover;
} */

main .container p, main .container ol, main .container ul {
    line-height: 1.5em;
    margin-bottom: 2ex;
}

main .container h1 {
    margin-bottom: .8ex;
}

main .container h2 {
    margin-bottom: 1ex;
}

main .container ul li {
    list-style-type: disc;
}

main .container ol li {
    list-style-type: decimal;
    margin-left: 2ex;
}

main .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5ex;
    padding: 0.5ex 1.8ex 0.5ex 0.5ex;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border: solid 2px var(--text-color);
    margin-bottom: 4ex;
}

main .back-button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(./img/chevron-backward.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

main table {
   font-size: 0.8em; 
}

main table.data {
    width: 100%;
}

main .data tr td:first-child {
    width: 3ex;
}

main table tr:nth-child(even) {
    background-color: #eeeeee;
}

main table, th, td {
  border: 1px solid #b4b4b4;
  border-collapse: collapse;
}

main table {
    margin-bottom: 4ex;
}

main th, main td {
    padding: 1ex;
}

main a.file-link, main a.web-link {
    display: inline-flex;
    gap: 0.5ex;
    padding: 0.5ex 1.8ex 0.5ex 0.5ex;
}

main a.file-link::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(./img/doc.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

main a.web-link::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(./img/link.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

/* @media (max-width: 1280px) {
    main .data tr td:first-child {
        width: unset;
    }

    main .data tr td:last-child img {
        height: 28px;
    }

    .data {
        overflow-x: auto;
    }

    .data th, .data tr {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
} */
@media (max-width: 1280px) {
    main .data tr th:nth-child(3), 
    main .data tr th:nth-child(4), 
    main .data tr th:nth-child(5),
    main .data tr th:nth-child(6),
    main .data tr th:nth-child(7),
    main .data tr td:nth-child(3), 
    main .data tr td:nth-child(4), 
    main .data tr td:nth-child(5),
    main .data tr td:nth-child(6),
    main .data tr td:nth-child(7)
    {
        display: none;
    }
}

main .inline-amp {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 1ex 2ex;
    border-radius: 5px;
}

#footer-menu {
    padding-top: 4ex;
    padding-bottom: 5ex;
    border-bottom: solid 1px var(--text-color);
    display: flex;
    justify-content: center;
    gap: 5%;
    font-size: 0.9em;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

#footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2ex;
}

@media (max-width: 1280px) {
    #footer-menu {
        flex-direction: column;
        text-align: center;
    }
}

ol.methods ol li {
    list-style-type: upper-latin;
}

ol.methods ul li {
    list-style-type: disc;
}