html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}

body,
button {
  font-family: "Roboto Mono", monospace;
  background: #2e2e2e;
  color: #fff;
}

::selection {
  background-color: #eb4888;
  color: #000;
}

body.light-mode,
body.light-mode button,
button.light-mode,
button.light-mode button {
  background: #d1d1d1;
  color: #000;
}

button {
  width: 120px;
  height: 30px;
  border: 2px solid #96979c;
  border-radius: 15px;
  box-sizing: border-box;
  color: #96979c;
  font-size: 1rem;
  overflow: auto;
  transition: 0.4s ease all;
}
button:hover {
  background: rgba(150, 151, 156, 0.1);
  cursor: pointer;
}

papertitle {
  font-family: 'Roboto', 'bolt';
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10cm;
}

#detail {
  display: none;
}

#summary:hover #detail {
  display: block;
}

.container {
  margin: 50px auto;
  padding: 5px;
  max-width: 900px;
}
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }
}

.attribution {
  margin: 100px auto;
  padding: 100px;
  max-width: 650px;
}

.header-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.header-frame {
  max-width: 350px;
}

.dark-mode-toggler {
  position: fixed;
  top: 5px;
  right: 5px;
}
.dark-mode-toggler label {
  position: relative;
}
.dark-mode-toggler input[type="checkbox"] {
  display: none;
}
.dark-mode-toggler input[type="checkbox"] + label::before {
  content: "";
  display: block;
  height: 26px;
  width: 60px;
  background: #fff;
  border: 2px solid #96979c;
  border-radius: 15px;
  position: absolute;
  top: 0px;
  left: -65px;
}
.dark-mode-toggler input[type="checkbox"] + label::after {
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  background: #96979c;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: -62px;
  transition: all 0.4s ease-in;
}
.dark-mode-toggler input[type="checkbox"]:checked + label::before {
  background: #000;
  border: 2px solid #fff;
}
.dark-mode-toggler input[type="checkbox"]:checked + label::after {
  left: -28px;
  background: #000;
  border: 2px solid #fff;
  transition: all 0.4s ease-in;
}

h1 {
  font-weight: 400;
  margin: 0;
}

h2 {
  color: #96979c;
  font-weight: 300;
  margin: 0 0 0.5em 0;
}

a {
  color: #96979c;
}
a:hover {
  font-style: italic;
}

.img-frame {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 0 10px 0;
  border-radius: 50%;
  overflow: hidden;
}
.img-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 100%;
}

.links {
  margin: 25px 0;
}
.links a:not(:last-child) {
  padding: 0 16px 0 0;
}


@media (max-width: 600px) {
  .links {
    text-align: center;
  }
}

.toggler {
  margin: 25px 0;
}
.toggler .show {
  border-color: #FFA500;
  color: #FFA500;
}
@media (max-width: 600px) {
  .toggler {
    text-align: center;
  }
  .toggler button {
    margin: 5px;
  }
}

.bio {
  display: none;
  line-height: 24px;
}
.bio br {
  display: block;
  content: "";
  height: 15px;
}
.bio.show {
  display: block;
}

