/*--------------------------------------------------------------
# Variables, mixins
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Z-Index
--------------------------------------------------------------*/ /*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
:root {
  --font-main__color: #1e242c;
  --font-dark__color: #181d23;
  --font-gray__color: #474e55;
  --placeholder-color: rgba(30, 36, 44, 0.5);
  --link-color: #9488f0;
  --link-color__hover: #afa5fb;
  --button-color: #12b886;
  --button-color__hover: #22d49f;
  --button-red-color: #ff646d;
  --button-red-color_hover: #ff8c93;
  --button-blue-color: #46a6ff;
  --button-blue-color_hover: #60b1fd;
  --main-color: #fff;
  --main-color_dark: #fff;
  --second-color: #f4f6f9;
  --background-color: #dfecf0;
  --success__color: #6bec47;
  --yellow__color: #f1ff33;
  --alert__color: #fd3737;
}

.dark:root {
  --font-main__color: #dfecf0;
  --font-dark__color: #ccd7da;
  --font-gray__color: #6d7986;
  --placeholder-color: rgba(223, 236, 240, 0.5);
  --main-color: #1e242c;
  --main-color_dark: #181d23;
  --second-color: #29313a;
  --background-color: #232a32;
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Position
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Flexbox and Grid mixins
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Media Query
(You can use breakpoints or use custom number for create media query)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Z-Index
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# CSS3 Prefix
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

button {
  border: none;
  outline: none;
}

img,
video {
  width: auto;
  height: 100%;
}

ul,
li {
  list-style: none;
}

input,
textarea,
select,
button {
  border: none;
  outline: none;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

#app {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#header,
#content,
#footer {
  width: 100%;
}

#header {
  display: flex;
  align-items: center;
  background: var(--main-color_dark);
  min-height: 3.75rem;
}
#header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
#header .app-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 2.25rem;
}
#header .right,
#header .links {
  display: flex;
  align-items: center;
  justify-content: right;
}
#header .right {
  gap: 1rem;
}
#header .links {
  gap: 1.125rem;
}
#header .links a {
  color: var(--font-gray__color);
  border-radius: 0.375rem;
  padding: 0.25rem;
}
#header .links a i {
  font-size: 1.625rem;
}
#header .links a:hover {
  color: var(--link-color);
}
#header .links a.current {
  color: var(--link-color);
  background: var(--main-color);
}
#header .links a svg {
  fill: var(--font-gray__color);
  height: 1.625rem;
  transition: all 0.3s ease;
}
#header .links a svg:hover {
  fill: var(--link-color);
}
#header .theme-switcher {
  position: relative;
  background: var(--background-color);
  width: 2rem;
  height: 1rem;
  border-radius: 2.625rem;
}
#header .theme-switcher button {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 100%;
  padding: 0;
  background: var(--link-color);
  overflow: hidden;
  margin-top: -0.125rem;
}

.dark .theme-switcher {
  background: var(--main-color);
}
.dark .theme-switcher button {
  margin-left: 0.75rem;
}

#content {
  flex-grow: 1;
  position: relative;
  z-index: 2;
  overflow-y: overlay;
}
#content .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  margin: 0 auto;
  width: 100%;
  max-width: 36.25rem;
}

.app-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--main-color);
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
}
.app-block .title {
  color: var(--font-gray__color);
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.app-block.clean {
  background: none;
  border-radius: initial;
  padding: initial;
}
.app-block.row {
  flex-direction: row;
}

.row {
  display: flex;
  flex-direction: column;
}
.row .line {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}
.row .line .input:first-child {
  min-width: 11.25rem;
}
.row .line .button {
  padding: 0 0.6875rem;
}
.row .line .button:hover i {
  transform: scale(1.05);
}
.row .line:not(:last-child) {
  margin-bottom: 1rem;
}
.row .line .btns {
  display: flex;
  gap: 0.5rem;
}
.row.btns {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

#trackers-block {
  font-size: 0.875rem;
}
#trackers-block .line {
  flex-wrap: wrap;
}

#footer {
  grid-area: footer;
  background: var(--main-color_dark);
  color: var(--font-gray__color);
  padding: 0.375rem 0;
  font-size: 0.75rem;
  z-index: 3;
}
#footer .container {
  display: flex;
  justify-content: space-between;
}

#preloader {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
}
#preloader .loader {
  width: 10rem;
  height: 10rem;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# All inputs (input, textarea, select and etc)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# All inputs (input, textarea, select and etc)
--------------------------------------------------------------*/
input, select, textarea {
  position: relative;
  background: var(--second-color);
  line-height: 1.25;
  color: var(--font-main__color);
  padding: 0.875rem 1.375rem;
  width: 100%;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  z-index: 1;
}
input:focus, select:focus, textarea:focus {
  background: var(--main-color_dark);
}
input::-webkit-input-placeholder, select::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: var(--placeholder-color);
  font-size: inherit;
  font-weight: normal;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
input:-moz-placeholder, select:-moz-placeholder, textarea:-moz-placeholder {
  color: var(--placeholder-color);
  font-size: inherit;
  font-weight: normal;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
input::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: var(--placeholder-color);
  font-size: inherit;
  font-weight: normal;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
input:-ms-input-placeholder, select:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: var(--placeholder-color);
  font-size: inherit;
  font-weight: normal;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
input:focus::-webkit-input-placeholder, select:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color: transparent;
  font-size: inherit;
  font-weight: normal;
}
input:focus:-moz-placeholder, select:focus:-moz-placeholder, textarea:focus:-moz-placeholder {
  color: transparent;
  font-size: inherit;
  font-weight: normal;
}
input:focus::-moz-placeholder, select:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
  color: transparent;
  font-size: inherit;
  font-weight: normal;
}
input:focus:-ms-input-placeholder, select:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
  color: transparent;
  font-size: inherit;
  font-weight: normal;
}

