/* Document
   ========================================================================== */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%; /* Prevents adjustments of font size after orientation changes in iOS */
}

/* Body and Typography
   ========================================================================== */
body {
  margin: 0; /* Remove default margin */
}

h1, h2, h3, h4 {
  margin: 0; /* Remove default margins */
  font-size: inherit; /* Ensure font sizes are inherited */
  font-weight: normal; /* Remove bold from headings */
}

p {
  margin: 0; /* Remove default margin */
}

/* Images
   ========================================================================== */
img {
  border-style: none; /* Remove default image borders */
  max-width: 100%; /* Ensure images scale within their parent containers */
  height: auto; /* Ensure images scale correctly */
}

/* Buttons and Inputs
   ========================================================================== */
button,
input,
select,
textarea {
  font-family: inherit; /* Use the font-family set for the parent element */
  font-size: 100%; /* Ensure input elements inherit font size */
  margin: 0; /* Remove default margins */
  border: none; /* Remove default borders */
  padding: 0; /* Remove default padding */
  background-color: transparent; /* Remove default button background */
  appearance: none; /* Remove default styling */
}

button {
  cursor: pointer; /* Ensure buttons have pointer cursor */
}

button:focus {
  outline: none; /* Remove focus outline */
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0; /* Remove padding and border in Firefox */
}

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

/* Links
   ========================================================================== */
a {
  text-decoration: none; /* Remove default underline from links */
  color: inherit; /* Ensure link inherits parent color */
}

/* Forms
   ========================================================================== */
fieldset {
  border: 0; /* Remove default fieldset borders */
  margin: 0;
  padding: 0;
}

/* Containers
   ========================================================================== */
.container {
  padding: 0;
  margin: 0 auto; /* Remove default container margins */
}