@font-face {
  font-family: 'Ravi Prakash';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/RaviPrakash-Regular.ttf) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Black Ops One';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/BlackOpsOne-Regular.ttf) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fuggles';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/Fuggles-Regular.ttf) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --main-color: #111;
  --main-width: 1080px;
  --main-text-shadow: .2em .1em .2em #FFF;
  --drawer-background: rgba(255, 255, 255, .9);
  --drawer-divider: rgba(16, 16, 16, .2);
  --social-background: rgba(0, 0, 0, .7);
  --social-background-high-opacity: rgba(0, 0, 0, .92);
  --box-color: hsl(0, 60%, 50%);
  --sub-header: rgba(255, 255, 255, .8);
  --light-box-color: hsl(0, 60%, 60%);
  --light-red: rgba(127, 0, 0, .4);
  --link-color: hsl(0, 65%, 40%);
  --link-color-active: hsl(0, 100%, 50%);
  --media-background: hsla(189, 50%, 95%, .65);
  --media-background-light: hsla(189, 50%, 95%, .55);
  --media-background-dark: hsla(189, 20%, 40%, .25);
  --modal-background: hsla(189, 20%, 40%, .75);
  --captcha-background: hsla(189, 35%, 70%, .4);
  --button-dark: hsla(201, 79%, 15%, 1);
  --button-light: hsla(189, 84%, 35%, 1);
  --button-dark-hover: hsla(201, 79%, 15%, .9);
  --button-light-hover: hsla(189, 84%, 35%, .9);
  --button-alt: hsla(0, 80%, 60%, .4);
  --button-alt-hover: hsla(0, 80%, 60%, .3);
  --box-shadow: .12em .2em .3em .02em hsla(201, 25%, 55%, .7);
  --box-shadow-lifted: .18em .25em .6em .06em hsla(201, 25%, 55%, .7);
  --box-shadow-inner: inset .04em .07em .09em .09em hsla(201, 25%, 55%, .8);
  box-sizing: border-box;
  color: var(--main-color);
  font-family: 'Serenity', Arial, sans-serif;
  font-size: calc(.81em + .55vw);
}
@media (min-width: 68em) {
  :root {
    font-size: 1.1em;
  }
}

/*****************************
**breakpoints*****************
**@media (75 68 45 40 28 23)**
*****************************/

*,
::before,
::after {
  box-sizing: inherit;
}

@supports (background-attachment: fixed) {
  body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
body {
  background-image: radial-gradient(hsla(201, 79%, 40%, .8), hsla(189, 84%, 50%, .05));
  counter-reset: li;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  min-width: 180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --main-color: white;
    --main-text-shadow: .2em .1em .2em #212121;
    --drawer-background: rgba(32, 32, 32, .93);
    --drawer-divider: rgba(255, 255, 255, .2);
    --box-color: hsl(8, 60%, 35%);
    --sub-header: rgba(64, 64, 64, .8);
    --light-box-color: hsl(8, 60%, 45%);
    --light-red: rgba(96, 0, 0, .3);
    --link-color: hsl(0, 85%, 65%);
    --link-color-active: hsl(0, 100%, 50%);
    --media-background: rgba(127, 127, 127, .6);
    --media-background-light: rgba(64, 64, 64, .75);
    --media-background-dark: rgba(16, 16, 16, .5);
    --modal-background: rgba(0, 0, 0, .92);
    --captcha-background: white;
    --button-dark: hsla(201, 79%, 15%, 1);
    --button-light: hsla(189, 84%, 35%, 1);
    --button-dark-hover: hsla(201, 79%, 15%, .9);
    --button-light-hover: hsla(189, 84%, 35%, .9);
    --button-alt: hsla(0, 100%, 60%, .4);
    --button-alt-hover: hsla(0, 100%, 60%, .3);
    --box-shadow: .12em .2em .3em .02em rgba(64, 32, 32, .7);
    --box-shadow-lifted: .18em .25em .6em .06em rgba(64, 32, 32, .7);
    --box-shadow-inner: inset .04em .07em .09em .09em rgba(64, 32, 32, .8);
  }
  body {
    background-color: #212121;
    background-image: none;
  }
}

::selection {
  background-color: var(--light-red);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: var(--media-background-light);
  border-radius: 5px;
  box-shadow: inset 0 0 5px var(--media-background);
}
::-webkit-scrollbar-thumb {
  background-color: var(--media-background);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--box-color);
}

:active {
  outline: none;
}

:focus-visible {
  outline: 2px var(--box-color);
  outline-offset: .2em;
  outline-style: dashed;
}

a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  color: var(--link-color-active);
  text-decoration: underline;
}

abbr {
  text-decoration: none;
}

address {
  font-style: normal;
  margin-block: 1em;
}

blockquote {
  hyphens: auto;
  line-height: 1.3;
}

details {
  color: var(--box-color);
  cursor: pointer;
  margin-block: 1em;
}

