/* ------------------ connect fonts ------------------ */
/* head bold */
@font-face {
  font-family: "MyriadProBoldCond";
  font-style: normal;
  font-weight: normal;
  src: local("MyriadProBoldCond"),
    url("../resources/fonts/MyriadPro/MyriadPro-BoldCond.otf")
      format("truetype");
  font-display: swap;
}

/* head coursive */
@font-face {
  font-family: "MyriadProCondIt";
  font-style: normal;
  font-weight: normal;
  src: local("MyriadProCondIt"),
    url("../resources/fonts/MyriadPro/MyriadPro-CondIt.otf") format("truetype");
  font-display: swap;
}

/* main text */
@font-face {
  font-family: "MyriadProRegular";
  font-style: normal;
  font-weight: normal;
  src: local("MyriadProRegular"),
    url("../resources/fonts/MyriadPro/MyriadPro-Regular.otf") format("truetype");
  font-display: swap;
}

/* main text coursive */
@font-face {
  font-family: "MyriadProIt";
  font-style: normal;
  font-weight: normal;
  src: local("MyriadProIt"),
    url("../resources/fonts/MyriadPro/MyriadPro-It.otf") format("truetype");
  font-display: swap;
}

/* ------------------ page style ------------------ */
:root {
  --max-width: 1050px;
  --color-emerald: #0b4d64;
  --color-turquoise: #229ab2;
  --gray: #85888c;
  --red: #d32f2f;
  /* --red: #c50002; */
  --menu-background: white;

  --white: #f9f9f9;
  --black: #212529;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
  width: 0px; /* For Chrome, Safari, and Opera */
}

body {
  font-family: "MyriadProRegular", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
}

/* ------------------ header ------------------ */
header {
  background: var(--color-emerald);
}
.header_head {
  padding: 1em 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* align-items: center; */
  flex-wrap: wrap;
  padding-bottom: 1em;
  background-color: var(--color-emerald);
}

.divider {
  border: 0;
  border-top: 1px solid lightgray;
}

/* block divider */
.block_header {
  display: flex;
  width: 100%;
  position: relative;
  margin: 1.5em auto 1em;
}

.block_header--text {
  margin: 0 auto;
  padding: 0 0.5em;
  text-align: center;
  color: var(--color-emerald);
  font-size: 2em;
  font-weight: bold;
  z-index: 100;
  background-color: rgb(248, 248, 248);;
}

.block_header--divider {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(
    to right,
    transparent,
    var(--color-emerald),
    transparent
  );
  z-index: 1;
}

.header_head__brand_area {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.brand_area--img {
  width: 90px;
  height: 90px;
  margin-right: 1em;
}
.brand_area--img:hover {
  cursor: pointer;
}

.brand_area__description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.brand_area__description--company_name {
  display: flex;
  flex-direction: row;
  font-family: "MyriadProBoldCond", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 30px;
}
.brand_area__description--company_name h1 {
  margin: 0;
}

.company_name--color_black {
  color: white;
}

.company_name--color_emerald {
  color: white;
}

.brand_area__description--company_slogan h2 {
  margin: 0;
  font-family: "MyriadProRegular", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  font-size: 28px;
}

/* --- contacts --- */
.header_head__contact_area {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 1.2em;
}
/* --- phone */
.contact_area__phone {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.5em;
}
.contact_area__phone--ico {
  width: 20px;
  height: 20px;
  margin-right: 1em;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg)
    brightness(102%) contrast(102%);
}
.contact_area__phone--numbers {
  display: flex;
  flex-direction: column;
}

.contact_area__phone--numbers a {
  text-decoration: none;
  color: white;
}
/* --- mail */
.contact_area__email {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.contact_area__email--ico {
  width: 20px;
  height: 20px;
  margin-right: 1em;
  /* filter: invert(11%) sepia(76%) saturate(6582%) hue-rotate(353deg)
    brightness(82%) contrast(110%); */
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg)
    brightness(102%) contrast(102%);
}
.contact_area__email a {
  text-decoration: none;
  color: white;
}

/* ------------------ menu ------------------ */
.menu_container {
  width: 100%;
  z-index: 1000;
  background-color: white;
  /* box-shadow: 0 3px 5px -1px var(--gray); */
  border-bottom: 1px solid lightgray;
  position: sticky;
  top: 0;
  min-height: 55px;
}
.main_menu {
  z-index: 1000;
  background-color: white;
  width: 80%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  height: 100%;
}
.logo {
  font-family: "MyriadProRegular", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  display: flex;
  flex-direction: column;
  padding: 6px 16px;
  /* font-size: 40px; */
}
.logo .contact_area__email {
  margin-top: 0.3em;
}
.main_menu--logo-img {
  height: 30px;
  width: 30px;
  margin: auto;
  margin-right: 10px;
}
.main_menu .button__send_req {
  /* margin-right: 1em; */
}
/* Nav menu */
.nav {
  /* padding-left: 1em; */
  width: 100%;
  height: 100%;
  position: sticky;
  top: 60px;
  background-color: var(--menu-background);
  overflow: hidden;
}

