@import url("https://fonts.googleapis.com/css2?family=Encode+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed&display=swap");
@font-face {
  font-family: "consolas";
  src: url(./RobotoMono-VariableFont_wght.ttf);
}
@font-face {
  font-family: "MPLUS";
  src: url(JetBrainsMono-Regular.ttf);
}

* {
  transition: all 0.6s;
}

@keyframes demo {
  50% {
    opacity: 0.1;

    color: rgb(130, 155, 186);
  }
}

@keyframes demo2 {
  50% {
    opacity: 0.1;

    color: rgba(28, 12, 12, 0.738);
  }
}

body {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  min-height: 80vh;
  margin: 0;
  overflow-x: hidden !important;
  padding-left: 20px;
  padding-right: 20px;
  /* background-color: rgb(4, 26, 58); */
  background: radial-gradient(rgb(9, 6, 5), rgb(20, 19, 23));
  transition: all 0.4s;
  /* outline: 2px solid pink; */
  gap: 25px;
}


.active {
  background-color: rgba(189, 88, 6, 0.8) !important;
  transform: scale(1.1);
}

#demo2 {
  font-size: 3.1vw;
  /* background-color: rgba(0, 0, 0, 0.124); */
  padding: 10px 50px;
  border-radius: 10px;
  min-width: 40px;
  line-height: 5vw;
  color: rgba(127, 123, 123, 0.5);
  animation: demo 0.5s linear;
  font-family: "consolas" !important;
  line-height: 50px !important;
  /* font-family: "MPLUS", sans-serif; */
  word-spacing: 0px;
  text-align: justify;
  animation: demo 1s linear 1;
  scrollbar-width: none;
  transition: 0.5s;
  
  /* letter-spacing: 1px; */
}
#options{
  /* display: flex;
  align-items: center;
  justify-content: center; */
  scale: 0.8;
}
#results button {
  width: 22%;
  pointer-events: none !important;
}
#results {
  width: 80% !important;
  flex-wrap: wrap !important;
}
@media screen and (max-width: 450px) {
  #results .button{
    width: 42%;
  }
}
#results .button:last-child {
  pointer-events: all !important;
  border: dashed rgb(194, 49, 0) !important;
  outline: none;

}
.button {
  border: 2px solid;
  border-color: rgb(194, 49, 0);
  color: aliceblue;
  background-color: transparent;
  /* background: linear-gradient(to right,rgb(255, 123, 0),orangered); */
  /* border-image: linear-gradient(rgb(121, 74, 204),rgb(255, 30, 0)) 1; */
  margin: 10px;
  padding: 11px 15px;
  border-radius: 10px !important;
  font-size: 17px;
  font-family: "Source Code Pro", monospace;
  animation: demo 0.5s linear 1;
  /* line-height: 36px; */
  border-radius: 7px;
  transition: all 1s;
  
}
.button:hover {
  background: linear-gradient(
    to right,
    rgba(255, 68, 0, 0.627),
    rgba(255, 166, 0, 0.543)
  );
}
button:hover,
button:focus {
  background-color: rgb(255, 106, 0);
  outline: 1px solid rgb(226, 52, 21);
  cursor: pointer;
}

span {
  /* background-color: rgba(166, 202, 163, 0.178); */
  /* border-bottom: 3px solid rgba(0, 0, 0, 0.317); */
  animation-iteration-count: 2;
  border-radius: 2px;
  /* animation: demo 1s; */
  color: rgb(255, 174, 0);
}

#demo2 span:last-of-type,
#demo2 #sec:last-of-type {
  /* border-right: 1px solid rgb(223, 243, 255); */

  /* animation: demo5 0.5s linear infinite; */
}

@keyframes demo5 {
  100% {
    border-right: 2px solid transparent;
  }
}
#demo2 span {
  color: rgb(253, 198, 186);
}
#sec {
  /* animation: demo2 1s; */
  animation-iteration-count: 3;
  /* background-color: rgba(241, 188, 102, 0.174); */
  color: rgba(210, 30, 6, 0.948) !important;
}

.hidden {
  display: none;
}

@keyframes glow {
  100% {
    opacity: 1;

    transform: translatey(-20px);
  }
}

@keyframes glow2 {
  100% {
    opacity: 1;

    transform: translatey(-80px);
  }
}

.message {
  /* width: 400px; */
  height: 60px;
  background-color: rgba(123, 25, 5, 0.924);
  border-radius: 15px;
  font-family: "MPLUS";
  display: flex;
  align-items: center;
  justify-content: start;
  box-shadow: 0 0 30px rgba(255, 157, 0, 0.298);
  padding: 0 10px;
}

.message span {
  font-size: 30px;
  /* font-style: italic; */
}

