/* 
1 : This annotation is often used to indicate a primary reason or explanation for the CSS rule. It might provide context or a key reason why the rule is included.

2 : This annotation is typically used to indicate a secondary reason or an additional detail related to the CSS rule. It can provide further information or considerations. 
*/

/* Apply box-sizing to all elements, including padding and borders. */
* {
  box-sizing: border-box;
}

/* Set the line height and text size adjustment for the HTML element. */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  background-color: white; /* Set a white background color for the entire document. */
}

/* Reset margin for the body element. */
body {
  margin: 0;
}

/* Define main as a block-level element. */
main {
  display: block;
}

/* Adjust the margin and font size for h1 elements. */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Define the behavior of horizontal rules (hr). */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* Set font properties for preformatted text. */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Remove background color from anchor elements. */
a {
  background-color: transparent;
}

/* Modify the appearance of abbreviations. */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/* Define the font-weight for bold and strong elements. */
b, strong {
  font-weight: bolder;
}

/* Set font properties for code, keyboard, and sample elements. */
code, kbd, samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Reduce the font size for small elements. */
small {
  font-size: 80%;
}

/* Define properties for subscript and superscript text. */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

/* Adjust positioning for subscript text. */
sub {
  bottom: -0.25em;
}

/* Adjust positioning for superscript text. */
sup {
  top: -0.5em;
}

/* Remove borders around images. */
img {
  border-style: none;
}

/* Reset styles for form elements and related controls. */
button, input, optgroup, select, textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/* Ensure visible overflow for buttons and inputs. */
button, input { /* 1 */
  overflow: visible;
}

/* Set text-transform to none for buttons and selects. */
button, select { /* 1 */
  text-transform: none;
}

/* Adjust the appearance of specific input types as buttons. */
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

/* Reset the focus styles for certain input elements in Firefox. */
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Reset the focus styles for certain input elements in Firefox. */
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Set padding for fieldset elements. */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/* Reset styles for legend elements. */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/* Ensure vertical alignment for progress elements. */
progress {
  vertical-align: baseline;
}

/* Enable scrolling for textarea elements. */
textarea {
  overflow: auto;
}

/* Reset padding and sizing for checkboxes and radio buttons. */
[type="checkbox"], [type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/* Adjust the inner spin button for number input types. */
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* Reset the appearance and outline offset for search input types. */
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/* Remove search input decoration. */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Set styles for the file upload button in WebKit. */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Define default display behavior for details and summary elements. */
details {
  display: block;
}

/* Define default display behavior for summary elements. */
summary {
  display: list-item;
}

/* Hide the template element by default. */
template {
  display: none;
}

/* Hide elements with the "hidden" attribute. */
[hidden] {
  display: none;
}