#navigation_mobile {
  z-index: 1000;
}
#navigation_mobile .menu_link__active,
#navigation_mobile .menu a:hover {
  background-color: var(--color-emerald);
  color: white;
}
#navigation_mobile ul {
  border-bottom: 1px solid lightgray;
}
#navigation_mobile li {
  border-top: 1px dotted lightgray;
}
#navigation_mobile a {
  padding: 13px 16px;
}

.menu a {
  display: block;
  padding: 20px;
  color: var(--color-emerald);
  font-weight: bold;
}

.menu .menu_link__active {
  background-color: var(--color-emerald);
  color: var(--white);
}

.menu a:hover {
  background-color: var(--color-emerald);
  color: white;
}

.nav {
  max-height: 0;
  /* transition: max-height 0.5s ease-out; */
}

/* Menu Icon */

.hamb {
  cursor: pointer;
  float: right;
  padding: 29px 20px;
}

.hamb-line {
  background: var(--red);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
}

.hamb-line::before,
.hamb-line::after {
  background: var(--red);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  /* transition: all 0.2s ease-out; */
  width: 100%;
}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}

.side-menu {
  display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ #navigation_mobile {
  max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/* ----------------------- page header --------------------- */
.page_header--container {
  height: 80px;
  background-image: url("../img/background/divider.jpg");
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.page_header--container h2 {
  font-size: 2.5em;
}

/* -------------------------- main -------------------------- */
main {
  /* padding: 1em; */
  display: flex;
  flex-direction: column;
}

/* ------------------------- bread crumbs ------------------- */
.bread_crumbs {
  padding: 0.5em 1em;
  border-bottom: 1px solid lightgray;
}
.bread_crumbs ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.bread_crumbs li {
  margin-bottom: 0;
  text-align: left;
}

.bread_crumbs a {
  color: var(--gray);
}

.bread_crumbs span {
  color: var(--gray);
}

.bread_crumbs a.bread_crumbs--active_link {
  text-decoration: underline;
  color: var(--color-emerald);
  /* var(--color-emerald); */
}

.bread_crumbs .bread_crumbs--divider {
  color: var(gray);
  margin: 0 0.5em;
}

/* ----------------------------- footer ----------------------------- */
footer {
  padding: 1em 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer_block--header {
  color: var(--black);
  margin-bottom: 1em;
}
/* catalog metall */
.footer_block__catalog {
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.footer_block__catalog li {
  list-style-type: none;
  padding: 0.3em 0;
}
.footer_block__catalog a {
  color: var(--color-emerald);
  text-decoration: none;
}
.footer_block__catalog a:hover {
  color: var(--red);
}
/* footer site map */
.footer_block__site-map {
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.footer_block__site-map li {
  list-style-type: none;
  padding: 0.3em 0;
}
.footer_block__site-map li a {
  color: var(--color-emerald);
  text-decoration: none;
}
.footer_block__site-map a:hover {
  color: var(--red);
}
/* footer contacts */
.footer_block__contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.footer_block__contact--compane_name {
  color: var(--black);
}

.footer_block__contact--addres {
  margin-bottom: 0.5em;
}

.footer_block__contact__tel_area {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.5em;
}

.footer_block__contact__tel_area .tel_area--numbers {
  display: flex;
  flex-direction: column;
  margin-left: 1em;
}

.footer_block__contact__mail_area {
  margin-bottom: 1em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer_block__contact__mail_area--val {
  margin-left: 1em;
}

/* button send req */
.button__send_req {
  white-space: nowrap;
  border: 0;
  display: inline-flex;
  background-color: var(--red);
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  min-width: 64px;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  background-color: var(--red);
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

/* copyright */
.copyright {
  margin-top: 0.5em;
}
.copyright--symbol {
  margin-right: 5px;
}

.copyright--comp_name {
  margin-left: 5px;
}

/* ----------------------------- media ----------------------------- */
/* Extra small devices (phones, 375px and down) */
@media only screen and (max-width: 375px) {
  /* header name*/
  .brand_area__description--company_name h1 {
    /* font-size: 1.5em; */
    font-size: 7vw;
    white-space: nowrap;
  }
  .brand_area__description--company_slogan h2 {
    font-size: 4vw !important;
    white-space: nowrap;
  }
  .brand_area--img {
    margin-right: 0.5em;
  }
  .contact_area__email,
  .contact_area__phone {
    /* font-size: 0.7em; */
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .header_head {
    flex-direction: column;
  }
  .header_head__contact_area {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
  }
  .brand_area--img {
    height: 40px;
    width: 40px;
  }
  .header_head__brand_area a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .brand_area__description--company_name {
    font-size: 12px;
  }
  .brand_area__description--company_slogan h2 {
    font-size: 14px;
  }
  /* page name container */
  .page_header--container {
    height: 60px;
  }
  .page_header--container h2 {
    font-size: 1.2em;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .header_head {
    flex-direction: row;
    align-items: center;
  }
  .header_head__brand_area {
    margin-bottom: 0;
  }
  .header_head__contact_area {
    flex-direction: column;
  }
  .brand_area--img {
    height: 60px;
    width: 60px;
  }
  .brand_area__description--company_name {
    font-size: 20px;
  }
  .brand_area__description--company_slogan h2 {
    font-size: 23px;
  }
  /* page name container */
  .page_header--container h2 {
    font-size: 1.7em;
  }
}

/* Medium devices (768px and down) */
@media (max-width: 768px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 769px) {
}

/* Large devices (laptops/desktops, 992px and down) */
@media only screen and (max-width: 992px) {
  /* button send request */
  .button__send_req {
    font-size: 0.7rem;
  }

  footer {
    flex-direction: column;
  }
  .footer_block__contact {
    margin: 0 auto;
  }
  .footer_block__catalog {
    /* display: block; */
    align-items: center;
    margin: 0 auto 2em;
    text-align: center;
  }
  .footer_block__site-map {
    /* display: block; */
    align-items: center;
    margin: 0 auto 2em;
    text-align: center;
  }
  .footer_block__contact {
    align-items: center;
  }

  /* menu */
  .main_menu {
    height: 77px;
    width: 100%;
  }
  .web-nav {
    display: none;
  }
  .nav {
    padding-left: 0;
    top: 77px;
  }
  /* menu button send req */
  .main_menu .button__send_req {
    display: none;
  }
  /* block divider */
  .block_header--text {
    font-size: 1.5em;
  }
  .header_head {
    padding: 1em;
  }
  /* hide contact in header */
  .header_head__contact_area {
    display: none;
  }
  .contact_area__phone {
    margin-bottom: 0;
  }
  .contact_area__phone,
  .contact_area__email {
    font-size: 1em;
  }
  .contact_area__phone--ico,
  .contact_area__email--ico {
    height: 15px;
    width: 15px;
    filter: invert(11%) sepia(76%) saturate(6582%) hue-rotate(353deg)
      brightness(82%) contrast(110%);
  }
  .contact_area__phone--numbers a,
  .contact_area__email a {
    color: black;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 993px) {
  /* --- header --- */
  .header_head {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .brand_area--img {
    height: 60px;
    width: 60px;
  }
  .brand_area__description--company_name {
    font-size: 20px;
  }
  .brand_area__description--company_slogan h2 {
    font-size: 23px;
  }

  /* menu */
  .mobile-nav {
    display: none;
  }
  .main_menu {
    height: 55px;
  }
  .main_menu .logo {
    display: none;
  }
  .menu a {
    font-size: 12px;
    padding: 20px 7px;
  }
  .menu li:last-child {
    border-right: 1px solid lightgray;
    /* padding: 20px 7px 20px 16px; */
    /* padding: 20px 7px 20px 16px;   */
  }
  .nav {
    max-height: none;
    top: 0;
    position: relative;
    float: left;
    width: fit-content;
    background-color: transparent;
  }

  .menu li {
    float: left;
    border-left: 1px solid lightgray;
  }

  .menu a:hover {
    background-color: transparent;
    color: var(--red);
  }

  .hamb {
    display: none;
  }
  /* menu button send req */
  .main_menu .button__send_req {
    display: block;
  }

  /* show contact in header */
  .header_head__contact_area {
    display: block;
  }
  .contact_area__phone--ico,
  .contact_area__email--ico {
    height: 20px;
    width: 20px;
  }
  /* page name container */
  .page_header--container h2 {
    font-size: 2em;
  }

  /* bread_crumbs  */
  .bread_crumbs {
    /* padding: 0.5em 10%; */
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray;
    width: 80%;
    margin: 0 auto;
    max-width: var(--max-width);
  }
  /* footer */
  footer {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .brand_area--img {
    height: 80px;
    width: 80px;
  }
  .menu a {
    font-size: 13px;
    padding: 19.5px;
  }
  .brand_area__description--company_name {
    font-size: 25px;
  }
  .brand_area__description--company_slogan h2 {
    font-size: 28px;
  }
}

/* Extra large devices (large laptops and desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
  .menu a {
    font-size: 16px;
    padding: 17.5px;
  }
}
