@font-face {
    font-family: "Plainsound Text";
    src: url(./fonts/PlainsoundText_06-25/PlainsoundText-Regular.otf) format("opentype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "Plainsound Text";
    src: url(./fonts/PlainsoundText_06-25/PlainsoundText-Italic.otf) format("opentype");
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: "Plainsound Text";
    src: url(./fonts/PlainsoundText_06-25/PlainsoundText-Bold.otf) format("opentype");
    font-weight: bold;
    font-style: normal
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-size: 22px
}

body {
    font-family: "Plainsound Text", "Roboto Condensed", "Arial Narrow", "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.wrapper {
    min-height: calc(100vh - 30px - 1rem - 1rem)
}

header {
    text-align: left
}

h1 {
    width: 100%;
    font-size: 1.66rem;
    letter-spacing: .13rem;
    font-weight: normal;
    line-height: 2rem
}

h1 a {
    text-decoration: none;
    color: #333;
    transition: color .128s ease
}

h1 a:hover {
    color: red
}

nav {
    display: flex;
    font-size: 1.125rem;
    justify-content: left;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #d00000;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.5em
}

nav a {
    color: #333;
    transition: color .3s ease
}

nav a:hover {
    color: red
}

nav ul {
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px
}

nav li {
    margin-left: 0px;
    margin-right: 40px;
    list-style: none;
    text-decoration: none;
    display: inline;
    white-space: nowrap
}

nav li a {
    text-decoration: none
}

main {
    max-width: 800px;
    width: 100%;
    padding: 0rem 0;
    margin: 0
}

a {
    color: #900;
    text-decoration: none
}

a:hover {
    color: red
}

h2 {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: normal
}

p {
    margin-bottom: 1rem;
    font-size: 1rem
}

p.HEJItext {
  font-size: 1.05rem;
  word-spacing: 0.03rem
}

footer {
    text-align: left;
    font-size: .9rem;
    color: #888;
    height: 30px;
    margin-top: 20px;
}

@media screen and (min-width: 730px)and (max-width: 920px) {
    html {
        font-size: 1.1rem
    }
    nav li {
    margin-left: 0px;
    margin-right: 32px;
    list-style: none;
    text-decoration: none;
    display: inline;
    white-space: nowrap
    }
    main {
    max-width: 640px;
    width: 100%;
    padding: 0rem 0;
    margin: 0
    }
}

@media screen and (min-width: 400px)and (max-width: 729px) {
    html {
        font-size: .85rem
    }
    nav li {
    margin-left: 0px;
    margin-right: 16px;
    list-style: none;
    text-decoration: none;
    display: inline;
    white-space: nowrap
    }
    main {
    max-width: 495px;
    width: 100%;
    padding: 0rem 0;
    margin: 0
    }
}

@media screen and (max-width: 400px) {
    html {
        font-size: 0.75rem
    }
    nav li {
    margin-left: 0px;
    margin-right: 14px;
    list-style: none;
    text-decoration: none;
    display: inline;
    white-space: nowrap
    }   
}