@tailwind base;
@tailwind components;
@tailwind utilities;

html,
body {
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;
  color: black;
  background-color: white;
}

article,
div,
section {
  scroll-margin-top: 10px;
}

h1 {
  color: #333333;
  font-weight: 900;
  font-size: 27px;
  line-height: 41px;
  letter-spacing: -2px;
  text-rendering: optimizelegibility;
}

h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  text-rendering: optimizelegibility;
}

p {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 35px;
    line-height: 51px;
  }

  h2 {
    line-height: 28px;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 36px;
    line-height: 53px;
  }

  p {
    line-height: 28px;
  }
}

.breathe-animation {
  animation: breathe 2s infinite;
}

@keyframes breathe {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
