* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-family:
    Lato,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    sans-serif,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  line-height: 1.5;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #000;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-link {
  margin: 1.25rem 0;
}

.logo {
  height: 4rem;
}

.heading,
.portfolio-heading,
.error-heading {
  font-family:
    "Playfair Display", ui-serif, Georgia, Cambria, "Times New Roman", Times,
    serif;
  color: #fff;
}

.heading {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 2.25rem;
}

.healthcare {
  color: #fed7aa;
}

.portfolio {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: center;
}

.portfolio-heading {
  margin-top: 5rem;
  font-size: 1.5rem;
  line-height: 2rem;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.75rem;
}

.portfolio-link {
  display: flex;
  width: 15rem;
  height: 15rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  background: #fff;
}

.portfolio-link:hover {
  background: #fff7ed;
}

.portfolio-name {
  font-family: "Tenor Sans";
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.sim {
  color: #9b81b2;
}

.converse {
  color: #f68b55;
}

.portfolio-description {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
}

.footer {
  margin-top: 1rem;
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
}

.contact {
  margin: 0.5rem;
}

.error {
  justify-content: center;
  gap: 1rem;
  color: #a1a1aa;
  text-align: center;
}

.error-heading {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.error a {
  color: #fed7aa;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .portfolio-list {
    flex-direction: row;
  }

  .portfolio-link {
    width: 10rem;
    height: 10rem;
  }

  .portfolio-name {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
