html {
  font-size: 14px;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  color: black;
  box-sizing: border-box;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

h1 {
  margin-top: 0;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 900;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

article {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.brand {
  border: 1px solid #ddd;
  background: #f8f8f8;
  transition: transform 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem;
  width: 10rem;
  height: 10rem;
}

.brand:hover {
  transform: scale(1.1);
}

.brand img {
  width: 120px;
  height: auto;
  margin: 10px;
}

.container {
  width: min(90%, 75rem);
  margin-inline: auto;
}

footer {
  --gap: 1rem;

  padding: var(--gap) 0;
  background-color: black;
}

@media (min-width: 48rem) {
  footer {
    --gap: 1.5rem;
  }
}

@media (min-width: 75rem) {
  footer {
    --gap: 2rem;
  }
}

footer,
footer a {
  color: white;
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}

.row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.row.bottom {
  flex-wrap: wrap;
  margin-top: var(--gap);
}

@media (min-width: 48rem) {
  .row {
    flex-direction: row;
  }
}

.description {
  order: 2;
}

@media (min-width: 48rem) {
  .description {
    order: 1;
  }
}

.logo {
  order: 1;
  width: 10rem;
}

@media (min-width: 48rem) {
  .logo {
    order: 2;
  }
}

.copyright {
  font-size: 0.9375rem;
}

.nav {
  font-size: 0.9375rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav a {
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
