@media (max-width: 600px) {
  .carousel-buttons-mobile {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 8px;
    z-index: 1004;
    background: transparent;
    pointer-events: none;
  }
  .carousel-buttons-mobile button {
    pointer-events: all;
    font-size: 16px !important;
    padding: 6px 16px !important;
    margin: 0 8px !important;
    border-width: 2px !important;
    border-radius: 8px !important;
    min-width: 44px !important;
    min-height: 32px !important;
    background: #fede32;
    color: #ff8b00;
    box-shadow: 0 0 3px #77c524;
    font-family: "Pangolin", Helvetica, Arial, sans-serif;
    font-weight: bold;
    transition: transform 144ms ease-out;
    z-index: 1005;
  }
  .carousel-buttons-mobile button:active,
  .carousel-buttons-mobile button:focus {
    outline: none;
    transform: scale(1.08);
  }
}
@media (max-width: 600px) {
  .spinning-carousel {
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: auto;
    width: 300px !important;
    height: 300px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-width: 6px !important;
    z-index: 1002;
    box-shadow: 0 0 3px #77c524 !important;
    overflow: hidden;
  }
  .spinning-carousel::before {
    border-width: 6px !important;
  }
  .spinning-carousel li {
    width: 150px !important;
    height: 150px !important;
    top: -20px !important;
    left: -20px !important;
  }
  .spinning-carousel a {
    width: 300px !important;
    height: 300px !important;
    bottom: -150px !important;
    right: -150px !important;
  }
  .spinning-carousel a img {
    width: 18% !important;
    margin: 12px auto !important;
  }
  .carousel-buttons-mobile button, button {
    font-size: 14px !important;
    padding: 2px 8px !important;
    margin: 0 4px !important;
    border-width: 2px !important;
    border-radius: 6px !important;
    min-width: 36px !important;
    min-height: 24px !important;
  }
}
@media (max-width: 900px) {
  .spinning-carousel {
    width: 350px;
    height: 350px;
    border-width: 10px;
    right: 0;
    left: auto;
    bottom: -180px;
  }
  .spinning-carousel ul {
    width: 100%;
    height: 100%;
  }
  .spinning-carousel li {
    width: 200px;
    height: 200px;
    top: -30px;
    left: -30px;
  }
  .spinning-carousel a {
    width: 350px;
    height: 350px;
    bottom: -175px;
    right: -175px;
  }
  .spinning-carousel a img {
    width: 22%;
    margin: 10px auto;
  }
  button {
    right: 10px;
    top: 55%;
    padding: 2px 6px;
    font-size: 11px;
    border-width: 6px;
    border-radius: 14px;
  }
  #next {
    margin-top: -25px;
  }
  #prev {
    margin-top: 25px;
  }
}

@media (max-width: 600px) {
  .spinning-carousel {
    position: fixed;
    right: 4px;
    bottom: 4px;
    left: auto;
    width: 24px;
    height: 24px;
    border-width: 0.5px;
    z-index: 1002;
    box-shadow: 0 0 1px #77c524;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
  }
  .spinning-carousel::before {
    border-width: 0.5px;
  }
  .spinning-carousel li {
    width: 7px;
    height: 7px;
    top: 0;
    left: 0;
  }
  .spinning-carousel a {
    width: 24px;
    height: 24px;
    bottom: -12px;
    right: -12px;
  }
  .spinning-carousel a img {
    width: 30%;
    margin: 0 auto;
  }
  .carousel-buttons-mobile {
    width: 100vw;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: fixed;
    bottom: 4px;
    right: 32px;
    left: auto;
    z-index: 1004;
    background: transparent;
    pointer-events: none;
  }
  .carousel-buttons-mobile button {
    pointer-events: all;
    font-size: 7px;
    padding: 0 2px;
    margin: 0 1px;
    border-width: 0.5px;
    border-radius: 2px;
    min-width: 18px;
    min-height: 12px;
    position: static;
    display: inline-block;
  }
  button {
    font-size: 7px;
    padding: 0 2px;
    margin: 0 1px;
    border-width: 0.5px;
    border-radius: 2px;
    min-width: 18px;
    min-height: 12px;
    position: static;
    display: inline-block;
    z-index: 1003;
  }
  #next, #prev {
    margin-top: 0;
  }
}

