@font-face {
  font-family: 'Instrument Serif';
  src: url('./assets/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('./assets/instrument-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --background: #f0edea;
  --grey: #626262;
  --black: #000000;
  --white: #ffffff;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Instrument Sans', serif;
  background: var(--background);
  color: var(--black);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: inherit;
}

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

:is(button, .button, input, textarea, select) {
  font-family: 'Instrument Sans', serif;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 35.313rem;
  margin-inline: auto;
  text-align: center;
  gap: 2.5rem;
  padding: 1rem;

  @media (max-width: 640px) {
    height: 100svh;
  }

  & > p {
    color: var(--grey);
  }

  & > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  & .testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
  }
}

h1 {
  font-size: 2.625rem;
  line-height: 1.1;
  font-weight: 400;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

button {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 16px;
  background: #ffffff;
  color: var(--black);
  box-shadow:
    inset -1px -1px 4px rgba(42, 36, 30, 0.1),
    inset 1px 1px 4px rgba(42, 36, 30, 0.1);
  border-radius: 999px;
  outline: none;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
