@font-face {
  font-family: "Gotham Black";
  src: url("../assets/fonts//Gotham-Black.otf") format(opentype);
}

@font-face {
  font-family: "Gotham Bold";
  src: url("../assets/fonts/Gotham-Bold.otf") format('opentype');
}

@font-face {
  font-family: "gotham";
  src: url("../assets/fonts/Gotham-Medium.otf") format('opentype');
}

@font-face {
  font-family: "Gotham Medium";
  src: url("../assets/fonts/Gotham-Medium.otf") format('opentype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
  font-family: 'Gotham Medium', 'gotham', sans-serif;
}

input,
button {
  pointer-events: auto;
}

.center {
  text-align: center;
}

.preload-image {
  background-image: url("../assets/img/login/bg.png");
  background-image: url("../assets/img/load.png");
  background-image: url("../assets/img/login/popup/next.png");
  display: none;
}

#font1 {
  font-family: 'Gotham Black', 'gotham', sans-serif;
  position: absolute;
  left: -1000px;
  visibility: hidden;
  overflow: hidden;
}

#font2 {
  font-family: 'Gotham Bold', 'gotham', sans-serif;
  position: absolute;
  left: -2000px;
  visibility: hidden;
  overflow: hidden;
}

#font3 {
  font-family: 'Gotham Medium', 'gotham', sans-serif;
  position: absolute;
  left: -2100px;
  visibility: hidden;
  overflow: hidden;
}

li {
  margin-left: 1.7rem !important;
}

body {
  background: #8fd8f2;
  overflow: hidden;
  font-family: 'Gotham Medium', 'gotham', sans-serif !important;
  line-height: 125%;
  font-size: 15pt;
  width: 100vw !important;
  height: 100vh;
  height: 100svh !important;
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
  text-align: justify;
}

img-m {
  max-width: 100% !important;
}

h1 {
  font-family: "Gotham Black", 'gotham', sans-serif;
  color: #163759;
  font-size: 3rem;
  -webkit-text-stroke: 3px white;
  text-shadow: 2px 2px 3px #000;
}

h5 {
  font-family: "Gotham Black", 'gotham', sans-serif;
  color: #163759;
  /* font-size: 3rem; */
}

a {
  color: #1a6e84;
}

.link-like {
  color: #1a6e84;
  text-decoration: underline;
}

.link-like:hover,
.google-btn:hover {
  cursor: pointer;
}

.bg-blur {
  width: 100vw;
  max-width: 100vw !important;
  height: 100vh;
  height: 100svh;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

#login-page {
  position: absolute;
  bottom: 0;
  display: none;
  left: 50%;
  transform: translate(-50%, 0);
  height: 50vh;
  height: 50svh;
}

.img-full {
  width: 100%;
  height: auto;
}

.login-home,
.diary-cont {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

#keep-btn {
  max-width: 214px;
  border: 0;
  background-color: transparent;
  appearance: none;
}

#share-btn {
  max-width: 86px;
}

.col-r {
  position: absolute;
  right: 50%;
  left: 0;
  bottom: 0;
}

.img-button {
  margin-top: 0.3rem;
  border: none;
  background-color: transparent;
  padding: 0;
}

.img-button:hover {
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
}

.scale-on-hover {
  transition: transform 0s ease;
}

.scale-on-hover:hover {
  transform: scale(1.01);
  cursor: pointer;
}

.m-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  width: 100vw;
}

.content {
  z-index: 10;
  width: 100%;
  max-width: calc(9 / 16 * 100vh);
  /* Maintain 9:16 aspect ratio */
  padding: 20px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  text-align: center;
}

#bloobin {
  max-height: 40vh;
  width: 45vh;
  max-width: 70vw;
}

audio {
  position: absolute;
  top: -1000;
  visibility: hidden;
  overflow: hidden;
}

.mvw-100 {
  max-width: 100vw;
}

.container-full {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.form-container {
  width: 600px;
  background-color: #eefcff;
  border-radius: 3rem;
  padding: 3em;
  z-index: 2999;
  max-height: 800px;
  min-height: fit-content !important;
  margin: auto !important;
}

#form {
  margin: auto;
  max-width: 700px;
}

input {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  border-radius: 15px !important;
  border: 3px solid #163759 !important;
  font-size: 1.8em !important;
  width: 100%;
}

