:root {
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: rgb(246, 251, 252);
  font-family: var(--font-primary);
}

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

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

header {
  text-align: center;

  h1 {
    font-size: 4rem;
    margin: 2rem 0;
  }
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(min-content, 1fr));
  grid-gap: 1rem;
  padding: 1rem;

  & .brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    padding: 1rem;
    border: 2px solid transparent;

    & img {
      width: 6.25rem;
      height: auto;
    }

    &:hover {
      border-color: lightskyblue;
    }
  }
}
