@font-face {
    font-family: 'MontHeavy';
    src: url('/fonts/MontHeavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body[lang="fr"],
body[lang="es"],
body[lang="de"],
body[lang="pt"],
body[lang="cn"],
body[lang="hi"],
body[lang="vi"] {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 900;
}

body[lang="ar"] {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-weight: 900;
}

body[lang="ja"] {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
}

body[lang="ko"] {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
}

body[lang="th"] {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 900;
}

body[lang="cn"] {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
}

body[lang="fr"] .lunar-day,
body[lang="fr"] .date,
body[lang="fr"] .moon-phase,
body[lang="fr"] .timezone,
body[lang="fr"] .lunar-day-float,
body[lang="fr"] .date-float,
body[lang="fr"] .timezone-float,
body[lang="es"] .lunar-day,
body[lang="es"] .date,
body[lang="es"] .moon-phase,
body[lang="es"] .timezone,
body[lang="es"] .lunar-day-float,
body[lang="es"] .date-float,
body[lang="es"] .timezone-float,
body[lang="de"] .lunar-day,
body[lang="de"] .date,
body[lang="de"] .moon-phase,
body[lang="de"] .timezone,
body[lang="de"] .lunar-day-float,
body[lang="de"] .date-float,
body[lang="de"] .timezone-float,
body[lang="pt"] .lunar-day,
body[lang="pt"] .date,
body[lang="pt"] .moon-phase,
body[lang="pt"] .timezone,
body[lang="pt"] .lunar-day-float,
body[lang="pt"] .date-float,
body[lang="pt"] .timezone-float,
body[lang="hi"] .lunar-day,
body[lang="hi"] .date,
body[lang="hi"] .moon-phase,
body[lang="hi"] .timezone,
body[lang="hi"] .lunar-day-float,
body[lang="hi"] .date-float,
body[lang="hi"] .timezone-float,
body[lang="vi"] .lunar-day,
body[lang="vi"] .date,
body[lang="vi"] .moon-phase,
body[lang="vi"] .timezone,
body[lang="vi"] .lunar-day-float,
body[lang="vi"] .date-float,
body[lang="vi"] .timezone-float {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 900;
}

body[lang="ar"] .lunar-day,
body[lang="ar"] .date,
body[lang="ar"] .moon-phase,
body[lang="ar"] .timezone,
body[lang="ar"] .lunar-day-float,
body[lang="ar"] .date-float,
body[lang="ar"] .timezone-float {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-weight: 900;
}

body[lang="ja"] .lunar-day,
body[lang="ja"] .date,
body[lang="ja"] .moon-phase,
body[lang="ja"] .timezone,
body[lang="ja"] .lunar-day-float,
body[lang="ja"] .date-float,
body[lang="ja"] .timezone-float {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
}

body[lang="ko"] .lunar-day,
body[lang="ko"] .date,
body[lang="ko"] .moon-phase,
body[lang="ko"] .timezone,
body[lang="ko"] .lunar-day-float,
body[lang="ko"] .date-float,
body[lang="ko"] .timezone-float {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
}

body[lang="th"] .lunar-day,
body[lang="th"] .date,
body[lang="th"] .moon-phase,
body[lang="th"] .timezone,
body[lang="th"] .lunar-day-float,
body[lang="th"] .date-float,
body[lang="th"] .timezone-float {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 900;
}

body[lang="cn"] .lunar-day,
body[lang="cn"] .date,
body[lang="cn"] .moon-phase,
body[lang="cn"] .timezone,
body[lang="cn"] .lunar-day-float,
body[lang="cn"] .date-float,
body[lang="cn"] .timezone-float {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
}

@media screen and (max-height: 600px) and (orientation: landscape),
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        justify-content: center;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }

    .header {
        flex: 0 0 auto;
        top: 20px;
        left: max(20px, env(safe-area-inset-left, 0));
        right: max(20px, env(safe-area-inset-right, 0));
        height: auto;
    }

    .content-wrapper {
        position: absolute;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 25%;
        left: 50%;
        transform: translateX(-50%);
    }

    .left-content,
    .right-content {
        flex: 0 0 50%;
        max-width: 50%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 0 max(20px, env(safe-area-inset-left, 0));
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: normal;
    }

    .left-content {
        text-align: left;
    }

    .right-content {
        text-align: right;
    }

    body[lang="ar"] .left-content {
        text-align: right;
    }

    body[lang="ar"] .right-content {
        text-align: left;
    }

    .left-content .message,
    .right-content .lunar-day,
    .right-content .date,
    .right-content .moon-phase,
    .right-content .timezone {
        margin: 0;
        padding: 0;
    }

    .right-content .date,
    .right-content .moon-phase,
    .right-content .timezone {
        margin-top: 20px;
    }

    .app-icons, .email-form {
        flex: 0 0 auto;
        margin-top: auto;
        bottom: 20px;
    }

    .pagination {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
    }

    .pagination-right {
        display: none;
    }
}

