/*!
 * This file is part of Contao.
 *
 * (c) Leo Feyer
 *
 * @license LGPL-3.0-or-later
 */

/**
 * Reset the margin and padding of the block elements
 */
@font-face {
  font-family: 'Shintia';
  src: url('../font/ShintiaScript.otf');
}

@font-face{
  font-family: 'Montserrat Light';
  src: url('../font/Montserrat-Light.ttf');
}

@font-face{
  font-family: 'Montserrat Regular';
  src: url('../font/Montserrat-Regular.ttf');
}

@font-face{
  font-family: 'Montserrat Bold';
  src: url('../font/Montserrat-Bold.ttf');
}

body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,input,textarea {
	margin:0;
	padding:0;
}

html {
  font-size: 16px;
	color:#50536d;
}
@media screen and (min-width: 320px) {
  html {
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 22px;
  }
}

/**
 * Basic element formatting
 */
table {
	border-spacing:0;
	border-collapse:collapse;
}
caption,th,td {
	text-align:left;
	text-align:start; /* see #4596 */
	vertical-align:top;
}
abbr,acronym {
	font-variant:normal;
	border-bottom:1px dotted #666;
	cursor:help;
}
blockquote,q {
	quotes:none;
}
fieldset,img,iframe {
	border:0;
  display:block;
}
ul {
	list-style-type:none;
}
sup {
	vertical-align:text-top;
  font-size: .5em;
}
sub {
	vertical-align:text-bottom;
}
del {
	text-decoration:line-through;
}
ins {
	text-decoration:none;
}
header,footer,nav,section,aside,article,figure,figcaption {
	display:block;
}

/**
 * Default font settings
 */
body {
	font-family: 'Montserrat Light', sans-serif;
}

input,button,textarea,select {
	font-family:inherit;
	font-size:99%;
	font-weight:inherit;
}
pre,code {
	font-family:Monaco,monospace;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
h1 {
	font-family: 'Shintia', cursive;
	font-size:2.7em;
}
h2 {
	font-size:1.4em;
  font-family: 'Montserrat Regular', sans-serif;
}
h3 {
	font-size:1em;
	font-family: 'Montserrat Bold', sans-serif;
}
h4 {
	font-size:1.3333em; /* 16px */
}
table {
	font-size:inherit;
}
caption,th {
	font-weight:bold;
}
a {
	color:inherit;
}

h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form {
	margin-bottom:1em; /* Should match the font size */
}

/**
 * Hide invisible elements
 */
.invisible {
	border:0;
	clip:rect(0 0 0 0);
	height:1px !important;
	margin:-1px !important;
	overflow:hidden;
	padding:0 !important;
	position:absolute;
	width:1px !important;
}

button, a{
	outline:none;
}
