@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1.5rem;

  & span {
    color: var(--red);
  }
}

a {
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s;
  cursor: pointer;
}

button {
  border: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  background: transparent;
  transition: all 0.4s;
  font-size: 1.6rem;
}

input {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
}

textarea {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  resize: vertical;
}

h1 {
  font-size: clamp(3.5rem, 6.5vw, 6.5rem);
}

h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

h4 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

h5 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.stit {
  color: var(--red);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.cta {
  font-size: 1.6rem;
  font-weight: 700;
  background-color: var(--red);
  color: var(--white);
  display: inline-flex;
  padding: 8px 1.5rem;
  border-radius: 8px;
  line-height: 1;

  &:hover {
    background-color: var(--dark-red);
    translate: 0 -8px;
  }
}

.btn {
  font-size: 1.6rem;
  font-weight: 700;
  background-color: var(--red);
  color: var(--white);
  display: inline-flex;
  padding: 1.5rem 2.5rem;
  border-radius: 8px;
  line-height: 1;
  margin: 2rem 0 0;
  transition: all 0.3s;


  &:hover {
    background-color: var(--dark-red);
    translate: 0 -8px;
  }

  @media screen and (min-width:851px) {
    padding: 2rem 3rem;
  }
}