:root {
  --primary: #e52320;
  --secondary: #faf9f6;
  --accent: #bc1816;
  --text: #000000;
  --nav-height: 4rem;
}

html {
  box-sizing: border-box;
  scroll-padding-top: 5rem;
}

html,
body {
  min-height: 100%;
}

@font-face {
  font-family: "InterFallback";
  src: local(Arial);
  size-adjust: 98%;
  ascent-override: 94%;
  descent-override: 19%;
  line-gap-override: 10%;
  font-display: swap;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #faf9f6;
  font-family: "Inter", "InterFallback", Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  color: #000000;
}

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

* {
  margin: 0;
  padding: 0;
}

main {
  min-height: 100%;
  margin-top: 4rem;
}

section {
  width: min(80%, 1000px);
  margin-inline: auto;
  margin-block: 5rem;
}

section h2 {
  font-size: 2rem;
  text-align: center;
}

a,
button,
input,
textarea {
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

a,
button {
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.button {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.6rem 2.5rem;
  border-radius: 3px;
  font-weight: bold;
  letter-spacing: 1px;
}
.button:hover, .button:focus {
  box-shadow: 0px 5px 6px 0 rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s;
}
.button:active {
  box-shadow: none;
  transform: translateY(1px);
  transition: transform 0.2s;
}
.button.button-1 {
  background-color: #bc1816;
  color: #faf9f6;
  border: 4px solid #e52320;
}
.button.button-2 {
  background-color: #ffffff;
  color: #000000;
  border: 4px solid #bc1816;
}

.none {
  display: none !important;
}
