html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  background: repeating-conic-gradient(transparent 0 25%, rgba(0, 0, 0, 0.02) 0 50%) 0 0/1.5em 1.5em content-box border-box;
}

body {
  background-color: yellow;
  min-height: 100vh;
}

main {
  max-width: 1100px;
  margin: 1em auto;
  min-height: 100vh;
  padding: min(30px, 1vw);
  background-color: rgba(255, 255, 255, 0.8);
}

article {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

section {
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 40px;
  display: flex;
  flex-flow: column;
  gap: 1em;
}

main header {
  display: flex;
  justify-content: space-between;
}
main header input {
  width: 60px;
}

ol {
  padding: 0;
}

li {
  font-size: 1em;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 300px minmax(150px, 1fr);
}
li i {
  text-align: right;
}

.pagination {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1em;
}
.pagination a {
  --act: max(
    calc(var(--activechild, 0) - var(--active, -10)),
    calc((var(--activechild, 0) - var(--active, -10)) * -1)
  );
  padding: 0.5em 1em;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}
.pagination a:hover {
  background-color: #ddd;
}
.pagination a:active {
  color: white;
}
.pagination a:before {
  content: "";
  background-color: #4caf50;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
  opacity: max(0, calc(1 - var(--act)));
  background-size: calc(var(--act-max) * 1px);
}

/*# sourceMappingURL=api.css.map */
