@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&display=swap');

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Material Icons";

  font-display: swap;
  src: url("MaterialIcons.woff2") format("woff2");
}

:root {
  --primary: #9A49F7;
  --header: transparent;
  --highlighted: #FFB13D;
  --accent: #873ADE;
  
  --accent-hover: #994cf1;
  --highlighted-hover: #fbb752;
}
:focus {
  outline: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  transition: all 200ms cubic-bezier(0.39, 0, 0.17, 0.99);
}
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.center {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 100px;
  font-weight: bold;
  font-size: 12px;
  background: var(--accent);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 18px rgba(135, 58, 222, 0.1);
  border-radius: 100px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  box-shadow: none;
  background: var(--accent-hover);
}

.btn.btn-secondary {
  border: 2px solid #FFBE5C;
  background: var(--highlighted);
}

.btn.btn-secondary:hover {
  background: var(--highlighted-hover);
}

section {
  padding: 10px 0;
}

section h2 {
  font-size: 26px;
  line-height: 30px;
  padding-bottom: 10px;
}

.wrapper {
  position: relative;
  overflow-x: hidden;
}

/*********** header section ***********/

.header-section {
  position: relative;
  z-index: 99;
  padding: 20px 0;
  background: var(--header);
}

.header-section .center {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 10px;
}

.header-section .header-logo {
  display: block;
}

.header-section .header-logo img {
  max-width: 118px;
}

.header-section .header-title {
  grid-column: -1/1;
  font-size: 16px;
  border-top: 2px solid #000000;
  padding-top: 10px;
}

.header-section .header-nav-item {
  margin-left: 20px;
  color: inherit;
  text-transform: uppercase;
}
.header-section .header-nav-item:hover {
  color: var(--primary);
}

/*********** main section ***********/
.main-section {
  color: var(--primary);
  padding-bottom: 0;
}

.main-section .main-bg {
  position: relative;
  margin-bottom: 20px;
  background: #ccc no-repeat center bottom / cover;
}
.main-section .main-bg:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: no-repeat center bottom / auto;
}
.main-section h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.sections-wrapper h1 {
  margin-top: 30px;
}

/*********** card section ***********/
.card-section .card-block {
  width: 100%;
  margin: 20px auto 0;
}
.card-block .slider-wrapper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: auto;
}
.card-block .card-item {
  width: 100%;
  flex-shrink: 0;
  text-align: center;
}
.card-section .card-pic {
  position: relative;
  width: 190px;
  padding: 10px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #F5F5F7;
}
.card-section .card-pic img {
  border-radius: 10px;
}
.card-section h2 {
  text-align: center;
}
.card-section .card-center {
  margin-bottom: 20px;
}
.text-section .card-pic img {
  border-radius: 10px;
}

.card-pic .picture-icon {
  position: absolute;
}

.card-pic .picture-icon:before {
  content: '\e95c';
  font-family: 'Material Icons';
  font-size: 36px;
  line-height: 1;
  color: #E5E2EB;
}

.picture-icon[data-icon="1"] {
  top: 39px;
  right: -15px;
}

.picture-icon[data-icon="2"] {
    bottom: 34px;
    left: -22px;
    transform: rotate(-19deg);
}

.picture-icon[data-icon="2"]:before {
  font-size: 42px;
  color: #FFE4E3;
}

.picture-icon[data-icon="3"] {
    bottom: -22px;
    left: -26px;
    transform: rotate(16deg);
}

.picture-icon[data-icon="3"]:before {
  font-size: 65px;
}
/*********** text section ***********/
.text-section .text-block {
  margin-bottom: 30px;
}

/*********** rating block ***********/

.rating-block {
  display: flex;
  justify-content: center;
  padding: 0 5px;
}

.rating-block .rating-count {
  font-size: 16px;
  line-height: 28px;
  margin-left: 6px;
}

.rating-block .rating-item {
  line-height: 1;
  margin: 0 3.5px;
  font-size: 24px;
}

.rating-block .rating-item:first-child {
  margin-left: 0;
}

.rating-block .rating-item.is-active:before {
  content: '\e94a';
}

