/**
 * Theme Name: YOOtheme Gemont
 * Template: yootheme
 * Theme URI: https://yootheme.com
 * Description: YOOtheme Child Theme, A powerful, flexible and elegant website builder that allows you to create complex pages within minutes and customize every aspect of the theme.
 * Version: 4.4.16
 * Author: YOOtheme + Modifikation Karsten Roman Fröhlich
 * Author URI: https://yootheme.com
 * Update URI: https://api.yootheme.com/v1/package/yootheme_wp?v=4.4.16
 * Requires PHP: 7.4
 * Requires at least: 6.1
 */

/* Grundzustand des Elements */
.sticky-element {
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Zustand, wenn das Element fixiert ist (wird per JS hinzugefügt) */
.sticky-element.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
/* Aktiviert die Slide-Top-Animation */
    animation: slideTop 0.3s ease-out both;
}

/* Die "@keyframes" für den uk-animation-slide-top Effekt */
@keyframes slideTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
