
@font-face {
  font-family: 'omori';
  src: url('OMORI_GAME2.ttf');
  font-style: normal;
  font-weight: normal;
}


@font-face {
    font-family: "8bit";
    src: url(fonts/8bitOperatorPlus-Bold.ttf);
}

body {
  background-color: #000000;
  transition: opacity 1s ease;
  opacity: 0;
  font-family: 'Source Code Pro';
  color: white;
  margin: 0;
  transition:
  opacity 1s ease,
  background-color 2s ease;
}

#bob {
  color: white;
  display: none;
  font-size: 5vw;
  font-family: "8bit";
  padding-left: 25px;
  max-width: 90vw;
  overflow-wrap: anywhere;
  position: fixed;
  user-select: none;
}

button {
  cursor: pointer;
}

#title{
  top: 3px;
  margin-bottom: 4%;
}

#container{
  padding-left: 4%;
  padding-top: 1%;
  display:inline-block;
  align-items: center;
}

#close_donate{
  content: "\2715";
  width: 10%;
  transition: font-size 0.5s ease;
  font-size: 120%;
  height: 5%;
  border: none;
  border-radius: 15px 15px 15px 15px;
  padding-right: 5px;
  margin-bottom: 5px;
  float: right;
  background: white;
}

#close_donate:active{
  font-size: 140%;
  transition: font-size 0.5s ease;
  content: "\2716";
  transition: font-family 0.6s ease;
  border:none;
  background: grey;
}
dialog {
  border: none;
  border-radius: 10px;
  padding: 5px;
  padding-top: 5px;
  width: 80%;
  height: 60%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  align-content: center;
}
#donation{
  /*display: none;*/
}
#but {
  margin-top: 0px;
  border-radius: 8px 8px 8px 8px;
  background-color: aqua;
  width: 100px;
  height: 50px;
  border: 2px solid green;
  transition: border 0.3s ease;
  font-family: Fredoka;
  gap: 10px;
}
#but:active{
  transition: border 0.3s ease;
  border: 2px solid white;
}
#tbox {
  text-transform: uppercase;
  transition: all 0.6s ease;
  font-family: 'Source Code Pro';
  position: absolute;
  border: 1px solid aliceblue;
  color: green;
  font-size: 15px;
  padding-left: 10px;
  border-radius: 5px 5px 5px 5px;
  background-color: #000000;
  outline: none;
  width: 300px;
  height: 50px;
  gap: 10px;
  display: block;
  align-self: center;
  justify-self: center;
}

#input_div {
  position: relative;
  top: 8px;
  left: 5px;
  height: 100px;
  width: 300px;
  max-width: 350px;
  display: flex;
  justify-content: center;
}

#tbox.wrong{
  transition: border 0.6s ease;
  transition: background-color 0.6s ease;
  border: 1px solid red;
  background-color: red;
}

#tbox.wrong:focus{
  transition: all 0.6s ease;
  border: 4px solid red;
  background-color: red;
}

#tbox:focus {
  border: 4px solid aliceblue;
  transition: all 0.6s ease;
}

#diawarn {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: white;
  width: 60%;
  height: 40%;

  color: #000;
  text-align: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  border-radius: 10px 10px 10px 10px;

  transition: opacity 0.5s ease;
  padding: 15px;
}

#diabutt {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#diabutt button {
  flex: 1;
  padding: 10px;
}

#warn_cancel{
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: red;
  right: 1%;
  font-style: bold;
  font-family: "Fredoka";
  color: white;
  display: flex;
}

#warn_continue{
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: #23ff23;
  left: 1%;
  font-style: bold;
  font-family: fredoka;
  color: black;
  display: flex;
}

#diawarn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* #diawarn:close{
  opacity: 0;
  transition: opacity 1s ease;
}

#diawarn[open]{
  opacity: 1;
  transition: opacity 1s ease;
} */

#txt {
  color: green;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  visibility: hidden;
}
#txt.null {
  color: red;
  opacity: 1;
  transition: all 0s linear;
  visibility: visible;
}

#comp {
  opacity: 0.4;
}

.on {
  opacity: 1;
  /*transition: opacity 0.6s linear;*/
}

#shin {
  opacity: 0;
  position: 0px 500px;
}

#Vrkgyk_jutz {
  width: 100vw;
  height: 60vh;
  left: 50vw;
  /* transform: translateX(-50%); */
  display: none;
  justify-content: center;
  resize: horizontal;
}

#Vrkgyk_jutz iframe {
  width: 90%;
  height: 100%;
}