@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,regular,500,600,700,800&display=swap);
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable='false'])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable='true']) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ol {
  list-style: decimal;
  padding: 15px 25px;
}

ul {
  list-style: disc;
  padding: 15px 25px;
}

li {
  line-height: 150%;
}

ol li::marker,
ul li::marker {
  color: #233d50;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  display: block;
  overflow: auto;
}
table tr td,
table tr th {
  border: 1px solid #333;
  padding: 15px;
}
table tr th {
  background-color: #f2ce74;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
table tr td:hover {
  background-color: #e3e3e3;
}

.header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 20px;
  background: #976800;
}
.header .container {
  display: flex;
  align-items: center;
}
.header .logo {
  max-width: 100px;
}
.header h1 {
  flex: 1;
  font-size: 28px;
  color: #fff;
  text-shadow: 0 0 10px #fff;
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 50px 0;
}
.main .cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 80%;
  margin: 0 auto;
  padding: 50px 0;
}
.main .cards .card {
  display: flex;
  background-color: rgb(25, 44, 56);
  border-radius: 10px;
  position: relative;
}
.main .cards .card::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  width: 25px;
  height: 25px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  background-color: #fff;
  color: #000;
  line-height: 24px;
}
.main .cards .card__left {
  width: 180px;
  display: flex;
  align-items: center;
}
.main .cards .card__center {
  background-color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10px 0;
  flex: 1;
}
.main .cards .card__center .title {
  font-size: 24px;
  font-weight: 600;
}
.main .cards .card__center .list {
  padding: 0 25px;
  list-style: none;
  font-size: 14px;
  position: relative;
}
.main .cards .card__center .list li::before {
  content: '';
  position: absolute;
  left: 0;
  background: url('../img/галочка.svg') center/cover no-repeat;
  background-size: 15px;
  width: 20px;
  height: 20px;
}
.main .cards .card__center .bonus {
  display: flex;
  align-items: center;
  gap: 5px;
}
.main .cards .card__center .bonus span:first-child {
  font-size: 18px;
  font-weight: 600;
}
.main .cards .card__center .bonus img {
  max-width: 40px;
}
.main .cards .card__center .bonus .bonus-text {
  display: flex;
  flex-direction: column;
}
.main .cards .card__center .small {
  font-size: 12px;
}
.main .cards .card__center .btns {
  display: flex;
  align-items: center;
  gap: 5px;
}
.main .cards .card__center .btns .btn {
  border-radius: 10px;
  width: 150px;
  display: flex;
  justify-content: center;
  padding: 8px;
  transition: 0.2s all ease-in-out;
}
.main .cards .card__center .btns .btn-1 {
  background-color: #007908;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid transparent;
}
.main .cards .card__center .btns .btn-1:hover {
  background-color: #0ba015;
}
.main .cards .card__center .btns .btn-2 {
  background-color: rgb(255, 62, 95);
  color: #fff;
}
.main .cards .card__center .btns .btn-2:hover {
  background-color: rgb(253, 103, 128);
}
.main .cards .card__right {
  border-left: 1px solid #ccc;
  background-color: #fff;
  margin: 10px 10px 10px 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  flex: 0 0 calc(33% - 5px);
}
.main .cards .card__right .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  margin-bottom: 20px;
}
.main .cards .card__right .list li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.main .cards .card__right .list li img {
  max-width: 15px;
}
.main .cards .card__right .list li:nth-child(n + 5) {
  display: none;
}
.main .cards .card__right .list.active li:nth-child(n + 5) {
  display: flex;
}
.main .cards .card__right .title {
  display: flex;
  justify-content: space-between;
  color: #767676;
}
.main .cards .card__right .title span:last-child {
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  color: rgb(0, 140, 255);
}
.main .cards .card__right .payments {
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.main .cards .card__right .payments li {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 2px;
  display: flex;
  align-items: center;
  height: 40px;
}
.main .cards .card__right .payments li:nth-child(n + 5) {
  display: none;
}
.main .cards .card__right .payments.active li:nth-child(n + 5) {
  display: flex;
}
.main .cards .card:nth-child(1)::before {
  content: '1';
}
.main .cards .card:nth-child(2)::before {
  content: '2';
}
.main .cards .card:nth-child(3)::before {
  content: '3';
}
.main .cards .card:nth-child(4)::before {
  content: '4';
}
.main .cards .card:nth-child(5)::before {
  content: '5';
}
.main .cards .card:nth-child(6)::before {
  content: '6';
}
.main .cards .card:nth-child(7)::before {
  content: '7';
}
.main .cards .card:nth-child(8)::before {
  content: '8';
}
.main .cards .card:nth-child(9)::before {
  content: '9';
}
.main .cards .card:nth-child(10)::before {
  content: '10';
}
.main .cards .card:nth-child(11)::before {
  content: '11';
}
.main .cards .card:nth-child(12)::before {
  content: '12';
}
.main .cards .card:nth-child(13)::before {
  content: '13';
}
.main .cards .card:nth-child(14)::before {
  content: '14';
}
.main .cards .card:nth-child(15)::before {
  content: '15';
}
.main .cards .card:nth-child(16)::before {
  content: '16';
}
.main .cards .card:nth-child(17)::before {
  content: '17';
}
.main .cards .card:nth-child(18)::before {
  content: '18';
}
.main .cards .card:nth-child(19)::before {
  content: '19';
}
.main .cards .card:nth-child(20)::before {
  content: '20';
}
.main .content p {
  margin: 15px 0;
}
.main .content img {
  display: flex;
  margin: 0 auto;
  max-width: 500px;
}

.burger {
  display: block;
  position: relative;
  width: 30px;
  height: 20px;
  z-index: 3;
  cursor: pointer;

  &::after,
  &::before {
    content: '';
  }

  &::after,
  &::before,
  span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease 0s;
  }

  &::before {
    top: 0;
  }
  &::after {
    bottom: 0;
  }
  span {
    top: 9px;
  }
}
.burger.active {
  &::before {
    transform: rotate(45deg);
    top: 9px;
  }
  &::after {
    transform: rotate(-45deg);
    bottom: 9px;
  }
  span {
    transform: scale(0);
  }
}

