:root {
    /* color */
    --primary-background: #ffffff;
    --hover-background: #287CDC;
    --primary-color: rgb(70, 70, 70);
    --secondary-color: #00823B;
    --interactive-color: #4A90E2;  
    --primary-button: rgb(241, 241, 241);
    --primary-text: #000000;
    --headline-text: #000000;
 

    /* typography */
    --step-up-8: 3.9em;
    --step-up-7: 3em;

    --step-up-5: 1.9em;
    --step-up-4: 1.7511em;
    --step-up-3: 1.5157em;
    --step-up-2: 1.3195em;
    --step-up-1: 1.1487em;
    --step-up-0: 1em;
    --step-down-1: 0.9em;
    --step-down-2: 0.7em;

    /* spacing */
    --space-x0: 0.1em;
    --space-x1: 0.5em;
    --space-x2: 1.0em;
    --space-x3: 1.5em;
    --space-x4: 2.0em;
    --space-x5: 2.5em;
    --space-x6: 3.0em;

  }

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    font-family: "Poppins","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    line-height: 1.4;
    scroll-behavior: smooth;
  }
  


  @media (max-width: 600px) {
    html {
      font-size: 16px;
    }
  }
  
  @media (min-width: 600px) {
    html {
      font-size: 16px;
    }
  }
  
  @media (min-width: 1200px) {
    html {
      font-size: 20px;
    }
  }

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--primary-background);
  color: var(--primary-text);
}


  /* Layout */
.page {
  padding-top: 64px;
  max-width: 1440px;
  margin: auto;
  padding-left: 2em;
  padding-right: 2em;

    -webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 0.5s; /* Firefox < 16 */
        -ms-animation: fadein 0.5s; /* Internet Explorer */
         -o-animation: fadein 0.5s; /* Opera < 12.1 */
            animation: fadein 0.5s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 600px) {
  .page {
    padding-left: 1em;
    padding-right: 1em;
  }
}

nav {
  display: flex;
  background-color: var(--primary-background);
  height: 64px;
  -webkit-box-shadow: 0 0px 2px 2px rgba(153, 153, 153, 0.15);
    -moz-box-shadow: 0 0px 2px 2px rgba(153, 153, 153, 0.15);
    box-shadow: 0 0px 2px 2px rgba(153, 153, 153, 0.15);
}

.nav-container {
  position: fixed;
    width: 100%;
    z-index: 1;
}

.nav__main{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding-left: 1em;
  padding-right: 1em;
}

@media (min-width: 600px) {
  .nav__main {
    padding-left: 2em;
    padding-right: 2em;
  }
}

.nav__logo {
  font-size: var(--step-up-3);
  font-weight: 600;
  letter-spacing: -1px;
  
}

  /* Lists */
li {
  padding-bottom: var(--space-x1);
}

nav li {
  padding-bottom: 0;
}


a {
  text-decoration: none;
  list-style: none;
  color: var(--primary-color);
}

nav ul, nav ul a {
  display: flex;
  text-decoration: none;
  list-style: none;
  font-size: var(--step-down-1);
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .nav ul, nav ul a {
    margin-left: 2em;
  }
}

@media (min-width: 600px) {
  .nav ul, nav ul a {
    margin-left: 2em;
  }
}

nav ul li a {
  position: relative;
  text-decoration: none;
}

nav ul li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -8px;
  left: 0;
  background-color: var(--interactive-color);
  color: black;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

nav ul li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.active-item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -8px;
  left: 0;
  background-color: var(--interactive-color);
}

header {
  max-width: 1440px;
  margin: auto;
  margin-bottom: var(--space-x3);
}

h1, h2, h3 {
  color: var(--headline-text);
  line-height: 1.1;
}

h1 {
  font-size: var(--step-up-8);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  padding-bottom: var(--space-x1);
}

@media (max-width: 600px) {
  h1 {
    font-size: var(--step-up-7);
  }
}

h2 {
  font-size: var(--step-up-7);
  font-weight: 600;
  padding-bottom: var(--space-x1);
  letter-spacing: -2px;
}

h3 {
  font-weight: 600;
  margin-bottom: var(--space-x0);
}

p {
  line-height: 1.4;
  margin-bottom: var(--space-x2);
}

section {
  display: flex;
  padding-bottom: var(--space-x4);
}




footer {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 5em;
}

 /* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: var(--step-down-1);
  font-weight: 800;
  padding: var(--space-x2);
  padding-left: var(--space-x6);
  padding-right: var(--space-x6);
  border-radius: 5em;
  border: 1px solid var(--divider-color);
  background-color: var(--interactive-color);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px;
}

.button:hover {
  background-color: var(--hover-background);
  }

.button-label {
  padding: var(--space-x1);
}

.button--nav {
  position: fixed;
  top: 5em;
  z-index: 100;
}






.hero-section__title {
    text-align: center;
}

@media (min-width: 600px) {
  .hero-section__title {
    width: 80vw;
    margin: auto;
  }
}

@media (min-width: 1440px) {
  .hero-section__title {
    width: 70vw;
    margin: auto;
  }
}

@media (min-width: 2000px) {
  .hero-section__title {
    width: 50vw;
    margin: auto;
  }
}

#hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding-top: 7em;
    text-align: center;
    background-image: url("img/hero.png");
    background-size: cover;
    background-position: center center;
}

@media (max-width: 600px) {
  #hero-banner {
    background-image: url("img/hero-mobile.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4em;
  }
}

.hero-section__p {
    width: 70vw;
    margin: auto;
    margin-bottom: 2em;
}

@media (min-width: 600px) {
  .hero-section__p {
    width: 520px;
  }
}

#crafting {
  display: flex;
  align-items: center;
  height: 600px;
  background-image: url("img/craft.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  margin-bottom: 2em;
}


.banner-content {
  max-width: 1440px;
  width: 100%;
  margin: auto;
}

.banner-content-crafting {
  max-width: 1440px;
  width: 90%;
  margin: auto;
}



.content-left {
  width: 500px;
  background-color: #eaf4ff;
  padding: 1em;
}

@media (max-width: 600px) {
  .content-left {
    width: auto;
  }
}

#services {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-usps {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  flex-flow: wrap;
}

@media (max-width: 600px) {
  .service-usps {
    display: inline-flex;
    flex-direction: column;
  }
}

.service-item {
  width: 340px;
  padding-bottom: 1em;
}


#clients {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clients {
  display: flex;
  justify-content: space-evenly;
}

.client-item {
  padding-bottom: 1em;
}


@media (max-width: 600px) {
  .clients {
    display: inline-flex;
    flex-direction: column;
  }
}

.service-image {
  width: 20vw;
  padding-bottom: 1em;
}

@media (max-width: 600px) {
  .service-image {
    width: 60vw;
  }
}

@media (min-width: 2000px) {
  .service-image {
    width: 15vw;
  }
}


.copyright {
  margin-top: 3em;
  font-size: 0.7em;
}