body {
  font-family: "Poppins", sans-serif;
  margin: 0;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9)),
    url(../images/seoul.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  padding: 200px 0;
}
header h1 {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  margin: 30px 0;
}

header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 5px;
  margin: 0;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #000018;
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  background: #fff;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 5px;
  color: #000018;
  opacity: 0.3;
  text-transform: uppercase;
}

main h3 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: #000018;
  margin: 0;
}

main h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #000018;
  margin: 0;
}

main h5 {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
  line-height: 1;
  color: #000018;
}

main p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #000018;
  opacity: 0.7;
}
section {
  max-width: 100%;
  margin: 0 auto;
  padding: 100px;
}
.cards-section {
  background: #f8f8f8;
}
.img-responsive {
  width: 100%;
  display: block;
}
.img-building {
  width: 90%;
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #afafaf;
  display: block;
  margin: auto;
}
.text-center {
  text-align: center;
}
.card {
  background: white;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header.grid {
  grid-gap: 0;
}

.card-body {
  padding: 30px;
}

.card-footer {
  padding: 0 30px 30px;
}
.embed {
  width: 100%;
  aspect-ratio: 1 /1;
}
/*.pinterest-embed-section {
  padding: 100px 50px;
}*/

.pinterest-embed {
  height: 390px;
  border-radius: 28px;
}
.grid.grid-pinterest {
  margin-top: 20px;
  grid-gap: 30px;
}

.btn {
  display: block;
  color: white;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px;
  background-color: #020227e2;
  text-decoration: none;
}
.grid {
  display: grid;
  grid-gap: 64px;
}
.grid-3-col-unset {
  grid-template-columns: 1fr 2fr 2fr;
}
.grid-2-col {
  grid-template-columns: 1fr 1fr;
}
.grid-3-col {
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

footer {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/seoul-footer.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
footer h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
}

footer p {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.7;
  line-height: 24px;
}
footer a {
  color: white;
  opacity: 0.7;
}
footer ul {
  padding: 0;
}
footer li {
  list-style: none;
}
@media (max-width: 1200px) {
  .grid-pinterest.grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  header {
    padding: 60px 0;
  }

  header h1 {
    font-size: 48px;
  }

  header h2 {
    font-size: 20px;
  }

  header h3 {
    font-size: 12px;
  }
  section {
    padding: 30px;
  }
  .img-building {
    max-width: 600px;
  }

  .img-responsive,
  .embed {
    max-height: 300px;
    max-width: 300px;
  }
  .card-header {
    justify-items: center;
  }
  .grid {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .grid-pinterest.grid {
    grid-template-columns: 1fr;
  }
  .card-header {
    grid-template-columns: 1fr 1fr;
  }

  footer h3 {
    font-size: 18px;
  }
  footer p {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .pinterest-embed {
    max-width: 200px;
    max-height: 300px;
  }
}
