

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
  background-image:var(--background); 
  background-size: cover;
}






#base {
  background-color: rgba(2, 2, 2, 0.637);
  display: flex;
  align-items: center;
  height: 180px;
  width: 400px;
  justify-content: center;
  border-radius: 420px;
  color: white;
  text-align: center;
  font-family: sans-serif;
  
  
  
}

#relogio{
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3em;
  font-family: monospace;
  
}


.light{
  background-image: url(day.png);

  
}
.mid{
  background-image: url(afternoon.png)
   


  }


  .dark{
  background-image: url(night.png);
}



@media only screen and (max-width: 500px) {
   

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
  background-image:var(--background); 
  background-size: cover;
}






#base {
  background-color:rgba(2, 2, 2, 0.637);
  display: flex;
  align-items: center;
  height: 180px;
  width: 300px;
  justify-content: center;
  border-radius: 420px;
  color: white;
  text-align: center;
  font-family: sans-serif;
  
  
  
}

#relogio{
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3em;
  font-family: monospace;
  
}


.light{
  background-image: url(day.png);
}


.mid{
  background-image: url(afternoon.png)
   


  }


  .dark{
  background-image: url(night.png);
} 
}