/*
Theme Name: Manaco
Author: Josef Petlach
Author URI: https://www.josefpetlach.cz
Version: 1.1
*/

*, ::after, ::before {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth
}

/* poppins-regular - latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/poppins-v20-latin-ext-regular.woff2') format('woff2'),
        url('/fonts/poppins-v20-latin-ext-regular.woff') format('woff');
}
/* poppins-700 - latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/poppins-v20-latin-ext-700.woff2') format('woff2'),
        url('/fonts/poppins-v20-latin-ext-700.woff') format('woff');
}

body {
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: .9rem;
    line-height: 1.6;
    color: #000;
    background-color: #ece4da;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

.img-fluid, img {
    max-width: 100%;
    height: auto
}

img, svg {
    vertical-align: middle
}
.mark, mark {
    background-color: transparent;
}
b, strong {
    font-weight: 700;
}
.product-description strong {
    color: #5f0d2b;
}
a {
    color: #000;
    text-decoration: underline
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none
}


.navbar-brand img {
    max-width: none;
}

/* BUTTON */
@media (prefers-reduced-motion:reduce) {
    .btn {
        transition: none
    }
}
.btn, .is-style-outline>.wp-block-button__link, .wp-block-button__link, button#wpforms-submit-9885 {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    padding: 1.1em 3em;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .125em;
    line-height: normal;
    border-radius: 50px;
    transition: all .15s ease-in-out
}

/* Primary = Outline Hover */
.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.wp-block-button__link,
.wp-block-button__link.is-style-outline:hover,
.wp-block-button__link.is-style-outline:focus,
.is-style-outline>.wp-block-button__link:hover,
.is-style-outline>.wp-block-button__link:focus,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link.is-style-outline:not(.has-text-color):hover,
button#wpforms-submit-9885 {
    color: #fff;
    background-color: #3C3B41;
    border: none;
    outline: 0;
    box-shadow: none;
}

/* Primary Hover */
.btn-primary:hover, .btn-primary:focus,
.wp-block-button__link:active,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
button#wpforms-submit-9885:hover {
    color: #fff;
    background-color: #242425;
    text-decoration: none;
}

/* IKONY */
.btn-arrow {
    width: 38px;
    height: 12px;
    color: #000;
    display: inline-block;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    margin-left: 15px;
}

/* Navigation Menu - mobile first */
header .navbar {
    height: 80px;
    padding: 0;
}
header .navbar-nav .nav-link {
    letter-spacing: 2px;
    font-weight: normal;
    font-style: normal;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;

}

.offcanvas {
    background-color: #191D2B;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1rem;
}

@media (min-width: 767.89px) {
    .navbar-toggler span.popisek {
        display: inline-block;
        font-size: .8rem;
        margin-left: 5px;
    }
}
.navbar-toggler:focus {
    box-shadow: none;
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg fill='%23fff' id='burger' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' width='30' height='21' viewBox='0 0 30 21'%3E%3Crect width='30' height='1'/%3E%3Crect y='20' width='30' height='1'/%3E%3Crect y='10' width='22' height='1'/%3E%3C/svg%3E");
}
.navbar-toggler-icon {
    width: 30px;
    height: 21px;
}
.logo {
    position: absolute;
    position: fixed;
    top: -1px;
    left: 50%;
    left: calc(50% - 99px);
    z-index: 999;
    display: block;
    width: 198px;
    height: 54px;
    background-size: 100% 100%;
    background-position: top left;
    background-repeat: no-repeat;
    background-image: url("/img/manaco-logo.svg");
}
/* HERO */
.homepage-hero {
    height: 650px;
    height: 70vh;
    background-image: url("/img/manaco-vas-dodavatel-potravin.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 6rem;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    justify-content: flex-end;
}
.homepage-hero>div.container {
    position: relative;
    z-index: 10;
}
.overlay {
    position: absolute;
    background-color: #000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: .4;
}

/* 2) ÚVOD IKONY */
.uvod-ikony {
    background-color: #ece4da;
    /* #556353; */
    color: #584329;
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
}
.uvod-ikony::before {
    content: "";
    background: url("/img/manacopattern.png") repeat-x left bottom;
    width: 100%;
    height: 30px;
    top: -29px;
    left: 0;
    position: absolute;
}
.uvod-ikony .col-12.col-sm-6.col-lg-2 {
    text-align: center;
    margin-bottom: 3rem;
}

.uvod-ikony p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}
.uvod-ikony .uvod-ikona p, .uvod-kruh-text p {
    font-size: .9rem;
    font-weight: 400;
}
.uvod-ikony .--iko {
    border: 1px solid #6A718D;
    width: 117px;
    height: 117px;
    border-radius: 150px;
    text-align: center;
    display: flex;
    align-items: center;
    margin: 0 auto 1.4rem;
    justify-content: center;
    flex-direction: column;
}

