/* CSS Document */
/*
Template Name: Gisela Heide
Author: Ilona Reinhart
Author URI: https://www.reinhart.eu
Description: Gisela Heide Kunsttherapie main css
Version: 1.0
License: private
License URI: https://www.reinhart.eu
*/
/* font-faces */
/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/lato-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/source-sans-3-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-3-v15-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-3-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-v32-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-v32-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v32-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lora-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lora-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



* {
	 margin: 0; padding: 0;
	 box-sizing: border-box;
	 }

html, body {
	font-family: 'Lato', Verdana, Helvetica, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size:16px;
	line-height: 1.7;
	margin:0px;
	padding:0px;
    hyphens:auto;
}
.small {
    font-size:14px;
}
strong {
	font-weight:400;
}
h2, .logo, .logo-subline, h1, h3, h4 {
    font-family:'Lato', sans-serif;
    font-weight:300;
}

 h2 {
  font-size:24px;
  text-align:center;
     margin-bottom:20px;
}
.logo {
 font-size:22px;
 text-transform:uppercase;
}
.logo-subline {
  font-size:30px;
    line-height:34px;
    font-weight:400;
     text-transform:uppercase;
}
h1 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h3 {
	font-size:18px;
    font-weight: 400;
    text-transform:uppercase;
    margin-bottom:30px;
}
h4 { 
    font-size:18px;
    letter-spacing:0.03em;
    font-weight:400;
   }
a {
  text-decoration: none;
	-webkit-transition: color 0.4s ease;
	-moz-transition: color 0.4s ease;
	transition: color 0.4s ease;
	}
a:visited, a:focus {	}
a:focus { outline: none;}
a:hover,
a:focus {
  text-decoration: underline;
	}
.nav-brand a {
    font-size:20px;
    text-decoration:none;
}
main a {
    position:relative;
  color:var(--body);
  text-decoration:none;
}
main a:hover {
    text-decoration:none;
}
ul, li {
		margin: 0;
    padding: 0;
}
li {
  list-style-position: inside;
}
section ul {
    margin-left:20px;
}
section li {
    list-style-position:outside;
}
nav ul, nav li {
	list-style:none;
}
img {
  width: 100%;
	height:auto;
	border:none;
	display:block;
	}
p, ul {
  font-size:16px;
}
p, ul {
   margin:30px 0px 30px 0; 
}
table {
    max-width:700px;
}
td {
    padding:10px;
    vertical-align: baseline;
}
tr td:first-child {
    min-width:120px;
}
.columns .container > h2 {
   margin:30px; 
}
.centered {
    text-align:center;
}
.alignleft {
    text-align:left;
}
.container > h3 {
    width:100%;
}
/*   colors   */
:root {
   --body: #030000;
  --ivory:#ede7dc;
--sand:#dcd2cc;
   --dark-4:#E2DBEA;
    --dark-4:#e9e6e3;
    --dark-4:#DAD5D0;
    --dark-5:#e9e6e3;
    --dark-3:#CDE2E1;
    --dark-3:#dce7e7;
    
    --dark-2:#E2E1CD;
    --dark-2:#d3d5b4;
    --dark:#afb58c;
    
    --dark:#d6eaeb;
     --dark:#E2CDCE;
    --dark:#d7d1d6;
    --dark:#E4D0B9;
    --lint:#ebf0e5;
    --lint:#F8F3ED;
}
.bg.bg-lint {
    background-color:var(--lint);
}
.bg.bg-rose {
    background-color:var(--rose);
}
.bg-dark {
    background-color: var(--dark);
}
.bg-dark-2 {
    background-color: var(--dark-2);
}
.bg-dark-3 {
    background-color: var(--dark-3);
}
.bg-dark-4 {
    background-color: var(--dark-4);
}
.bg-dark-5 {
    background-color: var(--dark-5);
}
.nav-brand a {
    color:var(--body);
}
.container-fluid, nav {
  max-width: 1366px;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}
header nav {
  width: calc(100% - 120px);
  margin: 0 auto;
  padding: 45px 0 45px;
  transition:all 0.5s ease;
}
/*  Navigation  */
.nav-brand a {
	max-width: 205px;
}
#main-menu {
  position:relative;
  height: calc(100vh - 81px);
  opacity:1;
  margin:0;
  padding: 117px 30px 30px 30px;
  border: 0;
  transition:all ease 0.7s;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#main-menu a {
  opacity:0;
  padding:0;
  transition-delay:0.7s;
  transition:all ease 0.7s;
}
#main-menu a, #main-menu a:hover, #main-menu a:focus, #main-menu li {
  font-size:20px;
     padding-bottom: 3px;
  color: var(--body);
  text-decoration: none;
  }
