/*
        Theme Name: Augsbuch
        Description: Theme for Augsbuch
        Author: SAY Media Consulting
        Author URI: https://www.say-consulting.de
        Template: twentytwentyfive
        Version: 1.0
        Tags:
*/

.marquee {
    display: flex ;
    overflow: hidden ;
    width: 100% ;
}
.marquee p {
    animation-duration: 20s ;
    animation-iteration-count: infinite ;
    animation-name: marquee-content ;
    animation-timing-function: linear ;
    white-space: nowrap ;
}
.count-up{
    display: none;
}
header{
    position: fixed !important;
    width: 100%;
    transition: all .2s ease;
}
header:not(.scrolled){
    border-bottom-color: #1f1f1f00 !important;
    background: #f8f7f500 !important;
}
.section_one .wp-block-cover__image-background{
    width: 500px !important;
    left:  60vw !important;
    top: -40% !important;
    background-repeat: no-repeat !important;
    object-fit: contain !important;
}

.schema-faq-section {
    border-top:1px solid #0002;
    padding: var(--wp--preset--spacing--30) 0;
}
.schema-faq-question {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding-right: 40px;
    box-sizing: border-box;
    font-size: var(--wp--preset--font-size--large);
    font-family: var(--wp--preset--font-family--cormorant-garamond-light);
    font-weight: 400;
}
.schema-faq-question:hover{
    transform: scale(1.02);
}
.schema-faq-question:after{
    content: '→';
    position: absolute;
    right: 0;
    top: 0;
    transition: all .2s ease;
}
.schema-faq-section.active .schema-faq-question:after{
    transform: rotate(45deg);
}
.schema-faq-answer {
    display: none;
}
.is-style-text-annotation--10{
    font-size: 5rem !important;
    line-height: 0.7;
}

.taxonomy-category a{
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}
.image-on-top{
    position: relative;
    z-index: 2;
}
.wp-block-site-title{
    text-shadow: 1px 1px #999;
}
header nav .current-menu-item{
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--custom-augsbuch-gruen);
    text-underline-offset: 5px;
}
header .wp-block-buttons{
    margin-top: 0;
    margin-bottom: 0;
}
.wp-block-navigation__responsive-container-close{
    top: 2.5em !important;
    right: 1.1em !important;
}

@media(prefers-reduced-motion: no-preference){
    .visually-hidden{
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }
    .count-up{
        display: inline-block;
    }
    .image-scale-hover figure:hover,
    .image-scale-hover .wp-block-cover:hover img{
        scale: 1.05;
    }
}

@keyframes marquee-content {
    from {
        transform: translateX( 0% );
    }
    to {
        transform: translateX( -100% );
    }
}
@media(max-width: 781px){
    .mobile-center{
        text-align: center !important;
    }
    .video-start, .video-start video{
        aspect-ratio: 4 / 3;
    }
    .video-start video{
        height: 100% !important;
        object-fit: cover;
    }
    .austellende-loop-grp{
        max-width: 400px;
    }
    .image-on-top{
        padding-bottom: 2em;
    }
}
@media(max-width: 999px){
    .footer-box-l{
        flex-direction: column;
        align-items: center !important;
        width: 100%;
    }
    .footer-box-r{
        margin: 0 auto !important;
        justify-items: center !important;
        padding-top: 2em;
    }
    .footer-box-r div{
        justify-content: center !important;
    }
    .footer-box-r div ul{
        align-items: center !important;
    }
}
@media(min-width: 1200px){
    .translate-bg .has-background-dim{
        transform: translateX(30vw);
    }
}
@media(max-width: 1599px){
    .wp-block-navigation__responsive-container-open{
        display: block !important;
    }
    .wp-block-navigation__responsive-container:not(.has-modal-open){
        display: none !important;
    }
    .wp-block-navigation-submenu__toggle:not([aria-expanded="true"]) + .wp-block-navigation__submenu-container{
        display: none !important;
    }
}