/*
Theme Name: twentytwentykontakt
Theme URI: https://wordpress.org/themes/twentytwentykontakt/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.0
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentykontakt
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&display=swap');
body {
    background-color: #f0edd4; /* Przykład: delikatne tło */
}
header {
    position: relative;
    background: linear-gradient(90deg, #fea59e 0%, #871858 100%) !important;
    height: 546px;
}
header figure {
    width: 159px;
    position: relative;
    bottom: -33px;
}
header p {
    margin-top: 65px;
}

p.slogan.wp-block-site-tagline {
    color: #f0f1b7;
    font-size: 1.5em;
    text-align: left;
    padding: 0;
}

h2 {
    color: #871858;
    font-weight: bolder;
    font-size: 1.5em;
	text-align: center;
}
.current-menu-item {
    border-bottom: 2px solid;
}

.footer {
    text-align: justify-all;
}
.footer h1,
.footer p {
    display: inline-block;
}
.footer a,
.footer li.wp-block-navigation-item.current-menu-item.wp-block-navigation-link a.wp-block-navigation-item__content{
    color: #fff!important;
}
a:where(:not(.wp-element-button)) {
	color:#fff!important /* var(--wp--preset--color--contrast);*/
}
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
    /*background-color: blue;*/
    background-color: rgb(135 24 88 / 0.73)!important;
}

.test-animation {
    z-index: 2;
    width: 20px;
    height: 20px;
    position: relative;
}

div.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay){
    background-color: rgb(135 24 88 / 0.73)!important;
}

form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: #871858 !important;
	color: white!important;
}

.to-up.wp-block-paragraph a {
	display: inline-block;
	border: 1px solid #fff;
	padding: 5px 10px;
}

.animation{
    list-style: none;
    font-family: 'Rubik Doodle Shadow', system-ui;
    font-size: 3.5rem;
    /*opacity: 0; !* Na starcie elementy są niewidoczne *!*/
    /*transform: translateY(20px); !* Przesunięcie o 20px w dół *!*/
    /*animation: pojawienieSie 0.6s ease-out forwards; !* Czas trwania: 0.6 sekundy *!*/
}
.animation li{
    position: absolute;
    color: #d3ff00;
}
.animation li:nth-child(1) {
    right: 0;
    opacity: 0;
    animation: cyklEl1 6s ease-out infinite;
}

.animation li:nth-child(2) {
    right: 0;
    rotate: 1deg;
    opacity: 0;
    animation: cyklEl2 6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.animation li:nth-child(3) {
    right: 0;
    rotate: 1deg;
    opacity: 0;
    animation: cyklEl3 6s ease-in-out infinite;
}

.animation li:nth-child(4) {
    right: 0;
    rotate: 1deg;
    opacity: 0;
    color: #333333; /* Twój bazowy kolor tekstu */
    animation: cyklEl4 6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

.animation li:nth-child(5) {
    right: 0;
    rotate: 1deg;
    opacity: 0;
    animation: cyklEl5 6s ease-out infinite;
}

.animation li:nth-child(6) {
    right: 0;
    rotate: 1deg;
    opacity: 0;
    animation: cyklEl6 6s cubic-bezier(0.1, 1, 0.1, 1) infinite;
}

.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
    /*background-color: green !important;*/
    }

/* ==========================================================================
   INDYWIDUALNE OSI TIME-LINE (@KEYFRAMES) ZINTEGROWANE W JEDNĄ PĘTLĘ
   ========================================================================== */

/* --- ELEMENT 1 (A) --- */
@keyframes cyklEl1 {
    0%, 8% { opacity: 0; transform: translateX(0) rotate(0deg); }
    30%, 38% { opacity: 1; transform: translateX(-83vw) rotate(0deg); }
    48% { opacity: 0; transform: translateX(-120vw) rotate(-10deg); }
    /* PRZERWA 2 SEKUNDY POZA EKRANEM (w ukryciu) */
    78% { opacity: 0; transform: translateX(-120vw) rotate(-10deg); }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT (Widoczny ruch z powrotem do bazy) */
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

/* --- ELEMENT 2 (R) --- */
@keyframes cyklEl2 {
    0%, 5% { opacity: 0; transform: translateX(0) rotate(1deg); }
    25%, 38% { opacity: 1; transform: translateX(-66vw) rotate(5deg); }
    48% { opacity: 0; transform: translateX(-120vw) rotate(0deg); }
    /* PRZERWA */
    78% { opacity: 0; transform: translateX(-120vw) rotate(0deg); }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT */
    100% { opacity: 1; transform: translateX(0) rotate(1deg); }
}

/* --- ELEMENT 3 (T1) --- */
@keyframes cyklEl3 {
    0%, 8% { opacity: 0; transform: translateX(0) rotate(1deg); }
    28%, 38% { opacity: 1; transform: translateX(-51vw) rotate(-15deg); }
    48% { opacity: 0; transform: translateX(-120vw) rotate(-25deg); }
    /* PRZERWA */
    78% { opacity: 0; transform: translateX(-120vw) rotate(-25deg); }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT */
    100% { opacity: 1; transform: translateX(0) rotate(1deg); }
}

/* --- ELEMENT 4 (T2) --- */
@keyframes cyklEl4 {
    0%, 8% { opacity: 0; transform: translateX(0) rotate(1deg); color: #333333; }
    18%, 38% { opacity: 1; transform: translateX(-34vw) rotate(5deg); color: #00ffb7; }
    48% { opacity: 0; transform: translateX(-120vw) rotate(15deg); color: #00ffb7; }
    /* PRZERWA */
    78% { opacity: 0; transform: translateX(-120vw) rotate(15deg); color: #00ffb7; }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT (oraz płynna zmiana koloru z powrotem na bazowy) */
    100% { opacity: 1; transform: translateX(0) rotate(1deg); color: #333333; }
}

/* --- ELEMENT 5 (O) --- */
@keyframes cyklEl5 {
    0%, 6% { opacity: 0; transform: translateX(0) rotate(1deg); text-shadow: none; }
    33%, 38% { opacity: 1; transform: translateX(-18vw) rotate(-25deg); text-shadow: 5px 3px 3px white; }
    48% { opacity: 0; transform: translateX(-120vw) rotate(-35deg); text-shadow: none; }
    /* PRZERWA */
    78% { opacity: 0; transform: translateX(-120vw) rotate(-35deg); text-shadow: none; }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT */
    100% { opacity: 1; transform: translateX(0) rotate(1deg); text-shadow: none; }
}


/* --- ELEMENT 6 (N) --- */
@keyframes cyklEl6 {
    0%, 10% { opacity: 0; transform: translateX(0) rotate(1deg); }
    33%, 38% { opacity: 1; transform: translateX(-1.5vw) rotate(3deg); }
    48% { opacity: 0; transform: translateX(-120vw) rotate(10deg); }
    /* PRZERWA */
    78% { opacity: 0; transform: translateX(-120vw) rotate(10deg); }
    /* ↩️ PŁYNNY, STOPNIOWY POWRÓT */
    100% { opacity: 1; transform: translateX(0) rotate(1deg); }
}
