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

body {
    font-family: 'IBM Plex Mono', monospace;
    height: 100vh;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.split {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.left {
    left: 0;
    background-color: white;
}

.right {
    right: 0;
    background-color: black;
    color: white;
}

.content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 4rem;
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: default;
}

.divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: black;
    transform: translateX(-50%);
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.left:hover {
    width: 60%;
}

.left:hover ~ .divider {
    left: 60%;
}

.left:hover h1 {
    transform: scale(1.2);
}

.right:hover {
    width: 60%;
}

.right:hover ~ .divider {
    left: 40%;
}

.right:hover h1 {
    transform: scale(1.2);
} 