@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
  --ff-Roboto-Condensed: 'Roboto Condensed', sans-serif;
  --color-primary: #20282D;
  --color-footer: #EBF0F2;
  --bg-header: #F7F7F7;
  --bg-main: #EBF0F2;
  --bg-footer: #20282D;
  --color-green: #70e000;
  --bg-green: #70e000;
  --color-title: #004b23;
}

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

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

ul {
  list-style: none;
}

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

body {
  font-family: var(--ff-Roboto-Condensed);
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: 0.06em;
  background: var(--bg-main);
  overflow-x: hidden;
}

body.hidden {
  overflow-y: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.arrow-btn-up {
  width: 50px;
  height: 50px;
  background: url(../img/arrow.svg), linear-gradient(#0b0c0f, #1d1d26) padding-box, linear-gradient(to bottom, #5e565f, #201c22) border-box;
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  border-radius: 50%;
  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 {
  height: 116px;
}

@media (max-width: 890px) {
  .header {
    height: 88px;
  }
}

.header-fixed {
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  padding: 36px 0 28px;
  background: var(--bg-footer);
}

@media (max-width: 1250px) {
  .header-fixed {
    padding: 36px 20px 28px;
  }
}

@media (max-width: 890px) {
  .header-fixed {
    padding: 30px 20px;
  }
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 890px) {
  .header .menu {
    flex-direction: column;
    gap: 60px;
    align-items: center;
    padding: 160px 30px;
  }
}

.header .menu .item {
  padding: 10px;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--color-green);
}

.header .menu .item:hover {
  color: #DC631E;
}

@media (max-width: 890px) {
  .header .menu .item {
    padding: 0;
  }
}

.header-logo {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-green);
}

.header .burger {
  display: none;
}

@media (max-width: 890px) {
  .header .burger {
    display: flex;
    position: relative;
    z-index: 3;
    width: 28px;
    height: 28px;
    background: url(../img/burger.svg) no-repeat center;
  }

  .header .burger.active {
    background: url(../img/closed.svg) no-repeat center;
  }
}

@media (max-width: 890px) {
  .header .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    bottom: 0;
    height: 100vh;
    z-index: 2;
    overflow-x: hidden;
    transform: translateX(-110%);
    transition: 0.3s ease-in-out;
    background: var(--bg-header);
    background-size: contain;
  }

  .header .nav.open {
    transform: translateX(0);
  }
}

.hero {
  padding: 40px 0;
  background: var(--bg-header);
}

@media (max-width: 1280px) {
  .hero {
    padding: 40px 20px 40px;
  }
}

@media (max-width: 450px) {
  .hero {
    padding: 20px 20px 60px;
  }
}

.hero-block {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
  gap: 60px;
}

.hero-text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 540px;
  width: 100%;
  gap: 40px;
}

.hero-img {
  max-width: 600px;
  width: 100%;
}

.hero img {
  filter: drop-shadow(0px 10px 60px rgba(136, 151, 160, 0.4));
  border-radius: 40px;
}

@media (max-width: 890px) {
  .hero img {
    margin: 0 auto;
  }
}

.hero h1 {
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.02em;
}

@media (max-width: 590px) {
  .hero h1 {
    font-size: 28px;
    line-height: 34px;
  }
}

.article {
  padding: 50px 0;
}

@media (max-width: 1280px) {
  .article {
    padding: 120px 20px;
  }
}

@media (max-width: 590px) {
  .article {
    padding: 60px 20px;
  }
}

.article ul {
  list-style: disc;
}

.article img {
  filter: drop-shadow(0px 10px 40px rgba(191, 207, 217, 0.6));
}

.article ul,
.article ol {
  margin-left: 105px;
  margin-bottom: 20px;
}

@media (max-width: 590px) {

  .article ul,
  .article ol {
    margin-left: 56px;
  }
}

.article p {
  margin-bottom: 20px;
}

.article p:last-of-type {
  margin-bottom: 0;
  margin-top: 40px;
}

.article h2 {
  font-size: 30px;
  line-height: 44px;
  letter-spacing: 0.02em;
  margin: 50px auto;
  color: var(--color-title);
}

