
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

body {
   font-family: Poppins, sans-serif;
    font-weight: 500;
    line-height: 20px;
}

.col-1 {
    width: 8.33%;
}
.col-2 {
    width: 16.66%;
}
.col-3 {
    width: 25%;
    float: left;
}
.col-4 {
    width: 33.33%;
}
.col-5 {
    width: 41.66%;
}
.col-6 {
    width: 50%;
}
.col-7 {
    width: 58.33%;
}
.col-8 {
    width: 66.66%;
}
.col-9 {
    width: 75%;
}
.col-10 {
    width: 83.33%;
}
.col-11 {
    width: 91.66%;
}
.col-12 {
    width: 100%;
}

header {
    height: 115px;
    padding: 25px 40px;
    letter-spacing: 0.5px;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.2);
}

header p {
    float: right;
    font-size: 14px;
    color: #333745;
    font-weight: 500;
}

header p:first-of-type {
    margin: -12px 0 20px;
}

header span {
    display: inline-block;
    margin: 0 40px 0 0;
}

.header-logo {
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
}

.info {
    float: right;
    margin-right: 90px;
}

.info span {
    margin-bottom: 0;
}

.flag {
    position: relative;
    top: 8px;
    opacity: 0.5;
}

.flag.active {
    opacity: 1;
}

.flag:hover {
    opacity: 1;
    transition: all .5s ease;
}

.container {
    height: 965px;
}

.container .col-3 {
    position: relative;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.logo {
    margin-bottom: 35px;
    transform: translate(0,0);
}

.text-hover {
    display: none;
    color: #fff;
    padding: 0 70px;
    text-align: center;
    font-size: 14px;
}

.container .col-3:hover .content {
    transition: all 1s ease;
}

.container .col-3:hover .text-hover {
    display: block;
}

.text-hover p {
    margin-bottom: 20px;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: all .5s ease;
}

.bebenova {
    background: url('../img/bebenova.jpg') no-repeat -150px;
    background-size: cover;
}

.pikolo {
    background: url("../img/pikolo.jpg") no-repeat -25px;
    background-size: cover;
}

.kavica {
    background: url("../img/kavica.jpg") no-repeat -290px;
    background-size: cover;
}

.noncarbon {
    background: linear-gradient(rgba(107, 160, 71, 0.5), rgba(107, 160, 71, 0.5)), url("../img/noncarbon.jpg") no-repeat -1030px;
    background-size: cover;
}

.content {
    margin: 0;
    top: 50%;
    transform: translate(0, -50%);
    position: relative;
    transition: all 1s ease;
}

.bebenova .overlay {
    background: rgba(229, 0, 83, 0.5);
}

.bebenova:hover .overlay {
    background: rgba(229, 0, 83, 0.7);
}

.pikolo .overlay {
    background: rgba(162, 200, 107, 0.5);
}

.pikolo:hover .overlay {
    background: rgba(162, 200, 107, 0.7);
}

.kavica .overlay {
    background: rgba(129, 83, 75, 0.5);
}

.kavica:hover .overlay {
    background: rgba(129, 83, 75, 0.7);
}

.noncarbon .overlay {
    background: rgba(107, 160, 71, 0.5);
}

.noncarbon:hover .overlay {
    background: rgba(107, 160, 71, 0.7);
}

@media screen and (max-width: 1768px) {
    header {
        height: 125px;
    }
    header span {
        margin: 0 20px 0 0;
    }
    header p:first-of-type {
        margin: 0;
    }
    header p, .info {
        float: none;
    }
}

@media screen and (max-width: 1550px) {
    .container {
        height: 850px;
    }
    .text-hover {
        padding: 0 20px;
    }
    .noncarbon {
        background-position: -500px;
    }
}

@media screen and (max-width: 1400px) {
    .flag {
        position: absolute;
        right: 20px;
        top: 45px;
    }
    .flag:first-of-type {
        right: 70px;
    }
    header {
        letter-spacing: normal;
    }
    header span {
        margin: 0 15px 0 0;
    }
}

@media screen and (max-width: 1245px) {
    .col-3 {
        width: 50%;
    }
}

@media screen and (max-width: 1020px) {
    header {
        height: 150px;
    }
}

@media screen and (max-width: 770px) {
    header {
        text-align: center;
        height: 190px;
    }
    .container {
        height: 650px;
    }
    .text-hover {
        font-size: 12px;
        padding: 0 10px;
    }
    .text-hover p {
        margin-bottom: 0;
    }
    .logo {
        margin-bottom: 0;
    }
    .flag {
        right: 20px;
        top: 15px;
    }
    header span, .info {
        margin: 0;
    }
    .header-logo {
        margin: 0 0 20px 0;
        text-align: center;
    }
    .container .col-3:hover .text-hover {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    header {
        height: 230px;
        padding: 25px 10px;
    }
    .container {
        height: 350px;
    }
    .container .col-3 {
        width: 100%;
        background-position: 0;
    }
    .logo {
        margin-bottom: 30px;
    }
    .kavica {
        background-position: -100px;
    }
    .noncarbon {
        background-position: -200px;
    }
}

@media screen and (max-width: 480px) {
    .header-logo {
        margin-right: 100px;
        font-size: 18px;
    }
}