/* KRUHY */
.kruhy {
    margin-top: 5rem;
}
.uvod-kruh-text {
    text-align: center;
    padding: 0 10%;
    margin-bottom: 3rem;
}
.uvod-kruh {
    width: 210px;
    height: 210px;
    border-radius: 150px;
    margin: 0 auto;
    background: #ece4da;
    margin-bottom: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.uvod-kruh::after {
    content: "";
    width: 220px;
    height: 220px;
    border: 1px solid #d7c3ab;
    display: block;
    border-radius: 150px;
    position: absolute;
    top: -5px;
    left: -5px;
}
.kruh-1.visible {
    background-image: url("/img/manaco-dodavatel-bio-slepice-vejce.webp");
}
.kruh-2.visible {
    background-image: url("/img/manaco-dodavatel-potravin.jpg");
}
.kruh-3.visible {
    background-image: url("/img/manaco-dodavatel-potravin-bio-kvality.webp");
}
.kruh-4.visible {
    background-image: url("/img/manaco-doprava-potravin.jpg");
}

/* PANELY */
.panely {
    margin-top: 5rem;
    margin-bottom: 0;
}
@media (max-width: 767.89px) {
    .panely {
        margin-top: 0;
    }

}

.--panel-texty {
    /*     background-color: #fff; */
    color: #52442b;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.--panel-texty h2 {
    color: inherit;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.7rem;
}

.--panel-img-wrapper {
    position: relative;
    min-height: 480px;
}
.--panel-img-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}

/* FOOTER */
footer {
    background-color: #e4d9cb;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
}
footer p {
    font-size: .8rem;
}
footer a {
    text-decoration: underline;
}
footer a:hover, footer a:focus {
    text-decoration: none;
}

/* 404 */
.page404 {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* TYPO */
p.mini {
    font-weight: 400;
    font-size: .8rem;
    letter-spacing: 1.5px;
}
.gold {
    color: #efd8a4;
    color: #9d4f06;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2
}

h1 {
    font-size: 50px;
    font-size: calc(1.6rem + 1.5vw);
    line-height: calc(2.2rem + 1vw);
}
h2 {
    font-size: calc(1.6rem + .9vw);
    line-height: calc(1.2em + .9vw);
}
h3 {
    font-size: calc(1.3rem + .6vw)
}
h4, .uvod-ikony h2 {
    font-size: calc(1.275rem + .3vw)
}
h5 {
    font-size: 1.25rem
}
h6 {
    font-size: 1rem
}

@media (min-width:1200px) {
    h1 {
        font-size: 59px;
        line-height: 71px;
    }
    h2 {
        font-size: 2.6rem;
        line-height: 1.4em;
    }
    h3 {
        font-size: 1.75rem
    }
    h4, .uvod-ikony h2 {
        font-size: 1.5rem
    }
}



p {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5rem;
}

p.perex {
    font-size: 15px;
    line-height: 32px;
    font-weight: normal;
    font-weight: 400;
    color: #805147;
}

/* CTA kontakt */
.cta {
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #ece4da;
    color: #5a4327;
}
.cta a {
    color: inherit;
    line-height: normal;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.7rem;
}

a.language-switch {
    position: absolute;
    top: 30%;
    right: 0;
    background-color: #fff;
    padding: 0.8rem 1rem;
    margin: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .5px;
}