input[type=text],
textarea {
  outline: none;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
}

input[type=text]:focus,
textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1);
}

.line-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.line {
  flex-grow: 1;
  height: 1px;
  background-color: #000;
  margin: 0 10px;
}

.text {
  font-weight: bold;
  margin: auto 0;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 7px;
  background-color: #f8f8f8;
  width: 50vh;
  max-width: 80vw;
}

.google-container {
  max-width: fit-content;
  margin: auto;
}

.long-icon {
  /* Adjust the width as needed */
  height: auto;
  margin-right: 10px;
  width: 98%;
  max-width: 96vw;
  /* Adjust the spacing between the icon and text */
}

iframe {
  width: 100%;
  height: 100%;
}

#yt-iframe {
  width: 374px;
  height: 210px !important;
  margin: auto;
}

#bt-about {
  margin-top: 10px;
}

#diary {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  backdrop-filter: blur(10px);
  position: absolute;
  top: 0;
  z-index: 8;
}

.paper {
  height: 100%;
  background-image: url("../diary/paper.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 100px 100px 127px;
}

.close-button {
  border: none;
  background-color: transparent;
  padding: 0;
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 9;
}

.scrollable-container {
  max-height: calc(100% - 80px);
  /* Adjust to leave space for the close button */
  overflow-y: auto;
  -webkit-overflow-scrolling: auto;
  /* Enable vertical scrolling */
  /* max-width: 500px; */
}

.card {
  display: block;
  width: 100%;
  /* Adjust as needed */
  margin-bottom: 10px;
  /* Adjust the spacing between images */
}

#game {
  height: 100vh;
  height: 100svh;
  display: block;
}

#gamebody {
  height: 100vh;
  height: 100svh;
}

#bg1 {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-image: url(../assets/img/game/bg/bg-1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -30;
}

#bg2 {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-image: url(../assets/img/game/bg/bg-2.png);
  background-size: cover;
  background-position: center 90px;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -20;
}

#crowd,
.frame {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -30;
  image-rendering: pixelated;
}

/* CLOUDS */
.clouds {
  background-image: url('../assets/img/game/cloud.png');
  width: 100vw;
  height: 100vh;
  height: 100svh;
  position: absolute;
  top: 0;
  background-size: auto 34vh;
  background-size: auto 34svh;
  background-position: center 80px;
  background-repeat: repeat-x;
  z-index: -999;
}

ol,
ul {
  padding-left: 2ch;
}

@-webkit-keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
    margin-left: -500px;
  }

  100% {
    margin-left: 100%;
  }
}

/* ANIMATIONS */
.x1 {
  -webkit-animation: animateCloud 15s linear infinite;
  -moz-animation: animateCloud 15s linear infinite;
  animation: animateCloud 15s linear infinite;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
}

.x2 {
  -webkit-animation: animateCloud 20s linear infinite;
  -moz-animation: animateCloud 20s linear infinite;
  animation: animateCloud 20s linear infinite;

  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transform: scale(1.2);
}

.x3 {
  -webkit-animation: animateCloud 30s linear infinite;
  -moz-animation: animateCloud 30s linear infinite;
  animation: animateCloud 30s linear infinite;

  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  transform: scale(1.25);
}

.x4 {
  -webkit-animation: animateCloud 18s linear infinite;
  -moz-animation: animateCloud 18s linear infinite;
  animation: animateCloud 18s linear infinite;

  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  transform: scale(1.05);
}

.x5 {
  -webkit-animation: animateCloud 25s linear infinite;
  -moz-animation: animateCloud 25s linear infinite;
  animation: animateCloud 25s linear infinite;

  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  transform: scale(1.15);
}

.x6 {
  -webkit-animation: animateCloud 27s linear infinite;
  -moz-animation: animateCloud 27s linear infinite;
  animation: animateCloud 27s linear infinite;

  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  transform: scale(1.25);
}

.x7 {
  -webkit-animation: animateCloud 12s linear infinite;
  -moz-animation: animateCloud 12s linear infinite;
  animation: animateCloud 12s linear infinite;

  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  transform: scale(1.25);
}