.rating-block .rating-item:before {
  content: '\e94b';
  font-family: 'Material Icons';
  font-size: 22px;
  line-height: 1;
  color: var(--highlighted);
}
/*********** aside block ***********/
.aside-block h2 {
  padding-bottom: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #D5D5D5;
}
.page-nav-block {
  margin-bottom: 40px;
}
.page-nav-block .nav-item {
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 10px;
}
.page-nav-block .nav-item:hover {
  color: var(--primary);
}
/*********** category block ***********/
.category-item {
  position: relative;
  margin: 0 auto 20px;
  border: 3px solid var(--highlighted);
  border-radius: 20px;
  overflow: hidden;
}
.category-item .photo img {
  width: 100%;
  object-fit: cover;
  height: 180px;
}

.category-item .category-logo {
  position: absolute;
  top: 20px;
  left: 20px;
}
.category-item .header-block {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-weight: bold;
  border-bottom: 1px solid #E7E7E7;
}
.category-item .rating-wrapper {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-item .rating-wrapper span {
  color: #A6A6A6;
}
.category-item .btn-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px;
}
/*********** category section ***********/
.category-section .category-item {
  border-color: #F7F7F7;
}
[data-section="popular-mainstream"] .category-item {
  border-color: var(--highlighted);
}
[data-category="big"] h2 {
  border-bottom: 1px solid #D5D5D5;
  margin-bottom: 15px;
}
[data-category="big"] .header-block {
  border: none;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 0;
}
[data-category="big"] .btn {
  width: 44%;
}
[data-category="big"] .content-text {
  padding: 20px;
}
[data-category="big"] .photo img {
  height: 100%;
}
/*********** footer section ***********/
.footer-section {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 30px 0;
}

.footer-section .logo {
  display: inline-block;
  margin-bottom: 30px;
}

.footer-section .logo img {
  width: 160px;
  max-width: none;
}

.footer-section .copyright-block {
  color: #4F4F4F;
  font-size: 14px;
  margin-top: 40px;
}
.footer-links-item a {
  display: inline-block;
  margin: 0 7px;
  color: #2D2D2D;
  text-decoration-line: underline;
}
.footer-links-item a:hover {
  text-decoration: none;
  color: var(--primary);
}

@media screen and (max-width: 979px) {
  .main-section .main-bg {
    height: 250px;
    background-image: url(main-bg-mob.jpg);
  }
  .main-section .main-bg:before {
    height: 300px;
    background-image: url(main-pic-mob.png);
  }
}
/*edit*/
@media screen and (max-width: 420px) {
  .header-nav-block{
    font-size: 12px;
  }
}
@media screen and (min-width: 320px) {
  .dropdown {
    display: inline-block;
}
.dropdown-child {
    display: none;
    min-width: 200px;
}
.dropdown-child a {
    text-decoration: none;
    display: block;
    color: #9A49F7;
    padding: 5px;
}
.dropdown:hover .dropdown-child {
    display: block;
    position: absolute;
    background-color: #ffe4e3;
    min-width: 90px;
}
.dropdown:hover .dropdown-child--col-2 {
  display: flex;
}
}
@media screen and (min-width: 420px) {
  .dropdown:hover .dropdown-child {
    min-width: 200px;
}
}
/*edit*/
@media screen and (min-width: 980px) {
  .header-section .center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .header-section .header-title {
    max-width: 320px;
    border: none;
    padding: 0 0 0 20px;
    margin-left: 10px;
    border-left: 2px solid #000000;
  }
  .header-nav-block {
    order: 1;
    margin-left: auto;
  }
  .main-section {
    position: relative;
  }
  .main-section .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 570px;
    margin-left: -460px;
  }
  .main-section h1 {
    font-size: 64px;
    margin-top: 30px;
  }
  .main-section .main-bg {
    height: 475px;
    margin-bottom: 0;
    background-image: url(main-bg-web.jpg);
  }
  .main-section .main-bg:before {
    width: 474px;
    height: 528px;
    left: auto;
    right: 50%;
    margin-right: -570px;
    background-image: url(main-pic-web.png);
  }
  section {
    padding: 5px 0;
  }
  section h2 {
    padding-bottom: 5px;
  }
  .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 252px;
    grid-gap: 5vw;
    max-width: 1400px;
    margin: 0 auto;
  }
  .text-block h2 {
    padding-bottom: 10px;
    padding-top: 5px;
  }
  .footer-section .center {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .footer-links {
    text-align: right;
  }
  .footer-section .logo {
    margin-bottom: 10px;
  }
  .footer-section .copyright-block {
    margin-top: 0;
  }
  .page-nav-block {
    margin-bottom: 100px;
  }
  .aside-block {
    margin-top: 34px;
  }
  .aside-block h2 {
    border-bottom: none;
  }
  
  .card-section {
    padding-top: 0;
  }
  .card-section .card-center {
    position: relative;
    z-index: 2;
    margin-top: -30px;
    padding: 30px 50px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  }
  .card-section .slider-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .card-block .card-item {
    max-width: 27%;
    width: auto;
  }
  .card-section .card-pic {
    width: 100%;
  }
  [data-category="big"] .photo {
    height: 100%;
  }
  [data-category="big"] .category-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
  }
  [data-category="big"] .btn-block {
    display: grid;
    grid-template-columns: minmax(100px, 160px) minmax(100px, 160px);
    grid-gap: 20px;
    justify-content: flex-start;
  }
  [data-category="big"] .btn {
    width: 160px;
  }
  [data-category="big"] h2 {
    padding-bottom: 10px;
    margin-bottom: 30px;
  }
  [data-category="big"] .category-item {
    margin-bottom: 30px;
  }


