@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap');
:root {
  --ff-inter_tight: 'Inter Tight', sans-serif;
  --color-primary: #FFFFFF;
  --color-secondary: #1F2130;
  --color-green: #4A914E;
  --bg-main: #F5F5F5;
  --bg-drkblue: #3a71a9;
  --bg-footer: #673d79;
  --bg-green: #e44c3a;
}

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

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

ul {
  list-style: none;
}

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

button {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

body {
  font-family: var(--ff-inter_tight);
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  color: var(--color-primary);
  overflow-x: hidden;
  background-image: url(../img/MainPage-bg.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.hidden {
  overflow-y: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 950px) {
  .container {
    padding: 0 15px;
  }
}

.arrow-btn-up {
  width: 45px;
  height: 45px;
  background: url(../img/up-button.svg);
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  border-radius: 15px;
  border: 5px solid transparent;
  z-index: -1;
  bottom: 45px;
  right: 10px;
  opacity: 0;
  transition: 0.3s ease;
}
.arrow-btn-up.btn-visible {
  opacity: 1;
  z-index: 1;
}

.header figure {
  position: relative;
  z-index: 3;
}
.header-top {
  height: 80px;
}
.header-fixed {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  background: #673d79;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.07);
  padding: 17px 0;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  font-family: var(--ff-inter_tight);
  font-size: 27px;
  line-height: 38px;
  color: #0D0F24;
  font-weight: 700;
  text-transform: uppercase;
  background: #FFFFFF;
  width: 110px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .nav ul {
  display: flex;
  gap: 40px;
}
@media (max-width: 768px) {
  .header .nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}
.header .nav ul a {
  font-weight: 800;
}
@media (max-width: 768px) {
  .header .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    bottom: 0;
    height: 100vh;
    z-index: 2;
    overflow-x: hidden;
    transform: translateX(-110%);
    transition: 0.3s ease-in-out;
    background: #213641;
    padding-top: 80px;
  }
  .header .nav.open {
    transform: translateX(0);
  }
}
.header-btn {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  color: #0D0F24;
}
.header .burger {
  display: none;
}
@media (max-width: 768px) {
  .header .burger {
    display: flex;
    position: fixed;
    top: 17px;
    right: 20px;
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: url(../img/burger.svg) no-repeat center;
  }
  .header .burger.active {
    background: url(../img/closed.svg) no-repeat center;
  }
}

.hero {
  background: url(../img/hero-bg-big.png) no-repeat top;
  background-size: cover;
  margin: -125px auto 0;
  padding: 150px 0 50px 0;
}
@media (max-width: 980px) {
  .hero {
    padding: 160px 25px 0 50px;
  }
}
@media (max-width: 450px) {
  .hero {
    background: url(../img/hero-bg.png) no-repeat top;
    background-size: cover;
    margin: -93px auto 25px;
    padding: 90px 25px 25px 50px;
  }
}
.hero h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 47px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
@media (max-width: 590px) {
  .hero h1 {
    font-size: 30px;
    line-height: 39px;
    margin: 15px 0;
  }
}
.hero-block {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
}
.hero-content {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 20px 20px 24px 20px;
  width: 277px;
}
.hero-content span {
  color: #4A914E;
}
.hero-content-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 10px;
  width: 180px;
  margin: 10px auto 20px;
}
.hero-content p {
  color: #1F2130;
  text-align: center;
}
.hero-content p:not(:last-child) {
  margin-bottom: 10px;
}
.hero-content .frame {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin-top: 20px;
}
.hero-content .frame a {
  width: 237px;
  background-color: var(--bg-green);
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
  transition: 0.4s ease-in-out;
}
.hero-content .frame a:last-child {
  background-color: transparent;
  border: 2px solid var(--color-green);
  color: var(--color-green);
}
.hero-content .frame a:hover {
  box-shadow: 0px 5px 8px rgba(33, 54, 65, 0.5294117647);
}

.article {
  padding: 50px 0 30px 0;
}
@media (max-width: 590px) {
  .article {
    padding: 0 0 30px 0;
  }
}
.article-block {
  display: flex;
  justify-content: center;
  gap: 30px;
}
@media (max-width: 1200px) {
  .article-block {
    flex-wrap: wrap;
  }
}
.article-block .article-content {
  width: 350px;
}
.article-block .article-content h2 {
  margin-bottom: 25px;
  font-weight: 800;
  font-size: 23px;
  line-height: 31px;
}
@media (max-width: 1200px) {
  .article-block .article-content {
    width: 100%;
  }
}
.article-img {
  width: 510px;
}
@media (max-width: 1200px) {
  .article-img {
    width: 100%;
  }
}

.article ol {
  margin-left: 40px;
  padding-bottom: 20px;
  line-height: 28px;
}

.article ul {
  list-style-type: disc;
  margin-left: 40px;
  padding-bottom: 20px;
}
.article ul li:not(:last-child) {
  margin-bottom: 15px;
}
.article ul li::marker {
  color: #FABF80;
}
.article .article-list {
  list-style-type: none;
  margin-left: 43px;
}
.article .article-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  line-height: 21px;
}
.article .article-list li:last-child {
  margin-bottom: 0;
}
.article .article-list li span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  text-align: center;
  font-weight: 500;
  border-radius: 50%;
  background: #FABF80;
  color: black;
}
.article-items {
  position: relative;
  padding-left: 18px;
  margin-bottom: 15px;
}
.article-items span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3px;
  height: 3px;
  text-align: center;
  font-weight: 700;
  border-radius: 50%;
  border: 1px solid #809CFF;
  background: #F5FDFF;
}
.article h2 {
  font-weight: 600;
  font-size: 34px;
  line-height: 49px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 40px;

}
@media (max-width: 590px) {
  .article h2 {
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 42px;
  }
}
.article ul + h2 {
  margin: 50px 0 25px;
}
.article h3 {
  font-weight: 600;
  font-size: 30px;
  line-height: 46px;
  margin: 25px 0 25px;
  text-align: center;
}