.header .nav {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  background-color: #976800;
  min-height: 100vh;
}
.header .nav.active {
  display: flex;
}
.header .nav a {
  min-width: 150px;
  background-color: #192c38;
  display: flex;
  justify-content: center;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  animation: glowing 1300ms infinite;
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}

.footer {
  padding: 30px 0;
  background: #976800;
  color: #fff;
}
.footer .container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer p {
  font-size: 14px;
  font-weight: 300;
}
.footer__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}
.footer__icons img {
  height: 40px;
}

@media (max-width: 1199px) {
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  body.lock {
    overflow-y: hidden;
  }
  .header .nav {
    width: 100%;
  }
  .container {
    max-width: 100%;
  }
  .header {
    padding: 10px 0;
  }
  .header .container {
    gap: 20px;
  }
  .header .logo {
    max-width: 80px;
  }
  .header h1 {
    font-size: 20px;
  }
  .main {
    padding: 30px 0;
  }
  .main .cards {
    max-width: 100%;
    padding: 30px 0;
  }
  .main .cards .card {
    flex-direction: column;
  }
  .main .cards .card__left {
    width: 140px;
    margin: 0 auto;
  }
  .main .cards .card__center {
    margin: 0 10px;
    padding: 10px;
  }
  .main .cards .card__center .btns .btn {
    font-size: 14px;
  }
  .main .cards .card__right {
    margin: 0 10px 10px 10px;
    padding: 10px;
  }
  .main .cards .card__right .title {
    font-size: 14px;
  }
  .main .content img {
    max-width: 100%;
  }
  .main .btns {
    max-width: 100%;
  }
  .footer__icons {
    gap: 20px;
  }
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 5px #4d4d4d;
  }
  50% {
    box-shadow: 0 0 20px #192c38;
  }
  100% {
    box-shadow: 0 0 5px #4d4d4d;
  }
}
