:root {
  --color-page: #1c1c1e;
  --color-page-deep: #111111;
  --color-white: #ffffff;
  --color-bg-soft: #f2f2f2;
  --color-text: #606060;
  --color-heading: #333333;
  --color-muted: #8c9096;
  --color-filter: #76797f;
  --color-filter-hover: #c0c0c0;
  --color-line: #c1c8ce;
  --color-dark: #1c1c1f;
  --color-overlay: rgba(0, 0, 0, 0.85);
  --color-menu-overlay: rgba(0, 0, 3, 0.85);
  --color-menu-link: #595e64;
  --color-menu-hover: #8a8e94;
  --color-button-hover: rgba(230, 230, 255, 0.1);
  --color-lightbox: rgba(0, 0, 0, 0.9);
  --color-shadow: rgba(0, 0, 0, 0.1);
  --color-panel: #2a2a2d;
  --color-panel-border: #3a3a3f;
  --color-footer-muted: #76797f;
  --color-social-bg: #3a3a3e;
  --color-accent: #d7244c;
  --color-footer-link-hover: #0fa1d5;
  --container-sm: 750px;
  --container-md: 970px;
  --container-lg: 1170px;
  --radius-small: 3px;
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --transition-rotate: 0.7s ease-in-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-style: italic;
  line-height: 23px;
  -webkit-font-smoothing: antialiased;
}

body.is-scroll-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100001;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-accent);
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-style: normal;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .container {
    width: var(--container-sm);
  }
}

@media (min-width: 992px) {
  .container {
    width: var(--container-md);
  }
}

@media (min-width: 1200px) {
  .container {
    width: var(--container-lg);
  }
}

.background-slider {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-page-deep);
  opacity: 0.4;
}

.background-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.background-slider img.is-active {
  opacity: 1;
}

.background-slider.is-static img {
  animation: none;
  opacity: 1;
}

.background-slider.is-paused img {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
  .background-slider img {
    animation: background-fade 15s infinite;
  }

  .background-slider img:nth-child(2) {
    animation-delay: 5s;
  }

  .background-slider img:nth-child(3) {
    animation-delay: 10s;
  }
}

@keyframes background-fade {
  0%,
  27% {
    opacity: 1;
  }

  35%,
  100% {
    opacity: 0;
  }
}

.site-header {
  position: relative;
  z-index: 20;
  padding-top: 30px;
}

.nav-shell {
  min-height: 76px;
}

.navbar {
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0;
  background: transparent;
  transition:
    background var(--transition-slow),
    box-shadow var(--transition-slow);
}

.navbar.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.navbar.is-move {
  background: var(--color-dark);
  box-shadow: 0 2px 3px var(--color-shadow);
}

.nav-inner {
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  justify-content: space-between;
}

.logo {
  display: block;
  width: 95px;
  height: 76px;
}

.logo img {
  width: 95px;
  height: 76px;
}

.menu-toggle {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 60px;
  height: 60px;
  margin-top: 8px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  background: transparent;
  font-size: 21px;
  line-height: 60px;
  text-align: center;
  transition: background var(--transition);
}

.menu-toggle:hover i,
.menu-toggle:focus-visible i {
  background: var(--color-button-hover);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  width: 100%;
  height: 100%;
  background: var(--color-menu-overlay);
  opacity: 0;
  transform: scale(0.9);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    visibility 0s var(--transition-fast);
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition:
    transform var(--transition-medium),
    opacity var(--transition-medium);
}

.overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 0;
  background: url("img/ui/cross.png") no-repeat center center;
  color: transparent;
  cursor: pointer;
  text-indent: 200%;
}

.menu-overlay nav {
  position: relative;
  top: 50%;
  height: 60%;
  text-align: center;
  transform: translateY(-50%);
}

.menu-overlay ul {
  position: relative;
  display: inline-block;
  height: 100%;
  margin: 0 auto;
  padding: calc(25% / 10) 0 0;
  list-style: none;
}

.menu-overlay li {
  display: block;
  min-height: 50px;
  height: calc(100% / 6);
  color: var(--color-menu-link);
  line-height: 34px;
}

