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

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Medium.ttf");
  src: url("../fonts/Satoshi-Medium.woff2") format("woff2"),
    url("../fonts/Satoshi-Medium.woff") format("woff"),
    url("../fonts/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.ttf");
  src: url("../fonts/Satoshi-Regular.woff2") format("woff2"),
    url("../fonts/Satoshi-Regular.woff") format("woff"),
    url("../fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: ("../fonts/Satoshi-MediumItalic.ttf");
  src: url("../fonts/Satoshi-MediumItalic.woff2") format("woff2"),
    url("../fonts/Satoshi-MediumItalic.woff") format("woff"),
    url("../fonts/Satoshi-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* global css start */
* {
  box-sizing: border-box;
}

body {
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.container {
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

a {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

body.overflow-hidden {
  overflow: hidden;
}

.mobile-menu {
  background-color: #fff;
  z-index: 10;
}

p {
  line-height: normal;
  margin: 0;
}

#menu-icon {
  background: #cecece;
}

.home-button:hover img {
  filter: invert(1);

}

#menu-icon.open {
  background: #ff0;
}


/* checkbox custom css  */
.form-group {
  display: block;
  margin-bottom: 15px;
}

.form-group input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.form-group label {
  position: relative;
  cursor: pointer;
}

.form-group label:before {
  content: '';
  -webkit-appearance: none;
  background-color: transparent;
  border: 1.5px solid black;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 7px;
}

.form-group input:checked+label:after {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* global css end */

/* css start */
/* web accisibility css start  */ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}
.nav-link li,
.animate-link {
  /* display: inline-block; */
  color: #1d303b;
  position: relative;
}

.nav-link li::after,
.animate-link::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  left: initial;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.5s;
}

.nav-link li:hover::after,
.animate-link:hover::after {
  width: 100%;
  transition: width 0.5s;
  right: initial;
  left: 0;
}

.mobile-menu {
  left: -200%;
  transition: 0.5s;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu ul li ul {
  display: none;
}

.mobile-menu ul li:hover ul {
  display: block;
}

.nav-menu ul {
  display: none;
}

.nav-menu:hover ul {
  display: block;
}

.dropdown:hover .dropdown-menu {
  @apply block;
}

a:focus {
  outline: 2px solid transparent;
}

input:focus {


  outline: #fefefe;
  --tw-ring-offset-shadow: none;
  --tw-ring-color: #fefefe;
  border-color: transparent !important;
}

select {
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.arrow {
  background-image: url(/icons/down-arrow.svg);
  background-position: calc(100% - 12px) calc(1em + 0px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 0.5em) 0.5em;
  background-size: 14px 14px, 14px 14px, 1.5em 1.5em;
  background-repeat: no-repeat;
}

.buttonsignup {
  background-color: #c7d9e6;
}
.pagination{
  display: none;
}
.pagination nav div:nth-child(2)  {
display: none;
}

/* css end */
/* responsive css */
@media only screen and (max-width:340px) {
  #myChart {
    width: 250px !important;
  }
}

/* global css responsive */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

