/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    --primarni: #303036;
    --primarniTmava: #000;
    --sekundarni: #0471A6;
    --sekundarniSvetla: #30BCED;
    --bila: #FFFFFF;
    --p: #445963;
    --pd: #1b3039;
    --pl: #708690;
    --s: #1565c0;
    --sl: #5e92f3;
    --sd: #003c8f;
    font-family: sans-serif;
}

body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primarniTmava);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--pd);
}

h1{
    font-size: 2rem;
}

a {
    color: var(--s);
    text-decoration: none;
}

a:hover {
    color: var(--sd);
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 3rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Content Styling */
.header .padding {
    padding: 1rem 0;
}

.header {
    background-color: var(--primarniTmava);
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
/ / text-transform: uppercase;
}

.footer {
    background-color: #eee;
}

i.logo {
    background-image: url(../images/iguru.svg);
    display: inline-block;
    width: 46px;
    height: 46px;
    background-size: 46px;
    vertical-align: bottom;
}

/* Menu Settings */
.main-nav ul {
    text-align: right;
    letter-spacing: -1em;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    position: relative;
    display: block;
    line-height: 45px;
    color: #fff;
    padding: 0 20px;
    white-space: nowrap;
}

.main-nav > ul > li > a {
    border-radius: 2px;
}

/*Active dropdown nav item */
.main-nav ul li:hover > a {
    background-color: var(--primarniTmava);
}

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    background-color: var(--primarni);
}

/* Dropdown CSS */
.main-nav ul li {
    position: relative;
}

.main-nav ul li ul {
    position: absolute;
    background-color: var(--primarni);
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}

.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}

.main-nav .has-children > a:after {
/ / font-family: FontAwesome;
    content: 'v';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

input#burger {
    display: none;
}

.pure-u-1-2{
    text-align: center;
}

/* rotace */

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 600px;
  /*  border: 1px solid #f1f1f1;*/
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
/*
.flip-card-front {
    background-color: #bbb;
    color: black;
}
*/

/* Style the back side */
.flip-card-back {
    background-color: rgb(255,135,0);
    color: white;
    transform: rotateY(180deg);
}

.showHiden{
    display: inline;
}

@media only screen and (max-width: 425px) {

    .wrapper{
        margin: 0 1rem;
        padding: 0;
    }
    a.logo.left {
        margin-right: 2rem;
    }

    .header input + label {
        position: fixed;
        top: 27px;
        right: 40px;
        height: 20px;
        width: 15px;
        z-index: 5;
    }

    .header input + label span {
        position: absolute;
        width: 100%;
        height: 2px;
        top: 50%;
        margin-top: -1px;
        left: 0;
        display: block;
        background-color: white;
        transition: .5s;
    }

    .header input + label span:first-child {
        top: 4px;
    }

    .header input + label span:last-child {
        top: 16px;
    }

    .header label:hover {
        cursor: pointer;
    }

    .header input:checked + label span {
        opacity: 0;
        top: 50%;
    }

    .header input:checked + label span:first-child {
        opacity: 1;
        transform: rotate(405deg);
    }

    .header input:checked + label span:last-child {
        opacity: 1;
        transform: rotate(-405deg);
    }

    .header input ~ nav {
        /*    background: white;
            position: fixed;
        */
        top: 0;
        left: 0;
        width: 100%;
        /*height: 100px;*/
        z-index: 3;
        transition: .5s;
        transition-delay: .5s;
        overflow: hidden;
    }

    .header input:checked ~ nav {
        height: 100%;
        background-color: white;
    }

    .header input ~ nav > ul {
        text-align: center;
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        background-color: white;
        opacity: 0;
        transition: .5s;
        transition-delay: 0s;
        height: 100%;
        display: none;
        z-index: 1;
    }

    .header input:checked ~ nav > ul {
        opacity: 1;
        transition: .5s;
        transition-delay: 0s;
        display: block;
    }

    .header input ~ nav > ul > li {
        display: block;

    }

    .header input ~ nav > ul > li > a {
        text-decoration: none;
        text-transform: uppercase;
        color: black;
        font-weight: 700;
        font-family: sans-serif;
        padding: 20px;
    }

    .main-nav ul li:hover > a {
        background-color: var(--sekundarni);
    }
    .pure-u-1-2{
        text-align: center;
    }

    .flip-card {
        background-color: transparent;
        width: 100%;
        height: 200px;
        /*  border: 1px solid #f1f1f1;*/
        perspective: 1000px; /* Remove this if you don't want the 3D effect */
    }

    .flip-card-front, .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
    }

    .showHiden{
        display: none;
    }
    h1{
        margin: 0;
        font-size: 1.8rem;
    }

    .pure-g{
        line-height: 1.3rem;
    }
}