#main-menu li a {
  position:relative;
}
#main-menu > li > a::after,
#main-menu .submenu li a::after,
.kontakt a::after,
main a::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--body);
  position: absolute;
  bottom: 0px;
   left: 0;
}
#main-menu a.active::after,
#main-menu .submenu a.active::after,
.kontakt a::after,
main a::after {
  width: 100%;
  transition: width .5s;
}
/* Mobile menu toggle button */
.main-menu-btn {
	position: absolute;
  margin: -20px 0 0;
  width: 52px;
  height: 52px;
  text-indent: 52px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  right: 0;
  z-index:10
}
/* hamburger icon */
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 0;
  width: 52px;
  background: #000;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
  height:2px;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
  height:2px;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#main-menu-state:checked ~ #main-menu a,
#main-menu-state:checked ~ #main-menu a:hover,
#main-menu-state:checked ~ #main-menu a:focus,
#main-menu-state:checked ~ #main-menu a:active {
  opacity:1;
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  top:-100vh;
  height:0;
  opacity:0;
  padding:0 0px 0 30px;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}
.anchor {
  position: relative;
  display: block;
  top: 0px;
  visibility: hidden;
}
/*  header   */
header {
  position:fixed;
  z-index: 100;
  top: 0;
    transition:0.5s ease;
}
header.with-shadow {
    box-shadow: 3px 3px 1px 0px rgba(0,0,0,0.05);
  -webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.03);
  -moz-box-shadow: 3px 3px 1px 0px rgba(0,0,0,0.05);
}
/*  shrinked header  */
header.shrinked {
 box-shadow: 0px 1px 10px 0px #efefef;
}
header.shrinked nav {
  padding:20px 0 20px;
}
header .container {
  position:relative;
}
/*  content  */
header, main, footer {
	width:100%;
  }
main {
    padding-top:200px;
}
section {
  margin: 50px 0;
}
.standard section:first-of-type {
    margin-top:100px;
    margin-bottom:0;
}
section.bg {
  padding: 70px 0;
}

section:first-of-type {
    margin-top:0;
}
section:last-of-type {
    margin-bottom:0;
    padding-bottom:100px;
}
.container {
    width:calc(100% - 120px);
    max-width:1440px;
    margin:0 auto;
	}
.slider-wrap {
    position:relative;
    width: 100%;
  aspect-ratio: 2.38;
}
.slider-wrap img {
    position:absolute;
}
#topSlider img:nth-of-type(1) {
    animation-name: fader;
    animation-delay: 1s;
    animation-duration: 2.5s;
    z-index: 20;
  }
  #topSlider img:nth-of-type(2) {
    z-index: 10;
  }
  #topSlider img:nth-of-type(n+3) {
    display: none;
  }

  @keyframes fader {
    from { opacity: 1.0; }
    to   { opacity: 0.0; }
  }

.columns .col-2 .img-wrap,
.columns .col-3 .img-wrap{
        background-size:cover;
        background-position:center center;
        width: 100%;
        height: calc(100% - 30px);
        min-height: 200px;
    }
.columns.layout-2 .col-2 .img-wrap {
    min-height:500px;
}
 .columns .col-2.bg,
.columns .col-3.bg{
          padding: 50px 50px 20px;
          border-radius: 30px;
     margin-bottom:30px;
}
.columns.teaser .col-2.bg {
        display:block;
        padding:0
    }
    .columns.teaser .col-2 .img-wrap,
.columns.teaser .col-3 .img-wrap{
          height:150px;
        border-top-left-radius:30px;
        border-top-right-radius:30px;
        }
    .columns.teaser .col-2 .text-wrap,
.columns.teaser .col-3 .text-wrap{
        padding:50px 50px 20px;
    }
.columns.teaser .col-1 {
  width: 100%;
  margin: 0 auto;
  max-width: 700px;
  border-radius: 30px;
}
.columns.teaser.no-radius .col-1 {
    border-radius:0;
}
.columns.teaser .col-1 .img-wrap {
    background-size:cover;
        background-position:center center;
        width: 100%;
    height:150px;
        border-top-left-radius:30px;
        border-top-right-radius:30px;
}
.columns.teaser.no-radius .col-1 .img-wrap {
    border-top-left-radius:0px;
        border-top-right-radius:0px;
}
.columns.teaser .col-1 .text-wrap {
    padding:50px 50px 20px;
}
.textblock .text-wrap {
    max-width:700px;
    margin:0 auto;
}
/*  Read more   */
      .read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
    margin:0;
}
.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: 18px;
  max-height: 999em;
    margin-bottom:30px;
}

.read-more-state ~ .read-more-trigger:before {
  content: 'weiterlesen';
    
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: 'weniger anzeigen';
}

