@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/Quicksand-Variable.woff2') format('woff2');
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

strong {
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 650;
}

h2 {
  margin: 0;
  font-weight: 600;
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 650;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 36px;
  font-weight: 600;
}

.mobile-label {
  display: none;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

img {
  max-width: 100%;
}

@media (max-width: 640px) {
  body {
    margin: 0;
  }

  body,
  td,
  th,
  tr,
  p,
  a {
    font-size: 15px;
    font-weight: 450;
  }

  strong {
    font-size: 15px;
    font-weight: 600;
  }

  main {
    width: 100% !important;
  }

  main > section:first-child {
    flex-direction: column-reverse;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 28px 20px 16px !important;
  }

  main > section:first-child > img {
    display: none;
  }

  main > section:first-child > div {
    width: 100%;
  }

  .name {
    font-size: 32px;
    font-weight: 550;
  }

  .desktop-label,
  .openreview-link,
  .openreview-separator {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  h2 {
    font-size: 23px;
    font-weight: 550;
  }

  .papertitle {
    font-size: 15px;
    font-weight: 600;
  }

  main > section:nth-child(2) {
    padding: 16px 20px !important;
  }

  main > section:nth-child(2) table,
  main > section:nth-child(2) tbody,
  main > section:nth-child(2) tr,
  main > section:nth-child(2) td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  main > section:nth-child(2) td:first-child {
    padding: 12px 0 4px !important;
  }

  main > section:nth-child(2) td:first-child img {
    display: block;
    width: 70% !important;
    margin: 0 auto;
  }

  main > section:nth-child(2) td:last-child {
    padding: 8px 0 20px !important;
  }
}
