@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Rubik&display=swap");

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  -webkit-user-select: none;
  font-family: "Rubik", sans-serif;
}

#container {
  position: relative;
  /* top: 10px; */
}

#container3d canvas {
  position: absolute;
}

.balance-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all ease 1s;
  overflow: hidden;
}

.balance-hide {
  /* display: none !important; */
  transform: translateY(-50%);
}

.winning-coin {
  display: flex;
  align-items: center;
  background: #00000054;

  border-radius: 16px;
  padding: 6px 8px 4px 36px;
  flex-shrink: 0;
  justify-content: center;
  width: auto;
  line-height: 14px;

  top: 42px;
  position: absolute;
  z-index: 9999;
  left: 5%;
}
.winning-coin .header {
}
.winning-coin img {
  height: 25px;
  position: absolute;
  left: 0;
}

.winning-coin span {
  font-size: 0.8em;
  font-weight: 900;
  color: #ffffff;
}

#view-fullscreen {
  /* right: 20px;
  position: absolute;
  top: 10px;
  z-index: 2; */
}

.icon-btn {
  background: #272727;
  border-radius: 100px;
  width: 36px;
  height: 36px;
  z-index: 2;
  position: absolute;
  text-align: center;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 42px;
}

.icon-btn svg {
  width: auto;
  height: 20px;
  fill: #fff;
}
.help-btn {
  position: absolute;
  left: auto;
  right: 16px;
  background: #000;
  border-radius: 100px;
  width: 36px;
  height: 36px;
  transition: all ease 0.3s;
}
.help-btn svg {
  width: auto;
  height: 20px;
  fill: #ff3eb5;
  transition: all ease 0.3s;
}

.help-btn:hover {
  background: #ff3eb5;
}
.help-btn svg {
  fill: #fff;
}

.full-btn {
  position: absolute;
  left: auto;
  right: 58px;
  top: 42px;
  background: #000;
  border-radius: 100px;
  width: 36px;
  height: 36px;
  transition: all ease 0.3s;
}
.full-btn svg {
  width: auto;
  height: 20px;
  fill: #ff3eb5;
  transition: all ease 0.3s;
}

.full-btn:hover {
  background: #ff3eb5;
}
.full-btn svg {
  fill: #fff;
}
/* @media (min-width: 768px) {
  .custom-mdl-view .custom-modal .mdl-outer-blk {
    width: 50%;
  }
} */

.custom-mdl-view {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  /* padding: 16px; */
  z-index: 10000;
}
.custom-mdl-view .mdl-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  /* padding: 16px; */
  z-index: 3;
  background: #d9d9d9a8;
}

.custom-mdl-view .custom-modal {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  padding: 16px;
}
.custom-mdl-view .custom-modal .mdl-outer-blk {
  width: 80%;
  height: auto;
  background: #fff;
  border-radius: 16px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px 5px #0000004d;
  max-height: 100%;
  padding-bottom: 12px;
  margin: auto;
}

.custom-mdl-view .custom-modal .mdl-title {
  display: flex;
  padding: 16px;
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid #d7d7d7;
}
.custom-mdl-view .custom-modal .mdl-title h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #000;
}

.custom-mdl-view .custom-modal .mdl-title .close-btn {
  position: absolute;
  left: auto;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #ff3eb5;
  border-radius: 100px;
  cursor: pointer;
}
.custom-mdl-view .custom-modal .mdl-title .close-btn svg {
  fill: #fff;
  width: 24px;
  height: auto;
}

.custom-mdl-view .custom-modal .mdl-content-blk {
  height: auto;
  max-height: calc(80vh - 64px);
  padding: 16px;
  overflow-y: auto;
  position: relative;
}

.custom-mdl-view .custom-modal .point-list {
  display: block;
  padding: 0px 0px 0px 24px;
  list-style-type: decimal;
}
.custom-mdl-view .custom-modal .point-list li {
  width: 100%;
  position: relative;
  font-size: 0.875em;
  color: #505050;
  margin: 8px 0;
  letter-spacing: normal;
  line-height: 1.2;
  display: list-item;
}
.custom-mdl-view .custom-modal .point-list li::marker {
  font-size: 1.125em;
  color: #000;
  font-weight: 500;
}

/*glow box */
.gb {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  -webkit-transition: 100ms 300ms;
  -o-transition: 100ms 300ms;
  transition: 100ms 300ms;
  border: 1px solid rgba(218, 225, 230, 0.25);
  user-select: none;
  box-shadow: 0px 0px 5px rgba(194, 200, 204, 0.55);
  color: #fff;
  padding: 10px 0px 10px 10px;
  width: 120px;
  /* text-align: center; */
}

.gb.lit {
  border: 2px solid;
  border-radius: 5px;
}
.gb_yellow::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #e8e271;
  z-index: -1;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
  bottom: 0;
  border-radius: 40px 40px 0 0;
  -webkit-box-shadow: 0 0 10px #e8e271, 0 0 20px #e8e271, 0 0 80px #e8e271;
  box-shadow: 0 0 10px #e8e271, 0 0 20px #e8e271, 0 0 80px #e8e271;
}
.gb_yellow.lit::before {
  height: 180%;
}
.gb_yellow.lit {
  -webkit-box-shadow: 0 0 10px #e8e271, 0 0 40px #e8e271, 0 0 80px #e8e271;
  box-shadow: 0 0 10px #e8e271, 0 0 20px #e8e271, 0 0 80px #e8e271;
}

.gb_green::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #97e871;
  z-index: -1;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
  bottom: 0;
  border-radius: 40px 40px 0 0;
  -webkit-box-shadow: 0 0 10px #97e871, 0 0 20px #97e871, 0 0 80px #97e871;
  box-shadow: 0 0 10px #97e871, 0 0 20px #97e871, 0 0 80px #97e871;
}
.gb_green.lit::before {
  height: 180%;
}
.gb_green.lit {
  -webkit-box-shadow: 0 0 10px #99fa6c, 0 0 20px #99fa6c, 0 0 80px #99fa6c;
  box-shadow: 0 0 10px #99fa6c, 0 0 20px #99fa6c, 0 0 80px #99fa6c;
}
.gb_red::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #e87171;
  z-index: -1;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
  top: 0px;
  border-radius: 0 0 40px 40px;
  -webkit-box-shadow: 0 0 10px #e87171, 0 0 20px #e87171, 0 0 80px #e87171;
  box-shadow: 0 0 10px #e87171, 0 0 20px #e87171, 0 0 80px #e87171;
}
.gb_red.lit::before {
  height: 180%;
}
.gb_red.lit {
  -webkit-box-shadow: 0 0 10px #e87171, 0 0 20px #e87171, 0 0 80px #e87171;
  box-shadow: 0 0 10px #e87171, 0 0 20px #e87171, 0 0 80px #e87171;
}
.intro-gif {
  position: absolute;
  top: 25vh;
  left: 26%;
  width: 50vw;
}
.intro-gif span {
  position: relative;
  top: 0px;
  left: 45vw;
}
.intro-gif .close-icon {
  border-radius: 100px;
  background-color: #f0f;
  color: #fff;
}
.intro-gif img {
  width: 100%;
}
