* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  color: var(--main-color);
  overflow: hidden;
}
:root {
  --accent-color: #e756ff;
  --accent-shadow: 0px 0px 14px 0px rgba(230, 86, 255, 0.5);
  --main-color: #ffffff;
  --secondary-color: #cdcccc;
  --button-color-text: #000000;
  --bold-weight: 600;
  --input-background: #0e0b0b;
  --input-border: #3c3c3c;
  --border-radius: 15px;
  --background-intro: #070707;
  --stroke-intro: #272727;
}
::selection {
  color: var(--button-color-text);
  background: var(--accent-color);
}
::-moz-selection {
  color: var(--button-color-text);
  background: var(--accent-color);
}

body {
  background: url("/imgs/background.png") no-repeat center fixed, #000000;
  background-size: cover;
}
.onboardingForm {
  display: flex;
  flex-direction: row;
}
.formLayout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 80vh;
  margin-left: 5rem;
  margin-top: 5rem;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.altTitle {
  font-size: 1rem;
  font-weight: var(--bold-weight);
  color: var(--accent-color);
}
.mainHead {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}
.textInput {
  color: var(--secondary-color);
  background-color: var(--input-background);
  border: 1px solid var(--input-border);
  border-radius: var(--border-radius);
  outline: none;
  width: 350px;
  height: 60px;
  padding: 1rem;
  font-size: 1rem;
  transition: 0.2s;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.textInput:focus {
  border: 1px solid #5f5f5f;
  color: var(--main-color);
}
.question {
  display: flex;
  flex-direction: column;
}

.primaryButton {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  color: var(--button-color-text);
  background-color: var(--accent-color);
  font-size: 1rem;
  font-weight: var(--bold-weight);
  outline: none;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.primaryButton:hover {
  -webkit-box-shadow: 0px 0px 14px 0px rgba(231, 86, 255, 0.7);
  -moz-box-shadow: 0px 0px 14px 0px rgba(231, 86, 255, 0.7);
  box-shadow: 0px 0px 14px 0px rgba(231, 86, 255, 0.7);
}
.hidden {
  display: none;
  opacity: 0;
}
@keyframes shake {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
  75% {
    transform: translateY(-5px);
  }
}
.shake {
  animation: shake 0.5s;
}

.errorBorder {
  border: 1px solid #8b1e1e;
}
.splashScreen {
  display: none;
}
.flexDiv {
  display: flex;
  flex-direction: row;
}
.underlined {
  border-bottom: 3px solid var(--accent-color);
  margin-right: 4rem;
  border-radius: 3px;
}
#downloadOutro {
  text-decoration: none;
}
.newIntro {
  margin-top: 3rem;
  background: var(--background-intro);
  border: 1px solid var(--stroke-intro);
  height: 280px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}
.newIntro:hover {
  background-color: #0a0a0a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: #474747;
}
#newIntroBtn {
  transition: 0.4s ease;
}
.newIntro:hover #newIntroBtn {
  transform: rotate(90deg);
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/imgs/background.png") no-repeat center, #000000;
  background-size: cover;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.preloader svg {
  width: 70px;
  height: 70px;
  animation: rotate 2s ease-in-out infinite;
  margin-bottom: 1rem;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@media screen and (max-width: 768px) {
  .onboardingForm,
  .exportForm {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .formLayout {
    margin: 0rem;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  .textInput {
    width: 80%;
  }
  .question {
    align-items: center;
    justify-content: center;
  }
  .altTitle {
    text-align: center;
  }
  .mainHead {
    text-align: center;
  }
  .subtitle {
    text-align: center;
  }
  .primaryButton {
    width: 80%;
  }
  .flexDiv {
    flex-direction: column;
  }
  .underlined {
    margin-right: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  .newIntro {
    width: 100%;
    margin-top: 1rem;
  }
  #downloadOutro {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 545px) {
  .newIntro {
    height: 225px;
    width: 400px;
  }
  .subtitle {
    font-size: 1rem;
    padding: 1rem;
  }
  .mainHead {
    font-size: 2rem;
  }
}
@media screen and (max-width: 418px) {
  .newIntro {
    height: 200px;
    width: 325px;
  }
  .subtitle {
    font-size: 1rem;
    padding: 1rem;
  }
  .mainHead {
    font-size: 2rem;
  }
}
#previewCanvas {
  width: 1920px;
  height: 1080px;
  transform: scale(0.5);
  border: 1px solid rgb(255, 0, 0);
}
.previewDiv {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #0000007c;
  display: none;
  opacity: 0;
  transition: 0.2s ease-in-out;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.secondaryButton {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  color: white;
  background: none;
  font-size: 1rem;
  border: 1px solid var(--accent-color);
  margin-left: 1rem;
  outline: none;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 1rem;
  font-weight: var(--bold-weight);
}
.secondaryButton:hover {
  background: var(--accent-color);
  color: var(--button-color-text);
}
#resetCache {
  margin-left: 3rem;
  cursor: pointer;
}
