/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap");

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

:root {
  /* Dark Palette */
  --dark-bg: #151521;
  --dark-accent: #151521;
  --dark-primary: #1e1e2d;
  --dark-secondary: #282839;
  --dark-text: #ffffff;

  /* Light Palette */
  --light-bg: #effffd;
  --light-accent: #fbff00;
  --light-primary: #85ff8f;
  --light-secondary: #377795;
  --light-text: #000000;

  /* Miscs */
  --danger: #dc3545;
  --success: #28a745;
  --info: #17a2b8;
}

html,
body,
#root,
main,
aside,
#preview {
  /* width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0; */
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow-y: scroll;
}

body {
  font-family: "Poppins", sans-serif !important;
}

::-webkit-scrollbar {
  width: 0.2rem;
  height: 0.2rem;
  background-color: #1e1e2d;
}

/* label {
  font-size: 0.75rem;
} */

button,
input,
textarea {
  box-shadow: none !important;
  border: 0 !important;
  outline: none;
}

.zoomIn {
  transition: 0.15s linear;
}

.zoomIn:hover {
  transform: scale(1.05) !important;
}

.fadeIn {
  animation: fadeIn 1s ease-in forwards;
}

a {
  text-decoration: none;
}

input,
textarea {
  width: 100%;
  border-radius: 0.5em;
}

.selected-icon-container {
  background-color: var(--success) !important;
}

.hidden {
  height: 0 !important;
  overflow: hidden !important;
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
