:root {
  --branding-color: #7bccc8;
  --secondary-color: #f9f7fe;
  --heading-font-family: "Playfair Display", serif;
  --default-font-family: "Space Grotesk", monospace;
}

body {
  font-family: var(--default-font-family);
}

/* Navigation bar styling: */

.logo {
  max-width: 150px;
}

nav ul {
  padding: 0;
  margin: 0;
  margin-top: 80px;
}

nav li {
  display: inline;
  list-style: none;
  line-height: 42px;
  font-size: large;
  margin-left: 15px;
}

nav {
  padding: 20px 0;
}

nav a {
  text-decoration: none;
  color: #36353e;
  font-weight: 500;
  padding: 10px;
}

nav a:hover {
  color: var(--branding-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #36353e;
  font-family: var(--heading-font-family);
  font-weight: bold;
}
/* Header styling */
p {
  font-family: var(default-font-family);
  font-weight: normal;
}
.hero {
  background-color: var(--secondary-color);
  text-align: center;
  padding: 100px 20px;
}

.hero p {
  font-size: 30px;
  font-weight: bold;
  font-family: var(default-font-family);
}

.hero h2 {
  font-family: var(default-font-family);
  font-size: 24px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-family: var(default-font-family);
}

.btn-branding {
  background-color: var(--branding-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-family: "Departure Mono", monospace;
  font-weight: bold;
}

img {
  background: linear-gradient(135deg, #f9f9fb, #eef2f7);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Content below header styling: */
h2 {
  font-size: 33px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.btn-branding-outline {
  border-radius: 5px;
  font-family: "Departure Mono", monospace;
  font-weight: bold;
  background-color: transparent;
  color: var(--branding-color);
}

.btn-branding-outline:hover {
  background-color: var(--branding-color);
  color: white;
  transition: background-color 0.3s, color 0.3s;
}

footer {
  border-top: 1px solid #f9f7fe;
  padding: 30px 0 0 0;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}

/* Media Queries for responsiveness: */
@media (max-width: 765px) {
  .hero {
    padding: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 20px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }

  .btn-about {
    padding: 8px 16px;
    font-size: 14px;
  }
  .about-section p {
    font-size: 15px;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .logo {
    display: block;
    margin: 0 auto;
  }

  nav ul {
    margin-top: 10px;
  }
}

/* About section style: */

.about-section {
  background: linear-gradient(135deg, #f9f9fb, #eef2f7);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.about-section h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d2d3a;
}

.about-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.btn-branding {
  background: var(--branding-color, #6c63ff);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-branding:hover {
  background: #574bdb;
  transform: scale(1.05);
}

/* Work Page Styling: */
.work-page h2 {
  font-family: var(--default-font-family);
  font-size: 18px;
}

.work-page p {
  font-family: var(--default-font-family);
  font-size: 15px;
}

/* Footer styling: */
.btn-footer {
  font-family: var(--default-font-family);
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

footer .social-links a {
  color: var(--branding-color);
}
