*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}
html
{
    font-size: 1vw;
    cursor: default;
}
::selection
{
    background: none;
}
body
{
    background-color: rgb(82, 82, 82);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.bodyAnimateElement
{
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 0;
    scale: 2.5;
}
.bodyTimerEnded
{
    background: linear-gradient(0deg,rgb(248, 0, 0),rgb(0, 213, 0));
    transition: all 2s ease;
    animation-name: bodyRotate;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
@keyframes bodyRotate {
    0%
    {
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }   
}
.container
{
    padding:1rem 1rem 2rem 1rem;
    border-radius: 2rem;
    width:60vw;
    background-color: rgb(90, 90, 90);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav
{
    width:100%;
    display: flex;
    justify-content: space-evenly;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
.option
{
    cursor: pointer;
    transition: all .3s ease;
}
.optionHover:hover
{
    color: rgb(178, 178, 178);
}
.slider
{
    height: .3rem;
    background-color: rgb(0, 213, 0);
    border-radius: 10px;
    transition: all .5s ease;
    opacity: 0;
    position: absolute;
    top:3.5rem;
}
.layout1
{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:2.5rem 3rem;
    justify-content: center;
    transition: transform 1s ease,opacity .6s ease;
}
.layout1>h1
{
    width: 100%;
    text-align: center;
    font-size: 5rem;
    font-weight: 900;
}
.layout1>button
{
    font-size: 2rem;
    border:.3rem solid rgb(153, 153, 153);
    border-radius: .8rem;
    padding: .4rem .8rem;
    background: none;
    outline: none;
    cursor: pointer;
}
.start,
.stop,
.reset
{
    transition: all .3s ease;
}
.start:hover
{
    background: rgb(0, 213, 0);
    border:.3rem solid rgb(0, 213, 0);
}
.stop
{
    background: red !important;
    border:.3rem solid red !important;
}
.reset:hover
{
    background: rgb(245, 218, 10);
    border:.3rem solid rgb(245, 218, 10)
}



.layout2
{
    position: absolute;
    top:5rem;
    bottom: 0;
    left:100%;
    right: -100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap:1rem;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease,opacity .6s ease;
}
.counter
{
    display: flex;
    width:100%;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
}
.numberInput
{
    width:8rem;
    background: none;
    font-size: 5rem;
    border:0;
    text-align: center;
    outline: none;
    padding-right: 2.5rem;
    padding: 0;
   
}
.numberInput::-webkit-inner-spin-button
{
    display: none;
}
.dots
{
    font-size: 6rem;
    margin-top: -1.5rem;
}

.buttons
{
    width:100%;
    display: flex;
    justify-content: center;
    gap:2rem;
}
.btn2
{
    font-size: 2rem;
    border:5px solid rgb(153, 153, 153);
    border-radius: .8rem;
    padding: .4rem .8rem;
    background: none;
    outline: none;
    cursor: pointer;
}
.timerContent
{

    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 6rem;
    font-size: 5rem;
    font-weight: 900;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgb(90, 90, 90);
}
.btnAnimation
{
    animation-name: scaleBtn;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}
@keyframes scaleBtn {
    0%
    {
        transform: scale(1);
    }
    50%
    {
        transform: scale(1.4);
        
    }
    100%
    {
        transform: scale(1);
    }
}
@media (max-width:425px) {
    html
    {
        font-size: 4vw;
    }
    body
    {
        align-items: flex-start;
        padding-top: 27vh;
    }
    .bodyAnimateElement
    {
        display: none;
    }
    .slider
    {
        height: .5rem;
        top:3.8rem;
    }
    .container
    {
        background: none;
        width:100vw;
        overflow: hidden;
    }
    .optionHover:hover
    {
        color: rgb(255, 255, 255);
    }
    .reset
    {
        background: rgb(213, 188, 0) !important;
        border:.3rem solid rgb(213, 188, 0) !important;
    }
    #start2,
    #start
    {
        background: rgb(0, 213, 0);
        border:.3rem solid rgb(0, 213, 0);
    }
    .start:hover
    {
        background: rgb(0, 213, 0) !important;
        border:.3rem solid rgb(0, 213, 0) !important;
    }
    .stop:hover
    {
        background: red !important;
        border:.3rem solid red !important;
    }
    .layout1
    {
        gap:1.5rem;
    }
    .layout2
    {
        gap:1.5rem;
        top:4rem;
    }
    .numberInput
    {
        width: 6rem;
        font-size: 5rem;
    }
    .timerContent
    {
        background:rgb(82, 82, 82);
        top:1.5rem;
        bottom: 6.5rem;
    }
}