@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@300;400;500&family=Raleway&display=swap');

/* font-family: 'Poppins', sans-serif; */

/* Global */
* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

nav {
  margin: 2px;
  justify-content: space-between;
  display: flex;
}
sub {
  font-size: 10px;
  font-weight: 100;
}
main {
  justify-content: center;
  margin: auto;
  min-height: 100%;
  text-align: center;
  margin-top: 15em;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

/* Background color display area */

#colour {
  width: auto;
  font-size: large;
  font-weight: 500;
  height: 3em;
  display: flex;

  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
#colour:hover {
  transform: translateY(-2px);
}

/* Button area */
/* This is from internet */
#button {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  display: inline-flex;

  font-size: 16px;
  font-weight: 400;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

#button:hover,
#button:focus {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: rgba(0, 0, 0, 0.65);
}

#button:hover {
  transform: translateY(-1px);
}

#button:active {
  background-color: #f0f0f1;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color: rgba(0, 0, 0, 0.65);
  transform: translateY(0);
}
