/* 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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}

/* page */

body {
    position: relative;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(rgba(227, 238, 255, 0.57), rgba(227, 238, 255, 0.57)), linear-gradient(rgba(179, 141, 99, 0.59), rgba(179, 141, 99, 0.59)), url('/assets/akindle.jpg') no-repeat top / cover fixed;
    overflow-x: hidden;
}

.content-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -1;
    box-sizing: border-box;
    border-left: 40vw solid #123969;
    border-right: 40vw solid #d29857;
}

.header-background,
header{
    height: 5em;
}

header {
    display: flex;
    justify-content: flex-start;
}

.logo {
    display: block;
    font-family: Merriweather;
    font-weight: 700;
    font-size: 3em;
    width: 10em;
    color: #FFFFFF;
    background-color: #123969;
    text-align: right;
    padding-right: 1em;
    line-height: 1.5em;
    text-decoration: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 1.5rem) 100%, 0% 100%);
}

.top-menu {
    display: flex;
    justify-content: space-between;
    background-color: #d29857;
    clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0% 100%);
    padding-left: 1.5rem;
    margin-left: -1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}
a, a:hover {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
}
.top-menu a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 1.25em;
    letter-spacing: 0.01em;
    line-height: 4em;
    padding: 0 2em;
    margin-left: -1.5rem;
}
.top-menu a:hover {
    text-decoration: none;
    clip-path: polygon(1.5rem 0, 100% 0, calc(100% - 1.5rem) 100%, 0% 100%);
    background: linear-gradient(0deg, #cd9557, #e8bb88);
}

body {
        box-sizing: border-box;
}

main.content-container {
    box-sizing: border-box;
    padding: 0 4em 4em 4em;
    color: #363a6f;
}
main section {
    min-height: 100vh;
    box-sizing: border-box;
}
main section.third {
    min-height: 33vh;
}
main section h1 {
    margin: 1em 0;
    padding-top: 1em;
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}

.cennik {
    width: 100%;
    margin: 0 auto;
    max-width: 50em;
}
.cennik-attn {
    font-size: 1.2em;
    text-align: center;
}
.cennik-cont {
    display: flex;
    justify-content: flex-start;
    margin-top: 2em;
}
.cennik-cont > div {
    width: 100%;
}
.cennik-col {
    border: 1px solid grey;
    box-sizing: border-box;
}
.cennik-col-head,
.cennik-col-price {
    font-weight: bold;
    color: white;
    text-align: center;
    background-color: #314a69;
    font-size: 1.2em;
    padding: 0.5em;
    height: 1.2em;
    line-height: 1em;
}
.cennik-col-price {
    font-size: 2em;
    border: 1px solid grey;
    height: 1em;
    line-height: 1em;
    border-right: none;
    border-left: none;
}
.cennik-col-desc {
    padding: 1em;
}
.cennik table {
    width: 100%;
}
.cennik-col-desc td {
    padding: 0.1em 0;
}
.cennik-cont.wide {
    display: block;
}
.cennik-col-desc ul {
    list-style: square;
}
.cennik-col-desc li {
    margin-left: 1em;
    min-height: 1.1em;
}

.section-contents {
    font-size: 1.15em;
    line-height: 1.15em;
}
.kontakt {
    width: 100%;
    margin: 0 auto;
}
.kontakt-info {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    font-size: 1.5em;
    line-height: 1.5em;
}
.kontakt-emph {
    width: 18em;
    margin: 0 auto;
    font-size: 1.4em;
    line-height: 1.4em;
}
.kontakt-addr {
    width: 18em;
    margin: 0.5em auto;
    font-size: 1.4em;
    line-height: 1.4em;
}
.copyright {
    margin: 4em auto;
    padding-top: 4em;
    width: 100%;
    text-align: center;
}

.portfolio {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.portfolio-book {
    width: 10em;
    height: 18em;
}
.portfolio-book img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media (max-width: 1200px) {
    .header-background, header {
        font-size: 0.8em;
    }
}
@media (max-width: 900px) {
    .header-background, header {
        font-size: 0.7em;
    }
    main.content-container {
        padding: 1em;
    }
}
@media (max-width: 600px) {
    .header-background, header {
        font-size: 0.6em;
    }
    .bphide {
       display: none !important;
    }
    .cennik-cont {
        display: block;
    }
}
@media (max-width: 300px) {
    
}