@import './reset.css';
@import './font.css';

html {
  -webkit-overflow-scrolling: touch;
  overflow: auto;
  height: 100%;
}

body,
input,
textarea {
  font-family: 'Circular', -apple-system, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol;
}

body {
  background-color: rgb(246, 246, 246);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
  color: var(--color-primary-dark);
  letter-spacing: 0;
}

h1 {
  font-size: 32px;
  line-height: 32px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  line-height: 24px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
}

h5,
p,
input,
select,
label.label--larger,
textarea {
  font-size: 16px;
  color: var(--color-primary-dark);
  line-height: 24px;
}

p {
  font-weight: normal;
}

h6,
label {
  font-weight: normal;
  font-size: 14px;
  color: var(--color-primary-dark_soft);
  letter-spacing: 0;
  line-height: 20px;
}

small {
  font-weight: normal;
  font-size: 13px;
  color: var(--color-primary-dark);
  letter-spacing: 0;
}

input,
select,
textarea {
  font-weight: 500;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child {
  margin-bottom: 0;
}

b {
  font-weight: bold;
}

section {
  padding: 0 40px;
}

section:first-child {
  padding-top: 40px;
}

section:last-child {
  padding-bottom: 40px;
}

@media screen and (max-width: 856px) {
  section {
    padding: 0 32px;
  }

  section:first-child {
    padding-top: 32px;
  }

  section:last-child {
    padding-bottom: 32px;
  }
}