@media (max-width: 590px) {
  .article h3 {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 36px;
  }
}

.article p {
  margin-bottom: 25px;
}
.article p a {
  color: var(--color-green);
}

.table {
  display: flex;
  flex-direction: column;
  border-collapse: collapse;
  border-spacing: 0;
}
.table:not(:last-child) {
  margin-bottom: 20px;
}
.table-title {
  font-family: var(--ff-inter_tight);
  font-weight: 800;
  font-size: 24px;
  line-height: 31px;
  margin: 30px 0;
  text-align: center;
  text-transform: uppercase;
}
.table tr {
  display: grid;
  justify-content: center;
  grid-template: auto/repeat(2, 1fr);
  padding: 22px 20px;
}
@media (max-width: 768px) {
  .table tr {
    padding: 10px;
  }
}
@media (max-width: 390px) {
  .table tr {
    padding: 8px 2px;
  }
}
.table tr td {
  text-align: center;
  word-break: break-all;
}
@media (max-width: 450px) {
  .table tr td {
    font-size: 14px;
  }
}
@media (max-width: 390px) {
  .table tr td {
    font-size: 12px;
  }
}
.table tr:nth-child(even) {
  background: var(--bg-green);
  color: var(--color-white);
  border-radius: 5px;
}
.table tr:nth-child(even) td {
  font-weight: 700;
}
.table tr:nth-child(even) td:last-child {
  font-weight: 400;
}
.table tr:nth-child(odd) {
  background: transparent;
  color: var(--color-primary);
}
.table tr:nth-child(odd) td {
  font-weight: 700;
}
.table tr:nth-child(odd) td:last-child {
  font-weight: 400;
}
@media (max-width: 590px) {
  .table-1 tr {
    grid-template: auto/repeat(1, 1fr);
  }
}
.table-2 tr {
  grid-template: auto/repeat(3, 1fr);
}
@media (max-width: 768px) {
  .table-2 tr {
    grid-template: auto/repeat(2, 1fr);
  }
}
.table-2 tr:nth-child(odd) td, .table-2 tr:nth-child(even) td {
  font-weight: 400;
}
.table-2 tr td:first-child {
  font-weight: 700;
}
@media (max-width: 768px) {
  .table-2 tr td:first-child {
    margin-bottom: 5px;
    grid-column: 1/3;
  }
}
.table-3 tr {
  grid-template: auto/repeat(4, 1fr);
}
.table-3 tr:nth-child(odd) td, .table-3 tr:nth-child(even) td {
  font-weight: 400;
}
@media (max-width: 768px) {
  .table-3 tr {
    grid-template: auto/repeat(3, 1fr);
  }
}
.table-3 tr td:first-child {
  font-weight: 700;
}
@media (max-width: 768px) {
  .table-3 tr td:first-child {
    grid-column: 1/4;
  }
}

.footer {
  padding: 24px 0;
  background: var(--bg-footer);
  text-align: center;
}
.footer p {
  color: var(--color-white);
  font-size: 12px;
  line-height: 18px;
}
.footer span {
  display: block;
}
.footer img {
  position: absolute;
}/*# sourceMappingURL=main.css.map */