@media screen and (max-height: 500px) and (min-width: 800px) and (max-width: 950px) and (orientation: landscape) {
    .header {
        top: 10px;
        left: max(20px, env(safe-area-inset-left, 0));
        right: max(20px, env(safe-area-inset-right, 0));
    }

    .controls {
        display: flex;
    }

    .left-content,
    .right-content {
        padding: 0 max(20px, env(safe-area-inset-left, 0));
    }

    .email-form {
        bottom: 10px;
    }
}

@media screen and (min-width: 1025px) and (max-aspect-ratio: 5/4) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        justify-content: center;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }

    .header {
        flex: 0 0 auto;
        top: 20px;
        left: max(20px, env(safe-area-inset-left, 0));
        right: max(20px, env(safe-area-inset-right, 0));
        height: auto;
    }

    .content-wrapper {
        position: absolute;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .left-content,
    .right-content {
        flex: 0 0 50%;
        max-width: 50%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 0 max(20px, env(safe-area-inset-left, 0));
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .left-content {
        text-align: left;
    }

    .right-content {
        text-align: right;
    }

    body[lang="ar"] .left-content {
        text-align: right;
    }

    body[lang="ar"] .right-content {
        text-align: left;
    }

    .left-content .message,
    .right-content .lunar-day,
    .right-content .date,
    .right-content .moon-phase,
    .right-content .timezone {
        margin: 0;
        padding: 0;
    }

    .right-content .date,
    .right-content .moon-phase,
    .right-content .timezone {
        margin-top: 20px;
    }
}

@media screen and (min-width: 2881px) {
    .message {
        font-size: 7rem;
    }
    .lunar-day {
        font-size: 4rem;
    }
    .date,
    .moon-phase,
    .timezone {
        font-size: 2rem;
    }
    .logo-text span,
    .language-selected,
    .legend-button,
    .language-list span,
    .language-list-horizontal span,
    .legend-text {
        font-size: 2rem;
    }
    .email-form input {
        font-size: 1rem;
    }
    .email-form input::placeholder {
        font-size: 1rem;
    }
    .email-form button {
        font-size: 2rem;
    }
    .message-float {
        font-size: 7rem;
    }
    .lunar-day-float {
        font-size: 4rem;
    }
    .date-float,
    .moon-phase-float,
    .timezone-float {
        font-size: 2rem;
    }
    .logo-icon img {
        width: 45px;
        height: 45px;
    }
    .legend-text {
        width: 1200px;
    }
}

:root {
    color-scheme: light dark;
    --text-color: #282828;
    --background-color: #FFFFFF;
    --button-color: #282828;
    --button-text-color: #FFFFFF;
    --dropdown-background: transparent;
    --dropdown-text: #282828;
    --dropdown-hover: #F0F0F0;
    --status-bar: #FFFFFF;
    --safe-area-inset-top: env(safe-area-inset-top, 0);
    --safe-area-inset-left: env(safe-area-inset-left, 0);
    --safe-area-inset-right: env(safe-area-inset-right, 0);
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #FFFFFF;
        --background-color: #282828;
        --button-color: #FFFFFF;
        --button-text-color: #282828;
        --dropdown-background: transparent;
        --dropdown-text: #FFFFFF;
        --dropdown-hover: #444444;
        --status-bar: #282828;
    }
}

