/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== GRID Styles ==================================================
   2. Semester HTW
   ========================================================================== */

.center {}

.header {
    padding-left: 3vw;
    width: 97vw;
}

#entry-2{
    background-color: #fff;
}

#image-history{
    /* height: 480px; */
    /* width: 239px; */
    box-shadow: 0px 0px 0px #aaaaaa;
    margin: 0px;
    float: right;
    padding-bottom: 20px;
    padding-top: 10px;
}

#image-onkologie{
    /* height: 480px; */
    /* width: 239px; */
    box-shadow: 0px 0px 0px #aaaaaa;
    margin: 0px;
    float: right;
    margin-right: 20px;
    padding-bottom: 50px;
    padding-top: 20px;
}

    

#image-tb{
    /* height: 480px; */
    /* width: 239px; */
    box-shadow: 0px 0px 0px #aaaaaa;
    margin: 0px;
    float: right;
    /* margin-right: 60px; */
    /* padding-bottom: 50px; */
    padding-top: 30px;
}

#image-tt{
    box-shadow: 0px 0px 0px #aaaaaa;
    margin: 0px;
    float: right;    
    padding-top: 10px;
    padding-bottom: 20px;
    animation: ttanimation 3s infinite;
}

#besuchertypen {
    padding-top: 40px;
    padding-bottom: 40px;
}









@keyframes ttanimation {
  0% {opacity: 1;}
  25%{opacity: 0.25;}
  50%{opacity: 1;}
  75% {opacity: 0.25;}
  100% {opacity: 1;}
}

.label {
    font-weight: 400;
    font-size: 0.85em;
    margin: 0;
    padding-bottom: 2px;
    color: #858585;
}

.arrow{
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.arrow span{
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    transform: rotate(45deg);
    margin: -8px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2){
    animation-delay: -0.2s;
}

.arrow span:nth-child(3){
    animation-delay: -0.4s;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}





.footer {
    background-color: #F0F4F8;
    width: 100%;
    height: 100%;
    float: left;
}

.footer-content {
    width: max-content;
    display: flex;
    margin: auto;
    padding-bottom: 20px;
}

.emoticon {
    margin: 0px;
    padding-right: 8px;
    padding-top: 4px;
}

.hitbox {    
    position: absolute;
    height: 70px;
    width: 4%;
    top: 66%;
    left: 48%;
    right: 48%;
    cursor: pointer;
    scroll-behavior: smooth;
}

.navbar {
    float: left;
    width: 40px;
    position: fixed;
}

.content {
    float: left;
    width: 100%;
}

.col {
    background: white;
    padding: 0px;
    margin: 0 0px;
    float: left;
    height: 2400px;
}

.container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: #F0F4F8;
}

.row {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-color: #F0F4F8;
    width: 1026px;
    padding-top: 30px;
}

.col-left {
    width: 400px;
    background-color: #F0F4F8;
    height: auto;
}

.col-right {
    width: 626px;
    background-color: #F0F4F8;
    height: auto;
    /* padding-bottom: 20px; */
}

.col-fiddy {
    width: 540px;
    height: auto;
}

.landing-page {
    height: 100vh;
    background-color: #FF0000;
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    /* justify-content: center; */
    /* align-items: center; */
    /* animation: myanimation 3s infinite; */
}

