/*
Theme Name: Beauty Day
Theme URI: https://divid.hu
Update URI: false
Author: Bajai Károly
Author URI: https://divid.hu
Description: Beauty Day FSE sablon
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beautyday
Tags: 
*/

html {
    scroll-behavior: smooth;
}
/* #scrollup {
	position: fixed;
	bottom: 15px;
	right: 15px;
	display: none;
	z-index: 2;
	text-align: center;
}
#scrollup svg {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    font-size: 25px;
    line-height: 40px;
    color: white;
} */

.time  {
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--accent);
    text-underline-offset: 15px;
}
/* .hero {
    overflow: hidden;
} */
.hero .stk-row {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 456px;
}
.hero .stk-row img, .hero .stk-row h2, .hero .stk-row p {
    transition: all 0.5s;
}
.hero-main a {
    text-decoration: none !important;
}
.hero .stk-row:hover .balkep img {
    transform: scale(1.1);
}

.hero .stk-row h2, .hero .stk-row p.hely, .hero .stk-row p.szponzor {
    color: var(--wp--preset--color--accent-3);
}
.hero .stk-row p.alcim, .hero .stk-row p.datum {
    color: var(--wp--preset--color--accent);
}
.hero .stk-row:hover h2, .hero .stk-row:hover p.hely, .hero .stk-row:hover p.szponzor {
    color: var(--wp--preset--color--accent);
}
.hero .stk-row:hover p.alcim, .hero .stk-row:hover p.datum {
    color: var(--wp--preset--color--accent-3);
}

.hero .stk-row::before {
    position: absolute;
    content: url('../../uploads/2025/04/vector-10x.png');
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
}
.hero .stk-row::after {
    position: absolute;
    content: url('../../uploads/2025/04/vector-11x.png');
    bottom: -8px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}
