@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/* ============================================
   CSS ПЕРЕМЕННЫЕ ДЛЯ УПРАВЛЕНИЯ ЦВЕТАМИ
   Измените значения здесь для быстрой смены цветовой схемы
   ============================================ */
:root {
  /* Цвета Header и Footer */
  --header-bg: #ffebbb;
  --footer-bg: #fcd38c;
  --btn-primary: #e7b37d;
  --btn-secondary: #f5a60e;
  --btn-hover: #e3c715;
  
  /* Цвета основного контента */
  --body-bg-start: #ffe6b3;
  --body-bg-end: #ffd68a;
  --main-bg: #ffebbb;
  --content-bg: #fff9e6;
  
  /* ============================================
     ЦВЕТА ТЕКСТА - ИЗМЕНИТЕ ЗДЕСЬ
     ============================================ */
  --text-primary: #797979;           /* Основной текст */
  --text-heading-1: #8b5a00;         /* Заголовки H1 */
  --text-heading-2: #9d6b1a;         /* Заголовки H2 */
  --text-heading-3: #a67c2e;         /* Заголовки H3 */
  --text-paragraph: #616161;         /* Текст параграфов */
  --text-list: #616161;              /* Текст списков */
  --text-button: #ffffff;            /* Текст кнопок */
  --text-footer: #616161;            /* Текст футера */
  --text-footer-hover: #8b5a00;      /* Текст футера при наведении */
  --text-card-title: #8b5a00;        /* Заголовки карточек */
  
  /* Цвета списков */
  --list-marker: #e7b37d;
  
  /* Цвета таблиц */
  --table-header-bg: #f5a60e;
  --table-header-text: #fff;         /* Текст заголовков таблицы */
  --table-cell-bg: #ffe6b3;
  --table-cell-text: #616161;        /* Текст ячеек таблицы */
  --table-cell-hover: #ffd68a;
  --table-border: #e7b37d;
  
  /* Цвета карточек */
  --card-hover-bg: rgba(255, 235, 187, 0.85);
  --card-border: #f5a60e;
  --card-title: #8b5a00;
  
  /* Цвета payments блока */
  --payments-bg: #ffebbb;
  --payments-shadow: rgba(0, 0, 0, 0.1);
}

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
@import url(https://fonts.googleapis.com/css?family=Noto+Sans:100,200,300,regular,500,600,700&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: "Noto Sans", sans-serif;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--body-bg-start), var(--body-bg-end));
}

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

p {
  line-height: 150%;
  color: var(--text-paragraph);
}

h1 {
  font-size: 38px;
  font-weight: 700;
  margin: 25px 0;
  color: var(--text-heading-1);
  text-align: center;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
  text-align: center;
  color: var(--text-heading-2);
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
  color: var(--text-heading-3);
}

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

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

li {
  line-height: 150%;
  color: var(--text-list);
}

ol li::marker,
ul li::marker {
  color: var(--list-marker);
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  overflow: auto;
}
table tr td,
table tr th {
  border: 1px solid var(--table-border);
  padding: 15px;
}
table tr th {
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-size: 18px;
  text-align: center;
}
table tr td {
  background-color: var(--table-cell-bg);
  color: var(--table-cell-text);
}
table tr td:hover {
  background-color: var(--table-cell-hover);
}