.spinning-carousel {
  position: absolute;
  bottom: -300px;
  left: 100%;
  transform: translateX(-50%);
  margin: 0;
  border-radius: 50%;
  border: 20px solid #77c524;
  box-shadow: 0 0 10px #77c524;
  width: 600px;
  height: 600px;
  overflow: hidden;
}
.spinning-carousel::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%) translateY(-50%);
  background: #fede32;
  border-radius: 50%;
  border: 15px solid white;
  width: 50%;
  height: 50%;
  content: "";
}
.spinning-carousel::after {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) translateY(-50%);
  font-size: 30px;
  font-family: "Pangolin", Helvetica, Arial, sans-serf;
  content: attr(data-title);
}
.spinning-carousel ul {
  --rotation: -0deg;
  width: 100%;
  height: 100%;
  list-style: none;
  transform: rotate(var(--rotation));
  transition: transform 250ms ease-in-out;
}
.spinning-carousel li {
  position: absolute;
  top: -60px;
  left: -60px;
  transform-origin: 100% 100%;
  width: 342.8571428571px;
  height: 342.8571428571px;
  overflow: hidden;
}
.spinning-carousel li:nth-child(1) {
  transform: rotate(15deg) skew(60deg);
}
.spinning-carousel li:nth-child(1) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(2) {
  transform: rotate(45deg) skew(60deg);
}
.spinning-carousel li:nth-child(2) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(3) {
  transform: rotate(75deg) skew(60deg);
}
.spinning-carousel li:nth-child(3) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(4) {
  transform: rotate(105deg) skew(60deg);
}
.spinning-carousel li:nth-child(4) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(5) {
  transform: rotate(135deg) skew(60deg);
}
.spinning-carousel li:nth-child(5) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(6) {
  transform: rotate(165deg) skew(60deg);
}
.spinning-carousel li:nth-child(6) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(7) {
  transform: rotate(195deg) skew(60deg);
}
.spinning-carousel li:nth-child(7) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(8) {
  transform: rotate(225deg) skew(60deg);
}
.spinning-carousel li:nth-child(8) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(9) {
  transform: rotate(255deg) skew(60deg);
}
.spinning-carousel li:nth-child(9) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(10) {
  transform: rotate(285deg) skew(60deg);
}
.spinning-carousel li:nth-child(10) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(11) {
  transform: rotate(315deg) skew(60deg);
}
.spinning-carousel li:nth-child(11) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(12) {
  transform: rotate(345deg) skew(60deg);
}
.spinning-carousel li:nth-child(12) a {
  border-radius: 50%;
  transform: skew(-60deg) rotate(-75deg);
  text-align: center;
}
.spinning-carousel li:nth-child(even) a {
  background: #9ad629;
}
.spinning-carousel li:nth-child(odd) a {
  background: #aee92e;
}
.spinning-carousel a {
  position: absolute;
  bottom: -300px;
  right: -300px;
  display: block;
  width: 600px;
  height: 600px;
  color: black;
  text-decoration: none;
  transition: background 250ms ease-out;
}
.spinning-carousel a img {
  display: block;
  margin: 30px auto;
  background: white;
  border-radius: 50%;
  width: 15%;
  transition: background 250ms ease-out;
}
.spinning-carousel a:hover, .spinning-carousel a:focus {
  outline: none;
}
.spinning-carousel a:hover img, .spinning-carousel a:focus img {
  background: #f41971;
}


button {
position: absolute;
    right: 40px;
    top: 58%;
    transform: translateY(-50%);
    padding: 3px 4px;
    border: 10px solid #77c524;
    background: #fede32;
    border-radius: 20px;
    cursor: pointer;
    font-family: "Pangolin", Helvetica, Arial, sans-serf;
    font-size: 12px;
    font-weight: bold;
    color: #ff8b00;
    transition: transform 144ms 
ease-out;
    box-shadow: 0 0 10px #77c524;
    z-index: 10;
}
button:active, button:focus {
  outline: none;
}
#next {
  margin-top: -40px;
}
#prev {
  margin-top: 40px;
}