* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.main {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: rgb(61, 66, 105);
}
.main_sec {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.main_card {
  position: relative;
  width: 320px;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 45px;
  background-color: rgb(0, 0, 0);
  transition: 0.5s;
  border: 3px solid rgb(255, 255, 255);
  z-index: 2;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.742);
  overflow: hidden;
}

.top > button {
  position: absolute;
  margin-top: 20px;
  margin-left: -62px;
  width: 130px;
  height: 25px;
  z-index: 3;
  border-radius: 45px;
  border: 1px solid white;
}
.num {
  position: absolute;
  z-index: 9;
  top: 150px;
  right: 30px;
}
.num > h4 {
  z-index: 4;
  border-radius: 45px;
  color: aliceblue;
  font-weight: 100;
  font-size: 65px;
}
/* .main_card:hover{
  box-shadow: 0 0 15px #0000006d;
} */
.active {
  top: 0 !important;
}
.card_one {
  padding-top: 220px;
}
.num1 {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  margin-left: 3px;
  margin-right: 3px;
  outline: none;
  background-color: rgb(69, 70, 70);
  color: aliceblue;
  border: 1px solid rgb(50, 51, 51);
  margin-bottom: 12px;
  font-size: 28px;
  cursor: pointer;
}
.num1:hover {
  color: rgb(225, 219, 207);
}
.num2 {
  width: 125px;
  height: 55px;
  border-radius: 220px;
  background-color: rgb(69, 70, 70);
  color: white;
  border: 1px solid rgb(67, 67, 66);
  font-size: 30px;
  font-weight: 400;
  text-align: justify;
  padding-left: 20px;
  cursor: pointer;
}
.card_five::after {
  content: " ";
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  width: 130px;
  height: 4px;
  margin-top: 20px;
  margin-left: 65px;
  border-radius: 5px;
}
.Ac {
  margin-left: 3px;
  margin-right: 3px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  outline: none;
  background-color: rgb(164, 164, 164);
  color: black;
  border: 1px solid rgb(151, 151, 151);
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
}

.clear {
  margin-left: 3px;
  margin-right: 3px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  outline: none;
  background-color: rgb(164, 164, 164);
  color: black;
  border: 1px solid rgb(151, 151, 151);
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
}

.icon {
  margin-left: 3px;
  margin-right: 3px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  outline: none;
  background-color: rgb(240, 139, 31);
  color: white;
  border: 1px solid rgb(240, 139, 31);
  cursor: pointer;
}
.circle {
  position: absolute;
  height: 20px;
  width: 40px;
  border-radius: 10px;
  background: green;
  animation: circle 20s ease-in-out infinite;
}
@keyframes circle {
  0% {
    top: 0px;
    left: 0px;
    background: red;
  }
  25% {
    top: 0px;
    height: 40px;
    width: 20px;
    left: calc(100% - 20px);
    right: 0;
    background: blue;
  }
  50% {
    top: calc(100% - 20px);
    left: calc(100% - 40px);
    background: yellow;
    height: 20px;
    width: 40px;
  }
  75% {
    top: calc(100% - 40px);
    left: 0px;
    background: green;
    height: 40px;
    width: 20px;
  }
  100% {
    top: 0px;
    left: 0px;
    background: red;
  }
}
