body {
  font-family: "Roboto", sans-serif;
  background-color: #f3f3f3;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 3rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hero {
  max-width: 100%;
  margin-bottom: 6rem;
}

.hero img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.brands {
  max-width: 1240px;
  margin: 0 auto 6rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.nexus-brands {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 16px;

  width: 100%;
  margin: 0 auto;
}

.brand-card {
  /* Mobile: 1 Column (Full Width) */
  flex: 0 0 100%;
  width: 100%;
  background-color: #e8e8e6;
  display: flex;
  flex-direction: column;
}

.brand-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Tablet: 2 Columns */
@media (min-width: 768px) {
  .brand-card {
    flex: 0 0 calc(50% - 8px);
  }
}

/* Desktop: 3 Columns */
@media (min-width: 1024px) {
  .brand-card {
    flex: 0 0 calc(33.333% - 10.66px);
    max-width: 400px;
  }
}

.brand-card-logo {
  padding: 1rem 1.25rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.brand-card-logo img {
  max-width: 100%;
  width: auto;
  max-height: 100%;
  height: auto;
  transition:
    transform 0.3s ease-in-out,
    filter 0.3s ease-in-out;
}

.brand-card:hover .brand-card-logo img {
  transform: scale(1.05);
}

.brand-card-link {
  background-color: #64656a;
  color: #f3f3f3;

  padding: 0.5rem 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand-card-link span {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease-in-out;
}

.brand-card:hover .brand-card-link span {
  opacity: 1;
  transform: translateX(0);
}

.about {
  max-width: 1240px;
  margin: 0 auto 4rem auto;
  padding: 0 1rem;
  line-height: 1.6;
}

.footer {
  text-align: center;
}

/* UTIL */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
