/* Handles page contents below the navbar */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: var(--html-max-width);
  padding: 1rem var(--side-margin);
  min-height: 25rem;
}

/* Standard page section */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100%;
  max-width: var(--html-max-width);
}

/* Standard section content layout */
.section-contents {
  display: flex;
  margin: auto;
  width: 100%;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  margin-top: 1rem;
  gap: 1rem;
}

/* Spacers */
.margin-auto {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
}

.margin-top {
  margin-top: 1rem;
}
.push-down {
  margin-top: 8rem;
}
.margin-bottom {
  margin-bottom: 1rem;
}

/* Flex box utilities */
.flex-c {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.flex-r {
  display: flex;
  gap: 1rem;
}
.flex-left {
  align-items: flex-start;
}
.flex-center {
  justify-content: center;
  align-items: center;
}
.flex-wrap {
  flex-wrap: wrap;
  gap: 1rem;
}
.close-gap {
  gap: 0.3rem;
}
.extra-close-gap {
  gap: 5px;
}
.no-gap {
  gap: 0;
}

/* Text */
.min-text {
  font-size: 16px;
}
.underline {
  text-decoration: underline;
}
.left-text {
  text-align: left;
}
.right-text {
  text-align: right;
}
.center-text {
  text-align: center;
}
.primary-text {
  color: var(--primary);
}
.pink-text {
  color: var(--light-pink);
}
.muted-text {
  color: var(--charcoal);
}
.silver-gradient-text {
  background: var(--silver-gradient);
  background-size: 300%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pink-gradient-text {
  background: var(--pink-gradient);
  background-size: 300%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bold {
  font-weight: bold;
}
.normal {
  font-weight: normal;
}

/* Colors */
.silver-border {
  border: 1px solid var(--light-charcoal);
}
.danger-red {
  color: var(--danger-red);
}
.error {
  border: 2px solid var(--danger-red);
}
.gradient-bg {
  background: var(--multi-gradient);
  color: var(--off-white);
}
.gradient-bg-light {
  background: var(--multi-gradient-light);
  background-clip: padding-box;
  color: var(--off-white);
}
/* Gradient-colored animated text */
.gradient-text {
  background: var(--multi-gradient);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated_text 2s linear infinite;
  -moz-animation: animated_text 2s linear infinite;
  -webkit-animation: animated_text 2s linear infinite;
}
@keyframes animated_text {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
/* Gradient-colored animated div */
.gradient-button {
  background: var(--multi-gradient);
  background-size: 400% 400%;
  animation: gradient-button 5s ease infinite;
  -moz-animation: gradient-button 5s linear infinite;
  -webkit-animation: gradient-button 5s linear infinite;
}
@keyframes gradient-button {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.secondary-button {
  background-color: transparent;
  color: var(--light-pink);
  border: 1px solid var(--light-pink);
}

/* Modal content */
.modal-h {
  max-width: 85%;
  font-size: 1rem;
}
.modal-p {
  color: var(--charcoal);
  max-width: 600px;
  padding-right: 2rem;
}
.modal-action-section {
  margin-top: 0.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.modal-action-section button {
  width: 100%;
}

/* Misc */
.pointer {
  cursor: pointer;
}

.line-break {
  display: none;
}

.rounded {
  border-radius: var(--border-radius);
}

.no-clicks {
  pointer-events: none;
}

.no-select {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* Standard */
}

.full-width {
  width: 100%;
}

.limit-text-w {
  max-width: 300px;
}

#steps {
  margin: 0;
  margin-top: 1rem;
  gap: 1.75rem;
  text-align: left;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  align-self: center;
  border-radius: 200px;
  background-color: #ffffff10;
  border: 0.75px solid var(--light-charcoal);
  -webkit-border-radius: 200px;
  -moz-border-radius: 200px;
  -ms-border-radius: 200px;
  -o-border-radius: 200px;
}

.toggle button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.9rem;
  max-width: 200px;
  font-size: 20px;
  border: none;
  border-radius: 200px;
  cursor: pointer;
  color: var(--charcoal);
  background-color: transparent;
  font-weight: 700;
  -webkit-border-radius: 200px;
  -moz-border-radius: 200px;
  -ms-border-radius: 200px;
  -o-border-radius: 200px;
}

.toggle button.selected {
  color: var(--black);
  background-color: var(--light-pink);
}

#confetti-canvas {
  aspect-ratio: auto 2660 / 1923;
  box-sizing: border-box;
  text-decoration: none;
  background-color: transparent;
  position: fixed;
  width: 100%;
  left: 0px;
  height: 100%;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.back {
  position: absolute;
  left: 0;
  border-radius: 0;
  background: none;
  border: none;
  background-color: none;
  padding: 0;
  gap: 0.1rem;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.back svg {
  min-width: 24px;
  min-height: 24px;
}

.page-header {
  width: 100%;
  position: relative;
  align-items: flex-start;
}
.page-title {
  text-align: center;
  font-weight: bold;
  max-width: 70%;
  color: var(--light-pink);
}

.clear-button {
  border-radius: 0;
  background: none;
  border: none;
  background-color: none;
  padding: 0;
}

.cta-button {
  padding-top: min(1.5rem, 25px);
  padding-bottom: min(1.5rem, 25px);
}

.no-border {
  border: 1px solid transparent;
}

/* Cards */
.cards {
  gap: 1rem;
  width: 100%;
  max-width: 350px;
}
.left-side {
  gap: 0.5rem;
}
.card {
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem;
  min-height: min(4rem, 60px);
  cursor: pointer;
}

.no-bg {
  background: none;
  background-color: transparent;
}

.no-pointer {
  cursor: auto;
}

.align-center {
  align-items: center;
}

.aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  background-color: #000000;
  background-image: url("/images/aurora.png");
  background-repeat: no-repeat;
  /* From left, from top */
  background-position: center -200px;
}

/* Form overrides */
form[autocomplete="off"] input[type="text"] {
  background-position: 150% 50% !important;
}
div[data-lastpass-root] {
  display: none !important;
}
div[data-lastpass-icon-root] {
  display: none !important;
}
[data-lastpass-root],
[data-lastpass-icon-root] {
  display: none !important;
}

/* Medium */
@media only screen and (min-width: 600px) {
  html {
    font-size: 20px;
  }
  .line-break {
    display: inline;
  }
}
/* Large */
@media only screen and (min-width: 1024px) {
  html {
    font-size: 22px;
  }
}
/* Extra large */
@media only screen and (min-width: 1400px) {
  html {
    font-size: 26px;
  }
}
