html,
body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.epigraph-demo-container {
    --grid-gap: 5px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--grid-gap);
    background-color: #d0e6c5;
    padding: 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.epigraph-demo-container.epigraph-button {
    justify-content: center;
    align-items: center;
}

.epigraph-demo-container.single {
    .demo-solution {
        flex-basis: 100%;
        height: 100%;
    }
}

.demo-solution {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-basis: calc(50% - var(--grid-gap));
    height: calc(50% - var(--grid-gap));
}

.epigraph-demo-container.absolute-positioned {
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 50%;
}

epigraph-button .custom-button {
    margin: unset;
    position: inherit;
    top: unset;
    right: unset;
}

.custom-button {
    width: 150px;
    height: 50px;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: #d0e6c5;
    transition: 0.25s;

    /* You can place the button wherever you'd like within the container bounds */
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px;
}

.custom-button:hover {
    background-color: transparent;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .epigraph-demo-container {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}