* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button {
  transition: 0.3s ease-in-out;
}


button:hover {
  transform: scale(1.1);
  /* Button grows slightly */

}


main {
  height: 100vh;
  position: relative;
  padding: 0px 20px;
  background: linear-gradient(135deg, #6C63FF, #00C6FF);
  transition: 2s all;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-btn {
  font-size: 38px;
  background-color: transparent;
  border: none;
  cursor: pointer;

}

.info {
  height: 100vh;
  background: linear-gradient(135deg, #141e30, #243b55);
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.5s all;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #ffff;
  cursor: pointer;
}

#info-txt {
   width: 500px;
  height: 400px;
  padding: 30px;
  color: #89fce9;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-align: center;
}
#info-txt h1 {
  line-height: 1.5;
  color: #ffff;
  margin: 20px;
}

/* From Uiverse.io by GreyD097 */
.button-box {
  position: relative;
  width: 12rem;
  height: 5rem;
  display: flex;
}

.button-box .button {
  width: 3.2rem;
  height: 3.2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
  border: 3px solid #311703;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  opacity: 0.85;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}

.button-box .button .icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: 0.25s;
}

.button-box .button:nth-child(4) {
  transform: translate(-50%, -50%) rotate(90deg);
  z-index: 30;
  background: #000000;
  color: rgb(255, 255, 255);
  font-size: 22px;
}

.button-box .button:nth-child(5) {
  transform: translate(-50%, -50%) rotate(-115deg);
  z-index: 40;
  background: #ffff;
  color: #ffae00;
  font-size: 22px;
}

.button-box .button:nth-child(6) {
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 50;
  background: #bda6e2;
}

.button-box .button:nth-child(6) .icon {
  animation: active 2.2s linear infinite;
}

.button-box .touch {
  position: relative;
  z-index: 60;
  height: 100%;
  cursor: pointer;
}

.button-box .touch.left:hover~.button:nth-child(4) {
  opacity: 1;
  transform: translate(-170%, -50%) rotate(-90deg) scale(1.05);
}

.button-box .touch.left:hover~.button:nth-child(4) .icon {
  width: 25px;
  opacity: 0.9;
}

.button-box .touch.left:active~.button:nth-child(4) {
  transform: translate(-170%, -50%) rotate(-90deg) scale(0.9);
}

.button-box .touch.right:hover~.button:nth-child(5) {
  opacity: 1;
  transform: translate(70%, -50%) rotate(90deg) scale(1.05);
}

.button-box .touch.right:hover~.button:nth-child(5) .icon {
  width: 25px;
  opacity: 0.9;
}

.button-box .touch.right:active~.button:nth-child(5) {
  transform: translate(70%, -50%) rotate(90deg) scale(0.9);
}

.button-box .touch.middle:hover~.button:nth-child(6) {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}

.button-box .touch.middle:hover~.button:nth-child(6) .icon {
  width: 25px;
  opacity: 0.9;
}

.button-box .touch.middle:active~.button:nth-child(6) {
  transform: translate(-50%, -50%) rotate(0deg) scale(0.9);
}

.button-box:hover .button:nth-child(4) {
  transform: translate(-170%, -50%) rotate(-90deg);
}

.button-box:hover .button:nth-child(5) {
  transform: translate(70%, -50%) rotate(90deg);
}

.button-box:hover .button:nth-child(6) {
  transform: translate(-50%, -50%) rotate(0deg);
}

.button-box:hover .button:nth-child(6) .icon {
  animation: active 4s linear infinite;
}

@keyframes active {
  to {
    transform: rotate(360deg);
  }
}



/* SECTION START  */

section {
  width: 100%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 130px;
}

.box {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  align-items: center;
}

.side-btn {
  width: 80px;
  height: 80px;
  /* background-color: #000000; */
  color: #ffff;
  font-size: 30px;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  border: 2px solid #ffff;
  border-radius: 50%;
  cursor: pointer;
}

#Sub-btn {
  background-color: rgb(5, 88, 5);
}

#Add-btn {
  background-color: rgb(172, 4, 4);
}

#display {
  width: 300px;
  height: 300px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: fantasy;
  color: #000000;
  box-shadow: inset 0px 0px 20px #484343;
  padding: 30px;
  border-radius: 50%;
  font-size: 80px;
}