/*
Theme Name: polex
Theme URI: https://cserhajni.hu/
Author: CSERHAJNI
Author URI: https://cserhajni.hu/
Description: Basic Block Theme
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: polex
*/

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

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

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}

header .wp-block-navigation a:hover, header .wp-block-navigation a:focus {
    color: var(--wp--preset--color--secondary) !important;
    border-bottom: 3px solid #b5c984;
}

:where(.wp-site-blocks) > *, .nomarginstart {
    margin-block-start: 0 !important;
}

:root :where(h2)::after {
    background: transparent !important;
    display: none;
}

.trp-shortcode-switcher {
    border: none!important;
}

.ff-default .ff-el-form-control:focus {
    border-color: #b5c984;
}

.trp-language-item {
    flex-direction: column-reverse;
}

media screen and (max-width: 1200px) {
body .is-layout-flex {
    flex-direction: column;}
}
