@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');
:root {
  --ff-lora: 'Lora', serif;
  --color-primary: #F7F7F7;
  --color-secondary: #634a8d;
  --color-violet: #AF77FC;
  --color-ltgrey: #E6DDE7;
  --color-darkviolet: #9241FF;
  --color-white: #fff;
  --color-black: #070707;
  --color-dark: #2F294A;
  --color-grey: #7f919a;
  --bg-primary: #F7F7F7;
  --bg-secondary: #634a8d;
  --bg-violet: #AF77FC;
  --bg-ltgrey: #E6DDE7;
  --bg-darkviolet: #9241FF;
  --bg-white: #fff;
  --bg-black: #070707;
  --bg-dark: #2F294A;
  --bg-grey: #7f919a;
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  margin: auto;
}

picture img {
  margin: 0 auto 20px;
}

button {
  border: 0;
  outline: 0;
  font-family: inherit;
  cursor: pointer;
}
button:focus {
  outline: 0;
}

body {
  font-family: var(--ff-lora);
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  color: var(--color-primary);
  background: var(--bg-secondary);
  overflow-x: hidden;
}
body.hidden {
  overflow-y: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1220px) {
  .container {
    padding: 0 10px;
  }
}

.header {
  background-image: url(../img/cards.webp), url(../img/figure.png);
  background-repeat: no-repeat;
  background-position: left 3% top 43px, right 7.5% bottom -20%;
}
@media (max-width: 1220px) {
  .header {
    background: transparent;
  }
}
.header-top {
  height: 80px;
}
@media (max-width: 590px) {
  .header-top {
    height: 115px;
  }
}
@media (max-width: 390px) {
  .header-top {
    height: 182px;
  }
}
.header-fixed {
  position: fixed;
  z-index: 4;
  background: var(--bg-black);
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0 20px;
}
@media (max-width: 590px) {
  .header-fixed {
    padding: 10px;
  }
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 590px) {
  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.header .burger {
  display: none;
}
@media (max-width: 850px) {
  .header .burger {
    display: block;
    width: 28px;
    height: 28px;
    background-image: url(../img/open.svg);
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 5;
    transition: 0.3s ease-in-out;
  }
  .header .burger.active {
    background-image: url(../img/close.svg);
  }
}
@media (max-width: 590px) {
  .header .burger {
    position: absolute;
    top: 10px;
    right: 20px;
  }
}
.header-logo {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.09em;
  cursor: pointer;
  display: block;
  width: 120px;
}
@media (max-width: 850px) {
  .header-nav {
    position: absolute;
    z-index: 4;
    background: #110412;
    top: 88px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow-x: hidden;
    transform: translateX(-110%);
    transition: 0.3s ease-in-out;
  }
}
@media (max-width: 850px) and (max-width: 590px) {
  .header-nav {
    top: 140px;
  }
}
@media (max-width: 850px) and (max-width: 390px) {
  .header-nav {
    top: 181px;
  }
}
@media (max-width: 850px) {
  .header-nav.active {
    transform: translateX(0);
  }
}
.header-nav ul {
  display: flex;
  gap: 60px;
}
@media (max-width: 850px) {
  .header-nav ul {
    flex-direction: column;
    align-items: center;
    padding-top: 180px;
  }
}
.header-nav li {
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.header-nav li:hover {
  color: #B884FF;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header .btn-container {
  width: 273px;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 590px) {
  .header .btn-container {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .header .btn-container {
    flex-direction: column;
    gap: 20px;
  }
}
.header .btn-container .header-btn {
  width: 151px;
  background: var(--bg-darkviolet);
  color: var(--color-primary);
  border-radius: 30px;
  padding: 14px 0;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  transition: 0.3s ease-in-out;
}
.header .btn-container .header-btn:hover {
  background: #B884FF;
}
@media (max-width: 590px) {
  .header .btn-container .header-btn {
    width: 170px;
  }
}
.header .btn-container .header-btn:first-child {
  width: 101px;
  background: var(--bg-primary);
  color: var(--color-secondary);
}
.header .btn-container .header-btn:first-child:hover {
  color: #B884FF;
}
@media (max-width: 590px) {
  .header .btn-container .header-btn:first-child {
    width: 170px;
  }
}
.header-bottom {
  padding: 32px 0 0;
  position: relative;
  z-index: 2;
}

.hero {
  padding: 20px 0 40px;
  text-align: center;
}
.hero h1 {
  font-weight: 500;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
    line-height: 38px;
  }
}
.hero ul {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 450px) {
  .hero ul {
    row-gap: 8px;
  }
}
.hero ul li {
  padding: 12px 24px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.04em;
  transition: 0.3s ease-in-out;
}
.hero ul li:hover {
  color: #B884FF;
}
.hero ul li a {
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 450px) {
  .hero ul li {
    width: 100%;
    text-align: center;
    padding: 12px 10px;
    flex: 1 1 auto;
  }
}

.article {
  padding: 0 0 40px;
}
@media (max-width: 768px) {
  .article {
    padding: 0px 0 40px;
  }
}
.article p {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: var(--color-ltgrey);
}
.article table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 32px;
}
.article table tr {
  border: 1px solid var(--color-violet);
  display: grid;
  grid-template-rows: auto;
  grid-template-areas: none;
}
.article table td {
  padding: 12px 10px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.04em;
  text-align: center;
}
.article table th {
  background: var(--bg-darkviolet);
  text-align: center;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.04em;
  padding: 20px 20px;
}
.article .column-2 tr {
  grid-template-columns: 400px 1fr;
}
@media (max-width: 768px) {
  .article .column-2 tr {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 12px 10px;
    align-items: center;
  }
  .article .column-2 tr td {
    padding: 0;
  }
}
.article .column-2 td:nth-child(odd) {
  border-right: 1px solid var(--color-violet);
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .article .column-2 td:nth-child(odd) {
    border: none;
  }
}
.article .column-2 td:nth-child(even) {
  font-weight: 700;
}
@media (max-width: 768px) {
  .article .column-3 {
    display: none;
  }
}
.article .column-3 tr {
  grid-template-columns: repeat(3, 1fr);
}
.article .column-3 td:nth-child(even) {
  border-right: 1px solid var(--color-violet);
  border-left: 1px solid var(--color-violet);
}
.article .column-3 th:nth-child(even) {
  border-right: 1px solid var(--color-violet);
  border-left: 1px solid var(--color-violet);
}
.article .column-3-mobile {
  display: none;
}
@media (max-width: 768px) {
  .article .column-3-mobile {
    display: block;
    margin-bottom: 32px;
  }
  .article .column-3-mobile tbody {
    display: block;
  }
  .article .column-3-mobile tr {
    grid-template-columns: repeat(2, 1fr);
  }
  .article .column-3-mobile tr:first-child {
    border-radius: 5px 5px 0px 0px;
  }
  .article .column-3-mobile tr:last-child {
    border-radius: 0px 0px 5px 5px;
  }
  .article .column-3-mobile tr td {
    padding: 0;
    font-weight: 300;
    padding: 4px 0;
  }
  .article .column-3-mobile tr td:first-child {
    grid-column: 1/4;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    background: #9241FF;
  }
  .article .column-3-mobile tr td:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
    border-bottom: 1px solid #9241FF;
  }
  .article .column-3-mobile tr td:nth-child(3) {
    grid-column: 2/3;
    grid-row: 2/3;
    text-align: center;
    border-bottom: 1px solid #9241FF;
  }
  .article .column-3-mobile tr td:nth-child(4) {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .article .column-3-mobile tr td:last-child {
    grid-column: 2/3;
    grid-row: 3/4;
    text-align: center;
  }
}
.article h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 50px;
  letter-spacing: 0.04em;
  margin: 40px 0 40px;
  text-align: center;
}
@media (max-width: 768px) {
  .article h2 {
    font-size: 24px;
    line-height: 29px;
    margin: 40px 0 40px;
    text-align: center;
  }
}
.article h2 + p {
  margin-bottom: 20px;
}
.article ol {
  margin-left: 82px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: var(--color-ltgrey);
  margin-bottom: 20px;
}
@media (max-width: 590px) {
  .article ol {
    margin-left: 30px;
  }
}
.article ol + p {
  margin-bottom: 20px;
}
.article p + figure {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .article figure img {
    margin: 0 auto;
  }
}
.article h3 {
  margin: 40px 0 40px;
  font-weight: 700;
  font-size: 32px;
  line-height: 45px;
  letter-spacing: 0.04em;
  text-align: center;
}
.article h3 + p {
  margin-bottom: 20px;
}
.article h3 + p + ul + p {
  margin-bottom: 32px;
}
.article ul {
  margin: 0 0 20px 30px;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 26px;
  color: var(--color-ltgrey);
}
@media (max-width: 590px) {
  .article ul {
    margin-left: 30px;
  }
}
.article ul li {
  position: relative;
  z-index: -1;
  padding-left: 18px;
}
.article ul li::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E6DDE7;
  left: 0px;
  top: 50%;
  display: block;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .article .column-4 {
    display: none;
  }
}
.article .column-4 tr {
  grid-template-columns: repeat(4, 1fr);
}
.article .column-4 td:nth-child(2) {
  border-right: 1px solid var(--color-violet);
  border-left: 1px solid var(--color-violet);
}
.article .column-4 td:nth-child(3) {
  border-right: 1px solid var(--color-violet);
}
.article .column-4 th:nth-child(2) {
  border-right: 1px solid var(--color-violet);
  border-left: 1px solid var(--color-violet);
}
.article .column-4 th:nth-child(3) {
  border-right: 1px solid var(--color-violet);
}
.article .column-4-mobile {
  display: none;
}
@media (max-width: 768px) {
  .article .column-4-mobile {
    display: grid;
  }
  .article .column-4-mobile tr {
    grid-template-columns: repeat(2, 1fr);
  }
  .article .column-4-mobile tr:first-child {
    border-radius: 5px 5px 0 0;
  }
  .article .column-4-mobile tr:last-child {
    border-radius: 0 0 5px 5px;
  }
  .article .column-4-mobile td {
    font-weight: 300;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .article .column-4-mobile td:first-child {
    font-weight: 700;
    padding: 16px;
    background: #9241FF;
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .article .column-4-mobile td:nth-child(2) {
    grid-column: 1/1;
    grid-row: 2/2;
  }
  .article .column-4-mobile td:nth-child(4), .article .column-4-mobile td:nth-child(5) {
    border-top: 1px solid #9241FF;
    border-bottom: 1px solid #9241FF;
  }
}
.article .column-4-mobile + p,
.article column-4 + p {
  margin-bottom: 0;
}

.footer {
  padding: 40px 0 40px;
  border-top: 1px solid #2F294A;
}
@media (max-width: 768px) {
  .footer {
    padding: padding: 40px 0 40px;
  }
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  display: block;
  width: 120px;
}
.footer p {
  font-weight: 300;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--color-ltgrey);
}
@media (max-width: 450px) {
  .footer p {
    width: 210px;
    text-align: right;
    font-size: 16px;
  }
}/*# sourceMappingURL=main.css.map */