/* ==================================================
Foundation
================================================== */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* Margin reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

/* List */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* Media */
img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

/* Image */
img {
  height: auto;
  border-style: none;
}

/* Link */
a {
  color: inherit;
  text-decoration: none;
}

/* Form */
input,
button,
textarea,
select {
  margin: 0;
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

/* Table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Address */
address {
  font-style: normal;
}

/* Strong */
strong {
  font-weight: inherit;
}

/* Em */
em {
  font-style: normal;
}

/* Fieldset */
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Summary */
summary {
  cursor: pointer;
}

/* Hidden */
[hidden] {
  display: none;
}
