html {
    margin-top: 0 !important;
}

body {
    color: #232121;
    background-color: #000;
}

body .mobile-phone__display {
    font-family: var(--wp--preset--font-family--shadows);
}

body .mobile-phone__display code {
    font-family: var(--wp--preset--font-family--shadows-two);
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin-top: 8px;
    margin-bottom: 0;
}

.mobile-phone {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

.wp-block-image:last-child {
    margin-bottom: 0;
}

.mobile-phone__display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100% - 28px);
}

.mobile-phone__display > div {
	margin: 10px;
	background: transparent url('../images/paper-bg-light.png') no-repeat center; 
	background-size: cover;
}

.wp-block-image {
	margin: 1em;
}

.mobile-phone__display div {
    padding: 10px 20px;
    overflow-y: auto;
    word-break: break-word;
}

.question-mark {
    background-color: #574b40;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    display: block;
    position: fixed;
    bottom: 55px;
    right: 25px;
    padding: 5px;
}

@media (min-width: 480px) {
    body {
        background: linear-gradient(#f9e5b8, #faf2e0, #f9e5b8);
    }

    .question-mark {
        width: 55px;
        height: 55px;
    }

    .mobile-phone {
        background-color: #000;
        border-radius: 20px;
        border: 7px solid #000;
        max-width: 390px;
        margin: 0 auto;
        max-height: 90vh;
        height: 800px;
        margin-top: 10vh;
        position: relative;
    }

    .mobile-phone__top:before {
        content: '';
        background-color: #f9efef;
        width: 14px;
        height: 14px;
        top: 40%;
        left: 45px;
        opacity: 0.5;
        position: absolute;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-phone__top:after {
        content: '';
        background-color: #9f9e9e;
        width: 100px;
        height: 8px;
        border-radius: 3px;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.5;
    }

    .mobile-phone__top {
        position: relative;
        display: block;
        height: 60px;
        width: 100%;
    }

    .mobile-phone__display {
        border-radius: 7px 7px 14px 14px;
        height: calc(100% - 60px);
    }

    .u-advertisement__footer {
        border-radius: 0 0 14px 14px;
    }
}

/* latin-ext */
@font-face {
    font-family: 'Libertinus Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_PFpWik.woff2) format('woff2');
    unicode-range: U +0100 -02 BA, U +02 BD-02C5, U +02 C7-02CC, U +02 CE-02D7, U +02 DD-02FF, U +0304, U +0308, U +0329, U +1 D00-1DBF, U +1 E00-1E9F, U +1 EF2-1EFF, U +2020, U +20 A0-20AB, U +20 AD-20C0, U +2113, U +2 C60-2C7F, U + A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Libertinus Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB8vFp.woff2) format('woff2');
    unicode-range: U +0000 -00 FF, U +0131, U +0152 -0153, U +02 BB-02BC, U +02 C6, U +02 DA, U +02 DC, U +0304, U +0308, U +0329, U +2000 -206 F, U +20 AC, U +2122, U +2191, U +2193, U +2212, U +2215, U + FEFF, U + FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Libertinus Sans';
    font-style: normal;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8h9fUzdA.woff2) format('woff2');
    unicode-range: U +0100 -02 BA, U +02 BD-02C5, U +02 C7-02CC, U +02 CE-02D7, U +02 DD-02FF, U +0304, U +0308, U +0329, U +1 D00-1DBF, U +1 E00-1E9F, U +1 EF2-1EFF, U +2020, U +20 A0-20AB, U +20 AD-20C0, U +2113, U +2 C60-2C7F, U + A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Libertinus Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8idfU.woff2) format('woff2');
    unicode-range: U +0000 -00 FF, U +0131, U +0152 -0153, U +02 BB-02BC, U +02 C6, U +02 DA, U +02 DC, U +0304, U +0308, U +0329, U +2000 -206 F, U +20 AC, U +2122, U +2191, U +2193, U +2212, U +2215, U + FEFF, U + FFFD;
}

mark {
    background-color: transparent;
}