.read-more-trigger {
  cursor: pointer;
  height: 40px;
  width: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
    padding: 0 20px;
    margin-bottom:30px;
}
.kontakt a {
    position:relative;
    text-decoration:none;
    display:inline-block;
}
/*  Footer  */
footer.bg {
    padding:30px;
}
footer .container {
  display: flex;
  justify-content: space-between;
}
footer a, footer a:active, footer a:focus, footer a:visited {
  color:var(--body);
}
footer a:hover {
 text-decoration:underline;
}
footer ul {
    display: flex;
  gap: 30px;
  justify-content: center;
}
footer ul, footer li {
  list-style:none;
}
footer .nav li a {
  font: normal normal 300 16px Lato;
}
footer .meta li a {
  font: normal normal 300 16px Lato;
}
/* back to Top - Button  */
.scroll-up.showScrollBtn {
  z-index: 2000;
  opacity:1;
  transition: all 0.8s ease;
}
.scroll-up, a.scroll-up:visited {
  position: fixed;
  z-index:0;
  bottom: 60px;
  width: 25px;
  opacity:0;
  outline: none;
  transition: all 0.8s ease;
  height: 55px;
  right: 15px;
  overflow: hidden;
  cursor:pointer; 
}
.scroll-up svg {
  width: 25px;
}
.scroll-up:hover {
  height:65px;
}
/*   mobile   */
@media (max-width:424px) {
     p {
  font-size: 15px;
  }
    header nav, .container {
        width:calc(100% - 40px);
    }
	#main-menu {
		padding-top:50px;
	}
    .main-menu-btn {
        margin-right:20px;
    }
}
@media(max-width:767px) {
    .columns.layout-2 .col-2:first-child {
    margin-bottom:30px;
}
}
/*  DESKTOP  */

@media (min-width: 400px) {
  body { hyphens:none; }
footer .col-3.socials {
  position:absolute;
  left:200px;
  bottom: 30px;
}
  footer .socials li:first-child {
  margin-right:20px;
}
}
@media (min-width:580px) {
  .nav-brand {
    margin: 0;
    max-width: 500px;
    transition: 0.5s all ease;
    }
  .shrinked .nav-brand {
    max-width:500px;
  }
}
@media (min-width: 768px) {
  h2 {
  font-size:26px;
}
     h3 {
  font-size:20px;
}
  p, ul, td {
  font-size:18px;
}
    footer ul { font-size:16px; }
    .columns.teaser .container {
        display:flex;
    }
    .columns.even .container,
    .columns.teaser.three-cols .container{
        gap:30px;
    }
    .columns.even .col-2 {
        width:50%;
    }
    .columns.teaser.three-cols .col-3 {
        width:33.33%;
        padding:0;
    }
    .columns .col-2.bg {
          display: flex;
          align-items: center;
    }
    .columns .col-2.bg:first-child,
    .columns .col-2.bg:last-child {
        width:50%;
          padding: 50px 50px 20px;
    }
    .columns .col-2:first-child {
        width:60%;
        padding: 0 30px 0 0;
    }
    .columns .col-2:last-child {
        width:40%;
        padding: 0px 0px 0px 30px;
    }
    .columns.layout-2 .col-2:first-child {
        width:100%;
        padding: 0;
    }
    .columns.layout-2 .col-2:last-child {
        width:100%;
        padding: 0px;
    }
    .columns.teaser .col-2.bg:first-child,
    .columns.teaser .col-2.bg:last-child {
        padding:0;
    }
    .columns .col-2 .img-wrap {
        background-size:cover;
        background-position:center center;
        width: 100%;
        height: calc(100% - 30px);
    }
    .text-wrap {
        max-width:700px;
    }
    .columns.teaser .col-2 .text-wrap, .columns.teaser .col-3 .text-wrap {
      padding: 30px 30px 20px;
    }
    .col-3 .text-wrap {
        position:relative;
    }
    .col-3 .text-wrap > a {
        position:absolute; 
        width:100%;
        height:100%;
        top:0;
        left:0;
    }
  footer .col-wrap {
    display: flex;
    justify-content: space-between;
    padding-right:80px;
}
  footer .col-3.socials {
    position: static;
    width: 20%;
  } 
  footer .col-3.nav {
    width: 30%;
  }
  footer .col-3.meta {
    width: 50%;
    display: flex;
    align-items: center;
    }
  footer .col-3.meta ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  footer .col-3.meta ul li {
    margin-right:20px;
  }
}

