:root
{
	--header-height: 6rem;
	--faktum-light-gray: #e8e8e8;
	--faktum-dark-gray: #2c2c2c;
	--faktum-red: #f29100;
	--faktum-light-red: #c9841c;
	--max-content-width: 82rem;
}

body
{
	position: relative;
	overflow-y: hidden;
	overflow-x: hidden;
}

html
{
	font-family: "Pontano Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 300;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

h1
{
	font-weight: 600;
}

body
{
	margin: 0;
	overflow-x: hidden;
	background-color: var(--faktum-dark-gray); /* Apple - scroll bounce */
}

main
{
	max-width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	background-color: white;
}

.spacer
{
	height: 4rem;
	display: block;
	width: 0;
}

.spacer_short
{
	height: 1.5rem;
	display: block;
	width: 0;
}

p
{
	line-height: 1.7rem;
}

main > .center
{
	display: flex;
	flex-direction: column;
	align-items: center;
}

main article
{
	box-sizing: border-box;
	padding: 1rem;
	position: relative;
	/*max-width: min(var(--max-content-width), 100%);*/
	width: min(var(--max-content-width), 100%);
	overflow-x: hidden;
	font-size: 1rem;
}

main .article_no_heading
{
	padding-top: 0;
}

main .article_no_heading p
{
	margin-top: 0;
}

main article h1
{
	font-size: 2.6rem;
}

main article p
{
	font-size: 1.7rem;
	line-height: 1.5;
	text-align: justify;
	margin-bottom: 2rem;
}

main article > *
{
	margin-bottom: 1rem;
	margin-top: 1rem;
}

main article img
{
	/*max-width: 100%;*/
	width: 100%;
}

.big_heading
{
	font-size: 2.8rem;
	width: 100%;
	max-width: 1400px;
	margin-left: 2rem;
}

.giant_heading
{
	font-size: 3.4rem;
	width: 100%;
	text-align: center;
	padding-left: 2rem;
	padding-right: 2rem;
	box-sizing: border-box;
}

.big_paragraph
{
	box-sizing: border-box;
	margin-top: 3.3rem;
	margin-bottom: 2.65rem;
	padding-left: 1rem;
	padding-right: 1rem;
	width: min(var(--max-content-width), 100%);
	font-size: 2.6rem;
	text-align: justify;
	line-height: 1.32;
	hyphens: none;
}

.giant_paragraph
{
	margin-left: none;
	margin-right: none;
	margin-top: 3.3rem;
	margin-bottom: 2.65rem;
	padding-left: 1rem;
	padding-right: 1rem;
	width: min(var(--max-content-width), calc(100% - 2rem));
	font-size: 3.6rem;
	text-align: left;
	line-height: 1.32;
	hyphens: none;
}

.big_paragraph a
{
	text-decoration: none;
	color: black
}

.big_paragraph .pdf_link
{
	text-decoration: underline var(--faktum-red);
	text-decoration-thickness: 0.3rem;
	text-underline-offset: 0.6rem;
}

.fade-in
{
	transition: opacity 0.5s linear, transform 0.4s ease-out ;
}

.image_gallery
{
	display: inline-block;
	width: min(100vw, var(--max-content-width));
	padding-left: 1rem;
	padding-right: 1rem;
}

.image_gallery > img
{
	width: 100%;
	border-top: 1px solid #ccc;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.big-image-notes
{
	position: absolute;
	top: 2rem;
	left: 2rem;
	z-index: 200;
}

.big-image-note
{
	margin-bottom: 1.5rem;
}

.big-image-note-content
{
	margin-left: 1rem;
	display: inline-block;
	font-size: 1.6rem;
	line-height: 1.3;
	font-weight: bold;
}

.big-image-note::before
{
	content: "";
	display: inline-block;
	background-image: url("/icon/icon_check.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;

	height: 2.8rem;
	width:  2.8rem;
}

@media(min-width: 2600px)
{
	:root {
		--max-content-width: 93.5rem;
	}
}

@media(min-width: 900px)
{
	.image_gallery
	{
		display: grid;
		grid-template-columns: 50% 50%;
		padding-top: 1rem;
		grid-column-gap: 1rem;
	}

	.image_gallery > img
	{
		border: none;
		padding: none;
	}
}

@media(max-width: 1000px)
{
	.big-image-note-content
	{
		font-size: 1.2rem;
	}

	.big-image-note::before
	{
		width:  2.7rem;
		height: 2.7rem;
	}

	.big_paragraph
	{
		text-align: left;
		line-height: 1.45;
	}

	.desktop_only
	{
		display: none;
	}

	.big_heading
	{
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	.giant_heading
	{
		text-align: left;
	}
}

@media (max-width: 820px) {
	.big-image-notes {
		position: relative;
		left: 0;
	}

	.specs {
		margin-top: -3.5rem;
		margin-bottom: -5rem;
	}
}

@media (max-width: 470px) {
	.big-image-note-content {
		font-size: 0.9rem;
	}
	
	.big-image-note::before {
		width: 2rem;
		height: 2rem;
	}
}

@media (max-width: 623px) {
    html {
        font-size: 14px;
    }

	.big_paragraph {
		font-size: 1.45rem;
	}

	.giant_paragraph {
		font-size: 2.1rem;
		margin-top: 0rem;
		margin-bottom: 0rem;
	}

	main article p {
		margin-top: 0;
		font-size: 1.3rem;
	}
}

@media (min-width: 624px) {
    html {
        font-size: 14px;
    }
}
