/* -- base typography styles
 *
 * 1.0 Import Fonts
 * 1.1 General Terms
 * 1.2 Headline-Styles
 * 1.3 Button-Styles
 *
 */


/* -- Import Fonts
--------------------------------------------------------- */

/* Chevin Pro */
@import url("https://use.typekit.net/umm0njl.css");

/* Sternsinger */
@font-face {
  font-family: 'Sternsinger';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Sternsinger'),
       url('../fonts/sternsinger.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/sternsinger.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* -- General Terms
--------------------------------------------------------- */
html, body {
	word-break: break-word;
	font-size: 112.5%;
	font-family: 'chevin-pro', Helvetica, Arial, sans-serif;
	font-display: swap;
	font-weight: 300;
	font-style: normal;
}

/* -- Headline-Styles
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 1.5em 0 1em;
	line-height: 120%;
}
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    display: block;
    line-height: 130%;
	font-family: 'chevin-pro', Helvetica, Arial, sans-serif;
}
h1 {
	font-family: 'Sternsinger', Helvetica, Arial, sans-serif;
	position: relative;
	font-size: 2em;
	font-weight: 400;
	max-width: 900px;
    transform: rotate(-7deg);
}
h1::after {
	position: absolute;
	top: 1em;
    left: 50%;
	z-index: -1;
	width: 4em;
	height: .5em;
	content: '';
    margin-top: -.25em;
    transform: translateX(-50%);
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
	background-image: url(../gfx/headline-marker.svg);
}
h1 span {
	font-size: .6em;
	font-weight: 400;
}
h1 span.topline {
	font-size: .5em;
}
h2 {
	font-family: 'Sternsinger', Helvetica, Arial, sans-serif;
	font-size: 1.5em;
	font-weight: 400;
	max-width: 900px;
	margin: 1.5em auto;
	transform: rotate(-7deg);
	text-align: center;
}
h2 span {
	font-size: .625em;
	font-weight: 400;
}
h2 span.topline {
	font-size: .45em;
}
h3 {
	font-size: 1.25em;
	font-weight: 700;
}
.box h3 {
	font-family: 'Sternsinger', Helvetica, Arial, sans-serif;
	font-weight: 400;
}
h3 span {
	font-size: .75em;
	font-weight: 400;
}
h4 {
	font-size: 1em;
	font-weight: 700;
}
h4 span {
	font-size: .875em;
	font-weight: 400;
}
h5 {
	font-size: 1em;
	font-weight: 700;
}
h5 span {
	font-size: .875em;
	font-weight: 400;
}
h6 {
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 700;
}
h6 span {
	text-transform: none;
	font-size: .875em;
	font-weight: 400;
}
.box h3 {
	text-align: left;
}
span.topline {
	text-transform: uppercase;
	font-weight: 400;
}
@media (min-width: 768px) {

	h1 {
		font-size: 3em;
	}
	h1::after {
		width: 7em;
	}
	h1 span {
		font-size: .6875em;
	}
	h2 {
		font-size: 2.5em;
	}
	h2 span {
		font-size: .5em;
	}
	h3 {
		font-size: 1.75em;
	}
	h3 span {
		font-size: .675em;
	}
	h4 {
		font-size: 1.5em;
	}
	h4 span {
		font-size: .7em;
	}
	h5 {
		font-size: 1.25em;
	}
	h5 span {
		font-size: .7em;
	}
	h6 {
		font-size: .875em;
	}
	h6 span {
		font-size: .875em;
	}

}
b,
strong {
	font-weight: 700
}


/* -- List-Styles
--------------------------------------------------------- */
main ul li {
	margin-bottom: .5em;
}

/* -- Blockquote
--------------------------------------------------------- */
blockquote {
	font-size: 2em;
	font-weight: 400;
	font-style: italic;
	line-height: 120%;
}

/* -- Button + Link-Styles
--------------------------------------------------------- */
button, a {
    transition: all .15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
}
a {
	font-weight: 700;
}
a:hover {
	text-decoration: none;
}
main p > a:not([class*="btn-"]) {
	position: relative;
	border-bottom: 2px solid;
	line-height: 140%;
}
main p > a:not([class*="btn-"])::before {
	content: '';
	height: 2px;
	width: 0;
	bottom: -2px;
	position: absolute;
    transition: all .15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
}
main p > a:not([class*="btn-"]):hover::before {
	width: 100%;
}
.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-quaternary,
.btn-quinary,
.btn-senary {
	display: inline-block;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 1rem;
    line-height: 1.5;
	font-weight: 700;
	border: 1px solid transparent;
	padding: .75rem 1.5rem;
	border-radius: 1.25rem;
	margin: .125em;
	white-space: normal;
	text-align: left;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-quaternary,
.btn-quinary,
.btn-senary {
	border: 2px solid;
}
.btn-circle {
	padding: 0;
	width: 3em;
	height: 3em;
	border-radius: 50%;
	text-align: center;
}



/* -- main-nav
--------------------------------------------------------- */
#nav-modal {
	text-align: center;
}
#main-nav {
	font-family: 'Sternsinger', Helvetica, Arial, sans-serif;
	text-align: center;
}
#main-nav > ul {
	font-size: 1.25em;
}
#main-nav a {
    font-size: 1.5em;
}
@media (min-width: 992px) { 
	#main-nav {
		font-family: 'chevin-pro', Helvetica, Arial, sans-serif;
		text-align: right;
	}
	#main-nav > ul {
		font-size: 1em;
	}
	#main-nav a {
		font-size: 1em;
	}
}