@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');


.wheel_with_words {
  font-family: "Hanken Grotesk", sans-serif; 
  position: relative;
} 

.wheel_with_words .wheel_icon {
  position: absolute;
  display: inline-block;
  width: 100px;
  height: 330px;
  transform-origin: center bottom;
  text-transform: uppercase;
  font-size: 14px;
  color: #000;
  font-weight: 500; 
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center; 
  z-index: 2;
  cursor: pointer;
} 

.wheel_with_words .wheel_icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 15%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  background-color: #000;
  z-index: 0;
}

.wheel_icon .modal-data {
  display: none;
}

.wheel_icon_modal .modal-content {
  border: 0;
  min-height: 350px;
}

.wheel_icon_modal .modal-header {
  background: #0097d8;
}

.wheel_icon_modal .btn-close {
  font-size: 10px;
  opacity: 1;
}

.wheel_icon_modal .modal-header .modal-title {
  color: #000;
  font-size: 13pt;
  font-weight: 600;
  line-height: 1.5; 
  margin: 0rem;
  text-transform: uppercase;
}

.wheel_icon_modal .modal-body h5 {
  color: #000;
  font-size: 13pt;
  font-weight: 600;
  line-height: 1.5; 
  margin-bottom: 1rem;
}

.wheel_icon_modal .modal-body p {
  color: #000;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.wheel_icon_modal .modal-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wheel_icon_modal .modal-body li {
  color: #000;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.wheel_icon_modal .modal-body ul li::after {
  position: absolute;
  content: '\f058';
  font-family: 'Font Awesome\ 6 Free';
  font-size: 12pt;
  color: #0097d8;
  left: 0;
  top: 0;
  text-align: center;
}

/*  big wheel start  */

.big_wheel {
  padding-top: 30px;
  padding-bottom: 400px;
}

:root {
  --big_wheel_icons: 16; /* Change this variable to the number of wheel_icons you want */
} 

.big_wheel .wheel_with_words .wheel_icon:nth-child(1) {
    transform: rotate(calc((0 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(2) {
  transform: rotate(calc((1 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(3) {
  transform: rotate(calc((2 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(4) {
  transform: rotate(calc((3 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(5) {
  transform: rotate(calc((4 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(6) {
  transform: rotate(calc((5 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(7) {
  transform: rotate(calc((6 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(8) {
  transform: rotate(calc((7 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(9) {
  transform: rotate(calc((8 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(10) {
  transform: rotate(calc((9 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(11) {
  transform: rotate(calc((10 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(12) {
  transform: rotate(calc((11 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(13) {
  transform: rotate(calc((12 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(14) {
  transform: rotate(calc((13 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(15) {
  transform: rotate(calc((14 * 360deg) / var(--big_wheel_icons)));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(16) {
  transform: rotate(calc((15 * 360deg) / var(--big_wheel_icons)));
}


/* Define --icon-rotation for inverse rotation wheel icons */
.wheel_with_words .wheel_icon figure {
  transform: rotate(calc(-1 * var(--icon-rotation))) !important;
  margin: 0;
}

.wheel_with_words .wheel_icon figure img {
  width: 80px;
  display: block;
  margin: 0 auto; 
  transition: transform 0.4s ease-in-out;  
} 

.wheel_with_words .wheel_icon:hover figure img ,
.wheel_with_words .wheel_icon:hover span{
  transform: scale(1.4); 
} 

.big_wheel .wheel_with_words .wheel_icon:nth-child(1) {
    --icon-rotation: calc((0 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(2) {
  --icon-rotation: calc((1 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(3) {
  --icon-rotation: calc((2 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(4) {
  --icon-rotation: calc((3 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(5) {
  --icon-rotation: calc((4 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(6) {
  --icon-rotation: calc((5 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(7) {
  --icon-rotation: calc((6 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(8) {
  --icon-rotation: calc((7 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(9) {
  --icon-rotation: calc((8 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(10) {
  --icon-rotation: calc((9 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(11) {
  --icon-rotation: calc((10 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(12) {
  --icon-rotation: calc((11 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(13) {
  --icon-rotation: calc((12 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(14) {
  --icon-rotation: calc((13 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(15) {
  --icon-rotation: calc((14 * 360deg) / var(--big_wheel_icons));
}

.big_wheel .wheel_with_words .wheel_icon:nth-child(16) {
  --icon-rotation: calc((15 * 360deg) / var(--big_wheel_icons));
}

/*  big wheel end  */



/* small wheel start */
.small_wheel {
  padding-top: 40px;
  padding-bottom: 380px; 
}

:root {
  --small_wheel_icons: 8; /* Change this variable to the number of wheel_icons you want */
} 

.small_wheel .wheel_with_words .wheel_icon:nth-child(1) {
    transform: rotate(calc((0 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(2) {
  transform: rotate(calc((1 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(3) {
  transform: rotate(calc((2 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(4) {
  transform: rotate(calc((3 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(5) {
  transform: rotate(calc((4 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(6) {
  transform: rotate(calc((5 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(7) {
  transform: rotate(calc((6 * 360deg) / var(--small_wheel_icons)));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(8) {
  transform: rotate(calc((7 * 360deg) / var(--small_wheel_icons)));
} 

.small_wheel .wheel_with_words .wheel_icon:nth-child(1) {
    --icon-rotation: calc((0 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(2) {
  --icon-rotation: calc((1 * 360deg) / var(--small_wheel_icons));
}

.wheel_with_words .wheel_icon:nth-child(3) {
  --icon-rotation: calc((2 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(4) {
  --icon-rotation: calc((3 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(5) {
  --icon-rotation: calc((4 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(6) {
  --icon-rotation: calc((5 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(7) {
  --icon-rotation: calc((6 * 360deg) / var(--small_wheel_icons));
}

.small_wheel .wheel_with_words .wheel_icon:nth-child(8) {
  --icon-rotation: calc((7 * 360deg) / var(--small_wheel_icons));
} 

/* small wheel end */

.wheel_with_globe {
  display: flex;
  width: fit-content;
  margin: auto;
  align-items: center;
  position: relative;
  z-index: 2;
  transform: translate(0px, 55%);
}

.wheel_with_globe .globe {
  max-width: 300px;
  background: #000;
  padding: 10px;
  border-radius: 400px;
  margin-left: auto;
  outline: 10px solid #fff;
  margin-right: auto;
/*  animation: globe_rotation 50s infinite linear;*/
}

/*@keyframes globe_rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}*/

.wheel_with_logo {
  text-align: center;
  background: #fff;
  position: absolute;
  left: -1px;
  right: -1px;
  z-index: 9;
  padding: 10px;
  margin-bottom: 0px;
}

.wheel_with_logo img {
  max-width: 200px;
}


@media only screen and (min-width: 0) and (max-width: 639px) {
.wheel_with_words .wheel_icon {
  position: unset;
  display: inline;
  transform-origin: unset;
  margin: 0;
  text-align: left;
} 

.wheel_with_words .wheel_icon figure {
  transform: unset !important;
  text-align: center;
  background: #f9f9f9;
  max-width: 220px;
  margin: 10px auto;
  padding: 20px 20px;
}

.wheel_with_words .wheel_icon::after {
  display: none;
}

.wheel_with_globe {
  display: none;
}

.big_wheel {
  padding-top: 20px;
  padding-bottom: 1px; 
}

.small_wheel {
  padding-top: 10px;
  padding-bottom: 10px; 
}
}