@font-face {
  font-family: "DMSans";
  src: url("fonts/DMSans-VariableFont_opsz\,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "DMSans";
  src: url("fonts/DMSans-Italic-VariableFont_opsz\,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --text-color: #ffffff;
  --link-color: #8a2be2;
}

html {
  scroll-behavior: smooth;
}

body {
  display: block;
  flex-direction: column;
  font-family: "DMSans", sans-serif;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.02rem;
  color: var(--text-color);
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("images/castle-img5.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

svg {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  position: relative;
  stroke-width: 1.2;
  stroke: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: currentColor;
  shape-rendering: geometricPrecision;
  overflow: visible !important;
}

.icon-stroke {
  fill: none !important;
  stroke: currentColor !important;
}

.flex {
  display: flex;
}

.col {
  flex-direction: column;
}

.ai-cr {
  align-items: center;
}

.jc-cr {
  justify-content: center;
}

.wf {
  width: 100%;
}

.gap-1 {
  gap: 1rem;
}

.cw {
  color: #ffffff;
}

.tx-d-n {
  text-decoration: none;
}

.mg-0 {
  margin: 0;
}

.pd-0 {
  padding: 0;
}

.card-wrapper {
  min-height: 100vh;
}

.card {
  max-width: 32rem;
  padding: 1.5rem;
}

.card-header > span {
  width: 8rem;
  border-radius: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: top;
}

.card-bg-base {
  background-repeat: repeat;
  background-size: cover;
  -webkit-backdrop-filter: blur(0.3rem);
  backdrop-filter: blur(0.3rem);
}

.card-wrapper-bg {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.078) 0%,
    rgba(255, 255, 255, 0.271) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.271);
  border-radius: 1.5rem;
}

.card-header > span > img {
  max-width: 100%;
  width: inherit;
  border-radius: inherit !important;
  padding: 0.45rem;
  vertical-align: top;
}

.card-body-footer-wrapper {
  padding: 2.5rem;
}

.card-body > ul {
  list-style: none;
  gap: 1.5rem;
}

.card-link-bg {
  background-image: linear-gradient(
    221deg,
    rgba(255, 255, 255, 0.122) 3%,
    transparent 96%
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.75rem;
  background-color: transparent;
}

.card-body > ul > li > a,
.card-footer > a,
.card-body > ul > li > button {
  cursor: pointer;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  font-size: 1.3rem;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.card-body > ul > li > a:hover,
.card-footer > a:hover,
.card-body > ul > li > button:hover {
  transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.2);
}

.impressum-link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.9rem !important;
}

#discordBtn {
  justify-content: space-between;
  font: inherit;
  font-size: 1.3rem;
}

.text-wrapper {
  display: grid;
  text-align: left;
}

.btn-label,
.btn-username {
  grid-area: 1 / 1;
  transition: opacity 0.2s ease-in-out;
}

.btn-label {
  opacity: 1;
}
.btn-username {
  opacity: 0;
}

#discordBtn:hover .btn-label {
  opacity: 0;
}
#discordBtn:hover .btn-username {
  opacity: 1;
}

.divider {
  border: none;
  height: 1px;
  background-color: #cccccc;
  width: 100%;
  margin: 0.5rem 0;
}

.card-footer > a {
  position: relative;
  justify-content: space-between !important;
}

.icon-container {
  height: 0;
  overflow: visible;
  flex-shrink: 0;
}

.card-footer svg {
  display: block;
  width: 50px;
  height: 50px;
}

.infinity-kids-logo {
  width: 8rem;
  border-radius: 0.25rem;
}

.card-impressum-wrapper {
  padding: 2.5rem;
}

.card-impressum-wrapper strong {
  margin: 0.5rem 0 0 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-body > ul > li,
.card-footer > a {
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
}

.card-body > ul > li:nth-child(1) {
  animation-delay: 0.1s;
}
.card-body > ul > li:nth-child(2) {
  animation-delay: 0.2s;
}
.card-body > ul > li:nth-child(3) {
  animation-delay: 0.3s;
}
.card-body > ul > li:nth-child(4) {
  animation-delay: 0.4s;
}

.card-footer > a {
  animation-delay: 0.5s;
}

@media (max-width: 1200px) {
  .card {
    max-width: 27rem;
  }

  .card-body-footer-wrapper,
  .card-impressum-wrapper {
    padding: 1.5rem;
  }

  .card-body > ul > li > a,
  .card-footer > a,
  .card-body > ul > li button {
    padding: 1rem;
    font-weight: 300;
  }

  .text-wrapper span {
    font-weight: 300 !important;
  }

  .card-header > span {
    width: 7rem;
  }

  .card-footer > a {
    padding: 1rem;
  }
}
