@font-face {
    font-family: avara;
    src: url(font/Avara-Bold.otf);
}
@font-face {
    font-family: avara;
    src: url(font/Avara-Black.otf);
    font-weight: bold;
}
@font-face {
    font-family: avara;
    src: url(font/Avara-BoldItalic.otf);
    font-style: italic;
}
@font-face {
    font-family: medieval;
    src: url(font/UnormativeFraktur.ttf);
}
@font-face {
    font-family: digital;
    src: url(font/Meyrin.ttf);
}

html, body{
    margin: 0;
    padding: 0;
    width:100%;
    height:100%;
}

body  {
    font-family: avara;
    font-size: 20px;
    margin: 0;
    padding: 0;
    text-wrap: balance;
    overflow: hidden;
    height: 100vh;
}

.page {
    margin: 0;
    padding: 0;
    width:100%;
    height:100%;
    background: linear-gradient(#f8f8f800, #ffc0cb72);
}

h1 {
    font-weight: bold;
    margin-bottom: 0px;
    margin-left: 80px;
    margin-top: 6rem;
    color:rgb(126, 18, 153);
    font-size: 9rem;
    line-height: 7rem;
    text-shadow: 0px 0px 10px rgb(255, 255, 255);
}

h2 {
    font-weight: normal;
    font-style: italic;
    font-size: 1rem;
    color:rgb(230, 173, 221);
    margin-bottom: 1.2rem;
    margin-top:0;
    margin-left: 80px;
}

p{
    text-shadow: 0px 0px 10px rgb(94, 2, 117);
    color: white;
    font-size:calc(1.5rem * 0.9);
    line-height:1.5rem;
}

a {
    font-style: italic;
    font-size: 12px;
    color: lightgray;
}
a:hover {
    color: rgb(230, 173, 221);
    font-size: 16px;
}

.medieval {
    font-family: medieval;
    font-size:calc(1.6rem * 0.9);
    color: rgb(126, 18, 153);
    text-shadow: 0px 0px 5px rgb(255, 255, 255), 0px 0px 5px rgb(255, 255, 255);
}

.digital {
    font-family: digital;
    font-size:calc(1.6rem * 0.9);
    color: rgb(126, 18, 153);
    text-shadow: 0px 0px 5px rgb(255, 255, 255), 0px 0px 5px rgb(255, 255, 255), 0px 0px 5px rgb(255, 255, 255);
    font-weight: bold;
}

.txt {
    display: flex;
}

.section {
    flex-shrink: 1;
    flex-grow: 0;
    flex-basis:50%;
    margin-right: 2rem;
    margin-left: 80px;
}

img {
    position: absolute;
    right: -2rem;
    top: -10rem;
    width: 50rem;
    z-index: -1;
    filter : blur(1px) brightness(160%);
}

.rotate1 {
    rotate: 1deg;
}

.rotate2 {
    rotate: -1deg;
}

@media print {
    @page {
        size: 297mm 420mm;
    }

    .page {
        overflow: hidden;
        
    }

    html, body{
        width:100%;
        height:100%;
        margin:0;
        padding:0;
    }

    body  {
        font-size: 60pt;
        margin: 0;
    }

    h1 {
        margin: 30mm 0 0 14mm;
        font-size: 120pt;
        line-height: 80pt;
    }

    h2 {
        font-size: 14pt;
        margin : 0 0 30mm 17mm;
    }

    p{
        text-shadow: 0px 0px 8px rgb(94, 2, 117);
        line-height: 26pt;
        margin: 2mm 0;
        font-size:30pt;
    }

    .medieval {
        font-size: 34pt;
    }

    .digital {
        font-size: 34pt;
    }

    img {
        right: -14mm;
        top: -10mm;
        width: 380mm;
        z-index: -1;
    }

    .txt {
        display: block;
    }

    .section {
        margin: 0 20mm 0 30mm;
    }

    .rotate1 {
    rotate: 3deg;
    }

    .rotate2 {
        rotate: -3deg;
    }
}