@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --red-color: #ff3359;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: black;
  color: #dddddd;
}

a {
  text-decoration: none;
  color: var(--red-color);
  font-weight: 600;
}

h1 {
  color: #dddddd;
  margin: 0 0 24px 0;
  font-weight: 300;
  text-align: center;
}

p {
  margin: 0;
}

strong {
  font-weight: 500;
}

input,
textarea {
  outline: 0 !important;
}

ul {
  margin: 0;
}

body.noScroll {
  overflow: hidden;
}

.parallax {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

}

.parBox {
  width: 110%;
  height: 110%;
  background-image: url(../IMG/nbg.png);
  background-position: center center;
  background-size: cover;
}

.flexBreak {
  flex-basis: 100%;
  height: 0;
}

.errorBox {
  width: 300px;
  height: 140px;
  margin: 30px 0 30px 0;
  background: rgb(255 0 0 / 20%);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: -140px;
  opacity: 0;
  left: calc((100vw / 2) - (300px/2));
  transition: all .4s;
  z-index: 999;
}

.errAct {
  top: 50px;
  opacity: 1;
}

.errorBox h1 {
  font-size: 22px;
}

.errorBox p {
  font-size: 14px;
}

/* Окошко с уведомлением */
.notificationBox {
  display: flex;
  position: fixed;
  width: 240px;
  height: 50px;
  background: #24541f;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  z-index: 999;
  top: 120px;
  left: calc((100vw / 2) - (240px/2));
  transition: all .4s;
  scale: 0;
  overflow: hidden;
  color: #89e87e;
  user-select: none;
  gap: 4px;
}

.notificationBox p {
  font-size: 14px;
  font-weight: 500;
}

.notificationBox img {
  width: 30px;
}

.notifyBar {
  width: 0%;
  height: 4px;
  background: #96e68c;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 6px;
  transition: width 3s linear;
}

/* Кнопка */
.btn {
  background: rgb(0 0 0 / 30%);
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  transition: all .3s;
  cursor: pointer;
  color: white;
  user-select: none;
}

.btn:hover {
  transform: scale(.95);
}

.btnsCont {
  display: flex;
  flex-direction: column;
  width: 250px;
  margin-top: 24px;
  justify-content: space-evenly;
}

.hintBox {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  background: rgb(0 0 0 / 30%);
  border-radius: 10px;
  padding: 8px;
}

.hCont {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hintBox img {
  width: 64px;
  margin-right: 20px;
}

.hintBox p:not(:last-child) {
  margin-bottom: 4px;
}

.pagesCont {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selectCont {
  display: flex;
  align-items: center;
  margin: 12px;
}

.selectCont p {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

.pSelect {
  margin-right: 10px;
  position: relative;
  width: 65px;
  transition: all .3s ease;
  text-align: center;
  padding: 6px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  border: 0;
  font-family: inherit;
}

.arrowsCont {
  display: flex;
  gap: 30px;
}

.arrow {
  background-size: contain;
  width: 45px;
  height: 45px;
  transition: all .2s;
  cursor: pointer;
}

.arrow:hover {
  transform: scale(.9);
}

.aL {
  background-image: url(/IMG/aL.png);
  left: 0;
}

.aR {
  background-image: url(/IMG/aR.png);
  right: 0;
}

/* Блоки "История ников" и "История посещений" */
.storyBlock {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 10px;
  text-align: center;
  min-width: 300px;
  flex-direction: column;
  user-select: text;
}

.storyBlock img {
  width: 32px;
}

.sb_div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
}

@media (max-width: 1279px) {
  .hintBox {
    flex-direction: column;
  }

  .hintBox img {
    margin: 0 0 12px 0;
  }
}