@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}


/* All Colour Using In Website */
:root {
  --mainPrimaryColorWhite: #FFFFFF;
  --mainPrimaryColorBalticSea: #363738;
  --mainSecondaryLightWhite: #F5F5F5;
  --mainSecondary1LightWhite: #FEFAF1;
  --mainBackgroundColorWhite: #FFFFFF;
  --mainTextWhiteColor: #FAFAFA;
  --mainTextGrey: #7D8184;
  --mainTextBlack: #000000;
  --mainButtonBlack: #000000;
  --mainSecondaryRedish: #DB4444;
  --mainButtonGreenish: #00FF66;
  --mainButtonRedish: #DB4444;
  --mainHoverButton: #E07575;
  --mainHoverButtonSkyidh: #A0BCE0;
  --mainTransparentType: #d6d6d6;
  --maingrey2: #828282;
}


html {
  width: 100%;
  height: 100vh;
}

body {
  background-color: var(--mainBackgroundColorWhite);
}


/* quantity placeholder  */
.placeholder-custom::placeholder {
  color: var(--mainTextBlack);
}



.custom-checkbox {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 1px solid #D1D5DB;
  /* gray-300 */
  border-radius: 0.375rem;
  /* rounded */
  background-color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-checkbox:checked {
  background-color: var(--mainSecondaryRedish);
  border-color: var(--mainSecondaryRedish);
}

.custom-checkbox:checked::after {
  content: '✔';
  color: white;
  font-size: 12px;
}


@keyframes spin {
  100% {
    transform: rotate(1turn);
  }
}

/* spinner  */
.spinner {
  animation: spin 1s infinite linear;
}