select {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding-right: 2.625rem;
}

textarea {
  resize: none;
}

.border {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: linear-gradient(to right, #8573f5 0%, #e76aca 50%, #79e3b9 100%);
  border-radius: 0.5rem;
  z-index: 0;
  transition: all 0.3s ease;
}

.input, .select {
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.input .border, .select .border {
  opacity: 0;
}
.input input:focus ~ .border, .input select:focus ~ .border, .input textarea:focus ~ .border, .select input:focus ~ .border, .select select:focus ~ .border, .select textarea:focus ~ .border {
  opacity: 1;
}
.input.disabled, .select.disabled {
  opacity: 0.7;
}
.input.disabled input, .input.disabled select, .select.disabled input, .select.disabled select {
  pointer-events: none;
}
.input.w100, .select.w100 {
  width: 100%;
}

.select::before {
  content: "";
  display: block;
  position: absolute;
  right: 1.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 0.25rem solid transparent;
  border-right: 0.25rem solid transparent;
  border-top: 0.25rem solid var(--font-main__color);
  z-index: 2;
}

/*--------------------------------------------------------------
# Modals
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Modals
--------------------------------------------------------------*/
#overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: overlay;
  z-index: 4;
  background: rgba(24, 29, 35, 0.88);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
#overlay .modal {
  width: 100%;
  max-width: 38.75rem;
  max-height: 100vh;
  margin: 1.5rem 0;
}

#edit_template {
  max-width: 26.25rem !important;
}
#edit_template .dragdrop {
  position: relative;
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--main-color_dark);
  color: var(--placeholder-color);
  width: 100%;
  border: 1px dashed var(--font-gray__color);
  height: 0;
  padding-bottom: 50%;
  transition: all 0.3s ease;
}
#edit_template .dragdrop.highlight, #edit_template .dragdrop.selected {
  border-color: var(--button-color);
  color: var(--button-color);
}
#edit_template .dragdrop.selected .close {
  opacity: 1;
  visibility: visible;
}
#edit_template .dragdrop.selected .close i {
  background: var(--button-color);
}
#edit_template .dragdrop.selected .close:hover i {
  background: var(--button-color__hover);
}
#edit_template .dragdrop .close {
  opacity: 0;
  visibility: hidden;
}
#edit_template .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#edit_template .icon i {
  font-size: 4.5rem;
  line-height: 1;
}
#edit_template .icon span {
  font-size: 1rem;
  text-align: center;
  word-break: break-word;
  transition: all 0.3s ease;
}

.close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 0.875rem;
  height: 0.875rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transform: rotate(45deg);
}
.close:hover i {
  background: var(--button-color);
}
.close i {
  width: 100%;
  height: 2px;
  border-radius: 0.625rem;
  background: var(--font-gray__color);
  transition: all 0.3s ease;
}
.close i:last-child {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: center;
}

#download {
  max-width: 26.25rem !important;
}

/*--------------------------------------------------------------
# Other elements
--------------------------------------------------------------*/
a {
  display: flex;
  text-decoration: none;
  outline: none;
  color: var(link-color);
  transition: all 0.3s ease;
  cursor: pointer;
}
a:hover {
  color: var(--link-color__hover);
}

button {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  color: var(--main-color);
  background: var(--button-color);
  border: 1px solid var(--button-color__hover);
  border-radius: 0.5rem;
}
.button:hover {
  background: var(--button-color__hover);
}
.button.red {
  background: var(--button-red-color);
  border-color: var(--button-red-color_hover);
}
.button.red:hover {
  background: var(--button-red-color_hover);
}
.button.blue {
  background: var(--button-blue-color);
  border-color: var(--button-blue-color_hover);
}
.button.blue:hover {
  background: var(--button-blue-color_hover);
}
.button.border-only {
  background: none;
  border-color: var(--button-color);
  color: var(--button-color) !important;
}
.button.border-only:hover {
  border-color: var(--button-color__hover);
  color: var(--button-color__hover) !important;
}
.button.disabled {
  pointer-events: none;
  background: none;
  border-color: var(--button-color);
  color: var(--button-color) !important;
}
.button.noactive {
  pointer-events: none;
}
.button.none {
  background: none;
  border-color: none;
}
.button span {
  transition: all 0.3s ease;
}

.dark .button {
  color: var(--font-main__color);
}

.small-loader {
  position: absolute;
  border-radius: 100%;
  border: 0.1875rem solid rgba(255, 255, 255, 0.3);
  border-right-color: #fff;
  width: 1.25rem;
  height: 1.25rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  -webkit-animation: rotate 0.8s linear infinite;
          animation: rotate 0.8s linear infinite;
}

/*--------------------------------------------------------------
# App
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# App
--------------------------------------------------------------*/
html {
  font-size: 16px;
}

body {
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 400;
  color: var(--font-main__color);
  line-height: 1.5em;
  letter-spacing: 0.025rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--background-color);
  overflow: hidden;
  height: 100vh;
  transition: all 0.3s ease;
}

*::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
*::-webkit-scrollbar-track {
  background: rgba(24, 29, 35, 0.5);
}
*::-webkit-scrollbar-thumb {
  border-radius: 0.75rem;
  background: var(--link-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--link-color__hover);
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
.material-icons-outlined {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
  color: var(--font-main__color);
}
.logo:hover {
  color: var(--font-main__color);
}
.logo span {
  color: var(--link-color);
}

#content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#activate {
  max-width: 32.5rem !important;
}

.row p {
  line-height: 1.25;
}

.about {
  margin-bottom: 1rem;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-active {
  transition-delay: 0.2s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}