/* START Components */
:root {
  --primary: #0099ff;
  --secondary: #ffffff;
  --grey: #656565;
  --black: #000000;
  --error: #ff4500;
  --background: #eeeef0;
  --footer: #FAFAFA;
  --font: 'Poppins', sans-serif;
  --success: #18e154;
  --color1: #3618e1;
  --color2: #e15818;
  --color3: #18e154;
  --color4: #e12518;
  --color5: #e1bc18;
  --color6: #e1185e;
  --color7: #9b18e1;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  background: var(--secondary);
  font-family: var(--font);
}

body.styleguide {
  padding: 20px;
}

.background-color-1 {
  background-color: var(--color1)  
}

.background-color-2 {
  background-color: var(--color2)
}

.background-color-3 {
  background-color: var(--color3)
}

.background-color-4 {
  background-color: var(--color4)
}

.background-color-5 {
  background-color: var(--color5)
}

.background-color-6 {
  background-color: var(--color6)
}

.background-color-7 {
  background-color: var(--color7)
}

.greyscale {
  filter: grayscale(1);
  transition: filter 0.2s ease-in-out;
}

.greyscale:hover {
  filter: grayscale(0);
}

.hide,
.phone-hide,
.phone-inline-flex-hide {
  display: none !important;
}

.phone-show {
  display: inline-block;
}

a {
  color: var(--primary);
}

.cursor-pointer {
  cursor: pointer;
}

.full-height {
  height: 100vh;
  box-sizing: border-box;
}

.image-fixed-right,
.image-absolute-right {
  display: none;
}

.image-fixed-right {
  position: fixed;
}

.image-absolute-right {
  position: absolute;
}

.display-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
  grid-gap: 1.5rem;
  margin-top: 60px;
}

.display-grid.medium,
.display-grid.large {
  grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
  grid-gap: 4.5rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-item img {
  width: 100%;
  height: 200px;  
  object-fit: cover;
  border-radius: 4px;
}

.grid-item img.no-flex {
  width: auto;
  height: 30px;  
  object-fit: initial;
  border-radius: 0px;
}

.grid-item img.round {
  height: 80px;
  width: 80px;
  border-radius: 50%;
}

.grid-item .button {
  width: 100%;
}

.display-flex {
  display: flex;
  align-items: center;
}

.flex-column-on-phone {
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.margin-top-60 {
  margin-top: 60px;
}

.centered-box {
  margin: 0 auto;
}

.small-width {
  max-width: 400px;
}

.medium-width {
  max-width: 700px;
}

.large-width {
  max-width: 1200px;
}

.snapper {
  height: 100vh;
  -webkit-scroll-snap-type: y mandatory;
  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.snapper > .section {
  -webkit-scroll-snap-align: start;
  -ms-scroll-snap-align: start;
  scroll-snap-align: start;
}

.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  height: 50px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  z-index: 2;
  background: var(--secondary);
}

.menu-bar.with-shadow {
  box-shadow: 0px 0px 12px #5d5d5d33;
}

.menu-bar .menu-call-to-action {
  right: 50px;
  top: 10px;
  position: absolute;
}

.inline-menu {
  display: none; /* displays only on big screens */
  align-items: center;
}

.inline-menu .menu-item {
  margin-right: 2rem;
  font-size: 0.75rem;
  color: var(--black);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0;
}

.inline-menu .menu-item.current {
  border-bottom: 2px solid var(--black);
}

.inline-menu .menu-item.button {
  font-weight: 500;  
}

.menu-logo {
  position: absolute;
  top: 20px;
}

.menu-icon {
  position: relative;
  height: 2px;
  width: 20px;
}

.menu-icon:before {
  content: '';
  position: absolute;
  top: 7px;
  height: 2px;
  width: 20px;
}

.menu-icon.primary:before,
.menu-icon.primary {
  background-color: var(--black);
}

.menu-icon.secondary:before,
.menu-icon.secondary {
  background-color: var(--secondary);
}

.menu-icon.fixed {
  position: fixed;
  top: 1.5rem;
  right: 0.7em;
}

img.with-padding {
  padding: 20px;
}

.suptitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin: 0 auto;
  margin-bottom: 10px;
  max-width: 500px;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 10px;
}

.title.large {
  font-size: 2.5rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 40px;
  font-weight: 400;
}

.button {
  font-size: 1rem;
  text-decoration: none;
  color: var(--black);
  border-style: solid;
  border-width: 2px;
  border-color: var(--black);
  border-radius: 3px;
  min-width: 200px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.18s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
}

.text-color-primary {
  color: var(--primary);
}

.text-color-secondary {
  color: var(--secondary);
}

.button.primary {
  color: var(--primary);
  border-color: var(--primary);
}

.button.secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.button.filled-secondary {
  color: var(--primary);
  border-color: var(--secondary);
  background-color: var(--secondary);
}

.button.filled-primary {
  color: var(--secondary);
  border-color: var(--primary);
  background-color: var(--primary);
}

.button.small {
  font-size: 0.8rem;
  padding: 0 0.5rem;
  min-width: 113px;
  height: 28px;
}

.menu {
  background-color: var(--primary);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  position: fixed;
  opacity: 0;
  z-index: -1;
}

.menu.open {
  opacity: 1;
  z-index: 2;
}

.menu.open .menu-icon {
  transform: rotate(45deg);
  width: 25px;
}

.menu.open .menu-icon:before {
  transform: rotate(90deg);
  top: 0;
  width: 25px;
}

.menu a.menu-item,
.menu a.menu-item:focus,
.menu a.menu-item:active {
  color: var(--secondary);
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.menu .logo {
  position: fixed;
  top: 1.3rem;
  left: 0.7em;
}

.footer {
  position: relative;
  padding: 80px 28px;
  background: var(--footer);
  box-sizing: border-box;
  z-index: 1;
}

.footer,
.footer a {
  color: var(--grey);
}

.privacy-banner {
  color: var(--secondary);
  background-color: var(--color1);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 100;
}

.privacy-banner .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-banner-actions a:first-child {
  margin-right: 10px;
}

.privacy-banner a {
  color: var(--secondary);
}

.privacy-banner .button {
  margin-bottom: 0;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--grey);
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--grey);
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--grey);
}

