@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");


@view-transition{
  navigation:auto;
}
::view-transition-group(*){
  animation-duration: 0.6s;
}

:root {
  --bg-color: #fef2f2;
  --bg-color-secondary: #ede7e7;
  --primary-color: #f37676;
  --low-tone-color: #fccccc;
  --text-color: #202020;
  --text-color-secondary: #625d5d;
  --borders-color: #afa3a3;
  --bg-footer:#7c2020;
  --text-color-success:#55C95C;
  --text-color-canceled:#F54227;

  /* Utilizamos la fuente Poppins, en caso de que no pueda cargarse utilizamos la que tiene el usuario en su sistema por defecto */
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

html[data-theme="dark"] {
  /*  */
  --bg-color: #202020;
  --bg-color-secondary: #2d2c2c;
  --primary-color: #f37676;
  --low-tone-color: #fccccc;
  --text-color: #fff;
  --text-color-secondary: #cccccc;
  --borders-color: #afa3a3;
}

body {
  background-color: var(--bg-color);
}

.animation-top {
  animation-name: animationToTop;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.animation-down {
  animation-name: animationToDown;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes animationToTop {
  from {
    transform: translateY(0%) rotate(0);
  }

  to {
    transform: translateY(-2%) rotate(2deg);
  }
}

@keyframes animationToDown {
  from {
    transform: translateY(0%) rotate(0);
  }

  to {
    transform: translateY(5%) rotate(-2deg);
  }
}

/* Quitar el boton X en los inputs de tipo search */
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

button[data-filter-active="true"], input[data-filter-active="true"] {
  background: var(--primary-color);
  color: white;
}

/* Estilizar la barra de scroll */
::-webkit-scrollbar {
  width: 3px;
  background: var(--bg-color-secondary);
  border-radius: 10px;
  padding: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--low-tone-color);
}



