:root {
  --white: #FFF;
  --black: #000;
  --dark: #1E1E1E;
  --gray: rgba(1, 1, 1, 0.6);
  --lite: rgba(255, 255, 255, 0.6);
  --primary: #340141;
  --secondary: #570bd1;
}

/***************************
        DEFAULT
****************************/
body {
  margin: 0;
  overflow-x: hidden !important;
  font-family: 'Vazir', sans-serif;
  direction: rtl;
  text-align: right;
}

a {
  text-decoration: none !important;
  min-width: fit-content;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
}

a, button {
  transition: 0.5s;
}



h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 600;
}

a, button, input, textarea, select {
  outline: none !important;
}

fieldset {
  border: 0;
}

.title {
  color: var(--primary);
}

.flex, .fixed_flex {
  display: flex;
}

.flex-content {
  width: 100%;
  position: relative;
}

.padding_1x {
  padding: 1rem;
}

.padding_2x {
  padding: 2rem;
}

.padding_3x {
  padding: 3rem;
}

.padding_4x {
  padding: 4rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
}

.btn_1 {
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: var(--secondary);
}

.btn_1:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn_2 {
  border: 1px solid var(--secondary);
  background-color: var(--secondary);
  color: var(--primary);
}

.btn_2:hover {
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: var(--secondary);
}

@media (max-width: 920px) {
  .flex {
    flex-wrap: wrap;
  }

  .padding_1x, .padding_2x, .padding_3x, .padding_4x {
    padding: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
  }

  a, p {
    font-size: 12px;
  }
}

/***************************
           FOOTER
****************************/
.padding_4x {
  background-color: var(--primary);
  color: var(--lite);
}

.padding_4x h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.padding_4x a {
  color: var(--lite);
  display: block;
  margin: 15px 0;
}

.padding_4x a:hover {
  color: var(--white);
}

.padding_4x fieldset {
  padding: 0;
}

.padding_4x fieldset input {
  background-color: #334f6c;
  border: 0;
  color: var(--lite);
  padding: 1rem;
}

.padding_4x fieldset .btn {
  border-radius: 0;
  border: 0;
}

.padding_4x fieldset .btn_2:hover {
  background-color: var(--secondary);
  border: 0;
  color: var(--primary);
}

.padding_4x .flex:last-child {
  align-items: center;
}

.padding_4x .flex:last-child .flex-content:last-child {
  text-align: right;
}

.padding_4x .flex:last-child p {
  color: var(--white);
}

.padding_4x .flex:last-child a {
  width: 40px;
  display: inline-block;
  background-color: #334f6c;
  color: var(--white);
  padding: 0.5rem;
  margin-right: 3px;
  text-align: center;
}

.padding_4x .flex:last-child a:hover {
  background-color: var(--secondary);
  color: var(--gray);
}

@media (max-width: 1100px) {
  footer .flex:first-child {
    flex-wrap: wrap;
  }

  footer .flex:first-child .flex-content {
    flex: 1 1 40%;
  }
}

@media (max-width: 920px) {
  footer .flex:last-child .flex-content:last-child {
    text-align: left;
  }
}

@media (max-width: 320px) {
  footer .flex:first-child .flex-content {
    flex: 1 1 100%;
  }
}