@keyframes myanimation {
  0% {background-color: #FF0000;}
  25%{background-color: #ff6a00;}
  50%{background-color: #ff0000;}
  75% {background-color: #d10000;}
  100% {background-color: #FF0000;}
}

.Project-Intro {
    padding: 20px;
    margin-top: 60px;
    padding-bottom: 60px;
}

.cc {
    margin-top: 0px;
}

.Project-Image {    
    margin-left: 62px;    
    margin-right: 62px;
    box-shadow: 0px 4px 8px #aaaaaa;
}

.back {
    padding: 20px;
}

#startspace {
    height: 15px;
    background-color: white;
    padding-top: 0px;
    scroll-behavior: smooth;
}

#ccf {
    scroll-behavior: smooth;
    /* background-color: grey; */
}

/* Header auf weiterführenden Seiten */
.header-cap {
    color: black;
    /* text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black; */
    font: 8px 'Vidaloka', serif;
    font-size: 1.8em;
    font-weight: bold;
    padding-top: 14px;
    height: 40px;
    margin: 0 auto;
    width: 190px;
    margin: auto;
    margin-left: 308px;
}

.header {
    content: black;
    background: white;
    overflow: hidden;
    width: 100%;
    height: auto;
    /* position: fixed; */
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    margin-left: auto;
    margin-right: auto;
    /* border-bottom: 1px solid black; */
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-nav {
    margin-left:auto;
    margin-right:0;
    width: 174px;
    padding: 20px;
}

.footer-container {
    border-top: 1px solid black;
    width: 1026px;
    height: auto;
    background-color: grey;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    margin-left: auto;
    margin-right: auto;
}

.footer-nav {
    margin-left:auto;
    margin-right:0;
    width: 149px;
    padding: 20px;
    /* font: 12px/20px 'Montserrat-light', Helvetica, sans-serif; */
    font: 16px/26px 'Montserrat-light', Helvetica, sans-serif;
}

.header-content {
    float: left;
    color: black;
}

input.MyButton {
    width: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 8px;
    cursor: pointer;
    background: white;
    color: black;
    border: 1px solid black;
    font: 14px/24px 'Montserrat-light', Helvetica, sans-serif;
    height: auto;
    border-radius: 3px;

    color: var(--color);
    transition: 0.25s;
  
    &:hover,
    &:focus {
    
    color: #fff;
  }
}

input.MyButton:hover {
    color: white;
    /*background: black;*/
    box-shadow: inset 220px 0 0 0 black;
    /*transition: background-color 300ms linear, border-color 300ms linear;*/
    /* border: 1px solid #fff; */
}

/*
@each $button, $color in $colors {
  .#{$button} {
    --color: #{$color};
    --hover: #{adjust-hue($color, 45deg)};
  }
}*/

/**/

.row-top {
    padding-top: 0px;
}

.about {

}

.copyright {
    margin-left: 0px;
    padding-bottom: 30px;
    margin-bottom: 0px;
    margin-top: 0px;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px 'Montserrat-light', Helvetica, sans-serif;
    background-color: white;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    /* border-bottom: 20px solid #e44d26; */
}

.footer-container,
.main aside {
    /* border-top: 20px solid #e44d26; */
}

.header-container,
.footer-container,
.main aside {
    /* background: #f16529; */
}


.title-1 {
    color: white;
    font-size: 3.0em;
    font-weight: 600;
    padding: 50px;
    padding-top: 60px;
    width: max-content;
    margin: auto;
    margin-top: 15%;
    line-height: 1.4em;
    text-align: center;
}

#container-1 {
    width: auto;
    height: auto;
    /* display: block; */
}

.title-2 {
    color: white;
    font-size: 1.25em;
    font-weight: 400;
    /* width: 520px; */
    /* padding: 50px; */
    /* padding-bottom: 60px; */
    /* margin-left: auto; */
    /* position: absolute; */
    top: 76%;
    width: max-content;
    margin: auto;
    margin-top: 26px;
}

#container-2 {
    width: 100%;
    vertical-align: bottom;
    height: 50%;
    position:  relative;

    /* display: block; */
}

#intro {
    width: 600px;
    margin-left: 0px;
    font: 26px/36px 'Montserrat-light', sans-serif;
    color: white;
    /*font-size: 2em;*/
}

#containerm {
    margin: 0 auto;
    /* background-color: black; */
    width: 600px;
}

#intro-links {
    color: white;
}

.small-font {
    font: 12px/20px 'Montserrat-light', Helvetica, sans-serif;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: white;
}

nav a:hover,
nav a:visited {
    color: black;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: black;
    background-color: yellow;
    padding: 0px 5% 10px;
}

.footer-container footer {
    width: 1026px;
    height: auto;
    background-color: white;
    padding: 20px 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid black;  
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.cap {
    font: 12px 'Montserrat-light', sans-serif;
    font-size: 2em;
    margin-bottom: 18px;
    color: black;
}

i {
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin-bottom: 1px;
    margin-right: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    position: initial;    
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-left: 500px;
    margin-top: 45px;
    margin-bottom: 10px;
    padding: 16px;
    border-width: 0 4px 4px 0;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.title-link {
    color: black;
    text-decoration: none;
    /* position: fixed; */
    bottom: 0;
    padding-bottom: 30px;
    padding-left: 0px;
    margin-right: 60px;
    text-decoration: underline;
}

.header-contact {
    padding: 20px;
    text-decoration: none;
    color: black;
    margin-left: 838px;
    float: left;
}

.footer-mobile {
    display: none;
}



/* ==========================================================================
   Desktop Image Positioning
   ========================================================================== */

.white {
    background-color: white;
}

.grey {
    background-color: #F0F4F8;
}

#Fremdessen-1 {
    margin-left: 90px;
    margin-top: 28px;
    margin-right: 0px;
}

#Fremdessen-2 {
    margin-top: -16px;
}

#Fremdessen-3 {
    float: right;
    margin-top: 36px;
}

