@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Space+Mono:wght@400;700&display=swap");

body {
  background-color: #232323;
  margin: 0;
  font-family: "Space Mono", monospace;
}

header {
  font-size: 3em;
  text-align: center;
  color: white;
  text-transform: capitalize;
}

.display {
  text-align: center;
  margin: 0.4em;
  font-size: 2em;
  color: white;
  text-transform: uppercase;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  width: fit-content;
  gap: 1.66%;
  margin: auto;
}

.square {
  width: min(25vw, 200px);
  height: min(25vw, 200px);
  background: purple;
  float: left;
  margin: 1.66%;
  border-radius: 15%;
  transition: background 0.6s;
  -webkit-transition: background 0.6s;
  -moz-transition: background 0.6s;
  cursor: pointer;
}

.message {
  text-align: center;
  font-size: 2em;
  color: white;
  margin-top: 2em;
  margin-bottom: 0.25em;
  padding: 0.2em;
  height: 2.4em;
}

.btn {
  margin-top: 2em;
  display: flex;
  justify-content: center;
}

#reset {
  font-size: 1em;
  font-family: inherit;
  outline: none;
  border: none;
  background: white;
  color: steelblue;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 0.25em;
  padding: 3px 12px;
  transition: 0.2s ease;
}

#reset:hover {
  background: steelblue;
  color: white;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0px;
  width: 100%;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: min(2vw, 15px);
  width: 100%;
}