body {
    font-family: 'MontHeavy', sans-serif;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--text-color);
    transition: background 0.5s ease, color 0.5s ease;
    overflow: hidden;
    opacity: 0;
    line-height: 1.2;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.header {
    position: fixed;
    top: 20px;
    left: max(20px, var(--safe-area-inset-left));
    right: max(20px, var(--safe-area-inset-right));
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.5s ease, top 0.3s ease;
    background: transparent;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-2px);
}

.logo-icon img {
    width: 25px;
    height: 25px;
    transition: filter 0.3s ease;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text span {
    font-family: 'MontHeavy', sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1;
    height: 25px;
    display: flex;
    align-items: center;
}

.logo-text span a {
    color: inherit;
    text-decoration: none;
}

.controls {
    display: none;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: opacity 0.3s ease;
}

.language-dropdown {
    position: relative;
    cursor: pointer;
}

.language-selected {
    opacity: 1;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    line-height: 1.2;
}

.language-selected:hover {
    opacity: 1;
}

.language-list {
    position: absolute;
    top: 100%;
    background: var(--background-color);
    width: 70px;
    right: -10px;
    display: none;
    flex-direction: column;
    text-align: right;
    transition: background 0.5s ease, color 0.5s ease, opacity 0.3s ease;
    border: none;
    padding: 0;
    opacity: 0;
}

.language-list span {
    padding: 5px 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, background 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--dropdown-text);
    font-weight: 900;
    line-height: 1.2;
}

.language-list span:hover {
    opacity: 1;
    background: var(--dropdown-hover);
}

.language-list-horizontal {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background-color);
    display: none;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: baseline;
    transition: background 0.5s ease, color 0.5s ease, opacity 0.3s ease;
    border: none;
    padding: 15px 0 10px;
    z-index: 999;
    opacity: 0;
}

.language-list-horizontal span {
    padding-left: 15px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, background 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--dropdown-text);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.language-list-horizontal span:hover {
    opacity: 1;
    background: var(--dropdown-hover);
}

@media screen and (max-height: 600px) and (orientation: landscape),
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .language-list {
        display: none !important;
    }
}

.legend-container {
    position: relative;
    cursor: pointer;
}

.legend-button {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    line-height: 1.2;
}

.legend-button:hover {
    opacity: 1;
}

.legend-text {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--background-color);
    text-align: right;
    font-size: 1rem;
    padding: 15px 0 10px;
    opacity: 0.5;
    transition: background 0.5s ease, color 0.5s ease;
    line-height: 1.2;
}

@media screen and (min-width: 768px) and (max-width: 2880px) {
    .legend-text {
        width: 500px;
    }
}

.message {
    font-size: 3rem;
    line-height: 1.2;
    transition: opacity 0.3s ease;
    opacity: 0;
    display: block;
    word-wrap: break-word;
    overflow-wrap: normal;
}

.lunar-day {
    font-size: 2rem;
    margin-top: 50px;
    transition: opacity 0.3s ease;
    line-height: 1.2;
    opacity: 0;
    display: block;
    word-wrap: break-word;
    overflow-wrap: normal;
}

