/* Global styling */
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  font-family: Arial;
}
a {
  text-decoration: none;
}
button {
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
:root {
  --first-color: #0f172a;
  --second-color: #1e293b;
  --third-color: #38bdf8;
  --fourth-color: #eeeeee;
  --fifth-color: #64748b;
  --main-transition: 0.3s;
  --main-radius: 10px;
  --second-radius: 6px;
  box-sizing: border-box;
  font-family: Arial;
}
body {
  position: relative;
  background-color: var(--first-color);
  min-height: 100vh;
  padding-bottom: 470px;
}
body.light {
  --first-color: #f7f4eb;
  --second-color: #ffffff;
  --third-color: #3b82f6;
  --fourth-color: #000000;
  --fifth-color: #aaa;
}
.container {
  width:100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width:1200px) {
  .container {
    max-width: 1140px;
  }
}
/* ads style */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ad-container::before {
    content: "";
    position: absolute;
    font-size: 12px;
    color: #ccc;
    font-family: sans-serif;
    z-index: 0;
}
 /* ads in header */
@media (max-width: 767px) {
    .header-ad {
        width: 320px;
        height: 50px;
    }
}
@media (min-width: 768px) {
    .header-ad {
        width: 728px;
        height: 90px;
    }
}
.main-title {
  padding: 0 0 15px;
  width: fit-content;
  margin: 0 auto;
}
.main-title h2 {
  width: 100%;
  color: var(--third-color);
}

.tool-description {
  width: 100%;
  margin: 0 0 20px;
}
.tool-description .container {
  background-color: var(--fourth-color);
  padding: 10px 0;
  border-radius: var(--main-radius);
}
.tool-description h2 {
  padding: 20px;
  border-radius: var(--second-radius);
  margin: 0 10px;
  color: var(--third-color);
  background-color: var(--first-color);
}
.tool-description p {
  padding: 10px 20px;
  color: var(--second-color);
  font-size: 14px;
}
.tool-FAQ {
  width: 100%;
  margin: 20px 0;
}
.tool-FAQ .container {
  background-color: var(--fourth-color);
  padding: 10px 0;
  border-radius: var(--main-radius);
}
.tool-FAQ h2 {
  padding: 20px;
  border-radius: var(--second-radius);
  margin: 0 10px;
  color: var(--third-color);
  background-color: var(--first-color);
}
.tool-FAQ .question {
  padding: 10px 10px 0;
}
.tool-FAQ .question h3 {
  padding: 10px 20px;
  border-radius: var(--second-radius);
  color: var(--third-color);
  background-color: var(--first-color);
}
.tool-FAQ .question p {
  padding: 10px 20px;
  color: var(--second-color);
  font-size: 14px;
}
/* Header and Menu */
.logo {
  height: 60px;
}
.logo-about {
  margin: 20px auto;
  width: 150px;
  height: 150px;
}
.logo svg,
.logo-about svg{
  width: 100%;
  height: 100%;
}
.logo svg .square,
.logo-about svg .square{
  fill: var(--fourth-color);
}
.logo svg .left,
.logo-about svg .left{
  fill: var(--first-color);
}
.logo svg .right,
.logo-about svg .right{
  fill: var(--third-color);
}
.header {
  position: relative;
  z-index: 2;
  background-color: var(--second-color);
  box-shadow: 0 2px 10px #171717ad;
}
.header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
  background-color: transparent;
}
.header .menu-btn {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  transition: var(--main-transition);
  border-radius: var(--second-radius);
}
.header .menu-btn.open {
  background-color: var(--third-color);
}
.header .menu-btn svg {
  fill: var(--fourth-color);
  transition: var(--main-transition);
}
.header .menu-btn.open svg {
  fill: var(--second-color);
}
.header .list {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--second-color);
  left: 0;
  top: 75px;
  width: 100%;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}
