body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

header {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

header a {
    color: inherit;
    text-decoration: none;
}

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

h1 {
    font-weight: 200;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    min-height: 60vh;
    box-sizing: border-box;
    width: 50vw;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
    user-select: none;
}

.mirror {
    transform: scale(-1, 1);
}

@media (max-width: 900px) {
    main {
        font-size: 1.2em;
    }
}

.left p, .left h1, .right p, .right h1 {
    max-width: 600px;
}

.left h1, .right h1 {
    margin-top: 200px;
}

.left, .right {
    height: 100%;
    overflow: auto;
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-word;
}

.left {
    left: 0;
    width: 50%;
    background: white;
    color: black;
    padding: 50px;
    padding-top: 0px;
    box-sizing: border-box;
}

.right {
    right: 0;
    width: 50%;
    background: black;
    color: white;
    padding: 50px;
    padding-top: 0px;
    box-sizing: border-box;
    transform: scaleX(-1);
}

.divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: black;
    cursor: ew-resize;
    z-index: 10;
}