@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(120deg, #9880f2, #604b97);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3 {
  color: #fff;
  text-align: center;
}

h2 {
  text-transform: uppercase;
}

h3 {
  margin-top: 2rem;
}

.relogio {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 200px;
  width: 700px;
  background: linear-gradient(120deg, #9880f2da, #604b97d8);
  border-radius: 10px;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.5);
}

.relogio div {
  height: 170px;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
  border-radius: 7px;
  letter-spacing: 3px;
}

.relogio span {
  font-weight: bold;
  font-size: 60px;
}

.relogio span.tempo {
  font-size: 10px;
}

@media (max-width: 700px) {
  body {
    gap: 1rem;
  }

  .relogio {
    flex-direction: column;
    height: 570px;
    width: 200px;
  }

  .relogio div {
    height: 110px;
    width: 180px;
  }

  h1,
  h2,
  h3 {
    font-size: small;
  }
}
