html {
  scroll-behavior: smooth;
}

*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  gap: 112px;
}

body,
button,
span {
  font-family: "Margem-regular", sans-serif;
  font-weight: 400;
}

.button {
  min-width: 56px;
  min-height: 56px;

  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  color: white;

  font-family: "Margem-medium";
  font-weight: 500;
  font-size: 20px;
  line-height: 125%;
  text-decoration: none;

  transition: 0.3s background;
}

button:focus {
  outline: none;
}

.button:hover {
  cursor: pointer;
}

.link {
  margin: 0;
  padding: 0;
  text-decoration: underline;
  transition: 0.3s color;
}

.link:hover {
  cursor: pointer;
  color: #3385ff;
}

.button i {
  font-size: 14px;
  width: 14px;
}

.button.primary {
  background-color: #0067ff;
}

.button.primary:focus {
  outline: solid 1px #0067ff;
}

.small {
  min-height: 48px;
  font-size: 16px;
}

.button.primary:hover {
  background-color: #3385ff;
}

.button.primary:focus {
  outline: solid 1px #99c2ff;
}

.button.secondary {
  background-color: #f2f7ff;
  color: #005de6;
  text-decoration: underline;
}

.button.secondary:focus {
  outline: solid 1px #cce1ff;
}

.button.secondary:hover {
  background-color: #e5f0ff;
}

h1,
h2,
h3,
h4,
h5,
h6,
dl,
ol,
ul,
p,
a {
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  body {
    gap: 72px;
  }
}