input[type='submit'] {
  -webkit-appearance: none;
}

input[type='submit']:disabled {
  opacity: 0.4;
  cursor: default;
}

input[type='submit']:disabled:hover {
  transform: none;
}

input[type='text'],
input[type='email'],
input[type='number'],
input[type='tel'] {
  border: none;
  border-bottom: 2px solid var(--primary);
  font-size: 1rem;
  color: var(--black);
  padding-bottom: 1rem;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  display: block;
  width: 100%;
  margin-bottom: 30px;
  transition: border-bottom-color 0.2s ease-in-out;
}

input[type='text'].error,
input[type='email'].error,
input[type='tel'].error {
  border-bottom-color: var(--error);
  animation: shake 0.5s ease-in-out 1;
}

.radio + input[type='text'],
.title + input[type='text'],
.title + .radio,
.title + .checkbox {
  margin-top: 30px;
}

textarea {
  border: none;
  border: 2px solid var(--primary);
  font-size: 1rem;
  color: var(--black);
  padding: 1rem;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  resize: none;
  display: block;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: var(--font);
}

ul {
  padding-left: 20px;
}

label + input {
  margin-top: 20px;
}

.checkbox {
  position: relative;
  margin: 0.25rem 0;
  width: 100%;
}

.checkbox input[type="checkbox"] {
  display: none;
}

.checkbox input[type='checkbox'] + label {
  vertical-align: middle;
  font-size: 1rem;
  color: var(--grey);
  cursor: pointer;
  display: block;
}

