/* 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;
}

/* Yes/No
   v1.0
*/
img {
    max-width: 100%;
}
body {
    color: #000;
    line-height: 1.6666;
    font-family: sans-serif;    
}
a {
    color: #000;
}
a:hover {
    text-decoration: underline;
}
h1 {
    font-size: 2em;
    margin-bottom: 2em;
    line-height: 1.2;
}
h2 {
    font-size: 2em;
    line-height: 1;
    text-align: center;
}
h3 {
    font-size: 1.25em;
    margin-top: 1em;
    line-height: 1.2;
    text-align: center;
}

header, #partners, #witnesses {
    font-family: 'Source Code Pro', monospace;
}
#partners {
    font-size: 0.75em;
}
header, footer {
    padding: 5vw;
}
header .content, footer .content {
    text-align: center;
}
#witnesses, footer {
    background: #000;
    color: #fff;
    font-size: 0.75em;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer .content p {
    margin-bottom: 5em;
}
.slide {
    min-height: 100vh;
    font-family: 'Source Code Pro', monospace;
}
.content {
    padding: 3vw;
}
.content p {
    margin-bottom: .5em;
}
.yes {
    background: #000 url('img/yes.png') no-repeat center;
    color: #fff;
    background-size: contain;
}
.no {
    background: #fff url('img/no.png') no-repeat center;
    color: #000;
    background-size: contain;
}
#witnesses a {
    color: #fff;
}
#witnesses .content div:not(:target) {
    display: none;
}
#witnesses .content div:target {
    display: block;
}
#witnesses ul {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    text-align: center;
}
#witnesses li {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 18%;
    margin: 2%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#witnesses li span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0);
}
#witnesses li a {
    position: relative;
    display: block;
    padding-bottom: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#witnesses li a:hover span {
   color: rgba(255,255,255,255);
}
#witness_01 a {
    background-image: url('img/anonym.gif');
}
#witness_01 a:hover {
    background-image: url('gif/anonym.gif');
}
#witness_02 a {
    background-image: url('img/werner.gif');
}
#witness_02 a:hover {
    background-image: url('gif/werner.gif');
}
#witness_03 a {
    background-image: url('img/goshev.gif');
}
#witness_03 a:hover {
    background-image: url('gif/goshev.gif');
}
#witness_04 a {
    background-image: url('img/petrovich.gif');
}
#witness_04 a:hover {
    background-image: url('gif/petrovich.gif');
}
#witness_05 a {
    background-image: url('img/hatapka.gif');
}
#witness_05 a:hover {
    background-image: url('gif/hatapka.gif');
}
#witness_06 a {
    background-image: url('img/stern.gif');
}
#witness_06 a:hover {
    background-image: url('gif/stern.gif');
}
#witness_07 a {
    background-image: url('img/none.gif');
}
#witness_07 a:hover {
    background-image: url('gif/none.gif');
}
#witness_08 a {
    background-image: url('img/frasyniuk.gif');
}
#witness_08 a:hover {
    background-image: url('gif/frasyniuk.gif');
}
#witness_09 a {
    background-image: url('img/vegvari.gif');
}
#witness_09 a:hover {
    background-image: url('gif/vegvari.gif');
}
#witness_10 a {
    background-image: url('img/hartmann.gif');
}
#witness_10 a:hover {
    background-image: url('gif/hartmann.gif');
}
#witness_11 a {
    background-image: url('img/skalnik.gif');
}
#witness_11 a:hover {
    background-image: url('gif/skalnik.gif');
}
#witness_12 a {
    background-image: url('img/rejchrt.gif');
}
#witness_12 a:hover {
    background-image: url('gif/rejchrt.gif');
}

@media screen and (min-width: 640px) {
    .slide {
        background-size: auto;
        background-attachment: fixed;
    }
    .content {
        max-width: 45em;
        margin: auto;
    }
    .yes .content {
        margin-left: 50%;
    }
    .no .content {
        margin-right: 50%;
    }
    #witnesses li {
        margin: 0;
        padding: 0;
        display: inline-block;
        width: 12%;
        margin: 2%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 74em;
    margin: auto;
    text-align: center;
}
footer li {
    margin: 1em;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}