:root
{
  --bone: #eae6e1;
  --khaki: #e5e0da;
  --smoke: #c2bfcb;
  --olive: #7e7b46;
  --dirt: #583b1f;
}

body
{
  margin: 0;
  background-color: var(--khaki);
  font-family: "Manrope", sans-serif;
  font-size: 1.125rem;
}

h1,
h2,
h3,
h4,
h5,
h6
{
  margin-top: 0;
  font-weight: 500;
}

p
{
  margin-top: 0;
  font-weight: 400;
}

img
{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

header
{
  padding: 16px 32px;
}

h1
{
  margin: 0;
  font-size: 1rem;
  color: var(--dirt);
}

.hero
{
  min-height: 500px;
  max-height: 80vh;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 32px;
}

.hero p
{
  margin: 0;
  font-size: 3rem;
  color: var(--khaki);
  text-align: center;
}

section
{
  padding: 32px;
}

.services,
.contact
{
  background: var(--olive);
  color: var(--bone);
}

.about
{
  color: var(--dirt);
}

h2
{
  font-size: 2rem;
}

.card-group
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.card
{
  color: var(--bone);
}

.card-content
{
  margin-top: 1rem;
}

.card-image
{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.card-title
{
  font-weight: 600;
}

.card-description
{
  font-weight: 400;
  font-size: 1rem;
}

.card-details
{
  font-style: italic;
  font-size: 0.875rem;
}

.wrapper
{
  display: flex;
  flex-direction: column;
  column-gap: 32px;
  row-gap: 32px;
  justify-content: center;

}

.about-content
{
  max-width: 80ch;
}

.logo
{
  max-width: 300px;
  align-self: center;
}

@media (min-width: 768px)
{
  header
  {
    padding: 16px 64px;
  }

  section
  {
    padding: 64px;
  }

  .card-group
  {
    gap: 64px;
  }

  .wrapper
  {
    flex-direction: row;
    column-gap: 64px;
  }
}