body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 80px 0px 0px 0px;
}

#loader-container {
  width: 90vw;
  display: flex;
  justify-content: center;
  align-self: center;
}
#preloader {
  align-self: center;
  justify-self: center;
  height: 50px;
  width: 50px;
  border: 4px solid blue;
  border-left: 4px solid white;
  border-radius: 50%;
  animation: spin 2s ease-in-out infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.categories {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 8px;
  margin-bottom: 20px;
}
.category {
  padding: 3px 10px;
  margin: 0 5px;
  background-color: white;
  color: blue;
  border: 2px solid blue;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.category.active {
  background-color: blue;
  color: white;
}
.product.hidden {
  display: none;
}

#suggest-category {
  width: 100vw;
  margin-top: 40px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#suggest-category h3{
  font-size: 25px;
  color: blue;
}
#suggest-form {
  display: flex;
}
#suggest-form input {
  height: 40px;
  padding: 0px 10px;
  border: 1px solid black;
  border-radius: 10px 0px 0px 10px;
}
#suggest-form button {
  height: 40px;
  margin-top: 0px;
  margin-left: -5px;
  border: none;
  border-radius: 0px 10px 10px 0px;
  color: white;
  background: black;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  width: 300px;
  animation: fadeIn 0.4s ease;
}
.modal-content p {
  font-size: 12px;
}
button {
  border: 2px solid #1e90ff;
  color: #1e90ff;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
}
.hidden {
  display: none;
}
@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/*checkmark animation*/
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4CAF50;
  stroke-miterlimit: 10;
  margin: 0 auto 20px;
  box-shadow: inset 0px 0px 0px #4CAF50;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4CAF50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 3px #4CAF50;
  }
}
