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

img,
picture,
svg {
    max-width: 100%;
    display: block;
}

.centered {
    display: flex;
    justify-content: center;
}

body {
    background-color: lightgrey;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.paper {
    width: 50%;
    height: fit-content;
    aspect-ratio: 1 / 1.4142;
    padding: 2rem;
}

.paper-top {
    background-color: white;
    min-height: 60%;
    border-bottom: 2px dotted black;
    padding: 2rem;
}

.paper-bottom {
    display: flex;
    min-height: 40%;
}

.abriss {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    min-width: 0;
    flex: 1;
    border-inline: 0.5px solid black;
    background-color: white;
}

.abriss.falling {
    animation: falling 2s forwards;
}

.abriss-content {
    transform: rotate(90deg);
    text-align: center;
    white-space: nowrap;
}

@media screen and ( width < 800px) {
    .main {
        padding: 1rem;
    }
    .paper {
        width: 100%;
        padding: 0rem;
    }
}

