:root {
  --primary-color: #5c5470;
  --secondary-color: #f5f2fe;
  --box-shadow: 1px 5px 10px rgba(0, 0, 0, 0.3);
}

h2,
h3,
p {
  font-family: "Poppins", sans-serif;
}

h2,
h3 {
  color: #272142;
  line-height: 54px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: bold;
  font-size: 96px;
  line-height: 110px;
}

h2 {
  font-weight: 700;
  font-size: 35px;
}

h3 {
  font-weight: 500;
  font-size: 22px;
}

.hero {
  text-align: center;
  background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
  padding: 70px 20px 20px;
}

.contact-link,
.portfolio-link {
  margin: 20px;
  border-radius: 4px;
  padding: 15px 25px;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 20px;
  background: var(--primary-color);
  box-shadow: var(--box-shadow);
  color: white;
  border: 2px solid var(--primary-color);
}

.main-section-heading {
  margin: 90px 20px 10px;
}

.main-section-heading p {
  font-size: 24px;
  line-height: 54px;
  margin: 0 auto;
  text-transform: uppercase;
}

.section-heading p {
  color: var(--primary-color);
  font-weight: 500;
}

.horizontal-divider {
  border-bottom: 2px solid #272142;
  width: 195px;
  margin: 0 auto;
  height: 0;
}

.contact-box {
  background: #e2d1c3;
  padding: 30px 15px 10px;
  margin: 100px auto;
  max-width: 750px;
  text-align: center;
}

.contact-box h3 {
  font-size: 20px;
  line-height: 1.5;
}

.social-link a {
  color: var(--primary-color);
  font-size: 22px;
  text-decoration: none;
}

.instagram-icon {
  font-size: 25px;
  padding: 10px 0;
}

.footer {
  font-size: 25px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
  padding: 5px 30px;
}

.about-coder {
  font-size: 18px;
  opacity: 0.9;
  margin: 80px auto 40px;
}

.about-coder a {
  color: var(--primary-color);
}

.about-coder a:hover {
  color: #272142;
  font-weight: 500;
}

.content-container {
  text-align: center;
  padding: 60px 20px 0;
}

.content {
  margin: 30px;
  padding-top: 50px;
}

.content-container h1 {
  font-size: 60px;
  line-height: 1;
}

.content-container h2 {
  font-size: 34px;
  line-height: 1;
}

.content-container p {
  font-size: 19px;
  color: black;
  opacity: 0.8;
  text-align: left;
}

@media (max-width: 576px) {
  h1 {
    font-size: 44px;
    line-height: 1.25;
    margin: 20px auto;
  }
  .hero {
    padding: 70px 20px 20px;
  }

  h2 {
    font-size: 30px;
    line-height: 1.5;
  }

  h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .main-section-heading {
    margin: 55px 20px 10px;
  }

  .portfolio-link {
    display: block;
    text-align: center;
    line-height: 1.5;
    padding: 20px;
  }

  .about-coder {
    font-size: 16px;
  }

  .content-container {
    text-align: center;
    padding: 60px 20px 0;
  }

  .content {
    text-align: center;
    padding: 0;
  }

  .content-container p {
    text-align: center;
  }

  .content-container h2 {
    line-height: 1;
  }

  .contact-box {
    margin: 50px 0;
    padding: 15px;
    border-radius: 0;
  }
}
