@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@import url("./variables.css?version=1.4");
@import url("./desktop.css?version=1.4");
@import url("./mobile.css?version=1.4");

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

html {
  scroll-behavior: smooth;
  font-size: 0.755vw;
  font-family: "Montserrat", sans-serif;
  color: var(--black);
}

html,
body {
  overflow-x: hidden;
}

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

::-webkit-scrollbar {
  width: 25px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-clip: content-box;
  background-color: var(--blue);
  border-top-left-radius: 10rem;
  border-bottom-left-radius: 10rem;
  box-shadow: inset 5px 5px var(--white), inset 5px -5px var(--white); /* Prevents border-radius distortion, better than border. */
  border: 2px solid white; /* Hides the thin shadow line. */
  border-right: none;
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--black);
}

body::-webkit-scrollbar {
  background-color: var(--dark-black);
}

body::-webkit-scrollbar-thumb {
  box-shadow: inset 7.5px 5px var(--dark-black),
    inset 7.5px -5px var(--dark-black);
  border: none;
  background-color: var(--blue);
}

body::-webkit-scrollbar-thumb:active {
  background-color: var(--white);
}

* img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

i {
  font-size: inherit;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  background-color: unset;
  color: inherit;
  outline: none;
  border: none;
  font: inherit;
}

button {
  cursor: pointer;
}

.close {
  position: absolute;
  color: var(--red) !important;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 10rem;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.hidden {
  display: none !important;
}

.blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(1rem);
}

@keyframes beat {
  50% {
    transform: scale(110%);
  }
  100% {
    transform: scale(100%);
  }
}

@media (max-aspect-ratio: 1/1) {
  ::-webkit-scrollbar {
    display: none;
  }

  .close {
    padding: 2.5rem;
    top: 0;
    right: 0;
  }

  .blur {
    backdrop-filter: blur(0rem);
  }
}