#Fremdessen-4 {
    margin-top: 36px;
}

#DerStratege-1 {
    margin-top: 36px;
}

#DeutscherKolonialismus-1 {
    margin-left: 406px;
}

#DeutscherKolonialismus-2 {
    margin-left: 106px;
}

#DeutscherKolonialismus-3 {
    margin-left: 0px;
}

#Illustration-1 {
    margin-left: 420px
}

#Illustration-2 {
    margin-left: 140px
}

p {
    max-width: 500px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

.title-mobile {
    display: none;
}

.MA-bild-2 {
    width: 100vw;
    display: none;
}



@media only screen and (max-width: 1024px) {


    .mobile-1 {
        display: flex;
        flex-direction: column-reverse;
    }

    #image-onkologie {
        width: 45vw;
        margin-bottom: 20px;
        float: left;
        max-width: 234px;
        margin-right: 0px !important;
    }

    #image-tt {
        margin-bottom: 20px;
        margin-top: 10px;
    }



/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: right;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

    .col-left {
        width: 100%;
        background-color: #F0F4F8;
        height: auto;
    }

    .col-right {
        width: 100% ;
        background-color: #F0F4F8;
        height: auto;
        margin-bottom: 0px;
    }

    .Project-Image {
        padding: 0px !important;
        max-width: 500px;
        width: 94vw;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        float: left;
        margin-left: 3vw !important; 
        margin-right: 3vw !important;
    }

    #image-tb {
        float: left;
    }

    #image-tt {
        float: left;
    }

    #image-history {
        float: left;
        max-width: 500px;
    }

    .container {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background-color: black;
    }

    .Project-Intro {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .row {
        width: 100%;
        padding-top: 20px;
    }

    .Project-Intro {
        margin-top: 0px;
        padding-bottom: 40px;
        padding-top: 20px;
    }

    #intro {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    }

    .title {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 35%;
    }

    .title-1 {
        font-size: 1.0em;
        padding: 8px;
        display: none;
    }

    .title-mobile {
        font-size: 2.5em;
        color: white;
        line-height: 1.2em;
        padding: 12px;
        display: block;
        margin-top: 30%;
    }

    .title-2 {
        float: left;
        padding: 12px;
        margin-top: 10px;
    }

    .hitbox {
        height: 72px;
        width: 18%;
        top: 74%;
        left: 41%;
    }

    #container-1 {
        height: 40%;
    }

    .col-onkologie {
        margin-bottom: 30px;
    }

    .intro-history {
        padding-bottom: 10px;
    }

    .intro-tt {
        padding-bottom: 10px;
    }

    .footer {
        display: none;
    }

    .footer-mobile {
        display: block;
    }

    .footer-content-mobile {
        width: max-content;
        /* float: left; */
        margin: auto;
        padding: 12px;
    }

    .emoticon {
        float: left;
    }

    .title-link {
        margin: auto;
    }

    .MA-bild {
        width: 100vw;
        display: none;
    }

    .MA-bild-2 {
        width: 100vw;
        display: block;
    }

    .header {
        padding-left: 3vw;
        width: 97vw;
    }

    .Project-Intro {
        width: 94vw;        
    }

    .col-fiddy {
        width: max-c;

    }

    #Fremdessen-1 {
        max-width: 400px;
        width: 72vw;
        margin-top: 10px;
        margin-left: 14vw !important;
        margin-right: 14vw !important;
        margin-bottom: 50px;
    }

    .cc {
        margin-top: 0px;
    }

    #besuchertypen {
        display: none;
    }

}

@media only screen and (max-width: 360px) {

    .title-mobile{
        font-size: 2.0em;
        color: white;
        line-height: 1.2em;
        padding: 12px;
        display: block;
        margin-top: 30%;
    }

    .title-2 {
        float: left;
        padding: 12px;
        margin-top: 10px;
        font-size: 1.0em;
    }

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
       /* -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa; */
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

@media only screen and (min-width: 720px) and (max-width: 1024px) {

    .Project-Image {
        width: 74vw;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .Project-Intro {
        padding-left: 12%;
        padding-right: 12%;
        width: 76%;
        margin-top: 20px;
    }

    .col-right {
        margin-left: 12%;
        margin-right: 12%;
    }

    #image-history {
        float: left;
        max-width: 600px;
    }

    

    #image-onkologie {
        float: left;
        width: 32%;
        margin-top: 20px;
    }

    #image-tb {
        float: left;
        width: 64%;
        margin-top: 30px;
    }

    #image-tt {
        float: left;
        width: 64%;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .title-mobile {
        display: none;
    }

    .title-1 {
        display: block;
        color: white;
        font-size: 2.0em;
        font-weight: 600;
        padding: 30px;
        padding-top: 60px;
        width: max-content;
        margin: auto;
        margin-top: 22%;
        line-height: 1.4em;
        text-align: center;
    }

    .title-2 {
        float: none;
        margin-top: 0px;
    }

    .hitbox {
        height: 120px;
        width: 18%;
        top: 64%;
        left: 41%;
    }

    #Evalii {
        margin-top: 20px;
        width: 64%;        
    }

    #image-onkologie {
        float: left;
        width: 40%;
        margin-right: 30px !important;
        margin-bottom: 40px;
    }

    .cc {
        margin-top: 0px;
        padding-top: 10px;
        padding-left: 4%;
        padding-right: 6%;
        margin-right: 0px;
    }

    #Fremdessen-1 {
        width: 30%;
        margin-top: 96px;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .col-fiddy {
        width: 50%;
        min-width: 400px;
        max-width: 540px;
        float: left;
    }

    #besuchertypen {
        display: block;
    }

    .MA-bild {
        display: block;
    }

    .MA-bild-2 {
        width: 100vw;
        display: none;
    }

}


