@import url("https://fonts.googleapis.com/css2?family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap");
html, body {
  overflow: hidden;
  height: 100%;
  background-color: #E8B7E8;
  font-family: "Winky Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

@media screen and (max-width: 768px) {
  body {
    overflow: auto;
  }
}

.button-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  position: relative;
  z-index: 9;
}
.button-container button {
  border: none;
  border-radius: 5px;
  padding: 1rem 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.button-container button:hover {
  cursor: pointer;
  position: relative;
}
.button-container button:hover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .button-container {
    flex-direction: row;
    justify-content: center;
  }
  .button-container button {
    margin-right: 0.5rem;
    margin-bottom: 0;
  }
}

#spinner-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #E8B7E8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
#spinner-wrapper.active {
  opacity: 1;
  pointer-events: all;
}
#spinner-wrapper .spinner {
  width: 100px;
  height: 100px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
main {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
    height: unset;
  }
}

.scratch-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 3rem;
}
.scratch-container#scratchTemplate {
  display: none;
}
.scratch-container .scratch-card__title {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 3; /* Positioned above the overlay */
  pointer-events: none; /* Prevents the title from blocking the overlay */
}
.scratch-container .scratch-card {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%; /* Makes the element a circle */
  overflow: hidden;
}
.scratch-container .scratch-card .scratch-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Positioned above the content */
}
.scratch-container .scratch-card .scratch-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Makes the element a circle */
  background-color: white;
  z-index: 1; /* Positioned behind the overlay */
  text-transform: uppercase;
}
.scratch-container .scratch-card .scratch-card__content .scratch-card__code {
  font-size: 22px;
  color: black;
  text-align: center;
  padding: 0rem 2rem;
}
.scratch-container .scratch-card .scratch-card__content .scratch-card__img {
  text-align: center;
}
.scratch-container .scratch-card .scratch-card__content .scratch-card__img img {
  width: calc(100% - 8rem);
}
.scratch-container .scratch-card__category {
  margin-top: 0.5rem;
}/*# sourceMappingURL=style.css.map */