@charset "utf-8";

body {
    max-height: 100%;
}

#container {
    text-align: center;
    font-family: sans-serif;
    margin: 0 auto;
    padding: 1rem 0;
    max-width: 720px;
}

@media screen and (max-width: 600px) {
    #container {
        max-width: 95%;
    }
}

#countdownArea {
    margin: auto;
    font-size: 6em;
}

@media screen and (max-width: 600px) {
    #countdownArea {
        font-size: 20vw;
    }
}

#prog {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 60px;
}

#prog_back {
    display: block;
    width: 100%;
    height: 100%;
    background: #ccc;
    position: relative;
    border-radius: 10px;
}

#prog_front {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #ef6c00;
    transition: 0.5s ease-in-out;
    overflow: hidden;
    border-radius: 10px;
}

#prog_st {
    padding-right: 5%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
    justify-content: flex-end;
    align-items: center;
    font-size: 2em;
    text-shadow: 0 0 2px #ccc;
}

.input_area {
    margin-top: 1.5rem;
}

.input_area p {
    display: inline-block;
    font-size: 1em;
    margin: 1px .5em;
}

.input_area input {
    vertical-align: middle;
}

.boxlavel {
    margin-right: 5px;
}

input[type=number] {
    font-size: 1.2rem;
    width: 4rem;
    height: 2rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type=number]:focus {
    outline: 0;
    border-color: #1565c0;
    box-shadow: 0px 0px 7px #1565c0
}

input[type=checkbox] {
    width: 2em;
    height: 2em;
}

#button_area {
    margin-top: 1.5rem;
}

#start_bt {
    height: 3rem;
    width: 5rem;
}

#update_bt {
    margin: 0 .5em;
    height: 2.5rem;
    width: 4rem;
}

input[type=button]  {
    -webkit-appearance: none;
    color: #fff;
    background-color: #1565c0;
    border-radius: 5px;
    font-size: 100%;
    border: none;
}

footer {
    color: #aaa;
    margin: 2vh 2vw;
    margin-top: auto;
    position: fixed;
    bottom: 0;
}

footer a {
    color: inherit;
    text-decoration: none;
}

@media screen and (max-height: 600px) {
    footer {
        position: relative;
        text-align: start;
    }
}

@media screen and (max-width: 300px) {
    footer {
        display: none;
    }
}
