﻿:root {
  --primary-color: #03B586;
  --primary-hover: #1F8369;
  --secondary-color: #f1f3f9;
  --bg-second-color: #EFF1F8;
  --background-color: #fff;
  --white-grey: #D5D5D5;
  --black-color: #000000;
  --red-color: #FC4444;
  --hit-color: #FD6969;
  --blue-light-color: #7499E0;
  --grey-color: #6C6C6C;
  --grey-light: #C7C7CC;
  --green-color: #21681b;
  --text-color: #2E2E2E;
  --text-color-grey: #33363F;
  --text-subcolor: #777777;
  --color-btn-hover: #035487;
  --color-bg-modal: rgba(0,0,0,0.4);
  --properties-bg-color: #E9EDF6;
  --bg-producent: #B6CEF1;
  --checkbox-color: #33363f;
  --filter-color: #d2dbee;
  --logo-col: #FFA500;
  --title-col: #67686E;
  --text-col-grey: #2e2e33;
  --color-33: #333333;
  --color-titles: #434343;
  --color-grey: #45454C;
  --color-dark: #1d1d1f;
  --color-353: #353539;
  --color-h2: #383A3C;
  --color-yellow: #FBE601;
  --color-84: #8496B7;
  --color-cont: #FAA61A;
  --color-uni: #ED1D25;
  --color-bar: #20438C;
  --color-falk: #20438C;
  --color-kum: #CCA770;
  --font-family: "Open Sans", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --line-height-base: 20px;
  --line-stand: 27px;
  --font-max-mini: 10px;
  --font-mini: 11px;
  --font-size-small: 12px;
  --font-small: 13px;
  --font-size-base: 14px;
  --font-size-extra: 15px;
  --font-size-up: 16px;
  --font-17: 17px;
  --font-size-large: 18px;
  --font-size-low: 19px;
  --font-big: 20px;
  --font-big2: 22px;
  --font-title: 24px;
  --font-tab: 25px;
  --font-26: 26px;
  --font-27: 27px;
  --font-card-name: 28px;
  --font-30: 30px;
  --font-h1: 32px;
  --font-34: 34px;
  --font-tablet: 36px;
  --font-h1-desktop: 40px;
  --font-45: 45px;
  --size-huge: 46px;
  --font-50: 50px;
  --font-weight-normal: 400;
  --font-weight500: 500;
  --font-weight-bold: 600;
  --font-max-bold: 700;
  --transition-duration: 500ms;
  --transition-ease: ease-out;
  --shadow-right-bottom: rgba(0,0,0,.15) 2.4px 2.4px 3.2px;
  --radius-min: 4px;
  --radius-stand: 10px;
  --radius-mix: 14px;
  --line-top-bottom: 1px solid #D3DBEE;
  --line2-top-bottom: 1px solid #dde3f1;
  --line3-border: 1px solid #B2B2B2;
  --border-line: 1px solid #C1C1C1;
  --radius-input: 19px;
}

