/* GLOBAL */

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  /* Safari/Chrome */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+ */
}

:focus {
  outline: none;
}

input,
textarea {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

body {
  margin: 0;
  background: #f2f2f7;
  overflow-x: hidden;
  font-size: 18px;
}

h2 {
  text-align: center;
  margin-top: 30px;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: xx-large;
}

/* APP AREA */

.app {
  padding: 20px;
  padding-bottom: 110px;
  max-width: 600px;
  margin: auto;
}

/* INPUTS */

input,
textarea {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  border: none;
  background: white;
  margin-top: 15px;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(87, 98, 255, 0.233);
}

input:focus,
textarea:focus {
  outline: 2px solid #a8d2ff54;
}

textarea {
  height: 160px;
  resize: none;
}

/* BUTTON */

button {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 18px;
  /* background:#007aff; */
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  color: white;
  font-weight: 600;
  margin-top: 15px;
  font-size: 17px;
}

/* TOOL CARD */

.tool {
  background: white;
  padding: 18px;
  border-radius: 18px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.tool button {
  width: auto;
  margin-left: 8px;
  padding: 10px 14px;
  font-size: 14px;
}

/* NAVBAR */

.navbar {
  position: fixed;
  bottom: 35px;
  left: 0;
  width: 75%;
  max-width: 400px;
  height: 60px;
  margin-left: 12.5%;
  margin-right: 12.5%;
  border-radius: 60px;
  backdrop-filter: blur(5px);
  background: rgba(41, 41, 41, 0.267);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: -10px;
  justify-content: center;
}

.navbtn {
  border: none;
  background: none;
  font-size: 18px;
  color: #000000;
  height: 100%;
  margin-top: -1px;
  border-radius: 60px;
}

.navbtn.active {
  background: linear-gradient(135deg, #007bff65, #00aeff5b);
  color: #ffffff;
  font-weight: 600;
}

/* SECTIONS */

.section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all .35s ease;
}

.section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* HAMBURGER */

.menu {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 28;
}

.blank_exit {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 18;
}

.show {
  display: block;
}

/* DRAWER */

.drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.25);
  padding: 25px;
  transition: .35s;
  z-index: 19;
}


.drawer h3 {
  margin-top: 0;
  margin-left: 100px;
  font-size: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.drawer.open {
  left: 0;
}


#drawer a {
  text-decoration: none;
  color: white;
}



#credit {
  position: fixed;
  bottom: 5px;
  right: 5px;
  font-size: 12px;
  color: #797979;
  margin-top: 10px;

  font-family: monospace;

}



/* ---------------------------LOGIN----------------------------- */

#cross {
  top: -25px;
  left: 95%;
  /* position: fixed; */
  position: relative;
  font-size: 48px;
  height: 0px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 120;
  color: rgb(255, 0, 0);
  background: transparent;
  /* background: black; */
  /* display: flex; */
  display: none;
}




#login {
  display: flex;
  position: fixed;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.719);
  width: 100%;
  height: 100vh;
  top: 0;
}

#login h1 {
  font-size: 35px;
}


.loginbox {
  margin: auto;
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  height: 320px;
  text-align: center;
}

.loginbox input {
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #00394bcb;
  background-color: #00394b33;
  margin-top: 10px;
  font-size: 16px;
}

.loginbox input::placeholder {
  color: #00394b;
  font-weight: 600;
}

.loginbox input:focus {
  outline: none;
  border-color: #007aff;
}

.loginbox p {
  font-size: 13px;
  margin-bottom: 10px;
}

.loginbox a {
  color: #007aff;
  font-weight: 600;
}

.loginbox button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 15px;
  background-color: #007aff;
  color: white;
  font-weight: 600;
  margin-top: 20px;
  font-size: 16px;
}

.loginbox button:hover {
  background-color: #005bb5;
  cursor: pointer;
}







/* From Uiverse.io by vinodjangid07 */
#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 30px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition-duration: .5s;
}

.bars {
  width: 100%;
  height: 4px;
  /* background-color: #007aff; */
  background: linear-gradient(135deg, #007bffa1, #00aeff98);
  border-radius: 4px;
}

#bar2 {
  transition-duration: .8s;
}

#bar1,
#bar3 {
  width: 100%;
}

#checkbox:checked+.toggle .bars {
  position: absolute;
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}

#checkbox:checked+.toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}




/* LOADING OVERLAY */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.719);
  backdrop-filter: blur(15px);
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  z-index: 30;
  color: white;
}

.overlay.show {
  display: flex;
}


/* LOADING BOX */

.box {
  background: rgba(0, 0, 0, 0);
  color: rgb(0, 0, 0);
  padding: 28px;
  border-radius: 25px;
  text-align: center;
  width: 90%;
  font-size: x-large;
  /* max-width: 320px; */
}





