/*
Theme Name: Refix-theme
Theme URI: #
Author: Refix
Version: 1.0
License:  GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: refix
*/

:root {
    --contener-width: 1240px;
    --font-family-heading: "Rubik";
    --font-family-content: "Rubik";
    --kolor-01: #2e4244;
    --kolor-02: #030e0f;
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-size: 20px;
    line-height: 28px;
    color: #545454;
    font-family: Rubik;
}

a {
    transition: 0.3s;
    text-decoration: none;
    font-family: Rubik;
}

.entry-content {
    margin: 0 auto;
    padding: 10px 0;
}

.site-header {
    margin: 0 auto;
}

.primary-navigation {
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-right .menu-wrapper {
    list-style-type: none;
    display: flex;
}

.header-right .menu-wrapper li a {
    text-decoration: none;
    margin: 0 20px;
    font-size: 20px;
}


#site-navigation.rfx_mobile_header .header-left {
    width:80% !important;
}

#site-navigation.rfx_mobile_header .header-right {
    width:20% !important;
}

/* ------------------------- */

.entry-content.rfx-fullwidth .wp-block-columns {
    max-width: var(--contener-width);
    margin: 0 auto;
    padding: 10px 15px;
}

.entry-content.rfx-fullwidth .wp-block-columns.alignfull,
.entry-content.rfx-fullwidth .wp-block-columns.alignwide {
    max-width: 100%;
}

.entry-content.rfx-fullwidth .wp-block-columns.alignfull .wp-block-column {
    max-width: 100%;
}

.entry-content.rfx-fullwidth .wp-block-columns.alignwide .wp-block-column {
    max-width:  var(--contener-width);
    margin: 0 auto;
}


/* ---------------------------------------- */

@font-face {
    font-family: Rubik;
    src: url(/wp-content/themes/refix/assets/fonts/Rubik-Regular.ttf );
    font-weight: 400;
    /* font-display: swap; */
}

@font-face {
    font-family: Rubik;
    src: url(/wp-content/themes/refix/assets/fonts/Rubik-Bold.ttf );
    font-weight: 700;
    /* font-display: swap; */
}

h1 {
    font-family: "Rubik";
    font-size: 45px;
    font-weight: 700;
    line-height: 50px;
    margin: 0;
    padding: 10px 0;
}

h2 {
    font-family: "Rubik";
    font-size: 35px;
    font-weight: 600;
    line-height: 40px;
    margin: 0;
    padding: 5px 0;
    color: #162A2C;
}

h3 {
    font-family: "Rubik";
    font-size: 30px;
    font-weight: 600;
    line-height: 35px;
    margin: 0;
    padding: 5px 0;
}

h4 {
    font-family: "Rubik";
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    margin: 0;
    padding: 5px 0;
}

h5 {
    font-family: "Rubik";
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
    padding: 5px 0;
}

p {
    font-family: var(--font-family-content);
}

ul, li  {
    font-family: var(--font-family-content);
}

img {
    max-width: 100%;
}

#site-navigation .primary-menu-container a {
    font-family: var(--font-family-heading);
    color: var(--kolor-01);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}

#site-navigation .primary-menu-container a:hover,
#site-navigation .primary-menu-container .current-menu-item a {
    color: var(--kolor-02);
}


/* -------------- menu --------------- */

#site-navigation.rfx_mobile_header {
    display: flex;
    align-items: flex-start;
}

.primary-navigation.rfx_mobile-menu {
    display: flex;
    align-items: flex-start;
}

.rfx_mobile_header .header-right {
    position: relative;
}

.rfx_mobile_header .header-right #menu-opener::before {
    content: url(/wp-content/themes/refix/assets/menu-kreski.svg);
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.rfx_mobile-menu {
	display: none;
	margin-top: 60px;
	background: #fff;
	padding-right: 50px;
}

.rfx_mobile-menu ul {
    flex-direction: column;
    z-index: 50;
    position: relative;
}

.refix_theme_footer_wrapper {
    max-width: 100%;
	width:  var(--contener-width);
	margin: 0 auto;
}



.custom-logo {
  width: 210px;
  height: auto;
}

.rfx_mobile_header .custom-logo {
    margin-top: 10px;
}


/* robocze */
