* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  list-style: none;
  font-family: "Vazir";
  color: var(--text-color);
}

html {
  scroll-behavior: smooth;
}

main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 2rem;
  width: 95%;
  height: 100%;
  background-color: var(--bg-color);
  overflow: hidden;
  direction: ltr;
  text-align: right;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  gap: 1rem;
  padding: 1rem 0;
  background-color: silver;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

header {
  width: 95%;
  height: 6rem;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6rem;
}

footer {
  width: 95%;
  height: 100%;
  background-color: var(--bg-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

hr {
  width: 75%;
  height: 5px;
  background-color: silver;
  border-radius: 6rem;
  border: none;
  outline: none;
  opacity: 0.35;
}

.progress {
  width: 40rem;
  height: 0.5rem;
  border-radius: 6rem;
  background-color: silver;
  overflow: hidden;
}

.progress > .value {
  width: 0;
  height: 100%;
  background-color: var(--theme-color);
  transition: all 1s;
}

iframe {
  border: none;
  outline: none;
  width: 90%;
  height: 35rem;
  position: relative;
}

svg {
  z-index: -1;
}

footer {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

footer section {
  width: 100%;
}

.scroll-target {
  scroll-margin-top: 80px; /* ارتفاع هدر */
}

.mobileHeader {
  display: none;
}