@media screen and (max-width: 767px) {
    .hero .stk-row .balkep img, .hero .stk-row:hover .balkep img {
        transform: scale(0.9);
        margin-bottom: 10px;
        animation: image-blink 2s infinite;
        transform-origin: bottom center;
    }
    @keyframes image-blink {
        0%, 100% {
            transform: scale(0.9);
        }
        50% {
            transform: scale(1.0);
        }
    }    
    .hero .stk-row::before {
        content: url('../../uploads/2025/04/vector-10x.png');
        /*top: 30%;*/
        bottom: 0;
        right: 0;
        width: 100%;
        height: auto;
        z-index: 1;
        transform: rotate(180deg);
        animation: right-blink 2s infinite;
    }
    @keyframes right-blink {
        0%, 100% {
            transform: rotate(180deg) scale(1.0);
        }
        50% {
            transform: rotate(180deg) scale(1.2);
        }
    }
    /* @keyframes right-blink {
        0%, 100% {
            top: 30%;
            right: 0;
        }
        50% {
            top: 20%;
            right: 5px;
        }
    }   */
    /*.hero .stk-row h2, .hero .stk-row p {
        color: var(--wp--preset--color--accent);
        animation: textcolor-blink 2s infinite;
    }
    @keyframes textcolor-blink {
        0%, 100% {
            color: var(--wp--preset--color--accent);
        }
        50% {
            color: var(--wp--preset--color--accent-3);
        }
    }*/
    .hero .stk-row h2, .hero .stk-row p.hely, .hero .stk-row p.szponzor {
        color: var(--wp--preset--color--accent-3);
         animation: textcolor-blink 2s infinite;
    }
    .hero .stk-row p.alcim, .hero .stk-row p.datum {
        color: var(--wp--preset--color--accent);
         animation: textcolor1-blink 2s infinite;
    }
    @keyframes textcolor-blink {
        0%, 100% {
            color: var(--wp--preset--color--accent-3);
        }
        50% {
            color: var(--wp--preset--color--accent);
        }
    }
    @keyframes textcolor1-blink {
        0%, 100% {
            color: var(--wp--preset--color--accent);
        }
        50% {
            color: var(--wp--preset--color--accent-3);
        }
    }
    .hero .stk-row::after {
        bottom: -30px;
        animation: bottom-blink 2s infinite;
    }
    @keyframes bottom-blink {
        0%, 100% {
            bottom: -30px;
        }
        50% {
            bottom: -20px;
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero .stk-row img {
        transform: scale(0.8);
        margin-left: 30px;
    }
    .hero .stk-row:hover img {
        transform: scale(0.9);
    }
    .hero .stk-row {
        min-height: 350px;
    }
}
.gomb {
    text-decoration: none;
}

.feher-gomb {
    animation: valto 3s infinite ease-in-out;
    background: var(--wp--preset--color--base);
}
@keyframes valto {
    0%, 100% {
        background: var(--wp--preset--color--base);
    }
    50% {
        background: var(--wp--preset--color--accent);
    }
}
@media screen and (max-width: 767px) {
    .cta[class^='wp-container-core-group-is-layout-'], .cta[class*=' wp-container-core-group-is-layout-'] {
        flex-wrap: wrap !important;
    }
    .feher-gomb {
        transform: scale(0.8);
        transform-origin: top left;
    }
    .feher-gomb.mobil {
        transform: scale(1);
        transform-origin: top left;
    }
}
/* .feher-gomb .kitolt svg:last-child path {
    fill: var(--wp--preset--color--accent);
    animation: valtojegy 2s infinite;
}
@keyframes valtojegy {
    0%, 100% {
        fill: var(--wp--preset--color--accent);
    }
    50% {
        fill: var(--wp--preset--color--base);
    }
} */
@property --animated-fill {
    syntax: "<color>";
    inherits: false;
    initial-value: var(--wp--preset--color--accent);
}
.feher-gomb .kitolt svg:last-child path {
    fill: var(--animated-fill);
    /* animation: valtojegy 3s infinite steps(120); */
    animation: valtojegy 3s infinite ease-in-out;
    will-change: fill;
}
@keyframes valtojegy {
    0%, 100% {
        --animated-fill: var(--wp--preset--color--accent);
    }
    50% {
        --animated-fill: var(--wp--preset--color--base);
    }
}

.feher-gomb svg.ugb-custom-icon path[id^="Vector"] {
    stroke: inherit;
    animation: valtosvg 3s infinite ease-in-out;
}
@keyframes valtosvg {
    0%, 100% {
        stroke: var(--wp--preset--color--accent);
    }
    50% {
        stroke: var(--wp--preset--color--base);
    }
}

.feher-gomb p {
    animation: valtop 3s infinite ease-in-out;
}
@keyframes valtop {
    0%, 100% {
        color: var(--wp--preset--color--accent);
    }
    50% {
        color: var(--wp--preset--color--base);
    }
}
@media screen and (max-width: 767px) {
    .logo-grid[class^='wp-container-core-group-is-layout-'], .logo-grid[class*=' wp-container-core-group-is-layout-'] {
        grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
        container-type: inline-size;
        gap: var(--wp--preset--spacing--20);
    }
}

header .button-grow {
    width: 186px;
    transition: width 0.75s;
}
header .button-grow:hover {
    width: 212px;
}
@media screen and (max-width: 767px) {
    header .button-grow:hover {
        width: 186px;
    }
}
.feher-gomb.mobil {
    box-shadow: 0px 4px 4px 0px var(--wp--preset--color--accent);

    position: relative;
    overflow: hidden;
}
.feher-gomb.mobil::before {
        /* left: -100%; */
        /* transition: left 2s ease-in-out; */
        animation: shine 3s infinite ease-in-out;
        content: "";
        position: absolute;
        top: -50%;
        left: 50%;
        width: 50px;
        height: 200%;
        /* background: linear-gradient(120deg, transparent, rgba(255,255,255,1) 49%, rgba(255,255,255,1) 51%, transparent); */
        background: rgba(255,255,255,0.3);
        transform: rotate(30deg);
}
@keyframes shine {
    0% {
        left: -100%;
        transition-property: left;
    }
    50% {
        left: calc(100% + 50px);
        transition-property: left;
    }
    100% {
        left: -100%;
        transition-property: left;
    }
}

.gomb-desktop {
    position: fixed !important;
    z-index: 5 !important;
    top: 80%;
    right: 60px;
    filter: drop-shadow(0px 2px 18.4px rgba(0, 0, 0, 0.62));
    transition: all 0.3s;
}
.wp-block .gomb-desktop {
    right: 315px;
}
.gomb-desktop svg.ugb-custom-icon path[id^="Vector"] {
    stroke: var(--wp--preset--color--base);
}
.gomb-desktop:hover {
    filter: drop-shadow(0px 2px 18.4px rgba(171, 29, 121, 0.62));
    right: 60px;
}
.wp-block .gomb-desktop:hover {
    right: 315px;
}
.gomb-desktop .feher-gomb-desktop {
    width: 265px;
    overflow: hidden;
    transition: all 0.3s;
}
.wp-block .gomb-desktop .feher-gomb-desktop {
    width: 315px;
}
.gomb-desktop:hover .feher-gomb-desktop {
    width: 325px;
    background-color: var(--wp--preset--color--accent) !important;
}
.hover-zoom img {
    transition: all 0.3s;
}
.hover-zoom img:hover {
    transform: scale(1.1);
}
.wp-block-tiptip-hyperlink-group-block {
    text-decoration: none;
}
.relativ {
    position: relative;
}
.galeria-cim {
    position: absolute;
    bottom: 0%;
    left: 0%;
    color: var(--wp--preset--color--base);
    width: 100%;
}
/*.galeria .is-layout-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--wp--preset--spacing--20);
}
.galeria .is-layout-grid li:first-child { 
    grid-area: 1 / 1 / 3 / 4;
}
.galeria .is-layout-grid li:nth-child(2) { 
    grid-area: 1 / 4 / 2 / 6;
}
.galeria .is-layout-grid li:nth-child(3) {
    grid-area: 1 / 6 / 2 / 8;
}
.galeria .is-layout-grid li:nth-child(4) {
    grid-area: 2 / 4 / 3 / 6;
}
.galeria .is-layout-grid li:last-child {
    grid-area: 2 / 6 / 3 / 8;
}
.galeria .is-layout-grid li:first-child figure {
    aspect-ratio: 490/502 !important;
}*/
/*@media screen and (max-width: 767px) {
    .galeria .is-layout-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .galeria .is-layout-grid li:first-child,
    .galeria .is-layout-grid li:nth-child(2),
    .galeria .is-layout-grid li:nth-child(3),
    .galeria .is-layout-grid li:nth-child(4),
    .galeria .is-layout-grid li:last-child {
        grid-area: auto;
    }
    .galeria .is-layout-grid li:first-child figure {
        aspect-ratio: 4/3 !important;
    }
}*/
.elrejt .forminator-label {
    display: none !important;
}
.forminator-consent__label p {
    margin-top: 0;
}
.forminator-consent__label p a {
    color: var(--wp--preset--color--base);
}
iframe {
    border-radius: 10px;
}

.mobilkeret {
    position: relative;
    width: 258px;
    height: 531px;
}
.mobilkeret::before {
    content: url('../../uploads/2025/03/video-border.png');
    position: absolute;
    top: 0;
    left: 0;
    width: 258px;
    height: 531px;
    pointer-events: none;
}
.mobilkeret:hover {
    cursor: pointer;
}
.g img, .g video {
    width: 100%;
    max-width: 100%;
}
footer {
    position: relative;
    z-index: 0;
}
footer a {
    text-decoration: none;
}