[dir="rtl"] .header .list {
  justify-content: flex-end;
}
.header .list.open-list {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
.header .list li {
  width: 100%;
  border-bottom: 1px solid var(--fourth-color);
  transition: var(--main-transition);
}
.header .list li:not(:first-child):hover {
  border-color: var(--third-color);
  background-color: var(--third-color);
}
.header .list li a {
  display: block;
  padding: 20px;
  width: 100%;
  font-size: 14px;
  text-decoration: none;
  color: var(--fourth-color);
  transition: var(--main-transition);
}
.header .list li:not(:first-child):hover a {
  color: white;
  transform: translateX(20px);
}
[dir="rtl"] .header .list li:not(:first-child):hover a {
  color: white;
  transform: translateX(-20px);
}
.header .list li:first-child {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.header .mode {
  width: fit-content;
  padding: 20px;
}
.header .mode .mode-btn {
  position: relative;
  height: 24px;
  width: 44px;
  background-color: var(--fourth-color);
  border-radius: 100px;
  border: 2px solid var(--third-color);
}
.header .mode .mode-btn:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--third-color);
  border-radius: 50%;
  top: 2px;
  left: 22px;
  transition: var(--main-transition);
}
.header .mode .mode-btn.light:before {
  left: 2px;
}
[dir="rtl"] .header .mode .mode-btn:before {
  left: 2px;
}
[dir="rtl"] .header .mode .mode-btn.light:before {
  left: 22px;
}
.header .mode svg {
  position: relative;
  width: 24px;
  height: 24px;
  stroke: var(--third-color)
}
.header .lang {
  position: relative;
}
.header .lang .lang-btn {
  position: relative;
  padding: 10px 20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--fourth-color);
  border-radius: var(--second-radius);
  text-align: center;
  font-size: 20px;
  background-color: var(--first-color);
}
.header .lang .lang-list {
  position: absolute;
  display: none;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--fourth-color);
  border-radius: var(--second-radius);
  overflow: hidden;
  background-color: var(--first-color);
  left: 0;
  top: 50px;
}
header .lang .lang-list.open {
  display: flex;
}
.header .lang .lang-list li {
  font-size: 20px;
  padding: 10px 20px;
  text-align: center;
  color: white;
  transition: var(--main-transition);
}
.header .lang .lang-list li:last-child {
  border: none;
}
.header .lang .lang-list li:hover {
  border-color: var(--third-color);
  background-color: var(--third-color);
}
footer {
  position: absolute;
  background-color: var(--fourth-color);
  bottom: 0;
  width: 100%;
  padding: 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
}
footer p {
  text-align: center;
  width: 100%;
  font-size: 20px;
  color: var(--second-color);
  margin-bottom: 20px;
}
footer .footer-links {
  flex: 1;
}
footer .footer-links a {
  display: block;
  text-decoration: none;
  text-align: center;
  color: var(--second-color);
  width: 100%;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .header .list {
    width: 50%;
    left: 50%;
  }
  [dir="rtl"] .header .list {
    width: 50%;
    left: 0;
  }
  footer .container {
    margin-bottom: 110px;
  }
}
/* end header and menu */

/* legal-content */
section {
  width: 100%;
  margin: 20px 0;
}
section .legal-content {
  background-color: var(--fourth-color);
  padding: 10px 0;
  border-radius: var(--main-radius);
}
section .legal-content h1 {
  padding: 20px;
  border-radius: var(--second-radius);
  margin: 0 10px;
  color: var(--third-color);
  background-color: var(--first-color);
}
section .legal-content h2 {
  padding: 10px 20px;
  border-radius: var(--second-radius);
  margin: 0 10px;
  color: var(--third-color);
  background-color: var(--first-color);
}
section .legal-content .contact-info {
  border-radius: var(--second-radius);
  margin: 10px 10px 0;
  background-color: var(--first-color);
}
section .legal-content p {
  color: var(--second-color);
  padding: 10px 20px;
  font-size: 14px;
}
section .contact-info p {
  color: var(--fourth-color);
  padding: 10px 20px;
  font-size: 14px;
}
section .legal-content a {
  color: var(--third-color);
}