/*
Theme Name: Pedalino
Author: Andre Schubert
Description: Theme für die Pedalino Website.
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: 0.1
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: pedalino
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.
*/

@font-face {
  font-family: 'DK Lemon Yellow Sun';
  src: url("/wp-content/themes/ljb-pedalino-theme/assets/fonts/DK Lemon Yellow Sun.otf") format("opentype");
}

:root {
  /* Primärfarben */
  --primary-fox-green: #34b39d;
  --primary-fox-purple: #b78faa;
  --primary-fox-pink: #e5067c;
  --primary-fox-yellow: #f9b232;
  --primary-fox-blue: #45a9e0;
  --primary-fox-rose: #e9b1d2;
  /* Sekundärfarben */
  --secondary-fox-fur: #f39200;
  --black: #000;
  --white: #fff;
  --primary-font: 'DK Lemon Yellow Sun', Helvetica, sans-serif;
  --secondary-font: 'Montserrat', sans-serif;
  --border-radius-1: 1rem;
}

#main {
  min-height: 100vh;
}

body {
  font-family: var(--primary-font);
  margin: 0;
  padding: 0;
  border: 0;
}

.container {
  position: relative;
}

h1 {
  font-size: clamp(2.75rem, -0.875rem + 8.333vw, 3.75rem);
  margin-top: 0;
}

h2 {
  font-size: clamp(2rem, -0.875rem + 8.333vw, 3rem);
  margin-top: 0;
}

h3 {
  font-size: clamp(1.1rem, -0.875rem + 8.333vw, 1.5rem);
  margin-top: 0;
}

p, a, ul, ol {
  font-family: var(--secondary-font);
}

.font-primary {
  font-family: var(--primary-font) !important;
}

.font-secondary {
  font-family: var(--secondary-font) !important;
}

/*
  FOOTER
*/

footer {
  background-color: var(--primary-fox-yellow);
  color: var(--white);
}

footer .footer-contents>div {
  display: flex;
  justify-content: center;
}

footer a, footer a:hover, footer a:active, footer a:visited {
  color: var(--white);
}


.footer__logo {
  width: 100%;
  filter: brightness(0) invert(1);
}

.footer-links-mobile {
  display: flex;
  justify-content: space-between;
}

.footer-links-desktop {
  display: none;
}

@media (min-width: 768px) {
  .footer-links-mobile {
    display: none;
  }

  .footer-links-desktop {
    display: block;
  }
}

@media (min-width: 1024px) {
  .footer-links-mobile {
    display: none;
  }

  .footer__logo {
    width: auto;
    height: 100px;
  }
}

.return-to-top {
  width: 100% !important;
  right: 0;
  position: fixed;
  bottom: 2.5rem;
  z-index: 99;
  pointer-events: none;
}

@media (min-width: 768px) {
  .return-to-top {
    right: 50%;
    transform: translateX(50%);
  }
}

.return-to-top img {
  padding: 0.5rem;
  transform: rotate(180deg);
  filter: invert(1);
  width: 1.5rem;
  height: 1.5rem;
}

#return-to-top-btn {
  -webkit-box-shadow: 0px 0px 8px 4px var(--black);
  box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.2);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  pointer-events: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-fox-yellow);
  color: var(--white);
  float: right;
  text-decoration: none;
  transition: opacity ease-in-out 0.5s;
  opacity: 0;
}

/*
  SLIDER ARROWS and DOTS
*/

.slick-prev:before, .slick-next:before {
  content: none;
}

.arrow-left, .arrow-right {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  height: 4rem;
  width: 2rem;
}

.arrow-left {
  background-image: url("/wp-content/themes/ljb-pedalino-theme/assets/media/icons/arrow-right.svg") !important;
  transform: rotate(180deg) translate(0, 50%);
  left: -1.5rem;
}

.arrow-right {
  background-image: url("/wp-content/themes/ljb-pedalino-theme/assets/media/icons/arrow-right.svg") !important;
  transform: rotate(0deg) translate(0, -50%);
  right: -1.5rem;
}

@media (min-width: 1440px) {
  .arrow-left, .arrow-right {
    height: 5rem;
    width: 3rem;
  }

  .arrow-right {
    right: -3rem;
  }

  .arrow-left {
    left: -3rem;
  }
}

.arrow-right:hover, .arrow-left:hover {
  background-image: url("/wp-content/themes/ljb-pedalino-theme/assets/media/icons/arrow-right-filled.svg") !important;
}

.slick-dots {
  position: relative;
  height: 0 !important;
  bottom: 2rem;
  text-align: left;
}

.slick-dots li:only-child {
  display: none;
}

.slick-active .slider-dot {
  opacity: 1;
}

.slider-dot {
  border-radius: 50%;
  height: 20px;
  width: 20px;
  background-color: var(--white);
  opacity: 0.5;
}

.slider-dot:hover {
  opacity: 1;
}

/*
  UTILITIES
*/

.text-center {
  text-align: center !important;
}

.button {
  text-decoration: none;
  border-radius: var(--border-radius-1);
  border: 2px solid var(--primary-fox-yellow);
  background-color: transparent;
  font-family: var(--primary-font);
  font-size: 1.5rem;
  color: var(--black);
  padding: 0.5rem 2rem;
}

