:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* @media (max-width: 1024px) {
    font-size: 16px;
  } */
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
  padding: 0;
  background-image: 
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.1), transparent 70%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 36px;
  letter-spacing: -1.68px;
  margin: 10px 0;
  line-height: 69px;
  /* @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  } */
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  /* @media (max-width: 1024px) {
    font-size: 20px;
  } */
}

p {
  margin: 0;
}

.outCont {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 50px;
  gap: 8px;
  flex-wrap: wrap;
}

.outCont > div {
  border: 2px rgb(42, 42, 42) solid;
  padding: 6px 13px;
  border-radius: 5px;
  background-color: rgba(15, 23, 42, 0);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.outCont > div h2 {
  font-size: 16px;
  letter-spacing: 2px;
}

.outCont > div p {
  font-size: 14px;
}

.textAreaCont {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  align-items: center;
}

.textAreaCont > .textInputCont {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
}

.textInputCont > label {
  text-align: start;
  width: 100%;
}

.textAndBtns {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 10px;
  /* flex-wrap: wrap; */
}

.fomrInpCont.qr {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.fomrInpCont.qr input {
  min-width: 40vw;
  height: 25px;
}

.action-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
}

.copy {
  border-radius: 5px;
  opacity: .5;
  width: 100%;
  background-color: #020617;
  padding: 1px 2px;
  font-size: 12px;
  color: white;
  border: solid .5px white;
  cursor: pointer;
  transition: opacity ease-in-out .2s;
}

.copy:hover {
  opacity: .6;
}

.copy:active {
  opacity: 1;
}

textarea {
  padding: 5px;
  width: 100%;
}

.transformerCont {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
  flex-wrap: wrap;
}

.transformerCont > div {
  display: flex;
  justify-content: flex-start;
  gap: 3px;
  align-items: flex-start;
  background-color: #08060d;
  /* padding: 4px 5px; */
  border-radius: 5px;
  cursor: pointer;
  color: white;
}

.transformerCont > div > span {
  border-radius: 5px;
  padding: 2px 6px;
  opacity: .7;
  border: 1px solid rgb(255, 255, 255);
  box-shadow: #4d4d4d 2px 2px 5px;
  transition: opacity .3s ease-in-out;
  font-size: 14px;
}

.transformerCont > div:hover > span {
  opacity: 1;
}

.transformerCont > div:active > span {
  opacity: .1;
}

.transformerCont > div:nth-child(1) > span:nth-child(1) {
  background-color: rgb(168, 31, 31);
}

.transformerCont > div:nth-child(2) > span:nth-child(1) {
  background-color: rgb(33, 164, 33);
  color: black;
}

.transformerCont > div:nth-child(3) > span:nth-child(1) {
  background-color: rgb(45, 45, 186);
  /* color: black; */
}

.transformerCont > div:nth-child(4) > span:nth-child(1) {
  background-color: rgb(207, 159, 68);
  color: black;
}

.transformerCont > div:nth-child(5) > span:nth-child(1) {
  background-color: rgb(245, 142, 159);
  color: black;
}

.transformerCont > div:nth-child(6) > span:nth-child(1) {
  background-color: rgb(207, 207, 56);
  color: black;
}

.transformerCont > div:nth-child(7) > span:nth-child(1) {
  background-color: rgb(180, 0, 180);
  /* color: black; */
}

@keyframes growAndFade {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.grow-animation {
  display: inline-block;
  animation: growAndFade 0.3s ease-in-out;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0px;
  /* gap: 10px; */
  height: 100%;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 60px;
  color: #bdbdbd;
}

.hero h2 {
  font-size: 20px;
  color: #9c9c9c;
}

.navMenuItems {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.navMenuItems span {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

header.main-header {
  background-color: rgba(15, 23, 42, 0.5);
  padding: 8px .9em;
  padding-left: 50px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  gap: 60px;
  align-items: center;
}

nav > ul.menu-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  font-weight: 400;
  text-transform: capitalize;
  padding: 5px 0;
  margin: 0;
  font-size: 14px;
  position: relative; 
}

nav > ul.menu-list > li {
  padding: 5px 30px;
  border: 2px solid gray;
}

nav > ul.menu-list > li a {
    text-decoration: none;
    color: inherit;
}

nav > ul.menu-list > li:hover {
  cursor: pointer;
  text-decoration: underline;
  background-color: gray;
  backdrop-filter: blur(10px);
  color: black;
}

nav > ul.menu-list > li:hover .dropdown-icon {
    transform: rotate(180deg);
}

nav > ul.menu-list > li > .menu-card {
  background-color: rgba(15, 23, 42, .95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: white;
  padding: 25px 15px;
  position: absolute;
  top: 37px;
  left: -2px;
  display: none;
}

nav > ul.menu-list > li:hover > .menu-card {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 20px;
}

nav > ul.menu-list > li > .menu-card > li {
  padding: 2px 8px;
  cursor: pointer;
}

nav > ul.menu-list > li > .menu-card > li > a {
  text-decoration: none;
  color: inherit;
}

nav > ul.menu-list > li > .menu-card > li:hover > a {
  text-decoration: underline;
  color: rgba(34, 211, 238, 0.3);
}

main {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px 20px 20px 20px;
  gap: 10px;
}

main h1 {
  text-align: start;
  font-size: 56px;
}

main header p {
  text-align: start;
  font-size: 22px;
}

main > section {
  border-top: 5px solid rgb(245, 142, 159);
  padding-top: 30px;
  text-align: start;
  margin-bottom: 50px;
  padding-right: 200px;
}

main > section.tool-grid {
  border: none;
  padding-top: 0;
}

footer {
  margin-top: 40px;
}

footer {
  border-radius: 10px;
  padding: 20px 60px;
  margin: 0 20px;
  margin-top: 40px;
  margin-bottom: 10px;
  border: 1px solid rgba(34, 211, 238, 0.5);
}

footer > nav, footer > section {
  backdrop-filter: blur(10px);
  color: white;
  margin-bottom: 50px;
}

.tools-nav-footer, .company-nav-footer, .contact-nav-footer {
  display: grid;
  grid-template-columns: repeat(5, auto);
  list-style: none;
  row-gap: 20px;
  margin: 0;
}

.tools-nav-footer a, .company-nav-footer a, .contact-nav-footer a {
    text-decoration: none;
    color: rgb(190, 190, 190);
  }

.tools-nav-footer a:hover, .company-nav-footer a:hover, .contact-nav-footer a:hover {
    text-decoration: underline;
    color: rgba(34, 211, 238, 0.3);
  }

.copyright {
  background-color: transparent;
  color: inherit;
  text-align: center;
  margin-bottom: 0;
  margin-top: 40px;
  
}

button {
  all: unset;
}

ul {
  list-style: none;
  padding: 0;
}

.fomrInpCont {
  border: solid gray 2px;
  border-radius: 5px;
}

.fomrInpCont {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  white-space: nowrap;
  gap: 5px;
  padding: 5px 10px;
}

.fomrInpCont > div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.fomrInpCont > div input[type="number"] {
  padding: 3px;
}

.fomrInpCont button {
  background-color: #16171d;
  background-color: rgba(192, 132, 252, 0.5);
  box-shadow: #aa3bff 1px 1px 5px;
  border-radius: 5px;
  padding: 3px 20px;
  color: white;
  cursor: pointer;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 5px;
}

#errorPop {
  position: fixed;
  top: 75px;
  right: 10px;
  z-index: 1000000;
  border: white;
  border-radius: 5px;
  padding: 3px 6px;
  background-color: rgba(255, 0, 0, .8);
  color: white;
  max-width: 30vw;
  display: none;
}

#errorPop h3 {
  margin: 0;
  text-align: start;
}

#errorPop p {
  margin: 0;
  text-align: start;
  height: 100%;
  white-space: initial;
}

#errorPop.show {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;

  margin-top: 1rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1.5rem;

  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;

  background: #c1c1c1;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);

  border-color: #cbd5e1;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.08);
}

.tool-card h2 {
  margin: 0;

  font-size: 1.25rem;
  line-height: 1.3;
}

.tool-card h2 a {
  color: #111827;
  text-decoration: none;
}

.tool-card h2 a:hover {
  text-decoration: underline;
}

.tool-card p {
  margin: 0;

  color: #4b5563;

  font-size: 0.95rem;
  line-height: 1.7;
}

.tool-link {
  width: fit-content;

  margin-top: auto;

  padding: 0.75rem 1rem;

  border-radius: 0.8rem;

  background: #111827;
  color: #c1c1c1;

  text-decoration: none;
  font-weight: 600;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.tool-link:hover {
  background: #1f2937;

  transform: scale(1.03);
}

.tool-link:active {
  transform: scale(0.98);
}

select {
  padding: 3px 4px;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 12px;

  white-space: pre;
  text-align: start;
}

code {
  font-family: "JetBrains Mono", monospace;
  text-align: start;
}

.blogMain {
  text-align: start;
}

.blogMain section {
  border: none;
  margin: 0;
  text-align: start;
}

.blog-meta time {
  color: rgb(95, 95, 95);
}