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

@font-face {
  font-family: 'Lobster Two';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lobster-two.woff2") format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed.woff2") format('woff2');
}

:root {
  --white: #ffffff;
  --black: #171717;
  --primary-theme-color: #1565c0;
  --primary-light-color: rgba(21, 101, 192, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --gray: #777777;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Barlow Condensed', sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(111, 110, 110, 0.3);
  background-color: #bbbbbb;
}

.scrollbarHide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.heading {
  font-family: "Lobster Two", sans-serif;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: auto;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 10px 20px 10px 20px;
  border-radius: 12px;
}

.adminLoginSection {
  background: url(../../public/images/homebg.svg);
  background-repeat: no-repeat;
}

.contentBoxShadow {
  box-shadow: 0 .125rem .5rem 0 rgba(47, 43, 61, .12);
}

.button {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  width: max-content;
  justify-content: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: all ease-in-out 0.5s;
}

@media screen and (max-width:320px) {
  .mainContainer {
    width: 96%;
    margin: 10px auto;
  }

  .modal {
    width: 300px;
    overflow-y: auto;
    max-height: 96vh;
  }
}

@media screen and (max-width:768px) and (min-width:320px) {
  .mainContainer {
    width: 90%;
    margin: 0px auto;
  }

  .modal {
    width: 90%;
    overflow-y: auto;
    max-height: 95vh;
  }
}

@media screen and (max-width:1440px) and (min-width:768px) {
  .mainContainer {
    width: 90%;
    margin: 0px auto;
  }

  .modal {
    width: 600px;
    overflow-y: auto;
    max-height: 90vh;
  }
}

@media screen and (min-width:1440px) {
  .mainContainer {
    width: 85%;
    margin: 0px auto;
  }

  .modal {
    width: 600px;
    overflow-y: auto;
    max-height: 90vh;
  }
}