
@font-face {
  font-family: "Electrolize Regular";
  src: url('../fonts/Electrolize-Regular.ttf');
}

body{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Electrolize Regular", sans-serif;
  height: 100vh;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
}



.abertura{
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 gap: 20px;
 color: #aaa;
 background: #000;
 z-index: 1000;
 -webkit-animation: FadeOut .5s ease-in-out;
 -o-animation: FadeOut .5s ease-in-out;
 animation: FadeOut .5s ease-in-out;
 -webkit-animation-delay: 1.55s;
 -moz-animation-delay: 1.55s;
 -o-animation-delay: 1.55s;
 animation-delay: 1.55s;
 font-family: sans-serif;
}

@-webkit-keyframes FadeOut {
 from { opacity: 1; }
 to { opacity: 0; }
}
@-o-keyframes FadeOut {
 from { opacity: 1; }
 to { opacity: 0; }
}
@-moz-keyframes FadeOut {
 from { opacity: 1; }
 to { opacity: 0; }
}
@keyframes FadeOut {
 from { opacity: 1; }
 to { opacity: 0; }
}

.abertura .logo{
 height: 80px;
 width: 80px;
 -webkit-border-radius: 1rem;
 -moz-border-radius: 1rem;
 border-radius: 1rem;
}

.abertura .desenvolvedor{
 position: absolute;
 bottom: 30px;
}



.cronometro{
   width: 220px;
   height: 220px;
   -webkit-border-radius: 50%;
   -moz-border-radius: 50%;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   flex-direction: column;
   gap: 5px;
   box-shadow: 15px 15px 25px #05050595, -15px -15px 25px #22222295;
   border: 15px solid #3248C5;
   background: #10111F;
}

.cronometro::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  background: #3248C5;
}

.cronometro::after{
  content: '';
  position: absolute;
  width: 60px;
  height: 15px;
  background-color: #3248C5;
  top: -40px;
}



.cronometro .painel{
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 5px
}

.cronometro .painel *{
  margin: 0;
  padding: 0;
}

.cronometro .painel .minutos,
.cronometro .painel .segundos{
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 4rem;
   height: 4rem;
   font-size: 3rem;
   color: #888;
   text-shadow: 2px 2px 5px #333, -2px -2px 5px #000;
   position: relative;
}

.cronometro .painel .minutos::after{
  content: 'min';
  position: absolute;
  right: -1.9rem;
  font-size: 1rem;
  bottom: .85rem;
}

.cronometro .painel .segundos::after{
  content: 'seg';
  position: absolute;
  right: -1.9rem;
  font-size: 1rem;
  bottom: .85rem;
}

.cronometro .painel .milissegundos{
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 1.7rem;
   width: 2.3rem;
   height: 2.3rem;
   text-align: center;
   position: relative;
   z-index: 2;
   padding: 7px;
   -webkit-border-radius: 30px;
   -moz-border-radius: 30px;
   border-radius: 30px;
   background: #3248C5;
}

.cronometro .painel .milissegundos::after{
   content: 'ms';
   font-size: .7rem;
   position: absolute;
   bottom: .1rem;
}

.cronometro .acoes{
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   height: 100%;  
   position: absolute;
   padding: 15px;
   box-sizing: border-box;
}

.cronometro .acoes button{
   width: 35px;
   height: 35px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   -webkit-border-radius: 50%;
   -moz-border-radius: 50%;
   border-radius: 50%;  
   border: none;
   background: #3248C5;
   color: #021163;
   font-size: 1.2rem;
}

.cronometro .acoes button.start{
  position: absolute;
  bottom: 90px;
  left: 20px;
}

.cronometro .acoes button.reset{
  position: absolute;
  bottom: 90px;
  right: 20px;
}
