/*services*/
.button {
  display: inline-block;
  color: var(--primaryColorLight);
  background: var(--tertiaryColor);
  font-family: var(--fontMono);
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  padding: 0.75em 2em;
  border-radius: 2em;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #00bcd4;
}
.button:hover {
    background: #eee;
    color: #333;
    box-shadow: 0px 1px 2px;
}
:root {

  --sectionPadding: 50px;
}
.curve_img{display: none;}
.sectionImg img{
    width: 100%;
    padding: 5%;
  }
.headerCopy h2,.headerCopy p{color: #fafafa;text-align: center;}

.button.buttonLarge {
  font-size: 1.1em;
  padding: 0.75em 4em;
}

.button.secondary {
  background: var(--primaryColorDark);
  color: var(--primaryColorLight);
  transition: all 0.2s ease-in-out;
}
.button.secondary:hover {
  background: var(--tertiaryColor);
}

.new {
    color: #fafafa;
    background: #028250;
    padding: 0.5em 1em;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.5em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.header1 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  background: #18222b;
}

.headerBg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--primaryColorDark);
  z-index: 1;
  -webkit-transform: skewY(-8deg);
          transform: skewY(-8deg);
  -webkit-transform-origin: top left;
          transform-origin: top left;
}

.headerCopy {
  grid-column: 2/6;
  grid-row: 2/3;
  position: relative;
  z-index: 3;
}

.headerImage {
  grid-column: 7/12;
  grid-row: 2/4;
  z-index: 2;
  box-shadow: 0px 4px 70px rgba(0, 0, 0, 0.2);
}
.headerImage img{width: 100%}
.section {
  /*padding: 4em 0;*/
}
.sectionCopy{padding-top: 20%}
.section h3 {
  font-family: var(--fontSans);
  font-size: 2em;
  line-height: 1.5em;
  color: var(--primaryColorDark);
  font-weight: 500;
}
.section .button {
  margin: 1em 0;
}

.section.intro {
  margin: auto;
  text-align: center;
  padding: 6em var(--sectionPadding) 0;
}

.section.teaser {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.section.teaser.teaserYarns .sectionImg {
  
  background:#eee
  background-position: center center;
  width: 100%;
  grid-column: 1/7;
}
.section.teaser.teaserYarns .sectionCopy {
  grid-column: 8/12;
}
.section.teaser.teaserAccessories .sectionImg {
  width: 100%;
  grid-column: 1/7;
    /*background: linear-gradient(-53deg,#eee0 44%,#eee 45%);*/
}
.section.teaser.teaserAccessories .sectionCopy {
  grid-column: 8/12;
}
.teaserPatterns {background: #eee}
.section.teaser.teaserPatterns .sectionImg {
  width: 100%;
  grid-column: 7/13;
  grid-row: 1/2;
}
.section.teaser.teaserPatterns .sectionCopy {
  grid-column: 2/6;
}

.section.valueProps {
  padding: 0 var(--sectionPadding) 5em;
}
.section.valueProps h3 {
  text-align: center;
}

.footer {
  padding: 4em 0;
  background: var(--primaryColorDark);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.footerLinksContainer {
  display: flex;
  align-items: start;
  grid-column: 2/5;
  grid-row: 1/5;
}

.footerLinks {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: start;
  margin-right: 1em;
}
.footerLinks p {
  color: var(--primaryColorLight);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footerLinks a {
  text-decoration: none;
  color: var(--primaryColorLight);
  margin: 0.5em 0;
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}
.footerLinks a:hover {
  opacity: 1;
}

.newsletter {
  grid-column: 7/13;
  grid-row: 1/3;
  color: var(--primaryColorLight);
}
.newsletter .button {
  margin-top: 1em;
}

.socialLinks {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  grid-column: 7/12;
  grid-row: 3/5;
}
.socialLinks .iconSocial {
  margin: 0 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.socialLinks .iconSocial:first-of-type {
  margin-left: 0;
}
.socialLinks .iconSocial .fab {
  font-size: 32px;
  color: var(--secondaryColor);
  transition: all 150ms ease-in;
}
.socialLinks .iconSocial .fab:hover {
  color: var(--primaryColorLight);
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

@media (max-width: 800px) {
  .grid-3-item {
    grid-column: 1/4;
  }
}
@media (max-width: 700px) {
  :root {
    --sectionPadding: 40px;
  }

  .headerCopy {
    grid-column: 1/13;
    grid-row: 2/4;
    z-index: 3;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
  }

  .headerImage {
    grid-column: 1/13;
    grid-row: 1/4;
    z-index: 2;
    box-shadow: none;
  }

  .section {
    padding: 2em 0;
  }

  .new {
    margin: auto;
  }

  .section.teaser.mobileCenter {
    grid-template-rows: 1fr 1fr;
    text-align: center;
  }
  .section.teaser.mobileCenter .sectionImg {
    grid-column: 1/13;
    grid-row: 1/2;
    height: 100%;
    width: 100%;
    padding: 10%;
  }

  .section.teaser.mobileCenter .sectionCopy {
    grid-column: 2/12;
    grid-row: 2/3;
    margin-top: 2em;
    padding: 0;
  }

  .section.intro {
    padding-top: 2em;
  }

  .section.valueProps {
    border-top: 1px solid lightgrey;
  }

  .footer {
    grid-template-rows: auto auto auto;
  }

  .footerLinksContainer {
    grid-column: 2/12;
    grid-row: 4/5;
  }
  .footerLinksContainer .footerLinks {
    flex-grow: 1;
    text-align: center;
    align-items: center;
  }

  .newsletter {
    grid-column: 2/12;
    grid-row: 2/3;
    text-align: center;
    padding: 1em 0 3em;
    margin: 3em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  .socialLinks {
    grid-column: 1/13;
    grid-row: 1/2;
    justify-content: center;
  }
  .socialLinks .fab {
    font-size: 38px;
  }
}
/*cms boxes*/
.cms_boxes{
  background: #eee;
    padding: 2em;
}
.cms_boxes ul
{
 margin:0;
 padding:0;
 list-style: none;
}
.cms_boxes li{display: inline-block;border: 1px solid #ddd;background: #fff;margin-bottom: 4px;padding: 1%;transition: .4s all;}
.cms_boxes li:hover{box-shadow: 0px 0px 2px #ddd}
.cms_boxes li a
{
    text-decoration: none;
    color: #444;
    font-weight: 500;
    margin-top: 20px;
        /*padding-right: 15px;*/
  
}
.cms_boxes li a i{
      padding: 10px;
    font-size: 3em;
    /*margin-right: 10px;*/
}
