@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.ttf");

  font-family: "Bitter";
  src: url("/fonts/Bitter.ttf");
}

:root {
  --text-main: #eceff4;
  --font-default: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --font-heading: "Bitter";
  --text-gray: #dddddd;
  --text-light-blue: #70c1ff;
  --background-color: #1e232e;
  --table-alternating-color: #2b3141;
}

html {
  font-family: var(--font-default);
  background-color: var(--background-color);
  color: var(--text-main);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 1.6rem;
  font-weight: bold;
}

h2 {
  font-size: 1.3rem;
  font-weight: bold;
}

h3 {
  color: var(--text-light-blue);
  font-size: 1.2rem;
  font-weight: bold;
}

p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.5rem;
}

li {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.5rem;
}

nav > ul {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

th {
  text-align: start;
}

footer {
  padding: 1.5rem;
}

a:hover {
  color: var(--text-light-blue);
}

table {
  border-collapse: collapse;
  border: 1px solid #131022;
  width: 100%;
}

table th,
table td {
  border-width: 0;
}

table tr th,
table tr td {
  border-bottom: 1px solid var(--bg-dark-gray);
  border-right: 1px solid var(--bg-dark-gray);
  padding: 0.25rem 0.5rem;
}

table tr td:first-child {
  font-weight: 600;
}

table tr th:last-child,
table tr td:last-child {
  border-right: none;
}

table tr:last-child th,
table tr:last-child td {
  border-bottom: none;
}

table tr th {
  text-align: left;
  background-color: #161c2b;
  color: #e2e2e2;
}

table tr:nth-of-type(odd) td {
  background-color: var(--table-alternating-color);
}

table tr:hover td {
  background-color: #0506083d;
  color: #e2e2e2;
}

img {
  object-fit: cover;
}

#header-section {
  padding: 0.5rem;
  position: sticky;
  top: 0;
  background-color: #1a1f29;
  box-shadow: 0 0 4px 0px black;
}

#uni-title {
  color: #77dd77;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  padding-bottom: 0.5rem;
}

#dungeons-and-cats-banner {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f29 0%, #2c3546 100%);
}

.title {
  padding: 0 12px 0 12px;
  text-align: center;
  padding-bottom: 1rem;
}

.subtitle {
  font-size: 0.8rem;
  color: #eceff4;
  opacity: 90%;
}

.container {
  padding: 12px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.related-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 4rem;
  align-items: center;
}

.related-content > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  width: 100%;
}

.related-content > div > img {
  padding-bottom: 0.5rem;
  border-radius: 1rem;
}

.flexbox-columns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: stretch;

  max-width: 1536px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 1rem;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.class-gallery {
  background: linear-gradient(135deg, #1e2430 0%, #2c3546 100%);
}

.second-title {
  padding-top: 4rem;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 400px) {
  #banner-image {
    height: 400px;
    width: 400px;
  }
}

@media screen and (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    max-width: 768px;
    margin-right: auto;
    margin-left: auto;
  }

  .related-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .flexbox-columns > article {
    flex: 2;
  }

  .flexbox-columns > aside {
    flex: 1;
  }
}
