@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);
}

.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;
}

/*********** breadcrumbs section ***********/

.breadcrumbs-item {
  font-size: 14px;
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.breadcrumbs-item a {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  display: inline-block;
}

.breadcrumbs-item a:hover {
  text-decoration: underline;
}

.breadcrumbs-item::after {
  content: "";
  margin: 0 8px 0 5px;
  align-self: center;
  border: solid #000;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  margin-bottom: 1px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.breadcrumbs-item:last-child::after {
  display: none;
}

/*********** about us section ***********/
.text-section .text-block {
  margin-bottom: 30px;
}
.contact-block .contact-pic {
  width: 250px;
  height: 250px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #F5F5F7;
}
.contact-block .data-item {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 5px;
  margin-bottom: 20px;
}
/*********** 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;
}

/*********** 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;
}
/*********** 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);
  }
}
@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;
}
}
@media screen and (min-width: 420px) {
  .dropdown:hover .dropdown-child {
    min-width: 200px;
}
}
.dropdown:hover .dropdown-child--col-2 {
  display: flex;
}
@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;
  }
  .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: 25px;
  }
  .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 252px;
    grid-gap: 5vw;
    max-width: 1400px;
    margin: 0 auto;
  }
  .breadcrumbs-section {
    padding: 0 0 50px;
    margin-top: -70px;
    position: relative;
    z-index: 2;
  }
  .text-block h2 {
    padding-bottom: 30px;
  }
  .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;
  }
  .aside-block h2 {
    border-bottom: none;
  }
  .contact-block .contact-item {
    display: grid;
    grid-template-columns: 250px minmax(160px, 30%) 1fr;
    grid-gap: 30px;
    margin-bottom: 30px;
  }
.header__arrow::before {
  content: "\f107";
  display: block;
  font-family: FontAwesome;
}
}

/*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;
}