.x8 {
  -webkit-animation: animateCloud 14s linear infinite;
  -moz-animation: animateCloud 14s linear infinite;
  animation: animateCloud 14s linear infinite;

  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  transform: scale(1.15);
}

/* OBJECTS */

.cloud {
  position: relative;
}

/* END OF CLOUDS */

#blur {
  width: 100vw !important;
  height: 100vh;
  height: 100svh !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute !important;
  top: 0 !important;
  z-index: -1 !important;
}

.share-popup {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  z-index: 9999;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
}

.ar-page {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: calc(100% - 6em);
  /* Account for horizontal margins */
  max-height: calc(100% - 6em);
  /* Account for vertical margins */
  background-color: white;
  font-size: 1.8rem;
  border-radius: 3em;
}

.ar-container {
  text-align: center;
}

.ar-header {
  background-color: #0485E0;
  padding: 2rem 0;
  color: white;
  font-family: 'Gotham Black', 'gotham', sans-serif;
  font-size: 1.8rem;
  border-radius: 3em 3em 0 0;
}

.rotate-animation {
  animation: rotate 1s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.black-image {
  filter: brightness(0%) invert(100%);
}

.scale-down {
  scale: 0.3;
}

.searchbox-iframe {
  width: 500px;
  height: 450px
}


/* diary start */
.diariesBox * {
  padding: 0.5rem;
  margin: 0;
  box-sizing: border-box;
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
}

.diariesBox {
  display: block;
  width: 420px;
  height: 770px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: auto;
}

.container.diariesBox .rows {
  padding: 10px 30px;
}

.container.diariesBox .row a {
  flex-basis: 30%;
}

.container.diariesBox .row img {
  width: 100%;
  height: auto;
}

#diariesBox {
  width: 100%;
}

#diarypop {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  bottom: 0;
  display: none;
  left: 50%;
  transform: translate(-50%, 0);
  height: 100vh;
  height: 100svh;
}

#onboard-wrapper {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  bottom: 0;
  display: none;
  height: 100vh;
  height: 100svh;
}

#main-onboard {
  background: white;
  box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
  padding: 2rem 2rem;
  width: 400px;
  max-width: 96vw;
  max-height: 90svh;
}

.f-bold {
  font-family: 'Gotham Bold', 'Gotham Black', 'gotham', sans-serif !important;
  font-size: 2rem;
}

.f-med {
  font-size: 1.5rem;
}

.blu-btn {
  background-color: #0385E0;
  padding: 0.5rem 2rem;
  width: fit-content;
  margin: 0 auto;
  border-radius: 20px;
  color: white;
  font-family: 'Gotham Bold', 'Gotham Black', 'gotham', sans-serif !important;
}

#onboard-img {
  max-width: 290px;
}

.pop-img {
  width: 50vw;
  max-width: 240px !important;
  margin-bottom: 1rem !important;
}

.onboard-btn {
  max-height: 2.75rem !important;
}

#onb-next-btn {
  display: none;
}

#shareDiv {
  width: calc(9 / 16 * 80vh);
  min-width: fit-content;
  position: fixed;
  bottom: 0;
  padding: 1rem 1rem 0 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: white;
  border-radius: 20px 20px 0 0;
  display: none;
}

#sharePage {
  width: calc(9 / 16 * 80vh);
  min-width: fit-content;
  position: fixed;
  bottom: 0;
  padding: 1rem 1rem 0 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: white;
  border-radius: 20px 20px 0 0;
  display: none;
}

#diary-h {
  max-width: 90vw;
}

#new-diary-img {
  max-width: 100%;
  max-height: 40vh;
  max-height: 40svh;
}

#fullpage {
  display: none;
}

#main-share {
  margin-bottom: 10vh;
}

.shareBtnRow {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.closeShareBtn {
  width: fit-content;
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.shareBtn {
  width: 100%;
  max-width: calc(9 / 16 * 70vh);
  min-width: fit-content;
  padding: 10px;
  border: none;
  /* Remove the border */
  border-radius: 20px;
  background-color: #3b5998;
  /* Facebook blue color */
  color: #fff;
  font-size: 16px;
  text-align: center;
  outline: none;
  /* Remove the outline when button is focused */
  cursor: pointer;
  /* Show pointer cursor on hover */
  text-decoration: none;
  /* Remove underline for anchor tag buttons */
}

.bg-fb {
  background-color: #4267B2;
}

.bg-wa {
  background-color: #25D366;
}

.bg-x {
  background-color: rgb(255, 59, 59);
  background-color: #f44336;
  padding: 5px 20px;
  width: fit-content;
  border-radius: 18px;
}

/** diary end */

/**pg tnc */
#pg-tnc.container {
  display: flex;
  flex-wrap: wrap;
  width: 488px;
  height: 500px;
  overflow-y: hidden;
  overflow-x: hidden;
}

#pg-tnc iframe {
  width: 100%;
}

