/* =========================================================================
   style.css

   This file controls how the page looks.

   It includes:
   - Basic page setup
   - Fullscreen slideshow images
   - Loading screen
   - Page content
   - Music button
   - Source link

   You usually do NOT need to edit this file unless you want to change
   the appearance of the page.
   ========================================================================= */


/* -------------------------------------------------------------------------
   BASIC PAGE SETUP
   ------------------------------------------------------------------------- */

/* Make width and height calculations easier to understand. */
* {
    box-sizing: border-box;
}

/* Fill the entire browser window and remove the browser's default margin. */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}


/* -------------------------------------------------------------------------
   SLIDESHOW
   ------------------------------------------------------------------------- */

/* Fill the browser window with the slideshow. */
.bx-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #000;
}

/* Stack all slideshow images in the same location. */
.bx-container img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    z-index: 100;

    will-change: opacity, filter;
}


/* -------------------------------------------------------------------------
   LOADING SCREEN
   ------------------------------------------------------------------------- */

/* Cover the page until the first slideshow image is ready. */
.bx-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
}

/* Style the Loading... message. */
.bx-loading span {
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 8px;
}


/* -------------------------------------------------------------------------
   PAGE CONTENT
   ------------------------------------------------------------------------- */

/* Optional text displayed over the slideshow. */
.bx-content h2,
.bx-content h3 {
    position: relative;
    z-index: 300;

    margin: 0;
    padding: 20px 30px 0;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 120px;
    font-weight: normal;
    text-align: center;

    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        1px 2px 5px rgba(0, 0, 0, 0.5);
}

.bx-content h3 {
    font-size: 60px;
}


/* -------------------------------------------------------------------------
   MUSIC BUTTON
   ------------------------------------------------------------------------- */

/* Place the music button in the bottom-right corner. */
#bx-audio-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);
    color: #fff;

    font-size: 17px;
    line-height: 1;

    cursor: pointer;
    opacity: 0.55;

    backdrop-filter: blur(4px);

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

/* Make the button easier to see when the pointer is over it. */
#bx-audio-toggle:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.55);
}

/* Show a visible keyboard-focus indicator. */
#bx-audio-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

/* Make the button slightly more visible while music is playing. */
#bx-audio-toggle.is-playing {
    opacity: 0.8;
}


/* -------------------------------------------------------------------------
   SOURCE LINK
   ------------------------------------------------------------------------- */

/* Place the source link in the bottom-left corner. */
#bx-source {
    position: fixed;
    bottom: 22px;
    left: 20px;
    z-index: 9998;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;

    opacity: 0.4;

    text-shadow:
        1px 2px 5px rgba(0, 0, 0, 0.5);

    transition: opacity 0.2s ease;
}

/* Make the source link easier to see when selected. */
#bx-source:hover,
#bx-source:focus-visible {
    opacity: 0.9;
}