.header__arrow::before {
  content: "\f107";
  display: block;
  font-family: FontAwesome;
}

/*********** comprasion section ***********/
.comprasion-section .section-title {
  margin-bottom: 10px;
  border-bottom: 1px solid #D5D5D5;
}

.comprasion-section .comprasion-item {
  padding-bottom: 30px;
}

.comprasion-block .comprasion-point {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.comprasion-block .comprasion-point:last-child {
  margin-bottom: 0;
}
.comprasion-block .comprasion-point:before {
  content: '\e925';
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Material Icons';
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
}

.comparsion-cons .comprasion-point:before {
  color: #FF0101;
  content: "\e933";
}

}

p {
  margin-bottom: 15px;
}

.page-title-small {
  font-weight: 600;
  margin-top: 15px;
}

/*Burger*/
.burger-open,
.burger-close{
  display: none;
}

@media screen and (max-width: 870px) {
  .dropdown:hover .dropdown-child {
    display: none;
    position: static;
    background-color: white;
  }
  .header-nav-block {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 50px #000;
  }
  .header-nav-block.active {
    display: block;
    padding-top: 60px;
  }
  
  .header-nav-block>.header-nav-item, 
  .header-nav-block>.dropdown {
    border-bottom: 1px solid rgba(0,0,0,.2);
  }
  
  .header-nav-block>.dropdown {
    display: block;
  }
  
  .header-nav-block>.dropdown>.header-nav-item {
    position: relative;
 
  }
  
  .header-nav-block>.dropdown>.header-nav-item:after {
   content: '';
   width: 10px;
   height: 10px;
   background: linear-gradient(135deg, #ffffff 0%,#ffffff 50%,#000000 50%,#000000 100%);
   transform: rotate(45deg);
   position: absolute;
   right: 20px;
   top: 50%;
   transform: translateY(-50%) rotate(45deg);
   transition: transform .2s ease;
  }
  
  .header-nav-block>.dropdown.active>.header-nav-item:after {
    transform: translateY(-50%) rotate(-135deg);
  }
  
  .header-nav-block.active .header-nav-item,
  .header-nav-block.active .dropdown {
    display: block;
    margin-left: 0;
  }
  
  .header-nav-block.active .dropdown>.header-nav-item {
    padding: 20px;
  }
  .header-nav-block.active>.header-nav-item {
     padding: 20px;
  }
  
  .burger-close {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  .burger-close:before {
    content: '\e933';
    font-family: 'Material Icons';
    font-size: 42px;
    line-height: 1;
    color: black;
}
  
  .burger-open {
    display: block;
    transform: rotate(90deg) translate(-10% ,50%);
    font-weight: bold;
    font-size: 30px;
  }
  
  .dropdown .dropdown-child.active {
    display: block !important;
    padding: 0 0 20px 40px;
  }
  
  .header-section .header-nav-item:hover,
  .dropdown-child a {
    color: #000;
  }
}
.main-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  padding-bottom: 10px;
}
.header-lang-link {
  margin:0;
  font-size:14px;
  
}
.link-item{
  margin-left:20px;
}