@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
  background-color: #1a1e23;
  background-image: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
  background-size: cover; /* makes it cover entire screen */
  background-position: center; /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: rgb(37, 37, 37);
}

.container {
  margin: 10ch auto 0 auto;
  border-radius: 1em;
  border: 3px solid rgb(254, 251, 234);
  height: fit-content;
  width: fit-content;
  max-width: 80%;
  padding: 15px;
  color: rgb(254, 251, 234);
  transform-origin: top center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}

.pp {
  border-radius: 50%;
  border: 3px solid rgb(254, 251, 234);
}

.container-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  justify-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.link {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  border: 3px solid rgb(254, 251, 234);
  padding: 10px;
  margin: 0 5px;
}

.link a {
  text-decoration: none;
  color: rgb(254, 251, 234);
  font-size: 1.5ch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip {
  opacity: 0;
  position: absolute;
  bottom: 1.8ch;
  background: rgb(37, 37, 37);
  color: rgb(254, 251, 234);
  font-size: 2ch;
  padding: 6px 12px;
  border-radius: 5em;
  border: 2px solid rgb(254, 251, 234);
  pointer-events: none;
  transition: opacity 0.25s ease, bottom 0.25s ease;
  white-space: nowrap;
  z-index: 1;
  font-weight: bold;
}

.link a svg {
  z-index: 2;
}

.link:hover .tooltip {
  opacity: 1;
  bottom: -4.4ch;
}

.container-line {
  border: 1px solid rgb(254, 251, 234);
  height: 0;
  margin: 15px 0;
}

.container-discord {
  width: 100%;
  display: flex;
  border-radius: 1em;
  border: 3px solid rgb(254, 251, 234);
  align-items: center;
}

.container-discord img {
  border-radius: 1em;
  margin: 15px;
  border: 2.5px solid rgb(254, 251, 234);
}

#discord-status {
  height: 16px;
  width: 16px;
  position: absolute;
  transform: translate(80px, 34px);
  border-radius: 50%;
}

.dc-online {
  background-color: rgb(67, 162, 90);
}

.dc-idle {
  background-color: rgb(203, 150, 84);
}

.dc-dnd {
  background-color: rgb(216, 58, 66);
}

.dc-offline {
  background-color: rgb(130, 131, 138);
}

.container-discord p {
  display: contents;
}

.discord-text {
  line-height: 1.3;
  text-align: left;
}

#discord-info {
  text-align: left;
}

#discord-timer {
  display: inline-flex;
  text-align: left;
}

#discord-timer:has(#discord-time:empty) {
  display: none;
}

#discord-time {
  text-align: left;
  color: #93cd97;
  font-weight: bold;
  margin-left: .5ch;
}

.discord-username {
  font-weight: bold;
  letter-spacing: 1.5px;
}

.container-discord a {
  color: rgb(254, 251, 234);
  font-weight: bold;
  border-radius: 1em;
  border: 3px solid rgb(254, 251, 234);
  padding: 12px 8px;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 15px;
  width: fit-content;
}

.link-twitch a {
  color: rgb(254, 251, 234);
  font-weight: bold;
  border-radius: 1em;
  border: 3px solid rgb(254, 251, 234);
  padding: 12px 8px;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 15px;
  width: fit-content;
}

.copyrightp {
  position: fixed;
  bottom: 0;
  padding: 0 1ch;
  color: rgb(254, 251, 234);
  font-weight: bold;
}

.copyrightspan {
  font-size: 3ch;
}

.copyrightp {
  left: 0;
  right: auto;
}

@media (max-width: 700px) {
  .container {
    transform: scale(calc(0.3 + (1 - 0.3) * ((100vw - 200px) / (800 - 200))));
    margin: 10ch 0;
  }
  .copyrightspan {
    font-size: 2ch;
  }
}

.typewriter {
  margin-bottom: 16px;
  line-height: 32px;
}

@media print {
    body { display: none !important; }
}