.menu-overlay a {
  display: block;
  color: var(--color-menu-link);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.menu-overlay a:hover,
.menu-overlay a:focus-visible {
  color: var(--color-menu-hover);
}

.menu-overlay .selected a {
  color: var(--color-white);
}

.hero {
  padding: 250px 0 500px;
  text-align: center;
}

.page-hero {
  padding: 250px 0 320px;
  text-align: center;
}

.main-title h1,
.section-head h2 {
  clear: both;
  margin: 0 0 15px;
  padding: 0;
  color: var(--color-heading);
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.main-title h1 {
  margin-bottom: 15px;
  color: var(--color-white);
  font-size: 50px;
  text-transform: uppercase;
}

.main-title p,
.section-head p {
  margin: 0;
  color: var(--color-muted);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.main-title p {
  color: var(--color-white);
}

.main-title-kicker {
  margin-bottom: 0;
}

.section-head h3 {
  margin: 50px 0 0;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.portfolio {
  margin-top: 20px;
  background: var(--color-white);
  text-align: center;
}

.section-head {
  padding-top: 80px;
}

.divider {
  width: 50%;
  height: 20px;
  margin: 0 0 10px;
  border-right: 1px solid var(--color-line);
}

.section-head h2 {
  margin-bottom: 5px;
  font-size: 28px;
}

.services-dark {
  background: var(--color-panel);
  padding: 100px 0 40px;
}

.services-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
}

.service-dark {
  position: relative;
  min-height: 120px;
  margin-bottom: 40px;
  padding-left: 100px;
}

.service-dark h3 {
  margin: 0 0 30px;
  padding-top: 26px;
  color: var(--color-white);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  text-align: left;
  text-transform: uppercase;
}

.service-dark p {
  margin: 0;
}

.service-dark i {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border: 1px solid var(--color-panel-border);
  color: var(--color-white);
  font-size: 40px;
  line-height: 80px;
  text-align: center;
  transition: transform var(--transition-rotate);
}

.service-dark:hover i {
  transform: rotateY(360deg);
}

.services {
  background: var(--color-white);
  padding-bottom: 40px;
  text-align: center;
}

.services-head {
  padding-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
}

.service {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

.service i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  color: var(--color-text);
  font-size: 40px;
  line-height: 40px;
  text-align: center;
}

.service h4 {
  margin: 70px 0 15px;
  color: var(--color-heading);
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.service p {
  margin: 0;
  font-weight: 300;
}

.projects {
  background: var(--color-white);
  padding-bottom: 80px;
}

.other-projects {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  padding-top: 80px;
}

.other-projects img {
  width: 100%;
  opacity: 0.5;
  transition: opacity var(--transition-medium) ease-in-out;
}

.other-projects a:hover img,
.other-projects a:focus-visible img {
  opacity: 1;
}

.partners {
  background: var(--color-white);
  padding-bottom: 70px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
}

.event {
  background: url("img/event/01.png") bottom center / 100% auto no-repeat
    var(--color-white);
  padding: 70px 0 120px;
}

.event .section-head {
  padding-top: 0;
}

.event-content {
  width: calc((100% - 30px) / 2);
  margin-top: 15px;
}

.event-content h3,
.event-content h6 {
  margin: 0;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
}

.event-content h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.event-content h6 {
  margin: 30px 0 40px;
  font-size: 16px;
  font-style: italic;
}

.event-content p {
  margin: 0;
  text-align: left;
}

.event-content iframe {
  display: block;
  width: 100%;
  height: 120px;
  margin: 0 0 -8px;
  border: 1px solid var(--color-line);
}

.footer {
  background: var(--color-page);
  color: var(--color-footer-muted);
  font-size: 15px;
  font-weight: 300;
}

.footer-info {
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.footer h6 {
  margin: 0 0 27px;
  color: var(--color-white);
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.recent-works {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 50px;
}

.recent-works img {
  width: 100%;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.recent-works a:hover img,
.recent-works a:focus-visible img {
  opacity: 1;
}

.related-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  margin-bottom: 50px;
}

.related-info a {
  color: var(--color-footer-muted);
  line-height: 23px;
  transition: color var(--transition);
}

.related-info a:hover,
.related-info a:focus-visible {
  color: var(--color-accent);
}

.footer-logo {
  width: 95px;
  height: 31px;
  margin-bottom: 30px;
}

.footer p {
  margin: 0 0 15px;
}

.white {
  color: var(--color-white);
}

.copyright {
  position: relative;
}

.copyright-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 60px;
}

.copyright p {
  margin: 0;
  line-height: 23px;
}

.copyright a {
  color: inherit;
  transition:
    color var(--transition),
    background var(--transition),
    opacity var(--transition);
}

.copyright a:hover,
.copyright a:focus-visible {
  color: var(--color-accent);
}

.social-3 {
  display: flex;
  justify-content: flex-end;
}

.social-3 a {
  display: block;
}

.social-3 i {
  display: block;
  width: 60px;
  height: 60px;
  margin-right: 1px;
  color: var(--color-muted);
  background: var(--color-social-bg);
  font-size: 15px;
  line-height: 60px;
  text-align: center;
  transition:
    color var(--transition),
    background var(--transition);
}

.social-3 a:hover i,
.social-3 a:focus-visible i {
  color: var(--color-white);
  background: var(--color-accent);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 99999;
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-small);
  color: var(--color-white);
  background: var(--color-muted);
  font-size: 22px;
  line-height: 38px;
  text-align: center;
  opacity: 0.6;
}

.back-to-top.is-visible {
  display: block;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--color-white);
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 40px;
  border: 0;
  border-radius: 5px;
  color: var(--color-white);
  background: var(--color-muted);
  cursor: pointer;
  font-weight: 600;
  transition:
    background var(--transition),
    color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  color: var(--color-white);
  background: var(--color-filter);
}

.btn-primary,
.btn-info {
  min-height: 52px;
  border-radius: 0;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--color-page);
}

.btn-info {
  background: var(--color-muted);
}

.btn-primary:hover,
.btn-info:hover,
.btn-primary:focus-visible,
.btn-info:focus-visible {
  background: var(--color-page);
}

.inner-page {
  padding: 250px 0 320px;
}

.content-section {
  background: var(--color-white);
  padding-bottom: 80px;
}

.shop-products {
  padding-bottom: 24px;
}

.content-section .section-head {
  padding-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.products-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.product {
  display: block;
  margin-bottom: 30px;
  background: var(--color-white);
}

.shop-products .products-grid.two .product {
  margin-bottom: 0;
}

.product-img {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-heading);
}

.product-img img {
  width: 100%;
  transition: opacity var(--transition);
}

.product-img i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  color: var(--color-white);
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-img:hover img,
.product-img:focus-visible img {
  opacity: 0.3;
}

.product-img:hover i,
.product-img:focus-visible i {
  opacity: 1;
}

.product-info {
  padding: 15px;
}

.product-info h3,
.shop-detail h3 {
  margin: 0 0 10px;
  color: var(--color-heading);
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.product-info h4,
.shop-detail h4 {
  margin: 0 0 10px;
  color: var(--color-filter);
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.apps-container {
  background: url("img/bg-1.png") bottom left repeat-x var(--color-white);
  padding: 20px 0 60px;
}

.shop-products + .apps-container {
  padding-top: 0;
}

.shop-products + .apps-container .section-head {
  padding-top: 28px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.app-grid.wide {
  grid-template-columns: 2fr 1fr;
  padding-top: 100px;
}

.app-copy {
  padding-top: 100px;
}

.app-grid.wide .app-copy {
  padding-top: 10px;
}

.app-copy h3,
.video-copy h3,
.contact h3,
.contact h4,
.shop-detail h4,
.blog-detail h2 {
  margin: 0 0 15px;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
}

.app-copy h3,
.video-copy h3,
.contact h3 {
  font-size: 20px;
}

.promo-box {
  display: block;
  position: relative;
  border-width: 0 20px;
  border-style: solid;
  border-color: transparent;
  background: url("img/promo-box/01.png") center center / cover
    var(--color-muted);
  padding: 100px 0;
  color: var(--color-white);
  text-align: center;
  transition: border-color var(--transition);
}

.promo-box:hover,
.promo-box:focus-visible {
  border-color: var(--color-accent);
}

.promo-box i {
  display: inline-block;
  width: 70px;
  height: 70px;
  margin-bottom: 30px;
  font-size: 70px;
  line-height: 70px;
}

.promo-box h3 {
  margin: 0 0 15px;
  color: var(--color-white);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.promo-box p {
  width: 70%;
  margin: 0 auto;
}

.video-container {
  position: relative;
  background: var(--color-bg-soft);
  padding: 80px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.video-content {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.blog-post {
  margin-bottom: 30px;
}

.blog-post-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 30px 0 10px;
}

.blog-date {
  min-width: 72px;
}

.blog-date strong {
  display: block;
  color: var(--color-heading);
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
}

.blog-date span {
  display: block;
  color: var(--color-text);
  font-size: 13px;
  line-height: 20px;
  text-transform: uppercase;
}

.blog-title {
  border-left: 1px solid var(--color-line);
  padding-left: 15px;
}

.blog-title h3 {
  margin: 0;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.blog-title h6,
.post-info {
  margin: 0;
  color: var(--color-text);
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
}

.blog-detail {
  background: var(--color-white);
}

.blog-detail h2 {
  font-size: 24px;
  font-weight: 600;
}

.post-info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
}

.post-info span {
  margin-right: 10px;
  line-height: 42px;
}

blockquote {
  margin: 25px 0;
  border-left: 5px solid var(--color-panel);
  background: var(--color-bg-soft);
  padding: 25px;
  color: var(--color-text);
  font-size: 17px;
}

.comments {
  padding-top: 30px;
}

.comment {
  position: relative;
  margin-bottom: 30px;
  padding-left: 80px;
}

.comment.reply {
  margin-left: 40px;
}

.comment-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid var(--color-line);
  color: var(--color-line);
  font-size: 30px;
}

.comment h4 {
  margin: 0 0 5px;
  color: var(--color-panel);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.comment hr,
.shop-detail hr {
  height: 1px;
  margin: 20px 0;
  border: 0;
  background: var(--color-line);
}

.shop-detail {
  background: var(--color-white);
}

.shop-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detail-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.form-control,
input,
select,
textarea {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--color-muted);
  background: transparent;
  color: var(--color-filter);
  font-family: inherit;
  font-size: 13px;
  padding: 6px 12px;
}

.label-title {
  display: block;
  margin: 0 0 15px;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.regular-price {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 30px;
  text-decoration: line-through;
}

.quantity {
  display: flex;
}

.quantity button {
  width: 34px;
  min-height: 34px;
  border: 1px solid var(--color-muted);
  background: transparent;
  cursor: pointer;
}

.quantity input {
  text-align: center;
}

.rating {
  color: var(--color-accent);
  font-size: 22px;
}

.shopping-cart {
  overflow-x: auto;
  background: var(--color-white);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  border: 1px solid var(--color-line);
  padding: 15px 20px;
  text-align: center;
  vertical-align: middle;
}

.cart-table th {
  color: var(--color-white);
  background: var(--color-muted);
  font-weight: 400;
  text-transform: uppercase;
}

.cart-table td {
  color: var(--color-muted);
}

.cart-table td:nth-child(2) {
  text-align: left;
}

.cart-table img {
  width: 140px;
  max-width: none;
}

.cart-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 0;
}

.cart-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.cart-box {
  background: var(--color-bg-soft);
  padding: 20px 25px;
}

.cart-box h3 {
  margin: 0 0 20px;
  color: var(--color-heading);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.newsletter {
  border-top: 1px solid var(--color-bg-soft);
  background: var(--color-white);
  padding: 72px 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  gap: 54px;
  align-items: center;
}

.nl-container {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 12px 30px;
  align-items: center;
}

.nl-container h3,
.newsletter h6 {
  margin: 0 0 10px;
  color: var(--color-page);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
}

.nl-container h3 {
  grid-column: 2 / -1;
  margin-bottom: 0;
}

.newsletter h6 {
  font-size: 16px;
}

.nl-container i {
  grid-row: 1 / 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-page);
  font-size: 22px;
  line-height: 80px;
  text-align: center;
}

.nl-container input {
  grid-column: 2;
  min-height: 42px;
}

.nl-container .btn {
  grid-column: 3;
  min-width: 142px;
  min-height: 42px;
  padding-right: 28px;
  padding-left: 28px;
}

.newsletter-grid > div:last-child {
  border-left: 1px solid var(--color-line);
  padding-left: 44px;
}

.newsletter-grid > div:last-child p {
  margin-top: 0;
}

.contact {
  background: var(--color-white);
}

.contact .section-head {
  padding-bottom: 50px;
}

.map-frame {
  display: block;
  width: 100%;
  height: 400px;
  border: 1px solid var(--color-line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-bottom: 100px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact h4 {
  margin-bottom: 20px;
  font-size: 14px;
  font-style: normal;
}

.list-2 {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 300;
}

.list-2 li {
  line-height: 40px;
}

.social-2 {
  display: flex;
  flex-wrap: wrap;
}

.social-2 a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-muted);
  transition: background var(--transition);
}

.social-2 a:hover,
.social-2 a:focus-visible {
  background: var(--color-social-bg);
}

.portfolio-data {
  overflow: hidden;
  padding: 56px 0 80px;
}

.filter {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.filter li {
  color: var(--color-filter);
  line-height: 34px;
}

.filter button {
  display: inline-block;
  margin: 0 15px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--color-filter);
  cursor: pointer;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 34px;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.filter button:hover,
.filter button:focus-visible {
  color: var(--color-filter-hover);
}

.filter .active button {
  border-bottom-color: var(--color-dark);
  color: var(--color-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 40px;
  overflow: hidden;
  text-align: center;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item a {
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 35px;
  overflow: hidden;
  background: var(--color-overlay);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.overlay-text {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--color-white);
  opacity: 0;
  transform: scale(0);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.overlay-text strong {
  display: block;
  margin: 0 0 15px;
  color: var(--color-white);
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-style: inherit;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.portfolio-item a:hover .overlay,
.portfolio-item a:focus-visible .overlay {
  opacity: 1;
}

.portfolio-item a:hover .overlay-text,
.portfolio-item a:focus-visible .overlay-text {
  opacity: 1;
  transform: scale(1);
}

.portfolio-item a:hover img,
.portfolio-item a:focus-visible img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .hero {
    padding-top: 220px;
    padding-bottom: 420px;
  }

  .page-hero {
    padding-top: 220px;
    padding-bottom: 300px;
  }

  .services-dark-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .partners-grid,
  .products-grid,
  .products-grid.two,
  .blog-grid,
  .cart-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-grid,
  .app-grid.wide,
  .video-grid,
  .shop-detail-grid,
  .contact-grid,
  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .app-copy,
  .app-grid.wide .app-copy {
    padding-top: 20px;
  }

  .newsletter-grid > div:last-child {
    border-top: 1px solid var(--color-line);
    border-left: 0;
    padding-top: 30px;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-data {
    padding-bottom: 40px;
  }

  .services-grid,
  .partners-grid,
  .footer-grid,
  .copyright-grid,
  .products-grid,
  .products-grid.two,
  .blog-grid,
  .cart-boxes,
  .detail-controls,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .other-projects {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .event-content {
    width: 100%;
  }

  .copyright p {
    line-height: 23px;
    padding: 25px 0;
  }

  .social-3 {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-top: 20px;
  }

  .hero {
    padding-top: 160px;
    padding-bottom: 300px;
  }

  .page-hero {
    padding-top: 160px;
    padding-bottom: 240px;
  }

  .main-title h1 {
    font-size: 36px;
  }

  .main-title p,
  .section-head p {
    font-size: 15px;
  }

  .filter {
    row-gap: 10px;
  }

  .services-dark,
  .event {
    padding-top: 60px;
  }

  .other-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-works {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social-3 {
    flex-wrap: wrap;
  }

  .newsletter {
    padding: 56px 0;
  }

  .nl-container {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 20px;
  }

  .nl-container i {
    width: 64px;
    height: 64px;
    font-size: 20px;
    line-height: 64px;
  }

  .nl-container h3,
  .nl-container input,
  .nl-container .btn {
    grid-column: 2;
  }

  .nl-container .btn {
    width: 100%;
  }
}

@media (max-height: 30.5em) {
  .menu-overlay nav {
    height: 70%;
  }

  .menu-overlay li {
    min-height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