.mobile-phone__display {
    background: linear-gradient(#f9e5b8, #faf2e0, #f9e5b8);
}

.menu-popup {
    border: 1px solid #000;
    background-color: #fff;
    color: #232121;
    border-radius: 15px;
    padding: 10px 20px;
    position: fixed;
    right: 26px;
    bottom: 140px;
    font-size: 20px;
}

.menu-display li {
    background-color: #574b40;
    text-align: center;
    border-radius: 12px;
    padding: 0.4em 0;
}

.menu-display {
    font-size: 20px;
    color: #fff;
}

header .logo img {
    max-width: 100%;
}

.menu-popup .buy-coffee-link--home,
.menu-display .buy-coffee-link--popup {
    display: none;
}

.menu-display .buy-coffee {
    background-color: #fff;
    color: #574b40;
    margin-top: 1.5em;
}

.menu-display .buy-coffee-link img {
    width: 30px;
    margin-left: 10px;
}

.menu-display .buy-coffee-link {
    display: block;
}

.menu-popup .buy-coffee-link {
    text-align: center;
    display: block;
    padding-top: 0.3em;
}

.buy-coffee-link img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.menu-popup .buy-coffee-link img {
    width: 130px;
}

header .logo {
    position: absolute;
    top: 32px;
    left: 39px;
    display: block;
    z-index: 1;
    width: 90px;
}

body:not(.menu-popup--opened) .menu-popup {
    display: none;
}

#page-content-container {
    font-size: 20px;
}

.question-mark,
.menu-popup,
#page-content-container {
    box-shadow: 1px 1px 3px #b79000;
}

#page-content-container,
.user-menu {
    font-family: "Libertinus Sans", sans-serif;
}

.user-menu {
    text-transform: uppercase;
}

.user-menu li {
    margin-bottom: 0.75em;
}

.user-menu ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0.75em 0 0;
}

.u-advertisement__footer {
    border-top: 1px solid #f9e5b8;
    background-color: #574b40;
    color: #fff;
    font-size: 14px;
    padding: 6px 12px;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.u-advertisement__footer .version {
    font-family: 'Libertinus Sans', sans-serif;
}

#page-content-container #close-content svg {
    max-width: 100%;
    max-height: 100%;
}

#page-content-container #close-content {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    display: block;
}

#page-content  h2 {
    margin-top: 0;
    margin-bottom: 1.2em;
}

#page-content {
    overflow-y: auto;
    height: 100%;
    padding-right: 5px;
}

#page-content-container {
    position: fixed;
    display: none;
    z-index: 1000;
    top: 20px;
    bottom: 50px;
    left: 20px;
    right: 20px;
    background-color: #fff;
    padding: 60px 15px 20px 20px;
    border-radius: 20px;
    border: 1px solid #000;
}

#page-content-container.loaded {
    display: block;
}

.u-advertisement-item span {
    display: inline-block;
}

.u-advertisement-item .row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    gap: 8px;
}

.u-advertisement-item__expires {
    text-align: right;
}

.u-advertisement-item__name {
    font-weight: 700;
    font-size: 1em;
    margin: 0.5em 0;
}

.u-advertisement-item__remove {
    color: red;
    padding-left: 0.5em;
}

.u-advertisement-item {
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(#faf2e0, #f9e5b8);
    padding: 10px;
}

.u-advertisement-item:nth-child(2n) {
    background: linear-gradient(#f9e5b8, #faf2e0);
}

.gray-button {
    color: #fff;
    background-color: #574b40;
    padding: 5px 10px;
    border-radius: 7px;
    font-family: 'Libertinus Sans', sans-serif;
    text-transform: uppercase;
}

.edit-link--advertisement {
    position: fixed;
    right: 22px;
    box-shadow: 1px 1px 3px #999175;
    top: 33px;
    z-index: 1;
}

body:not(.user--logged-in) .item-sensitive--logged-in,
body:not(.user--has-advertisements) .item-sensitive--advertisements {
    display: none;
}

.simplified-menu ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 0;
    margin: 10px 0px;
}

.simplified-menu li {

    color: yellow;
    list-style-type: none;
}

.simplified-menu {
    z-index: 1;
    background-color: #574b40;
    position: fixed;
    bottom: -12px;
    left: 0;
    right: 0;
}

@media (max-width: 479px) {
    .simplified-menu {
        transition: bottom 1s;
    }
}

.no-tkn .simplified-menu {
    bottom: 28px;
}

@media (min-width: 480px) {
    .simplified-menu {
        bottom: 0 !important;
    }
}

