/* GENERAL STYLES */

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    font-family: "museo-sans", sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

body:not(.desktop):not(.mobile) {
    display: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

.content {
    overflow: hidden;
}

/* LISTS */

ol.alpha {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 0 !important;

    li::before {
        content: counter(list-counter, lower-alpha) ")";
        margin-right: 0.5em !important;
    }

    li {
        counter-increment: list-counter;
        display: flex;
        margin-bottom: 0.5em !important;

        div > p:last-child {
            margin-bottom: 0.5em !important;
        }
    }
}

ul.dash {
    list-style: none;
    padding-left: 1em !important;

    li::before {
        content: "–";
        position: absolute;
        left: -1em;
    }

    li {
        position: relative;
    }
}

/* GALLERY MODAL */

.gallery-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;

    .modal-backdrop {
        background: rgba(0, 0, 0, 0.8);
        cursor: pointer;
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .modal-content {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        position: relative;
        max-width: 90%;
        max-height: 90%;

        .modal-image {
            max-width: 100%;
            max-height: 80vh;
        }

        .modal-title {
            color: #fff;
            font-size: 20px;
            font-weight: 300;
            line-height: 24px;
            margin-top: 10px;
            text-align: center;
            word-wrap: break-word;
            user-select: none;
            max-width: 90%;
        }
    }
}