.message span:last-child {
  font-size: 60px;
  font-style: normal;
  animation: demo 1s infinite;
}

.message span:nth-child(2),
.message span:nth-child(4) {
  background-color: rgba(20, 102, 120, 0.268);
  font-size: 16px;
  border-radius: 15px;
  padding: 1px;
}

div:nth-of-type(5) div:nth-of-type(1) {
  animation: glow 0.5s linear forwards;
  transform: translateY(-50px) scale(1.3);
  opacity: 0;
  animation-delay: 0s;
}

div:nth-of-type(5) div:nth-of-type(2) {
  animation: glow 0.5s linear forwards;
  transform: translateY(-50px) scale(1.3);
  opacity: 0;
  animation-delay: 0.5s;
}

div:nth-of-type(5) div:nth-of-type(3) {
  animation: glow 0.5s linear forwards;
  transform: translateY(-50px) scale(1.3);
  opacity: 0;
  animation-delay: 1s;
}

div:nth-of-type(5) div:nth-of-type(4) {
  animation: glow 0.5s linear forwards;
  transform: translateY(-50px) scale(1.3);
  opacity: 0;
  animation-delay: 1.5s;
}

div:nth-of-type(5) div:nth-of-type(5) {
  animation: glow 0.5s linear forwards;
  transform: translateY(-50px) scale(1.3);
  opacity: 0;
  animation-delay: 2s;
}

footer {
  /* display: flex; */
  /* transform: translate(100vh, -10px); */
  position: relative;
  width: 100%;
  right: 10px;
  font-family: "MPLUS";
  color: rgb(237, 186, 120);
  min-height: 50px;
}
footer div {
  position: absolute;
  bottom: 5px;
  right: 0;
}

button {
  padding: 5px 10px;
  border-radius: 10px !important;
}

div:nth-last-of-type(3) .button:last-child {
  max-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

section div {
  background-color: rgba(0, 0, 0, 0.672);
  border-radius: 20px;
  padding: 20px 40px;
  width: 30vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
}

section div .button {
  width: 40% !important;
}

section div input {
  border: none;
  width: 50%;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.548);
  font-size: 15px;
}

section div .button {
  padding: 5px;
  text-align: center;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
}

select option div span {
  color: transparent;
  background-color: rgb(0, 106, 255);
  margin-left: 10px;
  height: 15px;
  width: 15px;
  border-radius: 50%;
}

select option span:first-of-type {
  background-color: rgb(58, 63, 68);
}

section div div:first-of-type span:last-of-type {
  background-color: rgb(190, 197, 203);
}

section div div:nth-of-type(2) span:first-of-type {
  background-color: rgb(248, 122, 113);
}

section div div:nth-of-type(2) span:nth-of-type(2) {
  background-color: rgba(35, 142, 110, 0.924);
}

section div div:nth-of-type(2) span:last-of-type {
  background-color: rgb(159, 200, 255);
}

section div div:nth-of-type(3) span:first-of-type {
  background-color: black;
}

section div div:nth-of-type(3) span:nth-of-type(2) {
  background-color: greenyellow;
}

section div div:nth-of-type(3) span:last-of-type {
  background-color: limegreen;
}

section div div:last-of-type span:first-of-type {
  background-color: cyan;
}

section div div:last-of-type span:nth-of-type(2) {
  background-color: navy;
}

section div div:last-of-type span:last-of-type {
  background-color: cadetblue;
}

section h3 {
  font-family: "MPLUS";
  background-color: rgba(146, 239, 239, 0.303);
  padding: 3px;
  border-radius: 2px;
  color: rgb(240, 206, 156);
  width: 100%;
  text-align: center;
}

section {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0%;
  left: 0%;
  background-color: rgba(0, 0, 0, 0.355);
}

.close {
  position: absolute;
  top: 32%;
  right: 30%;
  width: 1px;
}
#reset2 {
  opacity: 0;
  top: 50%;
  position: absolute;
}

@media screen and (max-width: 450px) {
  #demo2 {
    font-size: 6vw;
    padding: 10px 30px !important;
    text-align: justify;
    line-height: 8vw;
  }

  .button {
    /* padding: 4px 10px; */
    font-size: 15px;
  }
  section div .button {
    width: 100% !important;
  }
  section div {
    width: 40%;
  }
  section {
    min-height: 100vh;
  }
  footer div {
    right: 0vh;
  }
}
select {
  background-color: rgba(253, 214, 186, 0.764) !important;
  margin-left: 6px;
}
#keyy {
  color: rgb(236, 189, 113);
}
.realTime {
  background-color: cornflowerblue;
}
#keyy,
#space {
  background-color: rgba(90, 88, 88, 0.345);
}
