:root {
  --branding-color: #6c63ff;
  --secondary-color: #f9f7fe;
  --heading-font-family: "Playfair Display", serif;
  --default-font-family: "Poppins", sans-serif;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family);
  margin: 0;
}

h1 {
  font-size: 4rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.8;
  margin: 0;
}

footer {
  margin: 50px 20px;
  text-align: center;
}

footer .email-link {
  text-decoration: none;
  color: black;
  font-size: 1rem;
}

footer .email-link:hover {
  color: var(--branding-color);
}

.navbar {
  padding: 0;
  min-height: 60px;
  background-color: white;
  box-shadow: none;
}

.navbar .container {
  padding: 0 15px;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img.logo {
  width: auto;
  max-height: 50px;
  transition: max-height 0.3s ease;
}

.navbar-nav .nav-link {
  color: #272142;
  font-weight: 500;
  padding: 15px 10px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .active .nav-link {
  color: var(--branding-color);
}

.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.contact-box {
  background: var(--secondary-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero {
  background: var(--secondary-color);
  text-align: center;
  padding: 80px 20px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 2rem;
  font-weight: bold;
}

.hero h2 {
  font-family: var(--default-font-family);
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 2;
  color: #272142;
}

.btn-branding {
  background: var(--branding-color);
  color: white;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 25px;
  text-decoration: none;
}

.btn-branding-outline {
  color: var(--branding-color);
  border: 1px solid var(--branding-color);
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 25px;
}

.world-clock-image,
.croissant-image,
.weather-forecast-app-image,
.french-poem-image,
.weather-forecast-image {
  width: 100%;
  max-width: 550px;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-top: 40px;
}

.weather-forecast-image {
  max-width: 600px;
}

.world-clock-image:hover,
.croissant-image:hover,
.weather-forecast-app-image:hover,
.french-poem-image:hover,
.weather-forecast-image:hover {
  transform: scale(1.05);
}

.project-description,
.weather-app-description {
  padding: 40px 60px;
  text-align: center;
}

.content-container {
  padding: 60px 10px;
  margin-top: 0;
  text-align: center;
}

.content-container h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.content-container h2,
.content-container h3 {
  font-size: 1.2rem;
}
.content-container h3 {
  font-weight: bold;
  font-family: var(--default-font-family);
}

.content p {
  font-size: 14px;
}

.profile-picture img {
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-icons a {
  margin: 5px;
  color: var(--branding-color);
  background: var(--secondary-color);
  padding: 10px;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 150ms ease-in-out;
}

.social-icons a:hover {
  background: var(--branding-color);
  color: white;
  transform: scale(1.1);
}

/* Large screens */
@media (min-width: 1200px) {
  .navbar-brand img.logo {
    max-height: 100px;
  }
}

/* Medium-large screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .navbar-brand img.logo {
    max-height: 80px;
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .project-description,
  .weather-app-description,
  .content-container {
    padding: 20px 15px;
  }

  nav ul {
    justify-content: center;
  }

  .hero p {
    font-size: 1.8rem;
  }
  .hero h2 {
    font-size: 1.2rem;
  }

  .world-clock-image,
  .croissant-image,
  .weather-forecast-app-image,
  .french-poem-image,
  .weather-forecast-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
  .hero h2 {
    font-size: 1rem;
  }

  .project-description,
  .weather-app-description,
  .content-container {
    padding: 15px 10px;
  }

  .social-icons {
    gap: 5px;
  }
  .social-icons a {
    padding: 8px;
    font-size: 0.9rem;
  }
}