@media (max-width: 590px) {
  .article h2 {
    font-size: 22px;
    line-height: 26px;
  }
}

.article h3 {
  font-size: 20px;
  line-height: 34px;
  letter-spacing: 0.02em;
  margin: 40px 0;
  color: var(--color-title);
}

@media (max-width: 590px) {
  .article h3 {
    font-size: 18px;
    line-height: 22px;
  }
}

.article-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.article-img img {
  max-width:100%;
  margin: 40px auto;
  border-radius: 12px;

}

.article-text {
  max-width: 760px;
  width: 100%;
}

.article-text p:last-of-type {
  margin-top: 0;
}

@media (max-width: 890px) {
  .article-text {
    width: 100%;
  }
}

.article table {
  margin: 40px auto;
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 800px;
  width: 100%;
}

.article table tr {
  border-bottom: 1px solid #CCDEEB;
  display: grid;
}

.article table td {
  padding: 10px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
}

.article table td:first-child {
  font-weight: 300;
}

.article .table-1 tr {
  grid-template-columns: 260px 1fr;
}

@media (max-width: 768px) {
  .article .table-1 tr {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 10px 0 10px;
  }

  .article .table-1 tr td {
    padding: 0;
  }
}

.article .table-2 tr {
  grid-template-columns: repeat(3, 1fr);
}

.article .table-2 tr:first-child td {
  font-weight: 500;
}

.article .table-2 td {
  font-weight: 300;
}

@media (max-width: 768px) {
  .article .table-2 {
    display: none;
  }
}

.article .table-2-mobile {
  display: none;
}

@media (max-width: 768px) {
  .article .table-2-mobile {
    display: block;
  }

  .article .table-2-mobile tbody {
    display: block;
  }

  .article .table-2-mobile tr {
    grid-template-columns: repeat(3, 1fr);
  }

  .article .table-2-mobile td {
    font-weight: 300;
  }

  .article .table-2-mobile td:first-child {
    grid-column: 2/3;
    text-align: center;
    font-weight: 500;
  }

  .article .table-2-mobile td:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .article .table-2-mobile td:nth-child(3) {
    grid-column: 3/4;
    grid-row: 2/3;
    text-align: right;
  }

  .article .table-2-mobile td:nth-child(4) {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .article .table-2-mobile td:last-child {
    grid-column: 3/4;
    grid-row: 3/4;
    text-align: right;
  }
}

.article .table-3 tr {
  grid-template-columns: repeat(4, 1fr);
}

.article .table-3 tr:first-child td {
  font-weight: 400;
}

.article .table-3 td {
  font-weight: 300;
}

@media (max-width: 768px) {
  .article .table-3 {
    display: none;
  }
}

.article .table-3-mobile {
  margin-bottom: 0;
  display: none;
}

@media (max-width: 768px) {
  .article .table-3-mobile {
    display: block;
  }

  .article .table-3-mobile tbody {
    display: block;
  }

  .article .table-3-mobile tr {
    grid-template-columns: repeat(4, 1fr);
  }

  .article .table-3-mobile td {
    font-weight: 300;
  }

  .article .table-3-mobile td:first-child {
    grid-column: 2/4;
    text-align: center;
    font-weight: 500;
  }

  .article .table-3-mobile td:nth-child(2) {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .article .table-3-mobile td:nth-child(3) {
    grid-column: 4/5;
    grid-row: 2/3;
    text-align: right;
  }

  .article .table-3-mobile td:nth-child(4) {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  .article .table-3-mobile td:nth-child(5) {
    grid-column: 1/3;
    grid-row: 4/5;
  }

  .article .table-3-mobile td:nth-child(6) {
    grid-column: 4/5;
    grid-row: 3/4;
    text-align: right;
  }

  .article .table-3-mobile td:last-child {
    grid-column: 4/5;
    grid-row: 4/5;
    text-align: right;
  }
}

.footer {
  padding: 240px 0 60px;
  background: var(--bg-footer);
}

.footer p {
  text-align: center;
  color: var(--color-footer);
  font-size: 14px;
  line-height: 22px;
}

/*# sourceMappingURL=main.css.map */