@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+SC:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    
}
body{
  
    color: #6a77ec;


}
.container{
    text-align: center;
    width: 100%;
    padding: 10px 0;
}
.timer{
    display: inline-block;
    padding: 10px;
    width: 600px;
    box-sizing: border-box;

}

main{
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2rem;
}

h1{
    font-size: 2rem;
    margin: 20px auto; 
}

.button-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pomodoro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 2.5rem 0;
    text-align: center;
    border-radius: 50%;
    background: #151932;
    box-shadow: 20px 20px 42px #0e2021, -20px -20px 42px #1c2244;    
}

.pomodoro::before{
   content:"";
   position: absolute;
   border: 10px solid royalblue;
   border-radius: 50%;
   width: 22rem;
   height: 22rem;

}
.time {
    font-size: 5rem !important;
    margin: 20px auto;

}

.button-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;    
}

.button{
    background-color: #2e325a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: all .2s ease-in;    
}

.button.active, .button:hover{
    background-color: #020323;
} 

.hidden {
   display: block;

}

.timer-display{
    font-size: 5rem;
    margin-top: 20px;
    font-weight: bold;

}

.buttons{
    margin-top: 20px;
}

#start, #stop, #restart{
    background-color: #2e325a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    transition: all .2s ease-in;
}

#stop:hover{
    background-color: tomato;

}

#start:hover{
    background-color: #219a52;
    
}

#restart:hover{
    background-color: rgb(84, 84, 249);
}

#timer-message{
    color: white;
    background-color: rgb(12, 73, 243);
    display: none;
    padding: .5rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 1rem;

}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.1);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}