/* 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;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1.5;
}
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;
}

a {
    color: #000;
    text-decoration: none;
}

/* ––– End reset */

html {
    background-color: #fff;
}

body {
    margin: 3vh; /* TODO: sollte besser in px sein */
    background-color: #f8f7f3;
}

.frame {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px;
}

@media screen and (max-width: 500px) {
    body {
        margin-left: 5vw; /* TODO */
        margin-right: 5vw;
    }
    .frame {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.article-preview,
.portfolio-preview {
    margin-bottom: 50px;
}

.article-preview-title {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
    margin-bottom: 12px;
}

.article-preview-title-bg {
    padding: 10px 10px;
    display: inline-block;
    background-color: #fff;
}

.article-preview-body {
    font-family: Calendas, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    padding-left: 10px;
    margin-bottom: 20px;
}

.article-preview-date,
.portfolio-preview-date {
    font-style: normal;
    color: #727272;
    font-size: 0.75em;
}

.portfolio-preview-img {
    max-width: 100%;
    border: 10px solid #fff;
    background-color: #fff;
    margin-bottom: 30px;
}

.portfolio-preview-title,
.portfolio-preview-body {
    padding-left: 10px;
    padding-right: 10px;
}

.portfolio-preview-title {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.portfolio-preview-body {
    line-height: 1.5;
}

.menu {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.nav-link rect,
.nav-link text {
    transition: 0.3s;
}

.nav-link:hover rect,
.nav-link:hover text {
    transform: rotate(-4deg);
}

.nav-link:hover text {
    text-shadow:
        #fff 0px 0px 1px,
        #fff 0px 0px 2px,
        #fff 0px 0px 4px;
}

.menu-active rect {
    fill: rgba(255, 255, 255, 0.7);
    stroke: #000;
    stroke-width: 2px;
}

.menu-active text {
    fill: #000;
}

footer {
    background-color: #fff;
    padding: 40px 20px;
    max-width: 940px;
    margin: 0 auto;

    font-family: Basier, "Helvetica Neue", sans-serif;
}

footer h2 {
    font-weight: 600;
}

.email {
    font-weight: 500;
}
.email b {
    display: none;
}

footer a {
    border-bottom: 1px solid;
}
