@font-face {
    font-family: Rom;
    font-weight: normal;
    src: url("ABCROMCondensed-Black.woff2");
  }
  @font-face {
    font-family: Rom;
    font-weight: bold;
    src: url("ABCROM-Bold.woff2");
  }

  @font-face {
    font-family: roma;
    src: url("ROM-FR-Annotations-Display-Regular.otf");
}
@font-face {
    font-family: romar;
    src: url("RomAnnotations-Regular.otf");
}

a {
    color: unset;
    text-decoration: none;
    white-space: nowrap;
}
a:hover {
    color: #fff;
    text-decoration: none;
    cursor: url("pointer.png") 0 0, auto;
}

.linkline {
    display: inline;
    text-decoration: underline;
}
.linkline:hover{
    text-decoration: none;
}

.switch{
    text-decoration: underline;
    display: inline;
}
.switch:hover{
    color: #fff;
    text-decoration: none;
    cursor: url("pointer.png") 0 0, auto;
}
.switch2{
    text-decoration: none;
    display: inline;
}
.switch2:hover{
    color: #fff;
    text-decoration: none;
    cursor: url("pointer.png") 0 0, auto;
}

body {
    font-family: Rom;
    line-height: 0.76em;
    font-size: 13vmax;
    display: table;
    width: 100vw;
    height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #b2b2b2;
    overflow: hidden;
    letter-spacing: -0.02em;
    cursor: url("cursor.png") 0 0, auto;
}

span {
    display: block;
}

.section {
    display: inline;
}

.mask {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    padding: 20px;
    box-sizing: border-box;
}
@media only screen and (max-width: 800px) {
    .mask{
        padding: 10px;
    }
}

.color {
    position: absolute; 
    inset:0;
}

.image {
    z-index: 10;
    position: absolute;
    width: 100vw;
    height: 100vh;
    inset: 0;
    background-image: url("pic.png");
    background-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    /*mask-image: -moz-element(#mask);*/
}

.text {
    position: absolute;
    z-index:500;
    font-size: 0.125em;
    line-height: 1;
    letter-spacing: initial;
    font-weight: bold;
}


.title-2a {
    display: inline;
}
.title-2b {
    display: inline;
}

.title-3a {
    display: inline;
}

.title-3b {
    display: inline;
}

.title-4 {
    text-align: right; 
    margin-right: 0.5em;
}
.title-4a {
    display: inline;
}
@media only screen and (max-width: 600px) {
    .title-2b {
        display: block;
    }
    .title-3a {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .title-3b {
        display: inline-block;
        text-align: right;
        width: 100%;
    }
}

@media only screen and (max-width: 1200px) {
    .title-4a {
        display: inline-block;
        text-align: center;
    }
}

@media only screen and (max-width: 1500px) {
    .title-4 { 
        margin-right: 0;
    }
    .title-2a {
        white-space: nowrap;
    }
}

.imprint {
    font-weight: bold;
    font-size: 1.5vmax;
    line-height: 1;
    letter-spacing: initial;
    padding: 5vmax 20vmax;
    box-sizing: border-box;   
    hyphens: auto;
}
@media only screen and (max-width: 1200px) {
    .imprint {
        font-size: 0.2em;
        padding: 3vmax 10vmax;
        padding-bottom: 20vh;
    }
}

@media only screen and (max-width: 900px) {
    .imprint {
        font-size: 0.25em;
        padding: 10px;
        padding-bottom: 20vh;
    }
}

.imprintlink{
    color: #000;
    display: inline;
}
.imprintlink:hover{
    color: #fff;
}

.about {
    position: absolute;
    top: 20px;
    right: 32px;
    font-weight: bold;
    font-size: 0.125em;
    line-height: 1;
    letter-spacing: initial;
    cursor: url("pointer.png") 0 0, pointer;
    z-index: 200;
}
.about:hover{
    color: #fff;
}
@media only screen and (max-width: 1200px) {
    .about{
        display: none;
    }
}

.overlay {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    font-size: 0.125em;
    line-height: 1;
    letter-spacing: initial;
    font-weight: bold;
    padding: 5vmax 20vmax;
    box-sizing: border-box;
    background-color: #b2b2b2;
    overflow-y: scroll;
    z-index: 100;
}

@media only screen and (max-width: 1200px) {
    .overlay {
        font-size: 0.2em;
        padding: 3vmax 10vmax;
        padding-bottom: 20vh;
    }
}

@media only screen and (max-width: 900px) {
    .overlay {
        font-size: 0.25em;
        padding: 10px;
        padding-bottom: 20vh;
    }
}

canvas {
    position: absolute;
    top:0;
    left:0;
    width: 100vw;
    margin: auto;
    background-color: #000;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.logo{
    aspect-ratio: 2/1;
    width: 5vw;
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-image: url("fhp-logo.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: url("pointer.png") 0 0, pointer;
}
.logo:hover{
    filter: invert(1);
}
@media only screen and (max-width: 1200px) {
    .logo{
        width: 8vw;
    }
}
@media only screen and (max-width: 900px) {
    .logo{
        width: 10vw;
    }
}
@media only screen and (max-width: 700px) {
    .logo{
        display: none;
    }
}

.aboutlogo{
    margin-top: 0.5em; 
    width: 12vmax;
}
.aboutlogo:hover{
    filter: invert(1);
}

.permission {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left:0;
    bottom:0;

    font-weight: normal;
    background-color: #b2b2b2;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    z-index: 500;
}

.shift {
    display: inline-block;
    transform: translateY(-0.2em);
}

.footnote {
    display: inline-block;
    font-family: roma;
}
.footnote-text {
    display: inline-block;
    font-family: romar;
    font-weight: normal;
}

.ampersand {
    display: inline-block;
    font-family: roma;
}

nobr {
    display: inline-block;
}


.em8{
    margin-left: 0.125em;
    display: inline;
}
.em16{
    margin-left: 0.06em;
    display: inline;
}
.em24{
    margin-left: 0.04em;
    display: inline;
}

.break {
    display: inline;
}