@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');

html {
    display: flex;
    justify-content: center;
}

body {
    font-family: "Roboto Slab", Arial, sans-serif;
    width: min(max(400px, 60%), 1500px);
}

.roles {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roles > p {
    max-width: min(max(400px, 60%), 1500px);
    margin: 0;
}

.nav {
    display: flex;
    justify-content: center;
}

.nav__link:not(.nav__link--current) {
    color: blue;
}

.nav__link:not(:last-child):after {
    content: "•";
    margin: 0 0.5rem;
    color: black;
    text-decoration: none;
    display: inline-block;
}

ul {
    margin-top: -0.5rem;
}

h1 {
    text-align: center;
}

table {
    border-collapse: collapse;
    text-align: center;
    margin: 0 auto;
}

thead {
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
}

td:not(:first-child), th:not(:first-child) {
    border-left: 1px solid black;
    padding-left: 1rem;
}

td:not(:last-child), th:not(:last-child) {
    padding-right: 1rem;
}

.roles__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.role {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid black;
    padding: 0.7rem;
    text-align: center;
    max-width: 400px;
}

.role__title {
    font-size: 1.2rem;
    margin: 0;
}

.role__attributes {
    display: flex;
    justify-content: center;
}

.role__attribute {
    text-transform: uppercase;
    font-variant: small-caps;
    font-weight: bold;
    font-size: 0.7rem;
    color: #444;
}

.role__attribute:not(:last-child):after {
    content: "•";
    margin: 0 0.4rem;
}

.role__description {
    margin: 0;
}