.header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background-color: var(--header-bg);
  padding: 20px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .container .logo {
  flex: 0 0 150px;
}
.header .container .auth {
  display: flex;
  gap: 15px;
}
.header .container .auth .btn-1 {
  background: var(--btn-primary);
  color: var(--text-button);
}
.header .container .auth .btn-1:hover {
  background-color: rgba(128, 22, 22, 0.558);
  box-shadow: 0 0 5px 0 #cfd5e4;
}
.header .container .auth .btn-2 {
  position: relative;
  overflow: hidden;
  background: var(--btn-secondary);
  color: var(--text-button);
}
.header .container .auth .btn-2:before {
  content: "";
  width: 50%;
  height: 300%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.4;
  background: linear-gradient(270deg, rgba(250, 230, 201, 0), #fff, rgba(250, 225, 188, 0));
  animation: blickBtn 4s ease-in-out infinite;
}
.header .container .auth .btn-2:hover {
  background-color: var(--btn-hover);
  box-shadow: 0 2px 4px 0 rgba(234, 173, 173, 0.15);
}
.header .container .auth .btn-2:hover::before {
  content: none;
  animation: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 16px;
  color: var(--text-button);
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 0 0 50px 0;
  background: var(--main-bg);
}
.main .banner {
  padding: 50px 0;
  position: relative;
  background: url("../img/banner-vip.jpg") center/cover no-repeat;
  height: 90vh;
  display: flex;
  z-index: 0;
}
.main .banner::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  opacity: 0.3;
}
.main .banner__btn {
  background: #a7c57f;
  justify-content: center;
  width: 400px;
  animation: glowing 1300ms infinite;
  padding: 20px;
  margin: 100px auto 0;
  color: var(--text-button);
}
.main .banner .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.main .cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}
.main .cards .card {
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  width: 200px;
  height: 130px;
}
.main .cards .card:hover .card__hover {
  opacity: 1;
}
.main .cards .card .card__img {
  width: 200px;
  height: 130px;
  position: relative;
}
.main .cards .card .card__img img {
  margin: 0;
  border-radius: 10px;
  position: absolute;
  width: 100%;
  height: 100%;
}
.main .cards .card .card__hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card-hover-bg);
}
.main .cards .card .card__hover {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.main .cards .card .card__hover .title {
  text-align: center;
  color: var(--text-card-title);
  font-weight: 600;
  font-size: 14px;
}
.main .cards .card .card__wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.main .cards .card .card-btn {
  background: url("../img/play.svg") center/cover no-repeat;
  width: 40px;
  height: 40px;
  display: block;
}
.main .cards .card .card-btn:hover {
  background: url("../img/play-hover.svg") center/cover no-repeat;
}
@media (max-width: 768px) {
  .main .cards .card {
    width: 150px;
    height: 90px;
  }
  .main .cards .card .card__img {
    width: 150px;
    height: 90px;
  }
  .main .cards .card .card-btn {
    width: 30px;
    height: 30px;
  }
}
.main .content {
  background: var(--content-bg);
  padding: 30px 0;
}
.main .content p {
  margin: 15px 0;
  color: var(--text-paragraph);
}
.main .content img {
  display: flex;
  margin: 0 auto;
  max-width: 800px;
}
.main .payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 5rem;
       column-gap: 5rem;
  row-gap: 2rem;
  max-width: 60vw;
  padding: 22px 28px;
  background-color: var(--payments-bg);
  box-shadow: 0 4px 15px 0 var(--payments-shadow);
  border-radius: 16px;
  margin: 30px auto 0;
}
.main .payments .payment__item img {
  height: 32px;
}

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

.footer {
  padding: 30px 0;
  background-color: var(--footer-bg);
}
.footer .container {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.footer .container .coopyright {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer .container .coopyright img {
  max-width: 150px;
}
.footer .container .coopyright p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-footer);
}
.footer .container .list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}
.footer .container .list ul {
  padding: 0;
  list-style: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer .container .list ul li {
  color: var(--text-footer);
  transition: color 0.3s ease-in-out;
}
.footer .container .list ul li:hover {
  color: var(--text-footer-hover);
}

@media (max-width: 768px) {
  body {
    background-size: auto;
  }
  table {
    display: block;
  }
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .container {
    max-width: 100%;
  }
  .header .container {
    flex-direction: column;
    gap: 15px;
  }
  .header .container .logo {
    flex: auto;
  }
  .header .container .logo img {
    max-width: 120px;
  }
  .header .container .auth {
    gap: 10px;
  }
  .header .container .auth .btn {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
  }
  .main {
    padding: 0;
  }
  .main .banner {
    height: 400px;
    padding: 0;
  }
  .main .banner::before {
    opacity: 0.3;
  }
  .main .banner::after {
    opacity: 0.3;
  }
  .main .banner .container {
    justify-content: center;
  }
  .main .banner__img {
    max-width: 250px;
  }
  .main .banner .btn {
    max-width: 300px;
  }
  .main .banner .item {
    flex: 1 1 auto;
  }
  .main .banner .item img {
    max-width: 100%;
  }
  .main .content {
    padding: 30px 0;
  }
  .main .content .container {
    padding: 0 16px;
  }
  .main .content img {
    max-width: 100%;
  }
  .main .payments {
    max-width: 100%;
    gap: 2rem;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
}

@keyframes blickBtn {
  0% {
    transform: translate(-200%, -25%) rotate(20deg);
  }
  20% {
    transform: translate(250%, -25%) rotate(20deg);
  }
  to {
    transform: translate(250%, -25%) rotate(20deg);
  }
}

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