:root {
  --font-family-base: Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-family-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
  color: #000;
  background-color: #f6f6f6;
}

h1 {
  font-size: clamp(23px, calc(23px + 15 * ((100vw - 320px) / 1120)), 38px);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: clip;

  main {
    flex-grow: 1;
  }
}

.main__wrapper {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  margin-block: 50px;
}

.container {
  max-width: 1088px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.36;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #d10a10;
  background: #d10a10;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    scale: 1.03;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.form-wrapper {
  margin-top: 16px;
}

/* #region MEDIA QUERIES */

@media (width <= 1024px) {
  .container {
    max-width: 100%;
    padding-inline: 0;
  }
  .main__wrapper {
    flex-direction: column;
    gap: 80px;
  }
}

@media (width < 744px) {
  .main__wrapper {
    margin-block: 0 10px;
    gap: 48px;
  }
}

/* #endregion MEDIA QUERIES */
