@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url('../fonts/readexpro-latin.woff2') format('woff2');
}

:root {
  --bgc: #333333;
  --bgmid: #808080;
  --bglys: #4a4a4a;
  --hvid: #e3e3e3;
  --margin-big: 2vw;
  --margin-small: 31px;
  --blok-width: min(420px, 95vw);
  --corner-big: 5px;
  --corner-small: 3px;
  --someicon: 42px;
}

* {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bglys);
  color: var(--hvid);
  height: 100%;
  font-family: 'Readex Pro';
  font-weight: 300;
}

body {
  height: 100%;
}

/* Generelle flexere */
body,
section,
ul.some,
div.trin {
  display: flex;
  flex-flow: row wrap;
  gap: var(--margin-small);
  justify-content: center;
  align-items: center;
}

/* Flex-forskelle */
section {
  flex-flow: column nowrap;
}

ul.some,
div.trin {
  justify-content: space-between;
  gap: initial;
}

.aligntop {
  align-items: start;
  margin-top: 15px;
}

/* Generelle */
h1 {
  font-size: 72.4pt;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

h2,
h3,
h4 {
  font-weight: 700;
  margin-top: 10px;
}
h2{
  margin: 0 0 5px 0;
}
h3 {
  border-bottom: 1px solid var(--hvid);
  margin: 15px 0 5px 0;
  padding-bottom: 5px;
}

p {
  margin: 0 0 10px 0;
  line-height: 1.3;
}

div.blok {
  background: var(--bgc);
  padding: 10px;
  border-radius: var(--corner-big);
  width: var(--blok-width);
}

ul {
  list-style: none;
}

ul.some {
  width: var(--blok-width);
}

ul.some li {
  background: var(--bgmid);
  border-radius: var(--corner-small);
  width: var(--someicon);
  height: var(--someicon);
}

ul.some li:hover {
  background: var(--hvid);
}

ul.emner {
  font-size: 31pt;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: var(--bgmid);
}
h1>a{
  color: inherit;
}
a:hover {
  color: var(--hvid);
}

input[type='text'],
input[type='email'],
input[type='tel'] {
  width: calc(100% - 10px);
  border: 0;
  padding: 5px;
  margin-bottom: 10px;
  font-size: 12pt;
}

form {
  font-size: 12pt;
}

button {
  padding: 5px 10px;
  margin: 10px 5px 5px 0;
}

code {
	letter-spacing: 1px;
	background-color: var(--bglys);
	padding: 2px 5px;
}

/* Stort foto */
section.foto img {
  border-radius: var(--margin-big);
  border: calc(2 * var(--corner-big)) solid var(--bgc);
  max-height: 80vh;
  rotate: 3deg;
}

img.underskrift{
  width: 80px;
  margin: 20px 0 0 0;
  display: block;
}

div.hide{
  display: none;
}