/*
  Reset CSS
  Author: Ahmed Anwer
  Purpose: The starting point for any project
  License: MIT
  Repository: https://github.com/realAhmedAnwer/reset.css
*/

/* Remove Margin and padding from all elements, Add the correct box-sizing for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Ensure full-height layouts and sticky/fixed positioning */
html,
body {
  height: 100%;
}
/* Prevent adjustments of font size after orientation changes in iOS */
html {
  -webkit-text-size-adjust: 100%;
}
/* Render the "main" element consistently in IE */
main {
  display: block;
}
/* Correct the inheritance and scaling of font size in all browsers, Correct the odd "rem" font sizing in all browsers */
pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1rem;
}
/* Remove default link underline and color, allow custom styling */
a {
  text-decoration: none;
  color: inherit;
}
/* Remove default list bullets/numbers for custom lists */
ul,
ol {
  list-style: none;
}
/* Make media elements responsive and block-level */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Remove default browser styles for form elements */
button,
input,
select,
textarea {
  border: none;
  background: none;
}
/* Improve table rendering consistency */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* Remove the bottom border in Chrome 57-, Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}
/* Add the correct font weight in Chrome, Edge, and Safari */
b,
strong {
  font-weight: bolder;
}
/* Add the correct font size in all browsers */
small {
  font-size: 80%;
}
/* Prevent "sub" and "sup" elements from affecting the line height in all browsers */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25rem;
}
sup {
  top: -0.5rem;
}
/* Remove the border on images inside links in IE 10, Prevent "image gap" spacing issues */
img {
  border-style: none;
  vertical-align: middle;
}
/* Change the font styles in all browsers */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}
/* Show the overflow in Edge */
button,
input {
  overflow: visible;
}
/* Remove the inheritance of text transform in Edge, Firefox, and IE */
button,
select {
  text-transform: none;
}
/* Ensure button appearance is consistent across browsers */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  -webkit-appearance: button;
}
/* Correct the text wrapping in Edge and IE, Correct the color inheritance from "fieldset" elements in IE */
legend {
  color: inherit;
  max-width: 100%;
  white-space: normal;
}
/*  Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}
/* Remove the default vertical scrollbar in IE 10+ */
textarea {
  overflow: auto;
}
/* Correct the cursor style of increment and decrement buttons in Chrome */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/* Ensure search input appearance is consistent across browsers */
[type="search"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
/* Remove the inner padding in Chrome and Safari on macOS */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/* Correct the inability to style clickable types in iOS and Safari, Change font properties to "inherit" in Safari */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/* Add the correct display in Edge, IE 10+, and Firefox */
details {
  display: block;
}
/* Add the correct display in all browsers */
summary {
  display: list-item;
}
/* Add the correct display in IE 10+ */
template {
  display: none;
}
/* Add the correct display in IE 10 */
[hidden] {
  display: none;
}
