/*!
Theme Name: mdeu
Theme URI: http://underscores.me/
Author: 
Author URI: 
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mdeu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mdeu is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */


@tailwind base;
@tailwind components;
@tailwind utilities;

/* add input stlyes */
@layer components {
  .btn {
    @apply bg-darkGreen text-brandGreen font-bold py-3 px-8 rounded-3xl hover:bg-brandGreen hover:text-white transition;
  }

  .section-title {
    @apply text-[26px] leading-[40px] font-normal text-darkGreen;
  }

  .btn-select {
    @apply bg-brandGreen text-darkGreen py-1 px-8 rounded-3xl font-bold text-xs leading-6;
  }

  .btn-outline {
    @apply bg-white text-teal font-bold py-3 px-8 rounded-3xl border-2 border-teal hover:bg-teal hover:text-white transition;
  }
}

:root {
  --brandGreen: #00a651; /* Replace with your brand green color */
  --teal: #008080; /* Replace with your teal color */
}

/* Custom styles for the dropdown */
.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: 40px;
  left: -80px;
  padding: 0px 30px;
  background-color: white;
  border: 1px solid #cbcbcb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 144px;
}

.dropdown-options.active {
  display: block;
}

.dropdown-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: auto;
  color: #cbcbcb;
  font-size: 9px;
  font-weight: 800;
}

.dropdown-option .checkmark {
  display: none;
  margin-right: 4px;
  width: 8px;
  height: 8px;
}

.dropdown-option.active {
  color: #01332b;
}

.dropdown-option.active .checkmark {
  display: inline-block;
}

/* Active state styles */
/* #dropdown-trigger.active span {
  color: #05dd4d;
} */

#dropdown-trigger.active .chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 20px 0;
  width: 100%;
  overflow: hidden;
  max-width: 425px;
}

.progress {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
  height: 4px;
  width: 100%;
  max-width: 365px;
  background-color: #e7e7e7;
  transition: width 0.3s;
}

.step {
  width: 30px;
  height: 30px;
  border: 1px solid #01332b;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
  color: #01332b;
  font-size: 15px;
  font-weight: 900;
}

.step.active {
  background-color: #01332b;
  color: white;
}

