#timer-all-wrap{
    position:relative;
}
#timer-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 2.5em;
    color: #f8fafc;
    font-family: sans-serif;
}
#timer-container {
    text-align: center;
    max-width:600px;
    width: 100%;
}
#timer-display {
    font-size: 4rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items:center;
    gap:10px;
}
.time-unit input {
    width: 9rem;
    font-size: 6.5rem;
    text-align: center;
    background: none;
    border: 1px solid rgba(0,0,0,0);
    border-radius: .25em;
    color: #f8fafc;
    outline: none;
    height: unset;
    padding: 0;
    box-shadow: unset;
    font-family: "JetBrains Mono";
}
.time-unit input:hover {
    background-color: rgba(0, 0, 0, 0.25);
}
.time-unit input:focus {
    color: #edc73a;
    background-color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 767px) {
    #timer-display{
        font-size: 2.5rem;
    }
    .time-unit input {
        width: 3.5rem;
        font-size: 3rem;
    }
}
.time-unit input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
#progress-bar {
    width: 100%;
    height: 20px;
    margin: 1em 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius:20px;
    overflow: hidden;
}
#progress {
    height: 100%;
    width: 0;
    background: #38bdf8;
}
#button-wrap{
    display:flex;
    justify-content:center;
    gap:5px;
    margin-top: 1.5em;
}
.text-wrap{
    margin-top:3em;
}
.text-wrap > *{
    color:var(--ast-global-color-4) !important;
}
.text-wrap > h3{
    font-size:1em;margin-bottom:10px;
}
.text-wrap > p{
    font-size:.813em
}
#timer-wrap button, #layer-overlay button {
    padding: .5em .75em;
    min-width: 60px;
    font-weight: 300;
    background: none;
    border: 1px solid #f8fafc;
    color: #f8fafc;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
}
#timer-wrap button:hover {
    background: #f8fafc;
    color: #0f172a;
}
#timer-wrap button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
#layer-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    color: #fff;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}
#overlay-button-wrap{
    display:flex;
    justify-content:center;
    gap:5px;
}
#layer-overlay div {
    font-size: 3em;
    width:100%;
}
#layer-overlay button {
    font-weight:300;
    margin: 10px 3px;
}
@media (max-width:767px){
    #layer-overlay div {
        font-size: 2em;
    }
    #timer-wrap button{
        padding: 8px;
    }
}