.button:hover:not([disabled]) {
  border: 2px solid var(--primary-fox-yellow);
  background-color: var(--primary-fox-yellow);
  color: var(--white);
}

.divider:before, .divider:after {
  content: "";
  position: absolute;
  left: 0;
}

.divider--large:before, .divider--large:after {
  width: 100%;
}

.divider--small:before, .divider--small:after {
  height: 2px;
  width: 50%;
}

@media (min-width: 768px) {
  .divider:before, .divider:after {
    left: -12px;
  }

  .divider--large:before, .divider--large:after {
    width: calc(100% + 24px)
  }

  .divider--small:before, .divider--small:after {
    width: calc(50% + 24px);
  }
}

@media (min-width: 992px) {
  .divider:before, .divider:after {
    left: -3rem;
  }

  .divider--large:before, .divider--large:after {
    width: calc(100% + 6rem);
  }

  .divider--small:before, .divider--small:after {
    width: calc(50% + 6rem);
  }
}

.divider--top:before {
  border-top: 2px solid var(--black);
  top: 0;
}

.divider--bottom:after {
  border-bottom: 2px solid var(--black);
  bottom: 0;
}

.hero-stage__slider img, .slider img, .icon-slider div, .fact-slider div {
  display: none;
}

.hero-stage__slider img:first-of-type, .slider img:first-of-type, .icon-slider div:first-of-type, .fact-slider div:first-of-type {
  display: block;
}

.slick-initialized img, .slick-initialized div {
  display: block;
}

/*
  MENU
*/

ul.menu {
  display: flex;
  list-style: none;
}

ul.menu li {
  margin-right: 1rem;
}

ul.menu li:last-child {
  margin-right: 0;
}

ul.menu li a {
  border: 2px solid var(--primary-fox-yellow);
  border-radius: 0.375rem;
  padding: 0.25rem 1rem;
  text-decoration: none;
  color: var(--black);
  font-family: var(--primary-font);
  font-size: clamp(1rem, -0.875rem + 8.333vw, 1.5rem);
}

ul.menu li a:hover, ul.menu li a:active {
  background-color: var(--primary-fox-yellow);
  color: var(--white);
}

.header-logo {
  margin: 1rem 0;
  height: 40px;
  width: auto;
}

#menu {
  display: none;
}

.mobile-menu {
  display: block;
}

.mobile-menu button {
  background: none;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  cursor: pointer;
  outline: none;
  font-size: 2rem;
  color: var(--primary-fox-yellow);
}

#mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  background-color: var(--primary-fox-yellow);
  z-index: 10;
  display: none;
  height: 100vh;
  width: calc(100% + 12px);
  overflow: hidden;
}

#mobile-menu ul.menu {
  width: 100%;
  justify-content: space-around;
  padding: 0;
  padding-bottom: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#mobile-menu ul.menu li {
  padding: 1.5rem 0.5rem;
  margin-right: 0;
}

#mobile-menu ul.menu li a {
  border: none;
  font-size: 2rem;
  color: var(--white);
}

@media (min-width: 576px) {
  #mobile-menu {
    width: unset;
  }
}

@media (min-width: 768px) {
  #mobile-menu {
    width: unset;
  }
  .header-logo {
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }

  #menu {
    display: block;
  }
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  width: auto !important;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto
}

@media (min-width:576px) {
  .container, .container-sm {
    max-width: 540px
  }
}

@media (min-width:768px) {
  .container, .container-md, .container-sm {
    max-width: 720px
  }
}

@media (min-width:992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 800px
  }
}

@media (min-width:1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 990px
  }
}

@media (min-width:1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1000px
  }
}

.blog-entry {
  position: relative;
  margin-bottom: 2rem;
}

.blog-entry img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-entry__link {
  position: absolute;
  width: 100%;
  bottom: -2rem;
}

.blog-entry__link a {
  text-decoration: none;
  color: var(--black);
  border: 2px solid var(--primary-fox-yellow);
  font-family: var(--primary-font);
  border-radius: var(--border-radius-1);
  background-color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem;
}

.blog-entry__link a:hover, .blog-entry__link a:active {
  color: var(--white);
  background-color: var(--primary-fox-yellow);
}

.blog_shortinfo {
  text-align: center;
}

.blog_content {
  display: flex;
  flex-direction: column-reverse;
}

.blog_content img {
  width: 100%;
}

@media (min-width:768px) {
  .blog_shortinfo {
    text-align: left;
  }

  .blog_content {
    display: inline-block;
  }

  .blog_content img {
    float: right;
    width: 50%;
  }
}

/*
  Aspect ratios
*/
.aspect-ratio {
  width: 100%;
  position: relative;
}

.aspect-ratio>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.aspect-ratio picture>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.aspect-ratio--square {
  padding-top: 100%;
}

.aspect-ratio--4to3 {
  padding-top: 75%;
}

.aspect-ratio--16to9 {
  padding-top: 56.25%;
}

.aspect-ratio--5to2 {
  padding-top: 40%;
}

/* hide recaptcha badge */
.grecaptcha-badge { visibility: hidden; }