:root {
  --primary-color: #03B586;
  --primary-hover: #1F8369;
  --secondary-color: #f1f3f9;
  --bg-second-color: #EFF1F8;
  --background-color: #fff;
  --white-grey: #D5D5D5;
  --black-color: #000000;
  --red-color: #FC4444;
  --hit-color: #FD6969;
  --blue-light-color: #7499E0;
  --grey-color: #6C6C6C;
  --grey-light: #C7C7CC;
  --green-color: #21681b;
  --text-color: #2E2E2E;
  --text-color-grey: #33363F;
  --text-subcolor: #777777;
  --color-btn-hover: #035487;
  --color-bg-modal: rgba(0,0,0,0.4);
  --properties-bg-color: #E9EDF6;
  --bg-producent: #B6CEF1;
  --checkbox-color: #33363f;
  --filter-color: #d2dbee;
  --logo-col: #FFA500;
  --title-col: #67686E;
  --text-col-grey: #2e2e33;
  --color-33: #333333;
  --color-titles: #434343;
  --color-grey: #45454C;
  --color-dark: #1d1d1f;
  --color-353: #353539;
  --color-h2: #383A3C;
  --color-yellow: #FBE601;
  --color-84: #8496B7;
  --color-cont: #FAA61A;
  --color-uni: #ED1D25;
  --color-bar: #20438C;
  --color-falk: #20438C;
  --color-kum: #CCA770;
  --font-family: "Open Sans", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --line-height-base: 20px;
  --line-stand: 27px;
  --font-max-mini: 10px;
  --font-mini: 11px;
  --font-size-small: 12px;
  --font-small: 13px;
  --font-size-base: 14px;
  --font-size-extra: 15px;
  --font-size-up: 16px;
  --font-17: 17px;
  --font-size-large: 18px;
  --font-size-low: 19px;
  --font-big: 20px;
  --font-big2: 22px;
  --font-title: 24px;
  --font-tab: 25px;
  --font-26: 26px;
  --font-27: 27px;
  --font-card-name: 28px;
  --font-30: 30px;
  --font-h1: 32px;
  --font-34: 34px;
  --font-tablet: 36px;
  --font-h1-desktop: 40px;
  --font-45: 45px;
  --size-huge: 46px;
  --font-50: 50px;
  --font-weight-normal: 400;
  --font-weight500: 500;
  --font-weight-bold: 600;
  --font-max-bold: 700;
  --transition-duration: 500ms;
  --transition-ease: ease-out;
  --shadow-right-bottom: rgba(0,0,0,.15) 2.4px 2.4px 3.2px;
  --radius-min: 4px;
  --radius-stand: 10px;
  --radius-mix: 14px;
  --line-top-bottom: 1px solid #D3DBEE;
  --line2-top-bottom: 1px solid #dde3f1;
  --line3-border: 1px solid #B2B2B2;
  --border-line: 1px solid #C1C1C1;
  --radius-input: 19px;
}

