/*
Theme Name: Konstant jugendhilfe theme
Theme URI: https://wordpress.org/themes/Konstant/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Test theme
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Konstant jugendhilfe
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Ubuntu:wght@400;500;700&display=swap');
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open sans', sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
ul,
p {
  margin: 0;
  padding: 0;
}

h1 {
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 41px;
  margin: 4rem 0;
}

h2 {
  font-family: 'Ubuntu', sans-serif;
  color: #00c49a;
  font-size: 19px;
  line-height: 23px;
  letter-spacing: 2.42px;
}

h3 {
  font-family: 'Open sans', sans-serif;
  color: #313e50;
  font-size: 36px;
  line-height: 50px;
  font-weight: 700;
}

h4 {
  font-family: 'Open sans', sans-serif;
  color: #313e50;
  font-size: 26px;
  line-height: 36px;
  font-weight: 600;
  max-width: 900px;
}

p, .text__wrapper a {
  color: #696b6f;
  font-family: 'Open sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  width: 100%;
  height: auto;
}

#Uber {
  margin-top: 32px;
}

.header {
  position: fixed;
  background-color: #00c49a;
  height: auto;
  left: 0;
  margin: 0 auto;
  top: 0;
  width: 100%;
  z-index: 99;
  transition: all 0.4s ease-in-out;
}

.header.hide {
  opacity: 0;
}

.header__content {
  max-width: 1680px;
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  margin: auto;
  align-items: center;
}

.hero__content h3 {
  margin: 2rem 0 2rem;
}

.header__content .logo__full,
.header__content .logo__mob {
  display: flex;
  align-items: center;
}

.header__content ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.header__content ul li {
  color: #fff;
  font-size: 18px;
  line-height: 23px;
  cursor: pointer;
}

.hero__wrapper {
  z-index: 90;
  position: relative;
  background-color: #00c49a;
  background-image: url("images/hero.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  height: 100vh;
  margin: auto;
  padding: 6rem 10rem;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: center;
}

.hero__content button {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 32px;
  padding: 0.5rem 1rem;
  border: none;
  color: #fff;
  background-color: #ffb300;
  cursor: pointer;
}

.background {
  background-color: #f0f0f0;
}

.text__wrapper {
  max-width: 1920px;
  padding: 6rem 10rem;
  margin: auto;
}

.text__wrapper h3 {
  padding: 1rem 0 1.5rem;
}

.text__blocks {
  margin-top: 3rem;
}

.text__block_title {
  font-family: 'Open sans', sans-serif;
  font-weight: 600;
  color: #313e50;
  font-size: 28px;
  line-height: 38px;
}

.text__block p {
  margin-bottom: 2rem;
}

.text__image {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.text__image img {
  max-width: 750px;
  max-height: 250px;
  object-fit: cover;
}

.images__block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  column-gap: 3rem;
  row-gap: 2rem;
  margin-top: 3rem;
}

.images__block > div {
  background-color: #fff;
}

.images__block > div > img {
  height: 250px;
  object-fit: cover;
}

.images__block_disc {
  display: flex;
  text-align: center;
  padding: 1rem;
}

.swiper {
  height: 650px;
}

.swiper-slide {
  align-items: center;
  display: flex !important;
}

.swiper-slide > div {
  height: 552px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  cursor: pointer;
  padding: 3rem;
  background-color: #f0f0f0;
}

.swiper-slide > div > span {
  margin-bottom: 4rem;
  color: #00c49a;
  font-size: 35px;
  line-height: 43px;
  font-weight: 600;
}

.swiper-slide > div p {
  justify-self: center;
  font-weight: 500;
}

.swiper-pagination-bullet-active {
  background: #707070 !important;
}

.accordion__container {
  margin-top: 2rem;
  border-bottom: #00c49a solid 2px;
}

.accordion {
  border-top: #00c49a solid 2px !important;
  display: flex;
  font-size: 26px;
  line-height: 36px;
  font-family: 'Open sans', sans-serif;
  font-weight: 600;
  justify-content: space-between;
  color: #313e50;
  cursor: pointer;
  padding: 2rem 0 16px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;
  background-color: transparent;
}

.accordion:not(:first-of-type) {
  border-top: 1px solid rgb(235, 235, 235, 0.1);
}

.accordion:after {
  padding: 20px 11px 4px;
  border-radius: 50%;
  border: #00c49a solid 3px;
  content: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.500409 0.593051C0.546855 0.546488 0.602031 0.509545 0.662776 0.484339C0.723521 0.459132 0.788642 0.446158 0.854409 0.446158C0.920177 0.446158 0.985298 0.459132 1.04604 0.484339C1.10679 0.509545 1.16196 0.546488 1.20841 0.593051L5.00068 4.29297L8.8391 0.546534C8.88559 0.500046 8.94078 0.46317 9.00151 0.438011C9.06225 0.412852 9.12735 0.399902 9.1931 0.399902C9.25884 0.399902 9.32394 0.412852 9.38468 0.438011C9.44542 0.46317 9.50061 0.500046 9.5471 0.546534C9.59359 0.593022 9.63046 0.648211 9.65562 0.708951C9.68078 0.76969 9.69373 0.834791 9.69373 0.900535C9.69373 0.966279 9.68078 1.03138 9.65562 1.09212C9.63046 1.15286 9.59359 1.20805 9.5471 1.25454L5.35468 5.35397C5.30824 5.40053 5.25306 5.43747 5.19232 5.46268C5.13157 5.48789 5.06556 5.50005 4.99979 5.50005C4.93402 5.50005 4.8698 5.48789 4.80905 5.46268C4.74831 5.43747 4.69313 5.40053 4.64668 5.35397L0.500409 1.30105C0.453846 1.25461 0.416903 1.19943 0.391697 1.13869C0.36649 1.07794 0.353516 1.01282 0.353516 0.947051C0.353516 0.881284 0.36649 0.816163 0.391697 0.755418C0.416903 0.694673 0.453846 0.639497 0.500409 0.593051Z' fill='%2300C49A'/%3E%3C/svg%3E%0A");
  width: 32px;
  height: 32px;
  font-weight: bold;
  float: right;
  transition: transform 0.2s ease-in-out;
}

.active:after {
  transform: rotate(-180deg);
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: 1rem;
}

.two__columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text__feedback svg {
  width: 20px;
  height: 20px;
  fill: #313e50;
}

.text__block a {
  color: #696b6f;
}

.footer {
  background-color: #313e50;
}

.footer__wrapper {
  max-width: 1920px;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  align-items: center;
  padding: 3rem 2rem;
  margin: auto;
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
}

.footer__left {
  display: flex;
  align-items: center;
}

.footer ul {
  display: flex;
  list-style: none;
  gap: 3rem;
  margin-right: 2rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cky-btn-revisit-wrapper {
	width: 30px !important;
    height: 30px !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
	width: 20px !important;
    height: 20px !important;
}

.cky-revisit-bottom-left {
		display:none !important;
	}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 25px;
    line-height: 36px;
    margin: 4rem 0;
  }

  h2 {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 2.42px;
  }

  h3 {
    font-size: 21px;
    line-height: 28px;
  }

  h4 {
    font-size: 22px;
    line-height: 32px;
    max-width: 900px;
  }

  p, .text__wrapper a {
    font-size: 16px;
    line-height: 22px;
  }

  .hero__wrapper {
    padding: 1rem;
  }
  .title {
    display: flex;
    justify-content: center;
  }

  .title svg {
    width: 100%;
    height: auto;
  }

  .text__wrapper {
    padding: 40px 43px 1rem;
  }
	
	  .text__wrapper h3 {
    padding-top: 0;
  }

  .text__blocks {
    grid-template-columns: 1fr;
  }

  .text__block_title {
    font-size: 18px;
    line-height: 24px;
  }

  .images__block {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .swiper {
    height: 430px;
  }

  .swiper-slide > div {
    height: 300px;
    padding: 1rem;
  }

  .swiper-slide > div > span {
    margin-bottom: 2rem;
    font-size: 19px;
    line-height: 23px;
  }

  .images__block > div > img {
    height: 250px;
  }

  .accordion {
    font-size: 16px;
    line-height: 22px;
    align-items: center;
  }

  .accordion>span {
    width: 190px;
  }

  .accordion:after {
	padding: 6px;
    margin-left: 20px;
    content: url("data:image/svg+xml,%3Csvg viewBox='0 -2 10 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.500409 0.593051C0.546855 0.546488 0.602031 0.509545 0.662776 0.484339C0.723521 0.459132 0.788642 0.446158 0.854409 0.446158C0.920177 0.446158 0.985298 0.459132 1.04604 0.484339C1.10679 0.509545 1.16196 0.546488 1.20841 0.593051L5.00068 4.29297L8.8391 0.546534C8.88559 0.500046 8.94078 0.46317 9.00151 0.438011C9.06225 0.412852 9.12735 0.399902 9.1931 0.399902C9.25884 0.399902 9.32394 0.412852 9.38468 0.438011C9.44542 0.46317 9.50061 0.500046 9.5471 0.546534C9.59359 0.593022 9.63046 0.648211 9.65562 0.708951C9.68078 0.76969 9.69373 0.834791 9.69373 0.900535C9.69373 0.966279 9.68078 1.03138 9.65562 1.09212C9.63046 1.15286 9.59359 1.20805 9.5471 1.25454L5.35468 5.35397C5.30824 5.40053 5.25306 5.43747 5.19232 5.46268C5.13157 5.48789 5.06556 5.50005 4.99979 5.50005C4.93402 5.50005 4.8698 5.48789 4.80905 5.46268C4.74831 5.43747 4.69313 5.40053 4.64668 5.35397L0.500409 1.30105C0.453846 1.25461 0.416903 1.19943 0.391697 1.13869C0.36649 1.07794 0.353516 1.01282 0.353516 0.947051C0.353516 0.881284 0.36649 0.816163 0.391697 0.755418C0.416903 0.694673 0.453846 0.639497 0.500409 0.593051Z' fill='%2300C49A'/%3E%3C/svg%3E%0A");
    width: 16px;
    height: 16px;
    border: #00c49a solid 2px;
  }

  .footer__wrapper {
    padding: 1.5rem .7rem 1rem;
    gap: 1rem;
    flex-direction: column-reverse;
  }

  .footer__right {
    font-size: 12px;
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .footer__left {
	text-align: center;
    font-size: 9px;
    line-height: 14px;
  }

  .footer ul {
    gap: 1rem;
    margin-right: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
  .text__wrapper {
    padding: 2rem 6rem;
  }

  .footer__right {
    align-items: end;
  }

  .footer__left {
    font-size: 12px;
    line-height: 14px;
  }

  .title svg {
    width: 500px;
  }
}

@media only screen and (max-width:  1200px) {
  .swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    margin: 0 15px 0 !important;
  }

  .two__columns > .column:first-of-type {
    width: 100%;
  }

  .two__columns > .column:last-of-type {
    width: 100%;
  }

  .two__columns {
    flex-direction: column;
  }
  
  .logo__full {
    display: none !important;
  }
}

@media only screen and (min-width: 1200px) {
  .swiper-pagination-bullet {
    width: 21px !important;
    height: 21px !important;
    margin: 0 15px 0 !important;
  }

  .logo__mob {
    display: none !important;
  }

  .two__columns > .column:first-of-type {
    width: 45%;
  }

  .two__columns > .column:last-of-type {
    width: 45%;
  }
}


@media screen and (max-width: 1024px) {
  .header {
    z-index: 90;
  }
  .header__nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    z-index: 107;
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    -webkit-box-shadow: var(--shadow-medium);
            box-shadow: var(--shadow-medium);
    background-color: white;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .header__nav.active {
    left: 0rem;
    opacity: 1;
    visibility: visible;
  }
  .header__nav.active ul {
      margin: 2rem 0 3rem 2rem;
      flex-direction: column;
    }
}

@media only screen and (max-width: 1024px) {
  .header__nav.active ul li a{
    color: #000;
    font-weight: 600;
  }
}

.burger {
  position: relative;
  display: none;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 1.75rem;
  height: 1rem;
  opacity: 0;
  visibility: hidden;
  background: transparent;
}
.burger-line {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  border: none;
  outline: none;
  background: #F3F6F9;
}
.burger-line.active {
  background: var(--color-black-500);
}
.burger-line:nth-child(1) {
  top: 0px;
}
.burger-line:nth-child(2) {
  top: 0.5rem;
}
.burger-line:nth-child(3) {
  top: 1rem;
}
.header.active .vscomp-value {
  color: #000;
}
.header.active .vscomp-arrow:after {
  border-color: transparent #111 #111 transparent;
}

.vscomp-arrow:after, .vscomp-value{
    -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media only screen and (max-width: 1024px) {
  .burger {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 106;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  background-color: rgba(0, 0, 0, 0.65);
}
@media only screen and (max-width: 1024px) {
  .overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

@media only screen and (min-width: 1300px) {
  .container {
  padding: 0 7rem;
  }
}

@media only screen and (min-width: 750px) and (max-width: 1300px) {
  .container {
  padding: 0 5rem;
  }
}

@media only screen and (max-width: 750px) {
  .container {
  padding: 0 1.5rem;
  }
}

.privacy__block {
  margin-top: 4rem;
}

.privacy__block .text__block_title {
  font-weight: 700;
  font-size: 26px;
  line-height: 36px;
}

.privacy__block .text__blocks{
  margin-top: 0;
}

/* Animation */

@keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.animatedFadeInUp {
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}





