/* Responsive layout and navigation for the public ZeroClassic website. */
.projects .item .down-content a.exchange-link { position: static; display: inline; width: auto; height: auto; line-height: inherit; background: transparent; box-shadow: none; border-radius: 0; transform: none; text-decoration: underline; overflow-wrap: anywhere; }
html { scroll-padding-top: 100px; }
body { overflow-x: visible; }
img, video { max-width: 100%; }
.row > * { min-width: 0; }
.section-heading, .service-item, .main-banner .caption { overflow-wrap: anywhere; }
.projects .container-fluid { padding-right: 12px; padding-left: 12px; }
.main-banner::after { content: ''; background: url('../images/banner-right.png') top right / contain no-repeat; width: min(861px, 100%); }
.main-banner::before { content: ''; background: url('../images/banner-left.png') top left / contain no-repeat; width: min(194px, 100%); }
.main-banner .main-button, .main-banner .second-button { max-width: 100%; margin-bottom: 12px; }
.main-button a, .second-button a { white-space: normal; text-align: center; }
.pre-header .left-info ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; }
.pre-header .left-info ul li { margin: 0; padding: 0; border: 0; }
.header-area .main-nav .nav > li:first-child { padding-left: 0; }
.header-area .main-nav .nav > li:last-child .sub-menu { right: 0; left: auto; }
.header-area .main-nav .nav li.has-sub:focus-within ul.sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.header-area .main-nav .menu-trigger { border: 0; background: transparent; padding: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #c03afe; outline-offset: 4px; }
#site-map .service-item a { display: inline-block; padding: 8px 0; }
@media (min-width: 992px) {
  .header-area .main-nav { height: 110px; align-items: center; }
  .header-area .main-nav .logo { display: flex; align-items: center; margin-top: 0; }
  .header-area .main-nav .logo img { display: block; }
  .background-header .main-nav { height: 80px; }
  .background-header .main-nav .nav { height: 80px; }
  .header-area .main-nav .nav { display: flex !important; }
  .header-area .main-nav .menu-trigger { display: none !important; }
  .pre-header { min-height: 50px; height: auto; padding: 8px 0; }
  .pre-header .left-info ul { min-height: 34px; gap: 8px 12px; }
  .pre-header .left-info ul li a { display: inline-flex; align-items: center; white-space: nowrap; }
  .pre-header .left-info ul li a i { margin-right: 6px; }
  .pre-header .left-info ul li:nth-child(n+5) a { justify-content: center; width: 24px; min-height: 34px; }
  .pre-header .left-info ul li:nth-child(n+5) a i { margin-right: 0; }
  .header-area { position: relative; top: auto; }
  .main-banner { padding-top: 135px; }
}
@media (max-width: 991.98px) {
  .pre-header { display: none; }
  .header-area, .background-header { top: 0; height: 80px !important; padding: 0 16px; }
  .header-area .container { max-width: 100%; padding: 0; }
  .header-area .main-nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 80px; overflow: visible; }
  .header-area .main-nav .logo, .background-header .main-nav .logo { position: static; flex: 0 1 190px; margin: 0; }
  .header-area .main-nav .logo img { width: 100%; height: auto; }
  .header-area .main-nav .menu-trigger { display: block !important; position: relative; top: auto; right: auto; flex: 0 0 44px; width: 44px; height: 44px; }
  .header-area .main-nav .menu-trigger span { left: 7px; }
  .header-area .main-nav .nav, .header-area.header-sticky .nav, .background-header.header-sticky .nav {
    display: none !important; position: absolute; top: 80px; left: 0; right: 0; width: 100%; height: auto; margin: 0 !important;
    max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; background: #fff; box-shadow: 0 10px 20px #0002; transition: none;
  }
  .header-area .main-nav .nav.is-open { display: block !important; }
  .header-area .main-nav .nav > li { width: 100%; padding: 0 !important; border-bottom: 1px solid #eee; background: #fff; }
  .header-area .main-nav .nav li a { display: block; height: auto !important; min-height: 48px; line-height: 1.5 !important; padding: 14px 40px 14px 20px !important; color: #191a20 !important; background: #fff !important; text-align: left; white-space: normal; }
  .header-area .main-nav .nav li.has-sub:after { top: 17px; right: 20px; color: #5b03e4; pointer-events: none; }
  .header-area .main-nav .nav li.has-sub ul.sub-menu { display: none !important; position: static; width: 100%; height: auto; visibility: visible; opacity: 1; transform: none; box-shadow: none; transition: none; }
  .header-area .main-nav .nav li.has-sub.is-open-sub ul.sub-menu { display: block !important; }
  .header-area .main-nav .nav li.has-sub ul.sub-menu li a { padding-left: 36px !important; background: #f7f3ff !important; }
  .main-banner { margin-top: 0; padding: 120px 0 60px; }
  .main-banner .caption { padding: clamp(20px, 4vw, 40px) !important; }
  .main-banner h4 { font-size: clamp(30px, 5vw, 48px); line-height: 1.25; }
  .main-banner h6 { font-size: clamp(16px, 3vw, 20px); }
  .services::before { display: none; }
  .section { margin-top: 64px; }
  .infos { padding: 48px 0; }
  .infos .main-content .section-heading { padding: 28px; }
  .contact-us .contact-us-content, .contact-us .contact-us-content #contact-form { padding: 24px; }
  .contact-us #map, .twitter-tweet, .twitter-tweet iframe { max-width: 100% !important; min-width: 0 !important; }
  #site-map .col-sm-3 { flex: 0 0 50%; max-width: 50%; margin-bottom: 24px; }
}
@media (max-width: 575.98px) {
  .main-banner .main-button, .main-banner .second-button { display: block; }
  .main-banner .main-button a, .main-banner .second-button a { display: block; margin: 0; }
  .infos .main-content .section-heading { padding: 22px 18px; }
  .section-heading h2 { font-size: 28px; line-height: 1.35; }
  .services .section-heading h2 { padding-right: 0; }
  .contact-us .contact-us-content, .contact-us .contact-us-content #contact-form { padding: 18px; }
  #site-map .col-sm-3 { flex: 0 0 100%; max-width: 100%; }
}
