﻿/* ==========================================================================
   reset css — resolve.uy
   normalizacion basica para consistencia entre navegadores
   ========================================================================== */

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

/* le sacamos los estilos por defecto a las listas */
ul,
ol {
  list-style: none;
}

/* resetear los enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* imagenes responsivas de una */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* que los inputs y botones hereden la fuente */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* sacamos bordes por defecto en botones */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* scroll suave global */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* base del body */
body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* respetamos a los que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
