@import url('https://fonts.googleapis.com/css2?family=Kavoon&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

html {
  height: 100vh;
  background: url("../assets/images/bgPaint.jpg");
  background-repeat: repeat;
}

body {
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
  z-index: -2;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7vw 0;
  gap: 20px;
}

body.center {
  padding-top: 0;
  justify-content: center;
}

.preview {
  max-width: 555px;
  border-radius: 25px;
  z-index: -2;
}

h1, h2 {
  margin: 0;
  font-family: 'Kavoon', cursive;
  color: white;
  text-align: center;
}

h1 {
  font-size: 36px;
  text-shadow: 0 0 1px white;
}

h2 {
  font-size: 26px;
}

p {
  margin: 0;
  max-width: 555px;
  font-family: "Merriweather", serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
}

a {
  color: rgb(200, 200, 200) !important;
}

a:hover {
  color: rgb(255, 255, 255) !important;
}

p b {
  font-weight: 900;
}

.back {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-family: "Merriweather", serif;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.back:hover {
  transform: translateX(10px);
}

.follow-cookie {
  user-select: none;
  cursor: pointer;
  z-index: -1;
  position: absolute;
  width: 32px;
  height: 32px;
  top: 0;
  left: 0;
  transform-origin: center;
  transform: translateX(-16px) translateY(-16px);
}

.follow-cookie:active {
  transform: translateX(-16px) translateY(-16px) scale(0.9);
}

.follow-cookie img {
  width: 100%;
  height: 100%;
}

.num {
  position: absolute;
  user-select: none;
  font-family: "Kavoon", cursive;
  font-size: 16px;
  white-space: nowrap;
  color: white;
  animation: animate_num 1s ease-in-out;
}

#copyLink .num {
  animation: animate_num_link 1s ease-in-out;
}

@keyframes animate_num {
  0% {
    transform: translateY(-32px) translateX(8px);
    opacity: 1;
  }
  100% {
    transform: translateY(-64px) translateX(8px);
    opacity: 0;
  }
}

@keyframes animate_num_link {
  0% {
    transform: translateY(-48px) translateX(-16px);
    opacity: 1;
  }
  100% {
    transform: translateY(-96px) translateX(-16px);
    opacity: 0;
  }
}

.mod-links-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.mod-links-title {
  font-family: "Merriweather", serif;
  font-weight: 600;
  font-size: 20px;
  color: white;
}

.mod-links-list {
  display: flex;
  gap: 32px;
}

.mod-link {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  filter: drop-shadow(0 0 5px rgb(0, 0, 0));
}

.mod-link:hover {
  transform: scale(1.04);
}

.mod-link p {
  position: absolute;
  bottom: -20px;
  font-size: 9px;
  text-align: center;
}

.mod-link img {
  width: 64px;
  height: 64px;
}

.credits {
  position: absolute;
  bottom: 20px;
  font-family: "Merriweather", serif;
  font-weight: 600;
  font-size: 10px;
  color: rgb(200, 200, 200);
}

.credits img {
  width: 18px;
  height: 18px;
  margin-bottom: -4px;
}