#about {
  display: none;
  /* display: flex; */
  position: absolute;
  top: 0;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
  z-index: 100;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-150px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-box {
  width: 100%;
  /* max-width:650px; */
  background: white;
  padding: 30px;
  /* border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.08); */
  border-top: 6px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #007bff8e, #00aeff94);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.about-box h1 {
  margin-top: 0;
  font-size: 26px;
  text-align: right;
  font-family: monospace;
  word-spacing: -12px;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.about-box p {
  line-height: 1.6;
  color: #444;
}

.info {
  margin-top: 20px;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  color: white;
}

.info div {
  margin: 6px 0;
  font-size: 14px;
}

.features {
  margin-top: 20px;
}

.features li {
  margin: 6px 0;
}

.footer {
  margin-top: 20px;
  font-size: 13px;
  opacity: .7;
}


.back-circle {
  display: flex;
  position: absolute;
  top: 10px;
  left: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: white;
  cursor: pointer;

  outline: none;
  padding: 0px;
  padding-left: 8px;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  transform: rotate(180deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .15);
  transition: .25s;
}

.back-circle:hover {
  transform: scale(1.1) rotate(180deg);
}



/* LOADING OVERLAY --------------------------------------------------------*/

#msg {
  font-size: 30px;
  color: #ffffff;
}


.loader2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  background: linear-gradient(0deg, rgba(26, 51, 121, 0.9), rgba(15, 23, 42, 0.9), rgba(0, 0, 0, 0.9));
}

.loader-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  font-family: "Inter", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  color: white;
  border-radius: 50%;
  background-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.loader-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: transparent;
  animation: loader-combined 2.3s linear infinite;
  z-index: 0;
}

@keyframes loader-combined {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 6px 12px 0 #38bdf8 inset,
      0 12px 18px 0 #005dff inset,
      0 36px 36px 0 #1e40af inset,
      0 0 3px 1.2px rgba(56, 189, 248, 0.3),
      0 0 6px 1.8px rgba(0, 93, 255, 0.2);
  }

  25% {
    transform: rotate(180deg);
    box-shadow:
      0 6px 12px 0 #0099ff inset,
      0 12px 18px 0 #38bdf8 inset,
      0 36px 36px 0 #005dff inset,
      0 0 6px 2.4px rgba(56, 189, 248, 0.3),
      0 0 12px 3.6px rgba(0, 93, 255, 0.2),
      0 0 18px 6px rgba(30, 64, 175, 0.15);
  }

  50% {
    transform: rotate(270deg);
    box-shadow:
      0 6px 12px 0 #60a5fa inset,
      0 12px 6px 0 #0284c7 inset,
      0 24px 36px 0 #005dff inset,
      0 0 3px 1.2px rgba(56, 189, 248, 0.3),
      0 0 6px 1.8px rgba(0, 93, 255, 0.2);
  }

  75% {
    transform: rotate(360deg);
    box-shadow:
      0 6px 12px 0 #3b82f6 inset,
      0 12px 18px 0 #0ea5e9 inset,
      0 36px 36px 0 #2563eb inset,
      0 0 6px 2.4px rgba(56, 189, 248, 0.3),
      0 0 12px 3.6px rgba(0, 93, 255, 0.2),
      0 0 18px 6px rgba(30, 64, 175, 0.15);
  }

  100% {
    transform: rotate(450deg);
    box-shadow:
      0 6px 12px 0 #4dc8fd inset,
      0 12px 18px 0 #005dff inset,
      0 36px 36px 0 #1e40af inset,
      0 0 3px 1.2px rgba(56, 189, 248, 0.3),
      0 0 6px 1.8px rgba(0, 93, 255, 0.2);
  }
}

.loader-letter {
  display: inline-block;
  opacity: 0.4;
  transform: translateY(0);
  animation: loader-letter-anim 2.4s infinite;
  z-index: 1;
  border-radius: 50ch;
  border: none;
}

.loader-letter:nth-child(1) {
  animation-delay: 0s;
}

.loader-letter:nth-child(2) {
  animation-delay: 0.1s;
}

.loader-letter:nth-child(3) {
  animation-delay: 0.2s;
}

.loader-letter:nth-child(4) {
  animation-delay: 0.3s;
}

.loader-letter:nth-child(5) {
  animation-delay: 0.4s;
}

.loader-letter:nth-child(6) {
  animation-delay: 0.5s;
}

.loader-letter:nth-child(7) {
  animation-delay: 0.6s;
}

.loader-letter:nth-child(8) {
  animation-delay: 0.7s;
}

.loader-letter:nth-child(9) {
  animation-delay: 0.8s;
}

.loader-letter:nth-child(10) {
  animation-delay: 0.9s;
}

.loader-letter:nth-child(11) {
  animation-delay: 1s;
}

.loader-letter:nth-child(12) {
  animation-delay: 1.1s;
}

.loader-letter:nth-child(13) {
  animation-delay: 1.2s;
}

@keyframes loader-letter-anim {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    text-shadow: #f8fcff 0 0 5px;
  }

  40% {
    opacity: 0.7;
    transform: translateY(0);
  }
}










