/* 
    Theme Name: OceniamySuplementy 2026
    Version:    1.0.0
    Created on: 2026-07-13
    Author:     OceniamySuplementy Team    
*/
:root {
  --red: #ed1b26;
  --blue: #76c5f0;
  --green: #97bc25;
  --green-light: #e1e000;
  --dark: #002126;
  --grey-light: #e6e6e6;

  --container: 1340;
  --container-big: 1660;

  --transition: all 0.3s ease-in-out;
}

* {
    font-family: 'Roboto Flex', sans-serif;
}

html {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    position: fixed;
    z-index: 100;
    padding: 20px 3%;
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    .custom-logo {
        max-width: 50%;
        height: auto;        
    }
    & > div {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        background-color: #FFF;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
        &.is-active {
            transform: translateX(0);
        }
        ul {
            list-style: none;
            padding: 24px;
            margin: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            li {
                margin-bottom: 20px;
                a {
                    text-decoration: none;
                    color: var(--dark);
                    font-size: 20px;
                    transition: var(--transition);
                    &:hover {
                        color: var(--red);
                    }
                }
            }
        }
    }    
    svg {
        fill: var(--dark);
        transition: var(--transition);
        cursor: pointer;        
        height: 54px;
        &.close-ico {            
            width: 34px;
            height:34px;
            display: block;
            position: absolute;
            top: 29px;
            right: 6px;
        }
    }
}
main, section {
    padding: 20px 3%;
    background-color: #fff;
    padding-top: 93px;
    min-height: calc(100vh - 187px);
}
footer {
    padding: 20px 3%;
    background-color: #f5f5f5;
    text-align: center;
    font-size: 14px;
}
@media screen and (min-width: 768px) {
    .container {
        max-width: calc(var(--container) * 1px);
        margin: 0 auto;
    }
    header {
        padding: 8px 5%;
        width: 100%;
        .custom-logo {
            max-width: 200px;
        }
        nav {
            position: static;
            transform: translateX(0);
            background-color: transparent;
            ul {
                flex-direction: row;
                li {
                    margin-bottom: 0;
                    margin-right: 20px;
                    a {
                        font-size: 16px;
                    }
                }
            }
        }
        svg.menu-ico, svg.close-ico {
            display: none;
        }
    }
    
}