@import url('https://fonts.googleapis.com/css2?family=Sansation:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-size: 16px;
  padding: 12px;
}

h1 {
  display: flex;
  justify-content: center;
  font-size: 3em;
  font-weight: bold;
}

.container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 24px 0;
  row-gap: 60px;
  margin-top: 24px;
}

.button-container {
  display: inline-flex;
  flex-direction: column;
  width: 20%;
  justify-content: center;
  align-items: center;
}

.button {
  position: relative;
  display: inline-flex;
  width: 100px;
  height: 100px;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2;
}

.button::before {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
  background: red;
  border-width: 0px 4px 8px 4px;
  border-style: solid;
  border-color: #b40000;
  transition: 0.3s;
  bottom: 10px;
}

.button::after {
  position: absolute;
  width: 110%;
  height: 114%;
  background-color: #5b0000;
  content: "";
  z-index: -1;
  border-radius: 50%;
  bottom: 0;
  left: 0;
  transition: 0.3s;
}

.button:active {
  transform: scale(0.98);
}

.button:hover::before {
  height: 100%;
  bottom: 7px;
}

.button:active::before {
  bottom: 0;
}

.button:active::after {
  height: 100%;
  bottom: 0;
  left: 0;
}

label {
  display: inline-flex;
  justify-content: center;
  width: 110%;
  margin-top: 8px;
  text-align: center;
}