/**pg tnc end */

/**how**/
.containerhow * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
}

.containerhow {
  display: flex;
  flex-wrap: wrap;
  width: 420px;
  height: 490px !important;
  overflow-y: hidden;
}

.containerhow .terms {
  color: #0385E0 !important;
  text-decoration: underline !important;
  font-size: inherit !important;
}

.containerhow .terms:hover {
  cursor: pointer;
}

.containerhow ol {
  margin: 0.5rem;
}

ol {
  margin-left: 2ch;
}

/* how end */

/* containerabt */
.containerabt * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
}

.containerabt {
  display: flex;
  flex-wrap: wrap;
  width: 420px;
  /* height: 380px; */
  text-align: justify;
}

.containerabt .img-fluid {
  max-width: 80%;
}

.containerabt a {
  text-decoration: none;
  line-height: 125%;
  font-size: 15pt;
  color: white;
}

.containerabt a:hover {
  color: white;
}

.containerabt .scale-on-hover {
  padding: 0.75rem;
  width: 100%;
  text-align: center;
  transition: transform 0.2s ease;
}

.containerabt .scale-on-hover:hover {
  transform: scale(1.005);
}

/* width */
::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #D3C8FF !important;
  border-radius: 10px !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #2777D8 !important;
  border-radius: 10px !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #175fb8 !important;
}

iframe.bloobin-ar-frame {
  width: 436px;
  height: 706px;
  border: 2px solid #0485E0;
  border-radius: 10px;
}

a-scene {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.pop-title {
  font-family: 'Gotham Bold', 'gotham', 'Arial', sans-serif;
  font-size: xx-large;
  line-height: 1.2;
}

.pop-text {
  font-family: 'gotham', 'Arial', sans-serif;
  font-size: x-large;
  line-height: 1.2;
}


/* MEDIA QUERIES */
@media only screen and (max-width: 480px) {
  #logo {
    margin-bottom: 3em;
  }

  .form-container {
    padding: 1em 0.25em;
    font-size: small;
    border-radius: 2em;
    margin: auto 0.5em !important;
  }

  .google-btn {
    margin: auto 5px;
    padding: 5px;
  }

  .min-95 {
    min-width: 95% !important;
    max-width: 98vw;
  }

  #main-onboard {
    border-radius: 1.5rem;
    padding: 1.5rem 0.75rem;
    width: 100%;
    max-width: 96vw;
    max-height: 90svh;
  }

  #onboard-img {
    width: 80vw;
    max-width: 280px !important;
    margin-bottom: 1rem !important;
  }

  .pop-img {
    width: 50vw;
    max-width: 240px !important;
    margin-bottom: 1rem !important;
  }

  .onboard-btn {
    max-width: 80% !important;
  }
}

@media only screen and (max-height: 600px) {
  .form-container {
    padding: 1em;
  }

  .img-button {
    margin-top: 0.75rem !important;
  }
}

@media only screen and (max-height: 1000px) {
  #bloobin {
    max-height: 35vh !important;
  }
}

@media only screen and (max-width: 790px) {
  #logo {
    margin-bottom: 3em;
  }

  .form-container {
    padding: 1em 0.25em;
    font-size: small;
    border-radius: 2em;
  }

  .google-btn {
    margin: auto 5px;
    padding: 5px;
  }
}

@media only screen and (max-width: 400px) {

  #logo {
    margin-bottom: 3em;
  }

  .box-btn {
    max-width: 130px !important;
  }

  .form-container {
    padding: 1em 0.25em;
    font-size: small;
    border-radius: 2em;
  }

  .google-btn {
    margin: auto 5px;
    padding: 5px;
  }
}

.login-home-header {
  opacity: 0;;
}