/*
 Theme Name:   Linhart Child Theme
 Template:     hello-elementor
 Version:      1.0
 Description: Child Theme für Hello Elementor
*/

/* Cursor */
/* Im Elementor Editor niemals anzeigen */
body.elementor-editor-active .custom-cursor {
  display: none !important;
}

/* Custom Cursor Kreis */
.custom-cursor {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
  background-color: var(--e-global-color-primary);
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: background-color 0.2s ease;
}

/* Tablet & Mobile: Kreis komplett aus */
@media (max-width: 1200px) {
  .custom-cursor {
    display: none !important;
  }
}
/* Paragraphs */
.custom-p {
    display: inline-block;
    width: 100%;
}

.custom-p p {
    display: inline-block;
    transform: scaleY(1.3);
    transform-origin: top;
}
.custom-p p .line {
  display: block;
  overflow: hidden;
}
.custom-p p .word {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.custom-p p.reveal .word {
  transform: translateY(0);
}


/* Headings 
h1::before,
h2::before {
  content: "( ";
}

h1::after,
h2::after {
  content: " )";
}
  */

  
/* Button */
.lin-btn .elementor-button{
  background: url("https://linhart.mountain.dev/wp-content/uploads/2025/09/LIN0006_bubble_black.svg") no-repeat center center !important;
  background-size: contain !important;  
  width: 220px;
  aspect-ratio: 22 / 17; 
  border: none; 
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center; 
  padding: 0;
}

.elementor-button .elementor-button-text,
#sb_instagram .sbi_load_btn .sbi_btn_text{
    transform: scaleY(1.2);
    display: inline-block;
}

.elementor-button .elementor-button-text::after,
#sb_instagram .sbi_load_btn .sbi_btn_text::after {
  content: "";
  display: block;
  margin-top: -4px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Insta Feed   */
.elementor-button:hover .elementor-button-text::after,
#sb_instagram .sbi_load_btn:hover .sbi_btn_text::after {
  transform: scaleX(0);
  transform-origin: right;
}

#sb_instagram #sbi_load{
    width: auto !important;
}

#sb_instagram #sbi_images .sbi_item {
    border-radius: 15px;
}

#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a{
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif !important;
    text-decoration: underline;
    font-size: var( --e-global-typography-secondary-font-size ) !important;
    font-weight: var( --e-global-typography-secondary-font-weight );
    text-transform: var( --e-global-typography-secondary-text-transform ) !important;
    font-style: var( --e-global-typography-secondary-font-style );
    text-decoration: var( --e-global-typography-secondary-text-decoration ) !important;
    line-height: var( --e-global-typography-secondary-line-height )  !important;
    color: var( --e-global-color-primary ) !important;
    background-color: transparent !important;
    padding-top: 120px !important;
}

#sb_instagram .sbi_follow_btn a:focus, #sb_instagram .sbi_follow_btn a:hover{
  background-color: none;
  box-shadow: none;
}


/* Paragraph Animation */
.custom-p p span{
    will-change: transform;
}

.custom-p {
    min-height: 1em; 
}
/* 
.elementor-item {
  color: black;
  transition: color 0.3s ease;
}

.elementor-item.light-links {
  color: white !important;
  fill: white !important;
}

#hero-title p {
  display: block;
  overflow: hidden;
  opacity: 0;
}

#hero-title p span {
  display: inline-block;
  transform: translateY(120%);
}
 */