* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.hero {
  margin-bottom: 40px;
  font-family: sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px;
}

.hero .logo {
  font-size: 20px;
  margin-bottom: 5px;
}

.hero .logo img {
  height: 20px;
}

.hero .logo img:last-of-type {
  height: 17px;
}

.subtitle {
  opacity: 80%;
  font-style: italic;
  font-size: 14px;
}

.buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}

.buttons button {
  background: black;
  color: white;
  border: none;
  outline: none;
  height: 35px;
  width: 150px;
  border-radius: 35px;
  font-weight: bold;
  display: block;
  cursor: pointer;
  transition: 0.2s ease;
}

.buttons button:hover {
  background: rgba(0,0,0,0.5);
}

.buttons button.active {
  background: #193F8F;
}

.buttons button.active:hover {
  background: #2752af;
}


.swatchContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  gap: 20px;
}

.swatch {
  background: white;
  padding: 10px;
  width: 250px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img:first-of-type {
  height: 12px;
}
.header img:last-of-type {
  height: 10px;
}

.swatch-color {
  width: 100%;
  height: 150px;
  background: blue;
  margin: 10px 0;
  border-radius: 5px;
  position: relative;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.color-name-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot {
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background: blue;
  margin-right: 5px;
  position: relative;
}

.dot::after {
  height: 10px;
  width: 10px;
  border-radius: 100%;
  content: "";
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.color-code {
  font-family: monospace;
}