@media (min-width: 850px) {
   .columns.layout-2 .container {
        display:flex;
    }
    .columns.layout-2 .col-2:first-child {
         width:40%; 
        padding: 0 30px 0 0;
    }
    .columns.layout-2 .col-2:last-child {
        width:60%;
        padding: 0 0px 0 30px;
    }
    .columns.layout-2 .col-2 .img-wrap {
        background-position:top center;
    }
     .columns.even .container,
    .columns.teaser.three-cols .container{
        gap:60px;
    }
    .columns.teaser .col-2 .text-wrap, .columns.teaser .col-3 .text-wrap {
  padding: 50px 50px 20px;
}
}
@media (min-width: 1024px) {
   #main-menu-state ~ #main-menu a, #main-menu-state ~ #main-menu a:hover, #main-menu-state ~ #main-menu a:focus, #main-menu-state~ #main-menu a:active,
   .shrinked #main-menu-state:checked ~ #main-menu a, .shrinked #main-menu-state:checked ~ #main-menu a:hover, .shrinked #main-menu-state:checked ~ #main-menu a:focus, .shrinked #main-menu-state ~ #main-menu a:active {
    opacity: 1;
  }
   .shrinked #main-menu-state ~ #main-menu a, .shrinked #main-menu-state ~ #main-menu a:hover, .shrinked #main-menu-state ~ #main-menu a:focus, .shrinked #main-menu-state~ #main-menu a:active {
  opacity: 0;
}
  #main-menu,
  #main-menu-state:not(:checked) ~ #main-menu {
    right:0;
    height:auto;
    opacity:1;
    z-index: 0;
    top: 65px;
    display:flex;
    max-width: 800px;
  }  
  .shrinked #main-menu-state:checked ~ #main-menu {
    top:30px;
    height:auto;
    opacity:1;
    z-index: 0;
  }
  .shrinked #main-menu,
  .shrinked #main-menu-state:not(:checked) ~ #main-menu {
    top:0px;
    height:0;
    opacity:0;
    z-index: -1;
  }
  .main-menu-btn {
    display:none;
  }
  .shrinked .main-menu-btn {
    display:block;
  }
  header nav { 
    max-width: 1440px;
    height: 80px;
    padding-top:70px; 
    padding-bottom:130px;
  }
  header.shrinked nav {
    position:relative;
    padding:20px 0 20px;
    height:auto;
}
  #main-menu {
    position:absolute;
    top:85px;
    right:87px;
    height:auto;
    padding-top:0;
  }
 #main-menu li {
        cursor:pointer;
    }
  #main-menu li:nth-child(1),
    #main-menu li:nth-child(2),
    #main-menu li:nth-child(3) {
        margin-right: 50px;
    }
  #main-menu a, #main-menu a:hover, #main-menu a:focus, #main-menu a:active, #main-menu li {
    font-size:16px;
  }

  .submenu {
    min-width: 340px;
    display: none;
        background-color: var(--lint);
        margin-left: -20px;
        margin-top:0;
      box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.05);
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.05);
  }
    #main-menu .submenu {
        margin-left:0;
    }
   #main-menu  li:hover .submenu {
    display: block;
    position: absolute;
    padding: 20px 20px 20px;
  }
    #main-menu > li:hover > a::after,
    #main-menu .submenu li:hover a::after {
  width: 100%;
  transition: width .5s;
}
  footer .col-wrap {
    padding:50px 100px 30px 90px;
  }
  footer .col-3.socials {
    width:15%;
  }
  footer .col-3.nav {
    width:35%;
  }
}
@media (min-width:1440px) {
    footer ul {
        margin-right:70px;
    }
    .scroll-up {
        margin-right: calc(50% - 705px);
          right: 0;
          text-align: right;
    }
}
@media (max-width:1023px) {
    .submenu {
        margin-top:10px;
        margin-left:30px;
    }
    #main-menu .submenu a {
        font-size:16px;
    }
#main-menu a.active::after,
#main-menu .submenu a.active::after,
.kontakt a::after {
  width: 100%;
  transition: width .5s;
}
}
@media (max-width:849px) {
     .columns.layout-2 .col-2:first-child {
    margin-bottom: 30px;
  }
   
}
@media (max-width:849px) and (min-width:474px) {
     .columns.layout-2 .col-2 img {
      height: 500px;
      width: auto;
    }
}
@media (max-width:767px) {
    h1 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
    .logo {
        font-size:18px;
    }
    .logo-subline {
  font-size: 24px;
    }
    header nav, .container {
    width: calc(100% - 60px);
  }
    header nav {
        padding:25px 0 25px;
    }
    .main-menu-btn {
        margin-top:0;
    }
    main {
      padding-top: 140px;
    }
    #main-menu {
        padding-top:50px;
        overflow-y:visible;
    }
    #main-menu li {
        line-height:1.5;
    }
    footer .container {
        display:block;
    }

}
@media (max-width:474px) {
    .logo {
      font-size:14px;  
    }
    .logo-subline {
      font-size:20px;  
    }
    h1 {
        font-size: 11px;
    }
        .main-menu-btn {
        margin-top: -15px;
    }
    .submenu {
        margin-bottom:10px;
    }
.columns.layout-2 .col-2 .img-wrap {
    min-height:200px;
    background-position:top;
}
     .columns.layout-2 .col-2 img {
    height: auto;
    width: 100%;
  }
}