:root {
    --button-transition-duration: 0.5s;
    --buttonWidth: 150px;
    --buttonHeight: 50px;
    --buttonWidthActive: 400px;
    --buttonHeightActive: 400px;

    --timerBarHeight: 15px;
    --timerbarWidth: 300px;
    --timerBarColor: #e2e2e2;
    --timerBarBackgroundColor: #1a1b1f;
}

html, body {
    margin: 0;
    overflow: hidden;
}


#ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    align-items: center;

    background-color: transparent;
    pointer-events: none;

    z-index: 2147483640;    /* :3 */
}

#bottom-bar {
    width: 100%;
    height: fit-content;
    padding: 50px;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;

    pointer-events: none;
}

#timer-container {
    width: 100px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

#timer {
    color: white;
}

#timer-bar-container {
    width: var(--timerbarWidth);
    min-height: var(--timerBarHeight);
    background-color: var(--timerBarBackgroundColor);

    border-radius: 100px;
    overflow: hidden;
}

#timer-bar {
    width: 0%;
    height: 100%;

    transition: width 0.5s;
    border-radius: 0 100px 100px 0;

    background-color: var(--timerBarColor);
}

#clock-container {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 50px;

    align-items: end;
}

.textFont {
    font-size: 18px;
    font-family: "Courier New", 'courier-std', monospace;
    font-weight: 400;
    font-style: normal;
    color: white;
}

#clock {

}

#date {

}

#location {

}

#buttons-container {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #24272C;
}

.button {
    position: absolute;

    height: var(--buttonHeight);
    width: var(--buttonWidth);

    cursor: pointer;

    border-radius: 100px;

    /*border: solid 1px white;*/

    transition: width var(--button-transition-duration),
    height var(--button-transition-duration),
    transform var(--button-transition-duration),
    /*top var(--button-transition-duration),*/
    border-radius var(--button-transition-duration);

    box-shadow: 4px 4px 10px 4px #1A1B1F, -4px -4px 10px 4px #31343D;

    overflow: hidden;
}

.button.active {
    width: var(--buttonWidthActive);
    height: var(--buttonHeightActive);

    border-radius: 0;
}

.video-player {
    pointer-events: none;

    transition: opacity var(--button-transition-duration);
    opacity: 0;
}
.video-player.active {
    opacity: 1;
}

#background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: transparent;

    z-index: 1;

    pointer-events: none;
}

#background-video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

#start-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #24272C;
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#start-upper {
    height: fit-content;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#start-lower {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    width: 100%;
    height: 100%;

    box-sizing: border-box;

    padding-left: 85px;
    padding-bottom: 60px;
}

#start-button {
    cursor: pointer;
}

#description {
    line-height: 32px;
}

.ui-scale {
    transform: scale(0.8);
}

.hidden {
    display: none !important;
}

@keyframes expand {
    0% {
        width: var(--buttonWidth);
        height: var(--buttonHeight);
    }
    100% {
        width: var(--buttonWidthActive);
        height: var(--buttonHeightActive);
    }
}
