﻿
#bg {
    position: absolute;
    /* The image used */
    background-image: url("/img/background.jpg");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -999;
}

#company_clock {
    font-family: Orbitron;
    position: absolute;
    top: 1em;
    left: 3.5em;
    height: 2em;
    line-height: 2em;
    align-content: center;
    vertical-align: middle;
    text-align: center;
    color: #ff6a00;
    font-size: 2rem;
    letter-spacing: 7px;
    text-shadow: gray 1px 0 4px;
}


#company_footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    background: white;
    opacity: 0.85;
    font-family: "Fredoka";
    color: black !important;
}

#sign_panel {
    background: white;
    top: 20%;
    bottom: 20%;
    right: 15%;
    width: 450px;
    position: absolute;
    opacity: 0.95;
    padding: 0.8em;
    box-shadow: 12px 12px 2px 1px rgba(254, 138, 24, .5);
    border: 1px solid #afafaf;
}

.si_title {
    font-family: "ComfortaaBold";
}

#sign_panel .main_title {
    font-family: "NotoSansTC";
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

    #sign_panel .sub_title {
        font-family: "Exo2";
        text-align: center;
        color: #aaaaaa;
        font-size: 14px;
    }

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaaaaa;
    font-size: 0.7em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #aaaaaa;
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }

#func_area button{
    width: 100%;
    border-radius: 5px;
}


@media only screen and (max-width: 600px) {
    #sign_panel {
        width: 90%;
        left: 5%;
        right: 5%;
        position: absolute;
        padding: 0;
        top: 15%;
        bottom: 20%;
        box-shadow: 5px 5px 2px 1px rgba(254, 138, 24, .5);
    }

    #company_clock {
        text-align:center;
        font-size: 22px;
    }

    #sign_title {
        padding-left: 20px;
        font-size: 14px !important;
    }
}

#main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 3em;
    height: 3em;
    color: white;
    background-color: #555555;
    --bs-text-opacity: 1;
    font-size: 0.8rem;
    padding: 0 0.5em 0 2em;
}

    #main-footer div {
        display: inline-block;
        width: 49%;
    }