@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  position: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  background: #222;
  align-items: center;
  justify-content: center;
}

.bodyContainer {
  width: 600px;
  height: 600px;
  position: relative;
  border-radius: 50%;
  border: 2px solid #fff;
}

.bodyContainer .icons {
  left: -50%;
  width: 100%;
  height: 100%;
  display: flex;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}

.bodyContainer .icons .imgBox {
  width: 80px;
  height: 80px;
  z-index: 100;
  transform: 0.5s;
  overflow: hidden;
  border-radius: 50%;
  position: absolute;
  transform-origin: 340px;
  border: 1px solid #fff;
  transform: rotate(calc(360deg / 8 * var(--i)));
  box-shadow: 0 0 0 4px #222, 0 0 0 6px #fff;
}

.bodyContainer .icons .imgBox.active {
  box-shadow: 0 0 0 4px #ff1d50, 0 0 0 6px #fff;
}

.bodyContainer .icons .imgBox img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  filter: grayscale(1);
  transform: rotate(calc(-360deg / 8 * var(--i)));
}

.bodyContainer .icons .imgBox.active img {
  filter: grayscale(0);
}

.contentWrapper {
  inset: 0;
  display: flex;
  overflow: hidden;
  position: absolute;
  align-items: center;
  justify-content: center;
}

.contentWrapper::before {
  z-index: 1;
  content: "";
  inset: 60px;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 4px solid transparent;
  border-left: 4px solid #2196f3;
  border-right: 4px solid #ffffff;
  animation: animate_circle 5s linear infinite;
}

@keyframes animate_circle {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.contentWrapper::after {
  z-index: 1;
  content: "";
  inset: 120px;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 4px solid transparent;
  border-left: 4px solid #ff1d50;
  border-right: 4px solid #ffffff;
  animation: animate_circle2 2.5s linear infinite;
}

@keyframes animate_circle2 {
  0% {
    rotate: 360deg;
  }
  100% {
    rotate: 0deg;
  }
}

.contentBox {
  opacity: 0;
  display: flex;
  transition: 0.5s;
  position: absolute;
  align-items: center;
  transform: scale(0);
  justify-content: center;
}

.contentBox.active {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.5s;
}

.contentBox .customCard {
  display: flex;
  position: relative;
  text-align: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.contentBox .customCard .imgBox {
  width: 150px;
  height: 150px;
  position: relative;
  border-radius: 10px;
}

.contentBox .customCard .imgBox img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.contentBox .customCard .textBox h2 {
  color: #fff;
  font-weight: 600;
  margin-top: 1rem;
  line-height: 1rem;
  font-size: 1.25rem;
  position: relative;
  text-transform: uppercase;
}

.contentBox .customCard .textBox span {
  color: #fff;
  font-weight: 500;
  font-size: 0.65rem;
  text-align: center;
  align-items: center;
  letter-spacing: 0.5rem;
}

.contentBox .customCard .textBox .icon-links {
  gap: 8px;
  display: flex;
  margin-top: 10px;
  position: relative;
}

.contentBox .customCard .textBox .icon-links li {
  list-style: none;
}

.contentBox .customCard .textBox .icon-links li a {
  width: 30px;
  height: 30px;
  display: flex;
  color: #fff;
  transition: 0.5s;
  border-radius: 5px;
  position: relative;
  background: #444;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.contentBox .customCard .textBox .icon-links li a:hover {
  background: #2196f3;
}
