* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eceeef;
  color: #373a3c;
  font: 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
  color: #0275d8;
  text-decoration: none;
}

a:hover {
  color: #014c8c;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #014c8c;
  outline-offset: 3px;
  text-decoration: underline;
}

h1,
h2 {
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

p {
  margin: 0 0 1rem;
}

.page-width {
  margin-inline: auto;
  padding-inline: 15px;
}

.intro,
.abstract {
  margin-bottom: 2rem;
  padding: 2rem 1rem;
  border-radius: 0.3rem;
}

.intro {
  text-align: center;
}

.project-name {
  font-size: clamp(1.75rem, 9.5vw, 6rem);
  font-weight: 300;
  overflow-wrap: anywhere;
}

#paper-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 500;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.authors a {
  white-space: nowrap;
}

.affiliation {
  margin-top: -0.5rem;
}

.resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.primary {
  color: #fff;
  background: #0275d8;
  border-color: #0275d8;
}

.primary:hover {
  color: #fff;
  background: #025aa5;
  border-color: #01549b;
}

.secondary {
  color: #373a3c;
  background: #fff;
  border-color: #ccc;
}

.secondary:hover {
  color: #373a3c;
  background: #e6e6e6;
  border-color: #adadad;
}

.abstract {
  background: #fff;
}

.abstract .page-width {
  margin-bottom: 20px;
}

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

@media (min-width: 576px) {
  .intro,
  .abstract {
    padding: 4rem 2rem;
  }

  .page-width {
    max-width: 576px;
  }
}

@media (min-width: 768px) {
  .page-width {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .page-width {
    max-width: 940px;
  }
}

@media (min-width: 1200px) {
  .page-width {
    max-width: 1140px;
  }
}
