:root {
  --blue: #1e90ff;
  --bg-main: rgb(15, 23, 45);
  --secColor: rgba(12, 23, 60, 0.8);
  --fsz: calc(1.5rem + .7vmin);
  --marginMan: 3%;
}

body {
  background: var(--bg-main);
  margin: var(--marginMan);
  user-select: none;
  color: aliceblue;
  font-weight: bold;
  font-size: var(--fsz);
  font-family: 'Nunito', 'Open Sans', sans-serif;
  text-align: center;
}

#identity {
  margin-bottom: 10%;
}

#text,
#text2 {
  position: relative;
  min-width: 100%;
  outline: none;
  font-family: 'Nunito', sans-serif;
  font-weight: bold;
  box-sizing: border-box;
  margin-bottom: 3%;
  border: 2px solid #8300FF;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem;
  height: 15rem;
  resize: none;
  border-radius: 1rem;
}

#btn {
  font-size: calc(var(--fsz) - 0.5rem);
  width: 100%;
  background: #8300FF;
  outline: none;
  padding: 5%;
  box-sizing: border-box;
  border-radius: 1rem;
}

#typeOption {
  outline: none;
  font-family: 'Nunito', sans-serif;
  width: 100%;
  text-align: center;
  border: 2px solid #8300ff;
  box-sizing: border-box;
  padding: 2%;
  margin-bottom: 10%;
  border-radius: 0.5rem;
}

.loader {
  border: 0.3rem solid floralwhite;
  /* Light grey */
  border-top: 0.3rem solid #8300FF;
  /* Blue */
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  left: 50%;
  top: 50%;
  position: fixed;
  animation: spin 2s linear infinite;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Dark semi-transparent background */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  /* Ensure it covers all content */
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);

  }
}