#barebone-header {
    display: flex;
    background-color: white;
    align-items: center;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 100;
}

#barebone-header-anim {
    will-change: transform, opacity, margin;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.barebone-logo {
    display: flex;
    align-items: center;
    padding: 10px;
    width: fit-content;
    cursor: pointer;

    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.barebone-logo-mobile {
    height: 20px;
    transform: translateZ(0);
    will-change: transform;
}

.barebone-logo img {
    height: 64px;
}

.barebone-sections {
    display: flex;
    align-items: center;
    cursor: pointer;

    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.barebone-sections .barebone-sections-item {
    font-family: 'Dongle', Arial;
    font-size: 24px;
    transition: opacity 0.25s;
    white-space: nowrap;
}

.barebone-sections .barebone-sections-item:active {
    opacity: 0.5;
}

.barebone-sections .barebone-logo-mobile {
    margin-right: 20px;
    display: none;
    transform: translate(0px, -2px);
}

.barebone-sections .barebone-sections-item+.barebone-sections-item {
    margin-left: 20px;
}

#barebone-canvas {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    margin-bottom: -110vh;
    z-index: -10;

    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

#barebone-content {
    min-height: calc(100% - 200px);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

#barebone-content h1 {
    margin-top: 10px;
    font-size: 56px;
    font-weight: bold;
}

#barebone-content h2.lined {
    text-align: center;
}

#barebone-content h2.lined::before,
#barebone-content h2.lined::after {
    content: '-';
    flex: 1;
    display: inline-block;
    color: transparent;
    height: 3px;
    width: 10px;
    background-color: var(--color-text-light);
    margin: 0 10px;
    transform: translate(0, 15px);
}

#barebone-canvas + #barebone-content {
    background-color: transparent;
}

#barebone-footer {
    background-color: white;
    color: var(--color-text-dark);
    width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
    margin-bottom: -20px;
    position: relative;
}

.barebone-footer-title {
    font-weight: bold;
    font-size: 20px;
    margin: 5px;
}


.barebone-footer-content {
    margin: 5px;
}

.barebone-footer-social {
    display: flex;
    margin: 20px 20px 0px 20px;
    gap: 10px;
    font-size: 32px;
    direction: row;
    justify-content: center;
    cursor: pointer;
}

#barebone-img-viewer::before {
    content: attr(display-title);
    position: absolute;
    top: -70px;
    left: 0;
    height: fit-content;
    min-height: 30px;
    width: calc(100% - 100px);
    color: black;
    z-index: 9001;
    padding: 20px 80px 20px 20px;
    font-size: 18px;
    background: white;
    pointer-events: none;
}

#barebone-img-viewer {
    position: absolute;
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9000;
    touch-action: none;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

#barebone-img-viewer::after {
    content: "";
    position: absolute;
    bottom: -10vh;
    left: 0;
    height: 10vh;
    width: 100%;
    background: inherit;
    z-index: 9001;
    pointer-events: none;
}

#barebone-img-viewer.show {
    opacity: 1;
}

#barebone-img-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

#barebone-img-viewer #close {
    position: absolute;
    top: -45px;
    right: 26px;
    color: black;
    font-size: 18px;
    cursor: pointer;
    z-index: 9100;
}


#buffbuff-button-container {
    position: sticky;
    bottom: 0px;
    width: 100%;
    height: 0px;
    display: flex;
    align-items: end;
    pointer-events: none;
    z-index: 5000;
    transform: translate(0, -25px);
    backface-visibility: hidden;
    will-change: transform;
    overflow: visible;
}

#buffbuff-button {
    width: 60px;
    height: 60px;
    padding: 0px;
    border-radius: 50% 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    pointer-events: all;
    backface-visibility: hidden;
    will-change: transform;
    background-color: #69dc10;
    box-shadow: black 0 0 2px;
    overflow: visible;
    transform-origin: right;
    opacity: 0.5;
}

#buffbuff-button img {
    width: 44px;
}

@media (min-width: 768px) {
    #barebone-header {
        justify-content: start;
        flex-direction: row;
    }

    #barebone-header .barebone-logo img {
        transform-origin: center left;
    }

    .barebone-sections {
        margin-left: auto;
        margin-right: 25px;
    }

    .barebone-sections .barebone-sections-item {
        font-size: 32px;
    }

    .barebone-sections .barebone-sections-item+.barebone-sections-item {
        margin-left: 30px;
    }
}