
/* Mobile Layout */

*
{
    box-sizing: border-box;
}

body
{
    margin: 0;
    padding: 20px;

    font-family: "lulo-clean-w01-one-bold", monospace;
    color: #3500ec;

    font-size: 18px;
}

/* Main Layout */

.baseCanvas
{
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: calc(100dvh - 40px);

    margin: 0;
    padding-bottom: 90px;
}

.innerBase
{
    display: flex;
    flex-direction: column;

    width: 100% !important;
    height: auto;
}

#leftInnerBase
{
    align-items: stretch;
    text-align: left;
}

/* Header */

.innerBaseHeader
{
    display: flex;
    flex-direction: column;

    line-height: 1.1;
    gap: 5px;
}

.innerBaseHeader h1
{
    font-size: 42px;
    margin: 0;
}

.innerBaseHeader h2
{
    font-size: 18px;
    margin: 0;
}

/* Bottom Navigation */

.innerBaseButtonContainer
{
    position: fixed;

    bottom: 0;
    left: 0;

    width: 100%;

    margin: 0;
    padding: 10px 8px max(10px, env(safe-area-inset-bottom));

    background-color: white;

    z-index: 1000;
}

.innerBaseButtons
{
    display: flex;
    flex-direction: row;

    justify-content: space-around;
    align-items: stretch;

    width: 100%;
    height: auto;

    gap: 4px;
    overflow: visible;
}

.innerBaseButtonObject
{
    display: flex;

    flex: 1;
    min-width: 0;
}

.innerBaseButton
{
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: auto;
    min-height: 0;

    gap: 5px;

    padding: 0;
    margin: 0;

    font-family: inherit;
    font-size: 9px;
    line-height: 1.3;

    text-align: center;
    color: #3500ec;

    border: none;
    background: transparent;

    overflow-wrap: anywhere;
    cursor: pointer;
}

.innerBaseButtonIcon
{
    width: 28px;
    height: 28px;

    max-height: none;

    object-fit: contain;
    image-rendering: pixelated;
}

/* Carousel Layout */

.innerBaseGalleryContainer
{
    display: flex;
    flex: 1;

    width: 100%;
    min-width: 0;

    align-items: center;
    justify-content: center;

    margin-top: 30px;
}

.innerBaseGallery
{
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: auto;
}

/* Carousel Viewport */

.innerBaseGalleryImageContainer
{
    display: flex;

    width: 100%;
    height: 100%;

    overflow: hidden;

    touch-action: pan-y;

    cursor: grab;
}

.innerBaseGalleryImageContainer:active
{
    cursor: grabbing;
}

/* Carousel Images */

.innerBaseGalleryImage
{
    display: block;

    flex: 0 0 100%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;
}

/* Carousel Navigation */

.innerBaseGalleryNavButton
{
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 4px;

    background: rgba(255, 255, 255, 0.8);
    border: none;

    cursor: pointer;
}

.innerBaseGalleryNavButton img
{
    width: 24px;
    height: 24px;

    object-fit: contain;
}

/* Next */
.innerBaseGalleryNavButton:first-child
{
    right: 0;
}

/* Previous */
.innerBaseGalleryNavButton:nth-child(2)
{
    left: 0;
}