/*Desktop Small Window*/

@media only screen and (max-height: 900px) {
    
    .title-1 {
        margin-top: 13%;
    }
    .title-2 {
        margin-top: 6px;
    }
    
    .hitbox {
        height: 86px;
        width: 6%;
        top: 63%;
        left: 47%
    }
}

/*Desktop Small Window*/

@media only screen and (max-height: 800px) {
 
    .title-1 {
        margin-top: 12%;
    }
    .title-2 {
        margin-top: 6px;
    }
    
    .hitbox {
        height: 86px;
        width: 6%;
        top: 69%;
        left: 47%
    }
}


/*Desktop Small Window*/

@media only screen and (max-height: 720px) {
    
    .title-1 {
        margin-top: 7%;
    }
    .title-2 {
        margin-top: 6px;
    }
    
    .hitbox {
        height: 86px;
        width: 6%;
        top: 67%;
        left: 47%
    }
}

@media only screen and (max-height: 640px) {
    
    .title-1 {
        margin-top: 4%;
    }
    .title-2 {
        margin-top: 6px;
    }
    
    .hitbox {
        height: 86px;
        width: 6%;
        top: 71%;
        left: 47%
    }
}

@media only screen and (max-height: 540px) {
    
    .title-1 {
        margin-top: 1%;
    }
    .title-2 {
        margin-top: 6px;
    }
    
    .hitbox {
        height: 86px;
        width: 6%;
        top: 72%;
        left: 47%
    }
}



@media only screen and (max-height: 940px) and (max-width: 1026px) {
    
    .title-1 {
        margin-top: 14%;
    }
    .title-2 {
        margin-top: 22px;
    }
    .title-mobile {
        margin-top: 36%;
    }
    .hitbox {
        height: 90px;
        width: 18%;
        top: 66%;
        left: 41%;
    }
}

@media only screen and (max-height: 860px) and (max-width: 1026px) {

    .title-1 {
        margin-top: 14%;
    }
    .title-2 {
        margin-top: 22px;
    }
    .title-mobile {
        margin-top: 36%;
    }
    .hitbox {
        height: 90px;
        width: 18%;
        top: 65%;
        left: 41%;
    }
}

@media only screen and (max-height: 780px) and (max-width: 1026px) {
    
    .title-1 {
        margin-top: 12%;
    }
    .title-2 {
        margin-top: 18px;
    }
    .hitbox {
        height: 90px;
        width: 18%;
        top: 63%;
        left: 41%;
    }
}

@media only screen and (max-height: 720px) and (max-width: 1026px) {
    
    .title-1 {
        margin-top: 10%;
    }
    .title-2 {
        margin-top: 6px;
    }
    .title-mobile {
        margin-top: 24%;
    }
    .hitbox {
        height: 86px;
        width: 18%;
        top: 64%;
        left: 41%
    }
}

@media only screen and (max-height: 660px) and (max-width: 1026px) {
    
    .title-1 {
        margin-top: 10%;
    }
    .title-2 {
        margin-top: 0px;
    }
    .title-mobile {
        margin-top: 36%;
    }
    .hitbox {
        height: 76px;
        width: 18%;
        top: 70%;
        left: 41%;
    }
}

@media only screen and (max-height: 600px) and (max-width: 1026px) {
    
    .title-1 {
        margin-top: 4%;
    }
    .title-2 {
        margin-top: 0px;
    }
    .hitbox {
        top:  70%;
    }
}

    .col-onkologie {
        padding-right: 40px;
        width: 584px;

    }

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}