/*Main LOADING OVERLAY --------------------------------------------------------*/

/* Prior to using this loader, please ensure that you have set a background image or background color, as the text is transparent and not designed with a solid color. */
#main-loading {
  display: flex;
  /* display: none; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 15000;
  background-color: #f7f6f669;
  backdrop-filter: blur(20px);
  transform: scale(1);
}

.spinner {
  width: 70.4px;
  height: 70.4px;
  --clr: #13bdec4f;
  --clr-alpha: rgba(143, 131, 250, 0.151);
  animation: spinner 1.6s infinite ease;
  transform-style: preserve-3d;

}

/* .spinner>div {
    background: linear-gradient(215deg, rgba(155, 60, 232, 0.1) 30%, rgba(51, 132, 239, 0.1), rgba(19, 189, 236, 0.1));
    height: 100%;
    position: absolute;
    width: 100%;
    border: 1.5px solid var(--clr);
} */

.spinner>div {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;

  background: linear-gradient(215deg,
      rgba(155, 60, 232, 0.6) 30%,
      rgba(51, 132, 239, 0.6),
      rgba(19, 189, 236, 0.6));

  padding: 2.5px;


  mask: linear-gradient(#be0a0a 0 0) content-box,
    linear-gradient(#bb0c0c 0 0);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.301);
}




.spinner div:nth-of-type(1) {
  transform: translateZ(-35.2px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
  transform: translateZ(35.2px);
}

@keyframes spinner {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }

  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }

  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}





.popup {
  font-size: medium;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  /* padding: 20px; */
}

.popup-box {
  width: 100%;
  max-width: 700px;
  background: white;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  position: relative;
  overflow-y: auto;
  max-height: 100vh;
}

.popup-box h1 {
  margin-top: 0;
  font-size: 26px;
}

.intro {
  color: #555;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  color: white;
}

.step span {
  font-weight: bold;
  font-size: 18px;
  background: rgba(255, 255, 255, .25);
  padding: 6px 10px;
  border-radius: 8px;
}

.step p {
  margin: 0;
}

.step a {
  color: white;
  text-decoration: underline;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 ratio */
  margin-bottom: 100px;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.close-btn {
  width: auto;
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  color: white;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}







#delete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.61);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(5px);
}

#delete-box {
  background: linear-gradient(135deg, #004691, #00aeff);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 400px;
  height: 200px;
  padding: 20px;
  font-size: larger;
  font-weight: bold;
  text-align: center;
  border-radius: 20px;
}

.delete-options {
  display: flex;
  gap: 20px;
  /* margin-top: 30px; */
}

.delete-options button {

  padding: 10px 20px;
  font-size: medium;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100px;
  /* color: white; */
}

.delete-options .confirm-delete {
  background: #ff0000;
  color: white;
}

.delete-options .cancel-delete {
  background: #ffffff;
  color: #333;
}



/* COMPUTER DISPLAY */

@media screen and (min-width:500px) {

  .navbar {
    width: 30vw;
    margin-left: 35vw;
  }

}




#help {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  height: fit-content;
  background-color: #121212;
  color: #eee;
  padding: 40px 20px;
  display: none;
  /* display: flex; */
  z-index: 20000;
  overflow-y: auto;
  margin-bottom: 50px;

  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}



h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* Question Box */
.faq {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.question {
  background: #1c1c1c;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  font-weight: 600;
}

.question p {
  margin: 0;
}

.question:hover {
  background: #2a2a2a;
}

/* Answer hidden */
.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  color: #ccc;
  font-weight: 400;

}

.answer ul li {
  margin: 6px 0;
  list-style: inside square;
}

.answer ul {
  padding-left: 10px;
}

/* Active (open) */
.question.active .answer {
  max-height: fit-content;
  padding-top: 15px;
  background-color: #1c1c1c0c;
  border-top: 1px solid #585757;
  margin-top: 10px;

}

/* Bottom slide effect */
.question::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: 0.3s;
  z-index: -1;
}

.question.active::after {
  height: 100%;
  padding-top: 15px;
}

.question .q {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question .q img {
  width: 27px;
  transition: 0.2s;
}

.help-back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: transparent;
}

.help-back-btn svg {
  fill: white;
  transition: 0.3s;
}

.help-back-btn:hover svg {
  fill: #13bcec;
  transform: scale(1.2);
}


#idea-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  height: fit-content;
  background-color: #121212;
  color: #ffffff;
  z-index: 20000;
  display: none;
}

#idea-box h2 {
  margin-top: 40px;
  text-align: center;
  color: transparent;
  background: linear-gradient(135deg, #007bff8e, #00aeff94);
  -webkit-background-clip: text;
  background-clip: text;
}

#idea-box ul {
  font-size: medium;
}

#idea-box ul li {
  margin-top: 10px;

  user-select: text;
  -webkit-user-select: text;
  /* Safari/Chrome */
  -moz-user-select: text;
  /* Firefox */
  -ms-user-select: text;
  /* IE10+ */
}