.navigation {
  background-color: var(--background-color);
  border-bottom: 1px solid var(--white-grey);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navigation-center {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 380px;
  padding: 20px 0;
}
.navigation-center-wrapper {
  position: relative;
  display: inline-block;
}
.navigation-center-wrapper-menu {
  display: flex;
  padding-right: 20px;
}
.navigation-center-wrapper .dropdown-menu {
  position: absolute;
  top: 30px;
  right: -63px;
  background-color: var(--background-color);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  padding: 6px 15px;
  min-width: 100px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.navigation-center-wrapper .dropdown-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.navigation-center-wrapper .dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.navigation-center-wrapper .dropdown-menu ul li {
  margin: 16px 0;
}
.navigation-center-wrapper .dropdown-menu ul li a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--color-grey);
  display: block;
  padding: 0;
  text-decoration: none;
}
.navigation-center-wrapper .dropdown-menu ul li a:hover {
  color: var(--primary-hover);
}
.navigation-center-wrapper .dropdown-submenu {
  display: none;
  margin-top: 8px;
  padding-left: 12px;
}
.navigation-center-wrapper .dropdown-submenu.show {
  display: block;
}
.navigation-center-logo {
  cursor: pointer;
  width: 150px;
  height: 30px;
  padding-right: 45px;
}
.navigation-center-list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.navigation-center-list-text {
  display: none;
}
.navigation-center-list-text a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--color-grey);
  padding-left: 24px;
  cursor: pointer;
  transition: 0.33s ease-in;
}
.navigation-center-list-text a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}
.navigation-center-list-img {
  display: flex;
  align-items: center;
  padding-left: 20px;
  cursor: pointer;
}
.navigation-center-list-img .line {
  display: none;
}
.navigation-center-list .user-dropdown-wrapper {
  position: relative;
}
.navigation-center-list .user-submenu {
  position: absolute;
  top: 30px;
  right: -45px;
  background-color: var(--background-color);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  padding: 0 0 70px 0;
  min-width: 105px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.navigation-center-list .user-submenu .account {
  font-family: var(--font-secondary);
  font-size: var(--font-17);
  font-weight: var(--font-weight-normal);
  color: var(--primary-hover);
  cursor: auto;
}
.navigation-center-list .user-submenu .account a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--primary-hover);
  text-decoration: none;
}
.navigation-center-list .user-submenu .account a:hover {
  text-decoration: underline;
}
.navigation-center-list .user-submenu li {
  margin: 20px 0;
}
.navigation-center-list .user-submenu li p {
  display: none;
}
.navigation-center-list .user-submenu li a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--color-grey);
  text-decoration: none;
  display: block;
}
.navigation-center-list .user-submenu li a:hover {
  color: var(--primary-hover);
}
.navigation-center-list .user-submenu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .navigation-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 747px;
    padding: 20px 30px;
  }
  .navigation-center-wrapper {
    display: none;
  }
  .navigation-center-wrapper-menu {
    padding-right: 0;
  }
  .navigation-center-logo {
    width: 190px;
    height: 38px;
    padding-right: 0;
  }
  .navigation-center-list-text {
    display: flex;
  }
  .navigation-center-list-img {
    padding-left: 0;
  }
  .navigation-center-list-img .line {
    display: flex;
    height: 40px;
    width: 1px;
    background-color: #E7E8EB;
    margin: 0 24px;
  }
  .navigation-center-list .user-submenu {
    top: 42px;
    padding: 0 0 57px 0;
  }
}
@media (min-width: 1200px) {
  .navigation-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 980px;
  }
  .navigation-center-wrapper {
    display: none;
  }
  .navigation-center-wrapper-menu {
    padding-right: 0;
  }
  .navigation-center-logo {
    width: 190px;
    height: 38px;
    padding-right: 0;
  }
  .navigation-center-list-text {
    display: flex;
  }
  .navigation-center-list-img {
    display: flex;
    align-items: center;
    padding-left: 0;
  }
  .navigation-center-list-img .line {
    display: flex;
    height: 40px;
    width: 1px;
    background-color: #E7E8EB;
    margin: 0 24px;
  }
  .navigation-center-list .user-submenu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: -107px;
    background-color: var(--background-color);
    padding: 55px 0 55px 0;
    min-width: 238px;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 6px solid var(--primary-color);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .navigation-center-list .user-submenu .account {
    font-family: var(--font-secondary);
    font-size: var(--font-big);
    font-weight: var(--font-weight-normal);
    color: var(--color-grey);
  }
  .navigation-center-list .user-submenu .log-item {
    margin: 0;
  }
  .navigation-center-list .user-submenu li p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #98989B;
    padding: 26px 0 17px 0;
  }
  .navigation-center-list .user-submenu::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 42%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent var(--primary-color) transparent;
  }
  .navigation-center-list .user-submenu .log-in {
    font-family: var(--font-family);
    font-size: var(--font-size-up);
    font-weight: var(--font-max-bold);
    color: var(--background-color);
    text-decoration: none;
    display: inline;
    border-radius: 12px;
    background-color: var(--primary-color);
    padding: 8px 52px;
    transition: background-color 0.5s ease-in-out;
  }
  .navigation-center-list .user-submenu .log-in:hover {
    background-color: var(--primary-hover);
    color: var(--background-color);
  }
  .navigation-center-list .user-submenu .registr {
    font-family: var(--font-family);
    font-size: var(--font-size-up);
    font-weight: var(--font-max-bold);
    color: var(--color-grey);
    text-decoration: none;
    display: inline;
    border-radius: 12px;
    background-color: var(--bg-second-color);
    padding: 8px 37px;
    border: 1px solid var(--white-grey);
    transition: background-color 0.5s ease-in-out;
  }
  .navigation-center-list .user-submenu .registr:hover {
    color: var(--primary-hover);
    background-color: var(--background-color);
  }
  .navigation-center-list .user-submenu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
