/*
Theme Name: KvizParty
Theme URI: https://frontendtanfolyam.hu/
Author: FrontendTanfolyam
Author URI: https://frontendtanfolyam.hu/pocsik-emese-frontend-fejleszto/
Description: Basic Block Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kviz-party
*/

@media screen and (max-width: 1199px) {
    body {
        font-size: 16px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
}

header.wp-block-template-part {
    position: relative;
    z-index: 100;
}

h2.has-text-align-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.pre-heading {
    text-transform: uppercase;
    font-weight: bold;
}

.featured {
    text-align: justify;
    hyphens: auto;
    text-align-last: justify;
    word-spacing: 2px;
    letter-spacing: 20px;
    color: #f5f5f5;
    font-size: 10vw;
    line-height: 1;
    font-weight: 900;
    color: transparent;
    text-shadow:
        -2px -2px 0 #002147, 2px -2px 0 #002147,
        -2px 2px 0 #002147, 2px 2px 0 #002147,
        -2px 0px 0 #002147, 2px 0px 0 #002147,
        0px -2px 0 #002147, 0px 2px 0 #002147,
        -3px -3px 0 #002147, 3px -3px 0 #002147,
        -3px 3px 0 #002147, 3px 3px 0 #002147,
        -3px 0px 0 #002147, 3px 0px 0 #002147,
        0px -3px 0 #002147, 0px 3px 0 #002147;
}



iframe {
    margin: 0;
    display: block;
}

header .wp-block-search input {
    margin: 0;
    max-width: 180px;
}

.wp-element-button {
    transition: all 0.2s ease-in-out;
}

.wp-element-button:hover {
    transform: translateY(-3px);
}

.wp-block-button:not(.is-style-outline) .wp-element-button:hover {
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.4);
}

.wp-block-button.is-style-outline .wp-element-button:hover {
    box-shadow: 0 3px 0 0 var(--wp--preset--color--primary);
}

.wp-block-post-template figure {
    overflow: hidden;
}

.wp-block-cover__image-background,
.wp-block-post-template figure a img {
    transition: all 0.3s ease-in-out;
    transform-origin: bottom;
}

.wp-block-cover:has(.wp-block-read-more):hover .wp-block-cover__image-background,
.wp-block-post-template figure a:hover img {
    transform: scale(1.05);
}

.wp-block-cover a.wp-block-read-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    text-decoration: none;
    text-indent: -100%;
    overflow: hidden;
}

@media only screen and (max-width: 1024px) {
    #home-slider .wp-block-cover {
        min-height: auto !important;
        padding: 0 !important;
    }

    #home-slider .wp-block-group {
        height: 100%;
        padding: 1.5rem 1rem !important;
        background: none !important;
    }

    #home-slider .has-background-dim {
        opacity: 0.6;
    }

    #home-slider swiper-slide {
        aspect-ratio: 1;
    }

    header {
        --wp--preset--spacing--l: 1rem;
    }

    header .is-layout-flex {
        gap: 1rem;
    }
}

.pll-switcher-select {
    margin: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.language-switcher {
    position: relative;
    cursor: pointer;
}

.language-switcher ul {
    position: absolute;
    left: -1rem;
    margin: 5px 0 0 0;
    padding: 1rem 1rem;
    box-shadow: 0px 0px 2px rgba(85, 85, 100, 0.15), 0 4px 10px rgba(85, 85, 100, 0.15);
    transition-duration: 0.2s !important;
    min-width: max-content !important;
    border: none !important;
    background: #fff;
    z-index: 100;
    color: inherit;
    border-radius: 4px;
}

.language-switcher li {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.language-switcher li a {
    color: inherit;
}

.language-switcher img {
    width: 20px;
    height: auto;
    margin-right: 5px;
}

.language-switcher summary {
    list-style: none;
}

.language-switcher summary:hover {
    color: var(--wp--preset--color--primary);
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .wp-block-post-navigation-link {
        max-width: 30rem;
    }
}


.wp-block-search.wp-block-search__button-only .wp-block-search__button {
    align-items: center;
}

@media screen and (min-width: 1024px) {

    main .narrow,
    main .is-style-narrow {
        max-width: var(--wp--style--global--wide-size)
    }
}

#mc-indicates-required {
    display: none;
}

.mc_form_inside {
    display: flex;
    gap: 0.5rem;
    align-items: self-end;
    flex-wrap: wrap;
}

.mc_form_inside input[type=text],
.mc_form_inside input[type=email] {
    background-color: #353f49;
    border-radius: 0.5rem;
    border: solid 2px rgba(255, 255, 255, 0.2);
    font-size: smaller;
    margin-bottom: 0;
}

.mc_form_inside label {
    display: block;
}

.mc_message_wrapper {
    flex-basis: 100%;
}


main.wp-block-group  {
    margin: 0;
}


.woocommerce-variation-price {
    
    font-weight: bold; font-size: 2rem;
}


.wp-block-accordion-heading button {
    border-radius: 0; 
}

.woocommerce-variation-description {
    font-size: smaller;
}