@import "./app/styles/variables";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

/* General */

*,
::after,
::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(
    100deg,
    #121829 16.21%,
    #0f243c 47.64%,
    #191a40 89.06%
  );

  background-repeat: repeat-y;
  background-position: center;
  background-color: #121829;
  min-height: 100vh;
  width: 100vw;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;

  overflow-x: hidden;
}

a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.padding-top-60 {
  padding-top: 60px;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

.hidden {
  display: none;
}

/* Loading */

.cssloader {
  padding-top: calc(45vh - 25px);
}

.sh1 {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 50px 0 0;
  border-color: #5a4af4 transparent transparent transparent;
  margin: 0 auto;
  animation: shk1 1s ease-in-out infinite normal;
}

.sh2 {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 50px 50px;
  border-color: transparent transparent #1ea5fc transparent;
  margin: -50px auto 0;
  animation: shk2 1s ease-in-out infinite alternate;
}

/** animation starts here **/
@keyframes shk1 {
  0% {
    transform: rotate(-360deg);
  }

  100% {
  }
}

@keyframes shk2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
  }
}

.lt {
  color: #fff;
  font-family: "Roboto", sans-serif;
  margin: 30px auto;
  text-align: center;
  font-weight: 100;
  letter-spacing: 10px;
}

/* media query */

/*xs*/
@media (max-width: $breakpoint-xs) {
  .container {
    max-width: $breakpoint-xs;
    padding-right: 0;
    padding-left: 0;
  }
}

/*sm*/
@media (min-width: $breakpoint-xs) and (max-width: $breakpoint-sm) {
  .container {
    max-width: 720px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/*md*/
@media (min-width: $breakpoint-sm) and (max-width: $breakpoint-md) {
  .container {
    max-width: 960px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

// lg media query with variables
@media (min-width: $breakpoint-md) and (max-width: $breakpoint-lg) {
  .container {
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

// xl media query
@media (min-width: $breakpoint-lg) {
  .container {
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

// Custom scrollbar styles
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: $grey-900;
}

::-webkit-scrollbar-thumb {
  background: $grey-800;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  &:hover {
    background: $grey-700;
  }
}
