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

body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
}

html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-first {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: auto;
}

.page-first .logo {
  position: absolute;
  left: 10%;
  top: 5%;
  width: 100px;
  height: 100px;
}

.title {
  color: #ef0f12;
  display: inline-block;
  transform-origin: center;
  font-size: clamp( 33px, 8vw, 75px );
  font-weight: bold;
}

@media (max-width: 900px){
  .page-first .logo {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 450px){
  .page-first .logo {
    width: 50px;
    height: 50px;
  }
}

.right {
  text-align: right;
}

.text p {
  text-indent: 3em;
  margin: 30px 0;
  text-align: justify;
  line-height: 150%;
}

.grey {
  color: #303030;
}

a.btn {
  display: inline-block;
  background: #ef0f12;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: box-shadow .2s ease, transform .2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

a.btn:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

a.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.read-head {
  width: 100%;
  height: 30px;
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
}

.read-head .title {
  color: #ef0f12;
  display: inline-block;
  transform-origin: center;
  font-size: 20px;
  line-height: 30px;
  margin-left: 20px;
}

.read-head .title .short {
  display: none;
  font-size: 20px;
}

.read-head .link {
  color: #ef0f12;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
  font-size: 14px;
  margin-right: 20px;
}

.read-head .link:hover {
  text-shadow: 0 0 3px rgba(11, 11, 11, 0.4);
}

.reader {
  width: 100%;
  height: calc(100vh - 30px);
  border: 0;
  padding: 0;
  margin: 0;
}

.arrows {
  position: absolute;
  left: 50%;
  bottom: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrows.scrolled {
  opacity: 0;
  transition: opacity 200ms ease;
}

.chevron {
  position: absolute;
  width: 2.1rem;
  height: 0.48rem;
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 5s ease-out infinite;
}

.chevron:first-child {
  animation: move-chevron 5s ease-out 2s infinite;
}

.chevron:nth-child(2) {
  animation: move-chevron 5s ease-out 5s infinite;
}

.chevron:before,
.chevron:after {
 content: '';
 position: absolute;
 top: 0;
 height: 100%;
 width: 50%;
 background: #7681a1;
}

.chevron:before {
 left: 0;
 transform: skewY(30deg);
}

.chevron:after {
 right: 0;
 width: 50%;
 transform: skewY(-30deg);
}

@keyframes move-chevron {
 25% {
  opacity: 1;
	}
 33.3% {
  opacity: 1;
  transform: translateY(2.28rem);
 }
 66.6% {
  opacity: 1;
  transform: translateY(3.12rem);
 }
 100% {
  opacity: 0;
  transform: translateY(4.8rem) scale(0.5);
 }
}

.lib {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.lib table {
  width: calc(100% - 100px);
  border-collapse: collapse;
}

@media (max-width: 900px){
  .lib table {
    width: calc(100% - 60px);
  }
}

@media (max-width: 650px){
  .lib table {
    width: calc(100% - 40px);
  }
  .read-head .title {
    font-size: 14px;
    margin-left: 0;
  }
}

@media (max-width: 520px){
  .lib table {
    width: 100%;
  }
  .read-head .title {
    font-size: 12px;
    line-height: 14px;
    margin-left: 20px;
  }
  .read-head .title .full {
    display: none;
  }
  .read-head .title .short {
    display: inline-block;
  }
}

.lib table th {
  font-size: 18px;
  background-color: #9e0b0d;
  color: #ffffff;
  padding: 5px 15px;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}

.lib table tr td:first-child {
  width: 40%;
}

.lib table td {
  padding: 5px;
}

.lib table tr.odd {
  background-color: #f0f0f0;
}

.lib table th .small {
  font-size: 12px;
}

.lib table .link {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lib table .link a {
  text-decoration: none;
  color: #ef0f12;
  line-height: 100%;
}

.lib table .link a:hover {
  text-decoration: underline;
}