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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  font-family: var(--second-family);
}

p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: var(--font-family, "Georgia"), serif;
  font-weight: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

p {
  font-size: 15px;
  line-height: 160%;
}

.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}

.button {
  border: 2px solid var(--accent-primary-light, #fddcc4);
  border-radius: 100px;
  padding: 14px 43px;
  font-family: var(--font-family, "Georgia");
  font-size: 17px;
  letter-spacing: 0.06em;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.button:hover {
  border-color: var(--accent-primary-light, #fddcc4);
  background-color: var(--accent-primary-light, #fddcc4);
}

.button-colored {
  border-color: var(--accent-primary);
  background-color: var(--accent-primary);
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.overlay.active {
  opacity: 1;
  background-color: #29292999;
}

button:disabled {
  border-color: #cdcdcd;
  color: #cdcdcd;
  cursor: default;
  pointer-events: none;
}