.vertical-line-1 {
  background: linear-gradient(180deg, #3dbc32 0%, #f1cd0d 100%);
  height: 137.33px;
  width: 8px;

  /* rounded top corners */
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.vertical-line-2 {
  background: linear-gradient(180deg, #f1cd0d 0%, #f15b1b 100%);

  height: 137.33px;
  width: 8px;
}
.vertical-line-3 {
  background: linear-gradient(180deg, #f15b1b 0%, #e02020 100%);

  height: 137.33px;
  width: 8px;

  /* rounded bottom corners */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Arrow styles */
.arrow {
  position: absolute;
  left: -22px;
  width: 36px;
  height: 25px;

  display: none;

  will-change: top;
  transition: transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
}

.vertical-line-1,
.vertical-line-2,
.vertical-line-3 {
  cursor: pointer;
}

.drop-shadow-red {
  filter: drop-shadow(0px 7px 4px #e93e1e73);
  -webkit-filter: drop-shadow(0px 7px 4px #e93e1e73); /* Safari fix */
  will-change: filter;
}

.drop-shadow-green {
  filter: drop-shadow(0px 7px 4px #52be2f99);
  -webkit-filter: drop-shadow(0px 7px 4px #52be2f99); /* Safari fix */
  will-change: filter;
}

.drop-shadow-orange {
  filter: drop-shadow(0px 7px 4px #f2951599);
  -webkit-filter: drop-shadow(0px 7px 4px #f2951599); /* Safari fix */
  will-change: filter;
}

/* Vertical text styles */
.vertical-text {
  position: absolute;
  right: -10px; /* Adjust as needed */
  writing-mode: vertical-lr;
  text-orientation: sideways;

  font-size: 20px; /* Adjust as needed */
  font-weight: 700;
  line-height: 44px;
  display: none; /* Hide initially */

  transition: top 0.5s ease;
}

#text-step-1 {
  top: 10%; /* Adjust as needed */
}

#text-step-2 {
  top: 40%; /* Adjust as needed */
}

#text-step-3 {
  top: 75%; /* Adjust as needed */
}

/* Text color classes */
.text-green {
  color: #45bd33;
}

.text-orange {
  color: #f28616;
}

.text-red {
  color: #e22320;
}

#image-container {
  position: relative;
  /* width: 500px;
  height: 340px; */
  width: 280px;
  height: 189px;
}

/* Image styles */
.step-image {
  position: absolute;
  top: 90%; /* Adjust as needed */
  left: 0%; /* Adjust as needed */
  transform: translate(-50%, -25%);
  transition: all 0.5s ease;
  opacity: 0.5;
  filter: blur(5px);
  /* width: 500px;
  height: 340px; */
  width: 280px;

  height: 189px;
  border-radius: 8px;
  border: 1px solid #cbcbcb;
  overflow: hidden;

  /* add webkit for blur */
  -webkit-filter: blur(5px);
  -webkit-transition: all 0.5s ease;
}

.step-image.active {
  top: 50%;
  left: 50%;

  opacity: 1;
  filter: blur(0);
  z-index: 1;
}

.step-image.blurred {
  top: 90%;
  left: 90%;
  opacity: 0.5;
  filter: blur(10px);

  /* webkit fro blur */
  -webkit-filter: blur(10px);
}

.step-image.top-right {
  top: -10%;
  left: 110%;
  opacity: 0.5;
  filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 102px; /* Adjusted size for top-right */
  height: 100px; /* Adjusted size for top-right */

  /* prevent clicking */
  pointer-events: none;
  user-select: none;

  /* webkit for blur */
  -webkit-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-image.bottom-right {
  top: 145%;
  left: 120%;
  opacity: 0.5;
  filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 112px; /* Adjusted size for bottom-right */
  height: 100px; /* Adjusted size for bottom-right */
  /* prevent clicking */
  pointer-events: none;
  user-select: none;

  /* webkit for blur */
  -webkit-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.step-image.hidden {
  display: none;
}

.description-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* margin-top: 20px; */
  margin-top: 100px;
  max-width: 460px;
  display: none;
  opacity: 0;
}

.description-container.active {
  display: block;
  opacity: 1;
  transition: all 1.5s ease;
}

.search-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: none;
}
.btn-auswahl {
  display: none;
  position: absolute;
  /* bottom center */
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.step-image.active .search-icon,
.step-image.active .btn-auswahl {
  display: block; /* Show when image is active */
}

/* .step-image {
  position: relative;
  display: inline-block;
} */

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  height: auto;
  max-height: 189px;
  object-fit: cover;
}

.slide {
  min-width: 100%;
  height: auto;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  bottom: 10px;
  width: auto;
  /* padding: 16px; */
  /* margin-top: -22px; */
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  /* border-radius: 0 3px 3px 0; */
  user-select: none;
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

.overlay-image {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it is on top of other elements */
  /* hidden */
}

.no-scroll {
  overflow: hidden;
}

.explain-scroll::-webkit-scrollbar {
  width: 4px;
  background-color: #45bd33;
}

.explain-scroll::-webkit-scrollbar-thumb {
  background: white;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background with opacity */
}

.modal.hidden {
  display: none;
}

.modal-content {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: 90px;
  right: 20px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 640px) {
  .vertical-text {
    right: -20px; /* Adjust as needed */
  }

  .description-container {
    margin-top: 20px;
  }

  #image-container {
    width: 500px;
    height: 340px;
  }

  .step-image {
    width: 500px;
    height: 340px;
    transform: translate(-50%, -50%);
  }

  .step-image.top-right {
    top: -20%;
    left: 115%;
    width: 202px;
    height: 200px;
  }

  .step-image.bottom-right {
    top: 140%;
    left: 130%;
    width: 202px;
    height: 200px;
  }

  .slides img {
    max-height: 340px;
  }

  .arrow {
    left: -26px;
    height: 41px;
  }
}
