@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Global font style */
html {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

/* Override defaults */
.button_nostyle button, button.button_nostyle {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    outline: inherit;
    /* cursor: pointer; */
}

.a_nostyle a, a.a_nostyle,
.a_nostyle a:hover, a:hover.a_nostyle,
.a_nostyle a:visited, a.a_nostyle:visited,
.a_nostyle a:focus, a.a_nostyle:focus {
    color: inherit !important;
    text-decoration: none !important;
}

/* Backgrounds */
.background {
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex; /* For stationary footer */
    flex-direction: column; /* For stationary footer */
}

.background_title {
    position: absolute;
    text-align: center;
    width: 100%;
    top: 30%;
    z-index: 1;
    color: white;
    text-shadow:
        0.05em 0 black,
        0 0.05em black,
        -0.05em 0 black,
        0 -0.05em black,
        -0.05em -0.05em black,
        -0.05em 0.05em black,
        0.05em -0.05em black,
        0.05em 0.05em black;
    font-weight: bold;
}

.background_layer {
    background-attachment: fixed;
    background-position: center bottom 5vh;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 405px;
}

.background_video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.background_cover {
    margin: 6vh 0 0 0;
    display: block;
    position: relative;
    z-index: 0;
}

.footer {
    padding: 8px 0 0 0;
    margin-top: auto; /* For stationary footer */
}

/* Button center positioning */
.button_group {
    display: flex;
    justify-content: center;
    align-items: center; /* Redundant, but keep this just in case */
}

/* Custom fonts */
.font_xs, .font_xs > * {
    font-size: 1rem;
}

.font_sm, .font_sm > * {
    font-size: 1.25rem;
}

.font_md, .font_md > * {
    font-size: 1.5rem;
}

.font_lg, .font_lg > * {
    font-size: 2rem;
}

.font_xl, .font_xl > * {
    font-size: 3rem;
}

/* Custom margins */
.textbox, .textbox > * {
    margin: 2vh 5vw 2vh 5vw;
}

.nomargin {
    margin: 0 !important;
}

/* Custom word-break (on space) */
.word_break {
    word-break: break-word;
    white-space: break-spaces; 
}