.modal {
  background-color: var(--media-background-dark);
  align-items: center;
  display: none;
  justify-content: center;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
}
.modal > * {
  background-color: var(--modal-background);
  background-size: cover;
  box-shadow: var(--box-shadow-inner);
  border: none;
  padding: .2em;
  position: relative;
  overflow: visible;
  max-width: 20em;
  max-height: 100vh;
}
@media (max-width: 28em) {
  .modal > * {
    margin-inline: 2em;
  }
}
.modal > * img {
  clip-path: circle(50%);
  display: block !important;
  margin: 1em auto;
  max-width: 11rem;
  height: auto;
}
.modal > * figcaption {
  font-size: 1.2rem;
  text-align: center;
}
.modal > * p {
  background-color: var(--media-background);
  margin: 0;
  padding: 1.2em;
  overflow: auto;
  text-align: justify;
  max-height: 33vh;
}
.modal > * .escape {
  align-items: center;
  background-color: var(--box-color);
  border: inset 3px var(--light-box-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
  outline: none;
  position: absolute;
  top: -.5em;
  right: -.5em;
  transform: rotate(0);
  transition: transform 75ms ease-in;
  width: 1.5em;
  height: 1.5em;
  z-index: 10;
}
.modal > * .escape svg {
  width: 70%;
  height: 70%;
}
.modal > * .escape:hover {
  transform: rotate(90deg);
  transition: transform 250ms ease-out;
}
.modal > * a {
  outline: none;
}
.modal > * h4 {
  background-color: var(--box-color);
  color: white;
  margin: 0;
  padding: .5em;
  text-align: center;
  text-transform: uppercase;
}
.modal > * p {
  color: var(--main-color);
}
.modal > * ol {
  background-color: var(--media-background-dark);
  padding: 1em;
  padding-left: 2em;
}
.modal > * ol > li {
  font-size: 1.1rem;
  padding: .4em;
}
.modal > * ol > li + li {
  border-top: 1px solid var(--drawer-divider);
}
.modal > *:is(div) .button {
  margin-bottom: 1em;
}

fieldset {
  background-color: var(--media-background-dark);
  border-color: var(--light-red);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1.1rem;
}

hr {
  border-color: transparent;
  border-style: none;
  margin: 1.5em 0;
}

main {
  display: block; /* IE bugfix */
  font-size: 1.2rem;
  letter-spacing: .02em;
  margin: 2em 0;
  margin-bottom: 9em;
  padding: 0 .5em;
}
@media (max-width: 40em) {
  main {
    padding: .2em;
  }
}
@media (min-width: 68em) {
  main {
    margin-top: 0;
  }
}

p {
  hyphens: auto;
}

.main-container {
  margin: 0 auto;
  position: relative;
  max-width: var(--main-width);
}
.main-container::after {
  content: "";
  background-image: url(/img/bckgr.svg);
  background-position: center;
  background-size: 180vw 180vh;
  mix-blend-mode: overlay;
  opacity: .25;
  position: fixed;
  inset: 0;
  z-index: -2;
}
@media (prefers-color-scheme: dark) {
  .main-container::after {
    opacity: .2;
  }
}

.is-loading::after {
  animation: loading-spinner 1200ms ease;
  animation-iteration-count: infinite;
  border-top: 3px solid var(--box-color);
  border-radius: 1em;
  content: "";
  position: absolute;
  top: calc(50% - 1em);
  left: calc(50% - 1em);
  width: 2em;
  height: 2em;
  z-index: 1000;
}

.skeleton {
  overflow: hidden;
  position: relative;
  width: auto;
  height: auto;
}
.skeleton::after {
  animation: moving-gradient ease 5s;
  animation-iteration-count: infinite;
  background-image: linear-gradient(to right, transparent 0%, var(--light-box-color) 50%, transparent 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.table {
  display: table;
  margin-block: 1em;
  width: 100%;
}
.table div {
  display: table-row;
}
.table div > span {
  display: table-cell;
  padding-block: .2em;
  width: auto;
}
.table div > span:first-child {
  padding-right: 1ch;
  width: 1%;
  white-space: nowrap;
}

.pagination-list {
  display: flex;
  justify-content: center;
  margin: 3em auto 1em;
}
.pagination-list a {
  border: 2px solid var(--box-color);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: bold;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  width: 1.3em;
  height: 1.3em
}
.pagination-list a:hover {
  color: var(--box-color);
  scale: 1.1;
}
.pagination-list a.active {
  background-color: var(--box-color);
  color: white;
}
.pagination-list a.active:hover {
  cursor: default;
  scale: initial;
}
.pagination-list a + a {
  margin-left: .5em;
  text-decoration: none;
}

.top-scroll {
  align-items: center;
  background-color: var(--social-background);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  opacity: 0;
  position: fixed;
  bottom: 1em;
  left: 1em;
  visibility: hidden;
  width: 3em;
  height: 3em;
}
.top-scroll.visible {
  opacity: .75;
  transition: all 250ms linear;
  visibility: visible;
}
.top-scroll::after {
  color: white;
  content: "\027A2";
  font-size: 2.5rem;
  transform: rotate(-90deg);
}
.top-scroll:hover {
  opacity: 1;
}
