main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1.5em;
}

.manifestor,
.way-back {
    display: inline-block;
    padding: 0.5em 1em;
    color: white;
    text-transform: uppercase;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    margin-right: 1em;
    text-align: center;
}

.manifestor,
.way-back {
    background: #333;
    cursor: pointer;
}

.manifestor:hover,
.way-back:hover {
    background: #555;
}

.manifestor:disabled {
    background: #777;
    color: #ccc;
    opacity: 0.6;
    cursor: default;
}

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

.buddha-display {
    display: flex;
    width: 100%;
    margin: 2em 0;
}

.left-pane,
.right-pane {
    width: 50%;
    max-width: 50%;
    flex: 1;
    padding: 2em;
    box-sizing: border-box;
    overflow-x: visible;
}

#buddha-image {
    max-width: 100%;
    height: auto;
    max-height: 460px;
    display: block;
    margin: 0 auto;
}

#portal {
    margin: 0 auto;
    font-family: inherit;
    font-size: 0.39vw;
    text-transform: none;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .buddha-display {
        flex-direction: column;
        height: 80vh;
        margin-bottom: 24em;
    }

    .left-pane,
    .right-pane {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto;
        max-height: 40vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 1em;
        box-sizing: border-box;
    }

    #buddha-image {
        height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    #portal {
        font-size: 0.84vw;
    }
}