html, body {
  margin: 0;
}

.shadow {
  background: rgba(0,0,0,0.9);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 50px;
  box-sizing: border-box;
  overflow: auto;
  color: white;
  font-family: Montserrat;
  line-height: 1.8;
  letter-spacing: 0.7px;
}

.gameWindow a {
  color: white;
}

.dialog {
  font-family: Neuropol;
  font-size: 20px;
  color:white;
  border: #F6A615 3px solid;
  border-radius: 20px;
  background: black;
  padding: 50px;
  text-align: center;
}

.dialog-note {
  color:white;
  border: white 3px solid;
  border-radius: 20px;
  background: black;
  padding: 50px;
  max-width: 600px;
  max-height:80vh;
  overflow-y: scroll;
}

/* width */
.dialog-note::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.dialog-note::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(20, 20, 20);
  border-radius: 10px;
}

/* Handle */
.dialog-note::-webkit-scrollbar-thumb {
  background: linear-gradient(141deg, rgba(246,166,21,1) 20%, rgb(172, 113, 5) 100%);
  border-radius: 20px;
}

@font-face {
  font-family: 'Neuropol';
  src: url('../f/fonts/neuropol.ttf');
}

@font-face {
  font-family: 'Montserrat';
  src: url('../f/fonts/Montserrat-Regular.ttf');
}

.body {
  background: url("../f/img/bg.jpg");
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
}

.main {
  min-height: 100vh;
  /* padding: 4rem 2rem; */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mainWindow {
  /* // background: rgba(0, 0, 0, 0.85); */
  border-radius: 20px;
  width: 80%;
  max-width: 800px;
  padding: 50px;
  font-family: Montserrat;
  line-height: 1.8;
  letter-spacing: 0.7px;
  text-align: justify;
  color: white;
  backdrop-filter: blur(1px);
  margin-top: 50px;
  margin-bottom: 50px;
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

.mainWindow {
  position: relative;
  z-index: 0;
  border-radius: 15px;
  overflow: hidden;
  padding: 2rem;
}

.mainWindow::before {
  content: '';
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: none;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: none, none, linear-gradient(rgba(0,0,0,0), #F6A615), linear-gradient(rgba(0,0,0,0), #F6A615);
  animation: rotate 4s linear infinite;
}

.mainWindow::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 3px;
  top: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background: rgba(0,0,0,0.95);
  border-radius: 15px;
  animation: opacityChange 3s infinite alternate;
}

.button-mini {
  font-size: 12px;
  width: 200px;
  height: 30px;
  background: #36a3c4;
}

.nav {
  color: white;
  text-decoration: none;
}

.nav:hover {
  color:rgb(246, 166, 21); 
}

.title {
  font-family: Neuropol;
  font-size: 40px;
  font-weight: 700;
}

.yellow {
  color: #F6A615;
}

.input {
  width: 70%;
  height: 70px;
  font-size: 30px;
  text-align: center;
  font-weight: 900;
  border: gray 0px solid;
  border-radius: 10px;
  font-family: Neuropol;
  outline: 0;
}

.button {
  margin: auto;
  width: 300px;
  height: 50px;
  font-size: 20px;
  text-align: center;
  font-weight: 900;
  border-radius: 10px;
  border: 0px;
  background: linear-gradient(141deg, rgba(246,166,21,1) 20%, rgb(172, 113, 5) 100%);
  font-family: Neuropol;
  transition: 0.3s;
  cursor: pointer;
}

.button:hover {
  transform: scale(1.05);
}

.button0 {
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  outline: 0;
}

.speech-bubble {
  position: relative;
  background: linear-gradient(141deg, rgba(246,166,21,1) 20%, rgb(172, 113, 5) 100%);
  border-radius: 15px;
  padding: 15px;
  font-size: 12px;
  color: black;
  max-width: 600px;
  font-family: Neuropol;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 18px solid transparent;
  border-right-color: #F6A615;
  border-left: 0;
  margin-top: -18px;
  margin-left: -18px;
}

.pill {
  display: inline;
  background: linear-gradient(141deg, rgba(246,166,21,1) 20%, rgb(172, 113, 5) 100%);
  padding: 5px 10px;
  border-radius: 10px;
  margin-right: 5px;
  font-size: 9px;
  font-weight: 700;
  color: black;
}

.st-toast-details {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

h1 {
  font-family: Neuropol;
  text-align: center;
}
  

h5 {
  font-family: Neuropol;
  text-align: center;
}

.toast {
  display: none;
  color: white;
  font-family: Montserrat;
  width: 200px;
  right: 20px;
  top: 20px;
  background: #393939;
  border-radius: 5px;
  border-left: #0284c7 5px solid;
  position: fixed;
  padding: 20px 20px;
  z-index:9999;
  align-items: center;
  font-size: 14px;
}

#hand {
  display: none;
  position: fixed;
  right: 50px;
  top: 50px;
  aspect-ratio: 1;
  background: black;
  align-items: center;
  border-radius: 20px;
  border: #F6A615 2px solid;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-family: Montserrat;
  z-index: 999;
}

#hand:hover {
  transition: 0.3s;
  transform: scale(1.1);
  border: white 2px solid;;
}

.button-mini {
  font-size: 12px;
  width: 200px;
  height: 30px;
  background: linear-gradient(white, #c9c9c9);
}
