﻿@import "https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic";

:root {
  --grid-gap: 40px;
  --grid-template-columns: repeat(12, 1fr);
  --padding-default: 50px;
  --content-width-max: 1600px;

  --breakpoint-s: 576px;
  --breakpoint-m: 768px;
  --breakpoint-l: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;
}

*,
*:after,
*:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: "Lato", Helvetica, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #000;
}
p {
  margin: 0 0 1rem 0;
}
a {
  color: #000;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
ul {
  padding: 0;
  margin: 0 0 0 0;
  list-style: none;
}
ul li {
  margin: 0 0 0 0;
}
img {
  display: block;
  max-width: 100%;
}
.font-light {
  font-weight: 300;
}
.font-regular {
  font-weight: 400;
}
.font-heavy {
  font-weight: 700;
}
.align-right {
  text-align: right;
}
.page-wrapper {
  background-color: #fff;
}

/* Header */
.page-header {
  background-color: #ccc;
  padding: 50px;

  .logo > img {
    width: 250px;
    height: auto;
  }

  .hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    position: fixed;
    right: 50px;
    top: 35px;
    z-index: 50;
    z-index: 50;
  }

  .navigation-main {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 20%;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 40;
    background-color: #fff;
  }

  .menu-open & {
    .navigation-main {
      transform: translateX(0);
    }
  }
}

/* Footer */
.page-footer {
  background: #ccc;
}

/* Sections */
.section {
	padding: var(--padding-default);
  
  .section-inner{
    max-width: var(--content-width-max);
    margin: 0 auto;
  }
}

/* Elements */
.element,
.element-list,
.element-grid {
  margin-bottom: 4rem;
}

.element-headline h1 {
  h1 {
    margin-bottom: 1rem;
  }
}

.element-text {
  ul {
    margin: 0 0 1rem 0;
  }
  li:before {
    content: "–";
  }
  p:last-child{
    margin-bottom: 0;
  }
  
}
.element-list {
  .list {
    display: grid;
    grid-template-columns: var(--grid-template-columns);
    gap:var(--grid-gap);

    .col-3 {
      grid-column:span 12;
    }

    @media (min-width: 576px ) {
      & {
        .col-3 {
          grid-column:span 6;
        }
      }
    }

    @media (min-width: 1200px ) {
      & {
        .col-3 {
          grid-column:span 3;
        }
      }
    }

  }

  .list-picture {
    margin-bottom: 10px;
  }
}

.element-grid {
  .row {
    display: grid;
    grid-template-columns: var(--grid-template-columns);
    gap:var(--grid-gap);
    
    .col-3 {
      grid-column:span 3;
    }
    .col-6 {
      grid-column:span 3;
    }

    @media (min-width: 1200px ) {
      & {
        .col-3 {
          grid-column:span 3;
        }
        .col-6 {
          grid-column:span 6;
        }
      }
    }
  }
}