/* Styles for the home page */

.section-header {
  text-align: center;
  margin: var(--margin);
  margin-top: var(--large-margin);
}

.card .title {
  font-size: 1.75rem;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 25%);
}

.card .overlay .description .name {
  text-transform: uppercase;
}

.card .overlay .description .function {
  font-size: 0.75rem;
}

.typing {
  border-radius: calc(var(--border-radius) / 2);
  border: 1px solid lightgray;
  padding: 0.75rem 1rem;
  background-color: var(--light-white);
  font-size: 1.25rem;
  width: 100%;
  margin-bottom: var(--large-margin);
}

/* Desktop */
@media (min-width: 1101px) {
  .attention h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
  .attention h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

/* Phone */
@media (max-width: 700px) {
  .attention h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.9rem;
  }
}