.checkbox input[type='checkbox'] + label:before {
  content: '';
  height: 1.2rem;
  width: 1.2rem;
  border: 1px solid var(--primary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 3px;
}

.checkbox input[type='checkbox'] + label:after {
  content: '';
  height: 0.8rem;
  width: 0.8rem;
  background-color: var(--primary);
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  border-radius: 3px;
  transform: scale(0);
  transition: transform .18s ease-in-out;
}

.checkbox input[type='checkbox']:checked + label:after {
  transform: scale(1);
}

.checkbox.special input[type='checkbox'] + label {
  font-weight: 700;
  color: var(--primary);
}

.radio {
  position: relative;
  margin: 0.25rem 0;
  width: 100%;
}

.radio input[type="radio"] {
  display: none;
}

.radio input[type='radio'] + label {
  vertical-align: middle;
  font-size: 1rem;
  color: var(--grey);
  cursor: pointer;
  display: block;
}

.radio input[type='radio'] + label:before {
  content: '';
  height: 1.2rem;
  width: 1.2rem;
  border: 1px solid var(--primary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 50%;
}

.radio input[type='radio'] + label:after {
  content: '';
  height: 0.8rem;
  width: 0.8rem;
  background-color: var(--primary);
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .18s ease-in-out;
}

.radio input[type='radio']:checked + label:after {
  transform: scale(1);
}

.page-content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  align-items: flex-start;
  padding: 30px;
  box-sizing: border-box;
  justify-content: center;
  margin-top: 50px;
}

.buttons-wrapper {
  display: flex;
  margin-top: 10px;
  width: 100%;
  justify-content: space-between;
}

.hero-section {
  margin: 0 auto;
  margin-top: 50px;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.hero-section.homepage {
  padding-top: 60px;
  padding-bottom: 20px;
  max-width: 1200px;
}

.hero-section.homepage .subtitle {
  max-width: 280px;
  margin: 50px auto;
  padding: 0 20px;
}

.hero-section-service {
  height: 50px;
  overflow: hidden;
}

.hero-slogan {
  display: inline-grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.hero-slogan span {
  grid-column: 1/-1;
  grid-row: 1/-1;
  margin-right: auto;
  text-decoration: underline;
  font-weight: 900;
  animation: heroSlogan 8s cubic-bezier(.25,.1,.25,1) 1s infinite backwards;
}

.hero-slogan span:nth-child(1) {
  animation-delay: 3s;
  opacity: 0;
}

.hero-slogan span:nth-child(2) {
  animation-delay: 5s;
  opacity: 0;
}

.hero-slogan span:nth-child(3) {
  animation-delay: 7s;
  opacity: 0;
}

.section.filled-primary {
  background-color: var(--primary);
}

.section {
  position: relative;
  margin: 0 auto;
  padding: 80px 28px;
}

.section-max-width-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section.centered {
  text-align: center;
}

.section.form {
  margin: 80px auto;
}

.section-left-wrapper {
  max-width: 450px;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
  grid-gap: 1.5rem;
  max-width: 100%;
  overflow-x: scroll;
  padding: 40px 28px;
  margin-left: -28px;
  margin-right: -28px;
}

.card-item {
  height: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  box-shadow: 4px 4px 12px 0px #5d5d5d33;
  border-radius: 4px;
  color: var(--secondary);
  text-transform: uppercase;
  background-position: center center;
  background-size: cover;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
}

.card-item:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #000;
  border-radius: 4px;
  opacity: 0.3;
  transition: opacity 0.3s ease-in-out;
  background-size: 90%;
}

.card-item h2 {
  font-weight: 900;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.card-item:hover {
  transform: scale(1.1);
  z-index: 1;
}

.card-item:hover > h2 {
  transform: translateY(-20px);
}

.card-item:hover:before {
  opacity: 0.7;
}

.card-item.strategy {
  background-image: url('../assets/images/services/strategy.jpg');
}

.card-item.websites {
  background-image: url('../assets/images/services/websites.jpg');
}

.card-item.branding {
  background-image: url('../assets/images/services/branding.jpg');
}

.card-item.photos {
  background-image: url('../assets/images/services/photo.jpg');
}

.card-item.video {
  background-image: url('../assets/images/services/video.jpg');
}

.card-item.social-media {
  background-image: url('../assets/images/services/social-media.jpg');
}

.card-item.online-advertising {
  background-image: url('../assets/images/services/online-advertising.jpg');
}

.card-item.email-marketing {
  background-image: url('../assets/images/services/email-marketing.jpg');
}

.card-item.custom-projects {
  background-image: url('../assets/images/services/custom-projects.jpg');
}

.card-item.restaurants {
  background-image: url('../assets/images/business-categories/carousel/restaurants.jpg');
}

.card-item.artists {
  background-image: url('../assets/images/business-categories/carousel/artists.jpg');
}

.card-item.startups {
  background-image: url('../assets/images/business-categories/carousel/startups.jpg');
}

.card-item.law-firm {
  background-image: url('../assets/images/business-categories/carousel/law_firm.jpg');
}

.card-item.real-estate {
  background-image: url('../assets/images/business-categories/carousel/real_estate.jpg');
}

.card-item.interior-designer {
  background-image: url('../assets/images/business-categories/carousel/interior_designer.jpg');
}

.card-item.dentist {
  background-image: url('../assets/images/business-categories/carousel/dentist.jpg');
}

.card-item.jewlery {
  background-image: url('../assets/images/business-categories/carousel/jewlery_shop.jpg');
}

.card-item.barber-shop {
  background-image: url('../assets/images/business-categories/carousel/barber_shop.jpg');
}

.card-item.car-dealership {
  background-image: url('../assets/images/business-categories/carousel/car_dealership.jpg');
}

.links-wrapper {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
  grid-gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 80px;
  margin-top: 40px;
}

input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: var(--primary);
  border-radius: 5px;
}
input[type=range]::-webkit-slider-thumb {
  border: 1px solid var(--grey);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: var(--primary);
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #367ebd;
}

.success-message {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--success);;
  color: var(--secondary);
  z-index: 1000;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  animation: success cubic-bezier(.25,.1,.25,1) 2s;
  opacity: 0;
}

.success-message .content {
  opacity: 0;
  animation: success cubic-bezier(.25,.1,.25,1) 5s;
  animation-delay: 0.3s;
}

@media screen and (min-width: 400px) {
  .image-fixed-right,
  .image-absolute-right {
    display: block;
    height: 30vh;
    bottom: -15vh;
    right: 15vw;
    z-index: 1;
  }
}

@media screen and (min-width: 600px) {
  .page-content-wrapper {
    max-width: 500px;
    margin: 0 auto;
    min-height: 92vh;
  }

  .menu-bar {
    height: 75px;
  }

  .menu-logo {
    top: 30px;
  }

  .menu-bar .menu-call-to-action {
    top: 20px;
  }

  .hero-section {
    margin-top: 75px;
  }

  .cards-wrapper.large {
    grid-template-columns: repeat( auto-fit, minmax(560px, 1fr) );
  }
  
  .flex-column-on-phone {
    flex-direction: row;
  }
  
  .card-item {
    height: 320px;
    justify-content: flex-end;
  }

  .phone-hide {
    display: inline-block !important;
  }

  .phone-inline-flex-hide {
    display: inline-flex !important;
  }
  
  .phone-show {
    display: none !important;
  }

  .display-grid.large {
    grid-template-columns: repeat( auto-fit, minmax(560px, 1fr) );
  }

  .image-fixed-right,
  .image-absolute-right {
    height: 50vh;
    bottom: -25vh;
    right: 50vw;
  }
}

@media screen and (min-width: 1200px) {
  .menu-icon {
    display: none;
  }

  .inline-menu {
    display: flex;
  }

  .menu-bar .menu-call-to-action {
    right: 30px;
  }

  .section {
    padding: 80px;
  }

  .section.with-empty-content {
    min-height: 50vh;
  }

  .image-fixed-right,
  .image-absolute-right {
    height: 50vh;
    bottom: 25vh;
    right: 15vw;
  }
}

@media screen and (min-width: 1500px) {
  html {
    font-size: 20px;
  }

  .hero-section.homepage {
    padding-top: 120px;
  }

  .hero-title {
    max-width: 700px;
  }

  .hero-section.homepage .subtitle {
    max-width: 350px;
  }

  .menu-logo {
    transform: scale(1.5);
    left: 50px;
  }
}

@keyframes success {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes shake {
  0% {
    transform: translateX(-20px);
  }
  33% {
    transform: translateX(20px);
  }
  66% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes heroSlogan {
  0% {
    opacity: 0;
    transform: translate3d(0,-70%,0);
  }
  2.5%, 25% {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
  100%, 27.5% {
    opacity: 0;
    transform: translate3d(0,70%,0);
  }
}
/* END Components */
