/*!
 * This file is part of Contao.
 *
 * (c) Leo Feyer
 *
 * @license LGPL-3.0-or-later
 */

/**
 * Fix rendering HTML5 elements in IE
 */
header,footer,nav,section,aside,main,article,figure,figcaption {
	display:block;
}

/**
 * Reset the margin and padding of the block elements
 */
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;
}

*{
	box-sizing: border-box;
}

/**
 * Dynamic Fontsize
 */
html {
	font-size:16px;
}

@media screen and (min-width: 320px) {
	html {
  	font-size: calc(16px + (34 - 16) * ((100vw - 320px) / (1920 - 320)));
		}
}

@media screen and (min-width: 1920px) {
	html {
  	font-size: 34px;
  }
}

/**
 * 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;
}

img{
	/* width:100%; */
	height:auto;
	display:block;
}

main img{
	width:100%;
}

ul {
	list-style-type:none;
}
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
del {
	text-decoration:line-through;
}
ins {
	text-decoration:none;
}

/**
 * Default font settings
 */
body {
	font-family:"Josefin Sans",Verdana,sans-serif;
	color:#111C33;
	font-weight:200;
	line-height:1.2rem;
}
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-weight:700;
	font-size:1.8333em; /* 22px */
	line-height:1.1em;
}
h2 {
	font-weight:300;
	font-size:1.4em;
	line-height:1.1em; /* 20px */
}
h3 {
	font-size:1.5em;    /* 18px */
}
h4 {
	font-size:1.3333em; /* 16px */
}
table {
	font-size:inherit;
}
caption,th {
	font-weight:bold;
}
a {
	color:inherit;
	text-decoration:none;
}

/**
 * Default margins
 */
h1,h2,h3,h4,h5,h6 {
}
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;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute;
	width:1px;
}

@media screen and (max-width:400px){
		html{
				--grid__columns: 1 !important;
			}
}
