html{

background-color: #ecf0f5;

}



div.sub-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
div.sub-menu .education {
  --bg-color: #ffd861;
  --bg-color-light: #ffeeba;
  --text-color-hover: #4c5656;
  --box-shadow-color: rgba(255, 215, 97, 0.48);
}
div.sub-menu .credentialing {
  --bg-color: #b8f9d3;
  --bg-color-light: #e2fced;
  --text-color-hover: #4c5656;
  --box-shadow-color: rgba(184, 249, 211, 0.48);
}
div.sub-menu .wallet {
  --bg-color: #ceb2fc;
  --bg-color-light: #f0e7ff;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(206, 178, 252, 0.48);
}
div.sub-menu .human-resources {
  --bg-color: #dce9ff;
  --bg-color-light: #f1f7ff;
  --text-color-hover: #4c5656;
  --box-shadow-color: rgba(220, 233, 255, 0.48);
}
div.sub-menu .card {
  background: #fff;
  width: 220px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
  text-decoration: none;
  margin: 15px;
}
div.sub-menu .inactive {
  cursor: not-allowed;
}
div.sub-menu .card .active:hover {
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11), 0 24px 46px var(--box-shadow-color);
}
div.sub-menu .card .active:hover .overlay {
  transform: scale(4) translateZ(0);
}
div.sub-menu .card .active:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}
div.sub-menu .card .active:hover .circle:after {
  background: var(--bg-color-light);
}
div.sub-menu .card .active:hover p {
  color: var(--text-color-hover);
}
div.sub-menu .card .active:active {
  transform: scale(1) translateZ(0);
  box-shadow: 0 15px 24px rgba(0, 0, 0, 0.11), 0 15px 24px var(--box-shadow-color);
}
div.sub-menu .card p {
  font-size: 17px;
  color: #4c5656;
  margin: 0;
  text-align: center;
  position: absolute;
  z-index: 999;
  transition: color 0.3s ease-out;
  padding: 10px;
}
div.sub-menu .circle {
  width: 174px;
  height: 174px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
}
div.sub-menu .active .circle:after {
  content: "";
  width: 160px;
  height: 160px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  transition: opacity 0.3s ease-out;
}
div.sub-menu .active .circle svg {
  z-index: 10000;
  transform: translateZ(0);
}
div.sub-menu .active .circle img {
  display: flex;
  z-index: 9;
  position: relative;
}
div.sub-menu .overlay {
  width: 160px;
  position: absolute;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-color);
  top: 27px;
  left: 31px;
  z-index: 0;
  transition: transform 0.3s ease-out;
}
div.sub-menu .icon {
  position: absolute;
  visibility: hidden;
  padding: 5px;
  right: 8px;
  top: 6px;
  color: #3c8dbc;
  transition: transform 0.3s ease-out;
}
div.sub-menu .card:hover .icon {
  visibility: visible;
  z-index: 9999;
  transition: transform 0.3s ease-out;
}