.poemsky {
    position: fixed;
    width: 100%;
    height: 100%;
}

.poemstar-wrapper {
    color: var(--main-background);
    cursor: pointer;
    position: absolute;
    overflow: hidden;
}

.poemstar-wrapper a {
    line-height: 50%;
}

.page {
    font-size: 18px;
    background-color: var(--page-background);
    position: absolute;
    width: 50%;
    min-height: 100%;
    left: 50%;
    transform: translate(-50%);
    z-index: 2;
}

.box {
    margin: 68px 12px 68px 12px;
}

.section {
    margin-bottom: 40px;
}

.close {
    text-align: right;
    margin: 12px 12px 0px 0px;
}

.close a {
    font-size: 40px;
    cursor: pointer;
    color: var(--dark-text);
    border-color: var(--dark-text);
}

h1 a {
    padding: 5px 5px 0 5px;
}

h1 a.active {
    border: 1px solid var(--header-border);
}

a.active {
    color: var(--emphasized-text) !important;
}

.mainmenu {
    font-size: 50px;
    letter-spacing: -6px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1;
}

/* For mobile phones: */
@media only screen and (max-width: 1000px) and (min-height: 400px) {

    p,
    input,
    button {
        margin-bottom: 32px;
    }

    h1 {
        font-size: 60px;
        margin-bottom: 38px;
        border-bottom-width: 4px;
    }

    input,
    button,
    label {
        font-size: 54px;
        padding: 4px 8px 4px 8px;
    }

    .page {
        font-size: 38px;
        top: 0;
        left: 0;
        transform: translate(0%, 0%);
        width: 100%;
        min-height: 100%;
    }

    .box {
        margin: 68px 16px 68px 16px;
    }

    .section {
        margin-bottom: 52px;
    }

    .close a {
        font-size: 80px;
    }

    .mainmenu {
        font-size: 80px;
        top: 10px;
        left: 30px;
    }
}