/* Reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

/* Global styles */
body {
  color: #202020;
  padding-bottom: 1.25rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.625rem;
  margin-bottom: 0.313rem;
}

h2 {
  font-size: 1.125rem;
  font-weight: normal;
  margin-bottom: 0.625rem;
}

ul {
  padding-left: 1rem;
  margin-bottom: 0.875rem;
}

.author-container_link {
  color: inherit;
  text-decoration: none;
}

.author-container {
  cursor: pointer;
  font-size: 1.125rem;
  min-width: 230px;
  gap: 1rem;
  height: 3.75rem;
  margin: 0.313rem;
  background-color: #f1f1f2;
  display: flex;
  align-items: center;
  padding: 0.313rem 0.625rem;
}

.author-container:hover,
.author-container:active,
.author-container:focus {
  color: #fff;
  background-color: #383838;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.gray-scale {
  filter: grayscale(1);
}

.author-description {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 200px;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.affiliation {
  font-size: 1rem;
}

/* Response indicators */
.response {
  min-width: 1.875rem;
  border-radius: 50%;
  width: 1.875rem;
  height: 1.875rem;
  margin-right: 1rem;
}

.expand-symbol {
  width: 1rem;
  text-align: center;
  font-weight: normal;
  font-size: 1.5rem;
}

/* Response colors */
.A {
  background-color: #29339b;
}

.B {
  background-color: #6d76c5;
}

.C {
  color: #202020;
  background-color: #bcc0e1;
}

.D {
  color: #202020;
  background-color: #ecc3c0;
}

.E {
  background-color: #e37169;
}

.F {
  background-color: #b81f14;
}

.none {
  display: none;
}

.response-text {
  display: none;
  margin-top: 0.625rem;
  padding: 0 1.25rem;
}

.show {
  display: block;
}

p,
b,
a,
em,
li {
  font-family: "Libre Baskerville", serif;
}

p,
li {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.875rem;
}

.close-button {
  display: inline-block;
  text-align: center;
  margin-bottom: 1.25rem;
  background-color: #ccc;
  color: #202020;
  padding: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.close-button:hover {
  color: white;
  background-color: #383838;
}

.profile-btn {
  display: inline-block;
  text-align: center;
  background: #323232;
  color: #fff;
  padding: 0.625rem;
  font-size: 0.875rem;
  margin-left: 1rem;
}

hr {
  margin-bottom: 0.875rem;
  border-style: inset;
  border-width: 1px;
}

.top-line-img {
  margin: 0 auto;
  max-width: 600px;
  height: 6rem;
  display: flex;
  justify-content: space-between;
  /* gap: 1rem; */
  padding: 1rem 0;
  border-radius: 10px;
}

.top-line-img > svg {
  margin-right: 5px;
}

.top-line-img > svg:last-child {
  margin: 0;
}

.text-intro {
  margin: 0.5rem 0 1.125rem 0.25rem;
}

strong {
  font-weight: 700;
}

em {
  font-size: 1.15rem;
}

/* Media queries */
@media all and (max-width: 599px) {
  .author-container {
    gap: 0.875rem;
  }

  .affiliation {
    font-size: 0.875rem;
  }

  .author-name {
    font-size: 1rem;
  }

  .icon {
    width: 40px;
    height: 40px;
  }
}
