:root {
  --accent: #222;
  --bg: #e2e2e2;
  --text: #111;
  --accent-text: black;
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  width: 100%;
  line-height: 1.5em;
}

h1 {
  line-height: 1em;
}

a {
  color: var(--text);
  text-decoration: underline;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent);
}

#hero {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

#hero video {
  display: block;
  height: auto;
  width: 100%;
}

#hero-button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

button.primary {
  text-transform: uppercase;
  background-color: var(--accent);
  padding: 0.5rem 1rem;
  padding-top: 0.6rem;
  color: var(--accent-text);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

button.primary:hover {
  filter: brightness(1.5);
}

a button.primary,
a:visited button.primary {
  color: var(--bg);
}

#gallery {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  padding-left: 8px;
}

#gallery img {
  width: auto;
  height: 180px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  margin-right: 16px;
}

#gallery::-webkit-scrollbar {
  display: none;
}

.rounded-bordered {
  border: 1px solid var(--accent);
  border-radius: 5px;
}

.contained {
  max-width: 720px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 8px;
}

.mb-1 {
  margin-bottom: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mt-3 {
  margin-top: 32px;
}

.mb-3 {
  margin-bottom: 32px;
}

.mt-4 {
  margin-top: 64px;
}

.mb-4 {
  margin-bottom: 64px;
}

.px-2 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-2 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.my-1 {
  margin-top: 8px;
  margin-bottom: 8px;
}

#contact ul {
  list-style-type: none;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.hundos-w {
  width: 100%;
}

.mr-1 {
  margin-right: 8px;
}

.ml-1 {
  margin-left: 8px;
}

.align-items-center {
  align-items: center;
}

.flex {
  display: flex;
}

.flex-gap-1 {
  gap: 8px;
}

.flex-gap-2 {
  gap: 16px;
}

.round-corners {
  border-radius: 5px;
}

.mw-512 {
  max-width: 512px;
}

.justify-content-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-80pct {
  width: 80%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}



.journal-related {
  border-top: 1px solid var(--accent);
  padding-top: 16px;
  margin-top: 48px;
}

.journal-related h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.journal-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journal-related li {
  padding: 4px 0;
}

@media (max-width: 768px) {
  .flex-col-if-mobile {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  #hero {
    max-width: 720px;
    margin: auto;
  }

  .max-width-20pct-if-desktop {
    max-width: 20%;
  }
}