*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: CustomFont;
	text-transform: none;
	text-decoration: none;
}

@font-face {
font-family: "CustomFont";
src: url('../fonts/AbrilFatface-Italic.woff2') format('woff2'),
	url('../fonts/AbrilFatface-Italic.woff') format('woff'),
	url('../fonts/AbrilFatface-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
font-family: "CustomFont2";
src: url('../fonts/mplus-1p-black.woff2') format('woff2'),
	url('../fonts/mplus-1p-black.woff') format('woff'),
	url('../fonts/mplus-1p-type.tff') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
	margin: 0;
}


.och {
	display: block;
  width: 61vw;
  height: 100%;
  margin: auto;
}

.sist {
	display: block;
  width: 41vw;
  height: 100%;
  margin: auto;
}

.screen {
  display: block;
  width: 100%;
  height: 100vh;
  object-position: center;
  object-fit: cover;
}

.portrait{
	background-size: cover;
	background-position: center;
}

.portrait.loaded > img {
	opacity: 100;
}

.portrait > img {
	opacity: 0;
	transition: opacity 900ms ease-in-out;
}

.blurry{
	background-size: cover;
	background-position: center;
}

.blurry.loaded > img {
	opacity: 100;
}

.blurry > img {
	opacity: 0;
	transition: opacity 900ms ease-in-out;
}

.inne{
	display: block;
  width: 61vw;
  height: 100%;
  margin: auto;
	background-size: cover;
	background-position: center;
}

.inne.loaded > img {
	opacity: 100;
}

.inne > img {
	opacity: 0;
	transition: opacity 900ms ease-in-out;
}

.tredje{
	display: block;
  width: 41vw;
  height: 100%;
  margin: auto;
	background-size: cover;
	background-position: center;
}

.tredje.loaded > img {
	opacity: 100;
}

.tredje > img {
	opacity: 0;
	transition: opacity 900ms ease-in-out;
}


.responsive {
  width: 100vw;
  height: 100%;
}

@media(max-width:1242px){

		.blurry{
				background-size: cover;
				background-position: center;
				width: 100vw;
		}

    .screen {
    		width: 100vw;
        height: 100%;
    }

    .inne {
    		width: 75vw;
        height: 75%;
    }

    .och {
    		width: 75vw;
        height: 75%;
    }
    .tredje {
    		width: 75vw;
        height: 75%;
    }

    .sist {
    		width: 75vw;
        height: 75%;
    }

}

.rad.text {
    max-width: 619px;
    padding: 40px 40px 17px;
    text-align: center;
    margin: auto;
    height: auto;
    color: black;
}


:root {
  --ff-body: "CustomFont";
  --ff-heading: "CustomFont";

  --clr-primary-400: hsl(60 100% 50%);
  --clr-neutral-900: hsl(0 0% 0%);
  --clr-neutral-100: hsl(0 0% 100%);

  --fs-xl: clamp(5rem, 9vw + 1rem, 12rem);
  --fs-ms: clamp(2.5rem, 4vw + 1rem, 4rem);
  --fs-mt: clamp(1rem, 1vw + 0.3rem, 1.5rem);
  --fs-600: 2rem;
  --fs-400: 1rem;
}

@media (min-width: 40em) {
  :root {
    --fs-600: 3rem;
    --fs-400: 1.125rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
thick {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

.flow > * + * {
  margin-top: var(--flow-spacer, 1em);
}

h1,
thick {
  font-family: var(--ff-heading);
  font-weight: 900;
}

h1 {
  font-size: var(--fs-xl);
  line-height: 1;
}

h2 {
  font-size: var(--fs-ms);
  text-align: center;
  line-height: 1;
}

h3 {
  font-size: var(--fs-mt);
  font-weight: 100;
  line-height: 2;
}

thick {
  font-size: var(--fs-ms);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1em;
}

skriv {
  display: grid;
}

skriv > *:not(img) {
  padding: 0 2rem;
}

.skriv {
  columns: 1 170ch;
  gap: 4rem;
  max-width: 100ch;
}

@media (min-width: 60em) {
  skriv {
    grid-template-columns: min(40%, 40rem) 1fr;
  }

  skriv > img {
    grid-row: 1 / 4;
    height: 100%;
    object-fit: cover;
  }

  skriv > *:not(img) {
    grid-column: 1 / -1;
  }
}

.hero{
	width: 100vw;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.italic {
	font-family: Georgia;
  font-style: italic;
}

video{
	height: 100%;
	width: 100vw;
	object-fit: cover;
	position: relative;
	top: 0;
	left: 0;
}

/* unvisited link */
a:link {
  color: white;
}

/* visited link */
a:visited {
  color: white;
}

/* mouse over link */
a:hover {
  color: black;
}

/* selected link */
a:active {
  color: white;
}