.date,
.moon-phase {
    font-size: 1rem;
    margin-top: 20px;
    transition: opacity 0.3s ease;
    line-height: 1.2;
    opacity: 0;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timezone {
    font-size: 1rem;
    margin-top: 20px;
    transition: opacity 0.3s ease;
    line-height: 1.2;
    opacity: 0;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timezone:hover {
    opacity: 1;
}

.pagination {
    position: fixed;
    right: max(20px, var(--safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5px;
    font-size: 1rem;
    line-height: 1.2;
    font-family: 'Arial', sans-serif;
    font-weight: normal;
    transition: opacity 0.3s ease;
    opacity: 1;
    z-index: 1000;
}

.pagination-dot {
    display: block;
    margin: 0;
    padding: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    font-weight: normal;
}

.pagination-right {
    font-size: 1rem;
    margin-top: 20px;
    line-height: 1.2;
    transition: opacity 0.3s ease;
    opacity: 1;
    display: none;
}

@media (max-width: 767px) and (orientation: portrait) {
    body {
        justify-content: flex-start;
        padding-top: 20vh;
    }

    .header {
        left: max(20px, var(--safe-area-inset-left));
        right: max(20px, var(--safe-area-inset-right));
    }

    .content-wrapper {
        padding: 0 max(20px, var(--safe-area-inset-left));
        top: 20vh;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
    }

    .left-content {
        text-align: center;
        margin: 0;
    }

    .right-content {
        text-align: center;
        margin: 0;
    }

    .pagination {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
    }

    .pagination-right {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .left-content {
        text-align: center;
        margin: 0;
    }

    .right-content {
        text-align: center;
        margin: 0;
    }

    .pagination {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
    }

    .pagination-right {
        display positron: fixed;
        top: 20vh;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
        padding: 0 30px;
    }
}

@media (min-width: 1025px) {
    .pagination {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
    }

    .pagination-right {
        display: none;
    }

    .content-wrapper {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - var(--safe-area-inset-left) - var(--safe-area-inset-right));
    }
}

@media screen and (max-height: 600px) and (orientation: landscape) {
    .pagination {
        right: 20px;
        margin-right: -30px;
    }
}

.pagination-right .pagination-dot {
    display: inline-block;
    margin: 0 1px;
    padding: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    font-weight: normal;
}

.app-icons {
    position: fixed;
    bottom: 20px;
    left: max(20px, var(--safe-area-inset-left));
    right: max(20px, var(--safe-area-inset-right));
    display: none;
    justify-content: center;
    gap: 10px;
    background: transparent;
    z-index: 1000;
    transition: bottom 0.3s ease, opacity 0.3s ease;
}

.app-icons img {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.email-form {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 340px;
    max-width: 90%;
    margin: 0;
    padding: 0;
    z-index: 1000;
    transition: bottom 0.3s ease, opacity 0.3s ease;
}

.email-form form {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email-form input {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'MontHeavy', sans-serif;
    background: #fff;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 10px 0;
    line-height: 1.2;
    box-sizing: border-box;
}

.email-form input::placeholder {
    color: var(--background-color);
    opacity: 0.5;
}

.email-form button {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 1rem;
    background: var(--button-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'MontHeavy', sans-serif;
    line-height: 1.2;
    box-sizing: border-box;
}

.email-form button:hover {
    background: #333;
}

body[lang="fr"] .email-form input,
body[lang="es"] .email-form input,
body[lang="de"] .email-form input,
body[lang="pt"] .email-form input,
body[lang="cn"] .email-form input,
body[lang="hi"] .email-form input,
body[lang="vi"] .email-form input,
body[lang="ar"] .email-form input,
body[lang="ja"] .email-form input,
body[lang="ko"] .email-form input,
body[lang="th"] .email-form input,
body[lang="fr

"] .email-form input::placeholder,
body[lang="es"] .email-form input::placeholder,
body[lang="de"] .email-form input::placeholder,
body[lang="pt"] .email-form input::placeholder,
body[lang="cn"] .email-form input::placeholder,
body[lang="hi"] .email-form input::placeholder,
body[lang="vi"] .email-form input::placeholder,
body[lang="ar"] .email-form input::placeholder,
body[lang="ja"] .email-form input::placeholder,
body[lang="ko"] .email-form input::placeholder,
body[lang="th"] .email-form input::placeholder,
body[lang="fr"] .email-form button,
body[lang="es"] .email-form button,
body[lang="de"] .email-form button,
body[lang="pt"] .email-form button,
body[lang="cn"] .email-form button,
body[lang="hi"] .email-form button,
body[lang="vi"] .email-form button,
body[lang="ar"] .email-form button,
body[lang="ja"] .email-form button,
body[lang="ko"] .email-form button,
body[lang="th"] .email-form button {
    font-weight: 900;
}

body[scheme="contemplative"] .email-form input,
body[scheme="contemplative"] .email-form button {
    background: #282828;
}

body[scheme="active"] .email-form input,
body[scheme="active"] .email-form button {
    background: #FFFFFF;
}

body[scheme="problematic"] .email-form input,
body[scheme="problematic"] .email-form button {
    background: #FFFFFF;
}

body[scheme="contemplative"] .email-form button:hover,
body[scheme="active"] .email-form button:hover,
body[scheme="problematic"] .email-form button:hover {
    background: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        padding-top: 20vh;
    }

    .app-icons {
        gap: 5px;
    }

    .app-icons img {
        height: 35px;
    }

    .email-form {
        width: 340px;
        max-width: 90%;
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-height: 600px) and (orientation: landscape),
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .pagination {
        display: flex;
        right: max(20px, var(--safe-area-inset-right));
        gap: 0.5px;
    }

    .email-form {
        width: 340px;
        !_max-width: 90%;
        margin: 0;
        padding: 0;
    }
}

.floating-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    text-align: center;
    pointer-events: none;
    transition: top 0.3s ease, opacity 0.3s ease;
}

.message-float {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-color);
    transition: opacity 0.5s ease, color 0.5s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.lunar-day-float {
    font-size: 2rem;
    margin-top: 50px;
    line-height: 1.2;
    color: var(--text-color);
    transition: opacity 0.5s ease, color 0.5s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.date-float,
.moon-phase-float {
    font-size: 1rem;
    margin-top: 20px;
    line-height: 1.2;
    color: var(--text-color);
    transition: opacity 0.5s ease, color 0.5s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timezone-float {
    font-size: 1rem;
    margin-top: 20px;
    line-height: 1.2;
    color: var(--text-color);
    transition: opacity 0.5s ease, color 0.5s ease;
    opacity: 0.5;
    cursor: pointer;
    pointer-events: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timezone-float:hover {
    opacity: 1;
}

.content-wrapper {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 390px) and (orientation: portrait) {
    .message {
        font-size: 2.5rem;
    }
    .lunar-day {
        font-size: 1.6rem;
    }
    .date,
    .moon-phase,
    .timezone,
    .logo-text span,
    .language-selected,
    .legend-button,
    .language-list span,
    .language-list-horizontal span,
    .legend-text,
    .email-form input,
    .email-form button,
    .message-float,
    .lunar-day-float,
    .date-float,
    .moon-phase-float,
    .timezone-float {
        font-size: 0.85rem;
    }
}

@media screen and (max-height: 360px) and (orientation: landscape) {
    .message {
        font-size: 2.5rem;
    }
    .lunar-day {
        font-size: 1.6rem;
    }
    .date,
    .moon-phase,
    .timezone,
    .logo-text span,
    .language-selected,
    .legend-button,
    .language-list span,
    .language-list-horizontal span,
    .legend-text,
    .email-form input,
    .email-form button,
    .message-float,
    .lunar-day-float,
    .date-float,
    .moon-phase-float,
    .timezone-float {
        font-size: 0.85rem;
    }
}

.no-js-message {
    font-size: 2rem;
    font-family: 'MontHeavy', sans-serif;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 20px;
}

.no-js-details {
    font-size: 1rem;
    font-family: 'MontHeavy', sans-serif;
    line-height: 1.2;
    color: var(--text-color);
}
