/*
Theme Name: DigitaleLeichtigkeit
Text Domain: DigitaleLeichtigkeit
Version: 1.0
Description: Internal Theme
Author: DigialeLeichtigkeit
Author URI: https://digitaleleichtigkeit.de
*/

:root {
  --offset-value: -50;
  --btn-size: 60;
  
  --light-blue: #d7eaff;
  --orange: #ff9000;
  --dark: #434242;
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #ee3577;
  --red: #dc3545;
  --yellow: #ffc107;
  --green: #4ECA78;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #767575;
  --gray-dark: #434242;
  --primary: #6f42c1;
  --secondary: #4f4f4f;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #c2c2c2;
  --lightgray: #eeeeee;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* Font Sizes */
  --font-normal: 1em;
  --font-small: 0.8125rem;
  /* Sidebar */
  --sidebar-width: 280px;
  --content-max-width: 860px;
}


@font-face {
  font-family: 'dl-prim-font';
  src: url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-prim-font-Regular.woff2') format('woff2'),
      url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-prim-font-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'dl-prim-font';
  src: url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-prim-font-Bold.woff2') format('woff2'),
      url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-prim-font-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'dl-sec-font';
  src: url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-sec-font.woff2') format('woff2'),
      url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/dl-sec-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans';
  src: url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/SansSerifFLF-Demibold.woff2') format('woff2'),
      url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/SansSerifFLF-Demibold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans';
  src: url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/SansSerifFLF.woff2') format('woff2'),
      url('/wp-content/themes/DigitaleLeichtigkeit/assets/fonts/SansSerifFLF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}




::-moz-selection { /* Code for Firefox */
  color: #18181b;
  background: #cfd0d3;
}

::selection {
  color: #18181b;
  background: #cfd0d3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a,
a:visited,
a:focus,
a:active,
a:link {
  text-decoration: none;
  outline: 0;
}

a {
  color: black;
}

ul {
  padding: 0;
  list-style: none;
}

html {
    line-height: 1.15;
}
body {
    margin: 0 !important;
    padding:0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-dark);
    color:#18181b;
    font-weight: bold;
}

.hide {
  display: none;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

section {
  min-height: 100vh;
  position: relative;
  background-color: #f1f1f1;
  overflow: hidden;
}

section:nth-of-type(1) {
  height: 100vh;
}


.dl-header, .resp-header {
  position: fixed;
  top: 0;
  background: white;
  height:65px;
  width: 100%;
  overflow:hidden;
  padding:10px;
  -webkit-box-shadow: 0px 3px 6px -4px rgba(0,0,0,0.71); 
  box-shadow: 0px 3px 6px -4px rgba(0,0,0,0.71);
  z-index: 2;
}


.logo-container {
  position: fixed;
  margin-left: 0.5em;
  z-index: 1;
}


/* <!-- Main Menu Header --> */
.btn-menu {
  position: absolute;
  width: 80px;
  cursor: pointer;
  right: 10px;
  top: 0.4em;
  scale: 0.6;
  width: 80px; 
  z-index: 1;
} 

.btn-menu-bg {
  position: fixed;
  height: calc(var(--btn-size)*1px);
  width: calc(var(--btn-size)*1px);
  top: calc((var(--offset-value))*1px);
  right: calc(var(--offset-value)*1px);
  border-radius: 50%;
  cursor: pointer;
  margin: 0;
  padding: 0 15px;
  border: none;
  z-index: 1;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  background: #fafafa;
}

/* <!-- Button flip effect --> */
.btn-menu > span {
   display: block;
    width: 100%;
    /* box-shadow: 0 2px 10px 0 rgba(0,0,0,0.3); */
    background-color: black;
    border-radius: 3px;
    height: 8px;
    transition: all .3s;
    position: relative;
} 

.btn-menu > span + span {
    margin-top: 14px;
}
  
.btn-menu.active > span:nth-child(1) {
    animation: ease .7s top forwards;
}
  
.btn-menu.not-active > span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}
  
.btn-menu.active > span:nth-child(2) {
    animation: ease .7s scaled forwards;
}
  
.btn-menu.not-active > span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
    width: 60px;
    margin-left:20px;
}
  
.btn-menu.active > span:nth-child(3) {
    animation: ease .7s bottom forwards;
}
  
.btn-menu.not-active > span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}
  
@keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 22px;
      transform: rotate(0);
    }
    100% {
      top: 22px;
      transform: rotate(45deg);
    }
}
  
@keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 22px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
}
  
@keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 22px;
      transform: rotate(135deg);
    }
}
  
@keyframes bottom-2 {
    0% {
      bottom: 22px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
}
  
@keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
}
  
@keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}
/* <!-- End Menu Button --> */

#toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform .3s;
}

.main-menu {
  font-family: 'Encode Sans Condensed', sans-serif;
  font-weight: 600;
  height: 100vh;
  width: 100%;
  position: relative;
}

#nav-bg {
  transform-origin: center center;
  transition: transform .3s;
  transform: translate(var(--translate-x), var(--translate-y)) scale(var(--scale));
  will-change: transform;
  pointer-events: none;
}

.main-menu-nav {
  width: 100%;
  height: 100%;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  z-index: 200;
  pointer-events: none;
}

.main-menu-nav ul {
  margin: auto;
  pointer-events: auto;
  text-align: center;
}

.main-menu-nav li {
  font-size: 0px;
  color: #212121;
  user-select: none;
  transform: translate(-20px,20px) scale(.9);
  transition: 0s;
  opacity: 0.0001;
  visibility: hidden;
  will-change: transform;
}

.main-menu-nav li + li {
  margin-top: 30px;
}

#toggle-btn.shown ~ .main-menu nav li {
  font-size: 30px;
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: .35s cubic-bezier(0.4, 0, 0.6, 1.4);
}

#toggle-btn.shown ~ .main-menu nav li:nth-child(1) {
  transition-delay: .15s;
}
#toggle-btn.shown ~ .main-menu nav li:nth-child(2) {
  transition-delay: .125s;
}
#toggle-btn.shown ~ .main-menu nav li:nth-child(3) {
  transition-delay: .1s;
}

.main-menu-link {
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.main-menu-link:before,
.main-menu-link:after {
  position: absolute;
  content: '';
  background: #979797;
  height: 3px;
  width: 50%;
  top: calc(50% + 2px);
  transition: transform .3s cubic-bezier(.5,.5,0,1);
}

.main-menu-link:before {
  left: 0;
  transform: translateX(calc(-100% - 10px)) scaleX(0);
  transform-origin: left;
}

.main-menu-link:after {
  right: 0;
  transform: translateX(calc(100% + 10px)) scaleX(0);
  transform-origin: right;
}

.main-menu-link:hover:before {
  transform: translateX(calc(-100% - 10px)) scaleX(1);
  transform-origin: right;
}

.main-menu-link:hover:after {
  transform: translateX(calc(100% + 10px)) scaleX(1);
  transform-origin: left;
}


