:root{
    --button-green: linear-gradient(rgba(0,255,0),rgba(0,180,0));
    --button-green-hover: linear-gradient(rgba(0,180,0) , rgba(0,255,0));
    --button-red: linear-gradient(rgba(255,0,0),rgba(180,0,0));
    --button-red-hover: linear-gradient(rgba(180,0,0) , rgba(255,0,0));
    --button-blue: linear-gradient(rgba(0,255,255),rgba(0,180,180));
    --button-blue-hover: linear-gradient(rgba(0,180,180) , rgba(0,255,255));
}

body{
    background-color: rgb(186, 140, 99);
}

#timer-container{
    background-color: transparent;
    width: 70vw;
    height: 55vh;
    margin: 0 auto;
    max-width: 600px;
    min-width: 500px;
}

#title{
    font-family: 'Kdam Thmor Pro', sans-serif;
    text-align: center;
    font-size: 48px;
    color: rgb(211, 249, 74);
    margin: 0 0;
}

#monitor{
    position: relative;
    box-sizing: border-box;
    width: 500px;
    height: 35%;
    margin: 5px auto;
    background-color: rgba(202, 202, 103, 0.646);
    border-radius: 20px;
    border: 3px solid black;
}

#main{
    text-align: center;
    position: relative;
    top: 12px;
    font-size: 72px;
    margin: 0 ;
}

#sub{
    position: absolute;
    right: 0; bottom: 5%;
    margin: 0 15%;
    font-size: 24px;
}

.button-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}


#number-button-container > button{
    margin: 5px;
    width: 14%;
    height: 36px;
    border-radius: 5px;
    font-family: 'Kdam Thmor Pro', sans-serif;
}

.number-button{
    background: var(--button-blue);
}

#number-button-container > .number-button:hover{
    background: var(--button-blue-hover);
    cursor: pointer;
}

#set{
    background: var(--button-green);
}
#number-button-container > #set:hover{
    background: var(--button-green-hover);
    cursor: pointer;
}

#clear{
    background: var(--button-red);
}

#number-button-container > #clear:hover{
    background: var(--button-red-hover);
    cursor: pointer;
}

button:active{
    transform: scale(0.9);
}

#action-button-container > button{
    font-family: 'Kdam Thmor Pro', sans-serif;
    display: inline-flex;
    align-items: center; justify-content: center;
    margin: 15px 10px;
    flex-grow: 1;
    height: 60px; width: 120px;
    border-radius: 10px;
    font-size: 48px;
    cursor: pointer;
}

#start, #continue{
    background: var(--button-green);
}

#start:hover, #continue:hover{
    background: var(--button-green-hover);
}

#pause{
    background: var(--button-red);
}

#pause:hover{
    background: var(--button-red-hover);
}

#reset{
    background: var(--button-blue);
}

#reset:hover{
    background: var(--button-blue-hover);
}

@keyframes flash {
    0%{
        background-color: rgba(202, 202, 103, 0.646);
    }
    100%{
        background-color: red;
    }
}

.flash-animation{
    animation-name: flash;
    animation-timing-function: linear;
    animation-duration: 0.1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}










