@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap");

* {
  box-sizing: border-box;
  font-family: "Noto Sans Thai", monospace;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
}

html {
  background-color: #191615;
  overflow: hidden;
}

body {
  background-image: url("/public/images/bg-body.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out;
}

body .main {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  box-shadow: 0 0 #0000, 0 0 #0000, 0px -8px 16px 0px rgba(0, 0, 0, 0.25) inset;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

body .footer {
  flex-shrink: 0;
  flex-basis: 170px;
  height: 170px;
  padding: 1.25rem;
  gap: 0.5rem;
  border-color: #33302f;
  background-color: #1b1917;
  border-top: 2px solid #33302f;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main__deposit-img {
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 300px;
}

#footer__title {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  letter-spacing: -0.96px;
  padding: 0;
  margin: 0;
}

#footer__description {
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0;
  margin: 0;
  color: #a8a29e;
  letter-spacing: -0.54px;
}

.footer__spinner {
  margin-top: 1.5rem;
  width: 24px;
  height: 24px;
  color: #33302f;
}

#main__btn-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  text-decoration: underline;
  background-color: transparent;
  border: none;
  font-size: 1rem;
  padding: 0;
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
