
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.section {
  padding: 60px 0;
}

.center {
  text-align: center;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: #d36340;
  color: white;
  text-decoration: none;
}

.button:hover {
  background: #222;
}

/* HEADER */

.site-header {
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
}

.site-header nav a {
  margin-left: 15px;
  text-decoration: none;
}

/* HERO */

.hero {
  background: #eee;
  padding: 60px 0;
}

.hero .container {
  display: grid;
  gap: 30px;
}

.hero-photo {
  width: 100%;
  max-height: 500px;
}

/* PROFILE */

.profile-grid,
.service-grid,
.work-grid,
.contact-grid,
.about-bottom {
  display: grid;
  gap: 30px;
}

.portrait,
.quote-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: auto;
}

/* ABOUT */

.contact-card {
  background: #d36340;
  color: white;
  padding: 30px;
}

/* SERVICES */

.services,
.testimonials {
  background: #eee;
}

.service {
  padding: 20px;
  background: white;
}

.service-icon {
  font-size: 30px;
}

/* WORK */

.work-grid img {
  width: 100%;
}

.work-copy {
  padding: 30px;
}

/* TESTIMONIALS */

.testimonials {
  text-align: center;
}

blockquote {
  max-width: 700px;
  margin: auto;
}

/* CONTACT */

.contact {
  background: #222;
  color: white;
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
}

textarea {
  min-height: 120px;
}

/* FOOTER */

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px;
}

/* TABLET */

@media (min-width: 700px) {
  .hero .container,
  .profile-grid,
  .service-grid,
  .contact-grid,
  .about-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOP */

@media (min-width: 1000px) {
  .profile-grid,
  .service-grid,
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 64px;
  }
}
