@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* Variables */
:root {
  --font-family: "Roboto", sans-serif;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #2d0de4;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

body {
  font-family: var(--font-family);
}



/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: auto;
}

.hero img {
  height: 8.5rem;
  width: 30.5rem;
  border: 2px solid var(--primary-color);
}

/* General Box Styling for All Sections (same as blog post cards) */
.box-style {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Intro Section */
.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.bio {
  width: 100%;
  max-width: 45rem;
  background-color: #fff; /* White background */
  padding: 2rem; /* Consistent padding */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.bio-title {
  font-size: 1.8rem;
  margin-bottom: var(--bottom-margin);
  color: var(--primary-color);
}

.bio-text {
  line-height: var(--line-height);
}

/* More About Section */
.more-about {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  padding: 3rem 1rem;
}

.bio {
  width: 100%;
  max-width: 45rem;
  background-color: #fff; /* White background */
  padding: 2rem; /* Consistent padding */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.Experiance-title {
  font-size: 1.8rem;
  margin-bottom: var(--bottom-margin);
  color: var(--primary-color);
}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem 0;
}

/* Skills Section */
.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.skills-description {
  max-width: 40rem;
  margin: auto;
  list-style: none;
  padding: 1rem;
}

.skills-description li {
  line-height: var(--line-height);
  margin-bottom: 0.5rem;
}

/* Apply Box Style to All Sections */
.intro, .more-about, .skills, .projects, .projects-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Projects Section */
.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* Variables */
:root {
  --font-family: "Roboto", sans-serif;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #2d0de4;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

body {
  font-family: var(--font-family);
}

/* Navbar */
nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background-color: var(--bg-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav h1 {
  color: var(--primary-color);
}

nav a {
  color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

nav ul {
  display: flex;
  gap: 1.9rem;
}

nav ul li {
  font-weight: var(--bold-font);
}

/* Hide the burger menu on larger screens */
.burger-menu {
  display: none;
  color: var(--primary-color);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.navigation {
  display: flex;
  gap: 2rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Mobile: Hide regular navigation links */
  .navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;  /* Adjust based on your navbar height */
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    align-items: center;
  }

  .navigation.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Show burger menu on mobile */
  .burger-menu {
    display: block;
  }

  /* Adjust the size of nav links for mobile */
  nav ul li {
    font-size: 1.2rem;
    font-weight: var(--normal-font);
  }
}


.burger-menu {
  color: var(--primary-color);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: auto;
}

.hero img {
  height: 8.5rem;
  width: 30.5rem;
  border: 2px solid var(--primary-color);
}

/* General Box Styling for All Sections (same as blog post cards) */
.box-style {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Intro Section */
.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.bio {
  width: 100%;
  max-width: 45rem;
  background-color: #fff; /* White background */
  padding: 2rem; /* Consistent padding */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.bio-title {
  font-size: 1.8rem;
  margin-bottom: var(--bottom-margin);
  color: var(--primary-color);
}

.bio-text {
  line-height: var(--line-height);
}

/* More About Section */
.more-about {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  padding: 3rem 1rem;
}

.bio {
  width: 100%;
  max-width: 45rem;
  background-color: #fff; /* White background */
  padding: 2rem; /* Consistent padding */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.Experiance-title {
  font-size: 1.8rem;
  margin-bottom: var(--bottom-margin);
  color: var(--primary-color);
}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem 0;
}

/* Skills Section */
.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.skills-description {
  max-width: 40rem;
  margin: auto;
  list-style: none;
  padding: 1rem;
}

.skills-description li {
  line-height: var(--line-height);
  margin-bottom: 0.5rem;
}

/* Apply Box Style to All Sections */
.intro, .more-about, .skills, .projects, .projects-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Projects Section */
.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-header {
  text-align: center;
}

/* Blog Section */
.blog {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.blog-container {
  max-width: 75rem;
  margin: auto;
  padding: 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Individual Blog Post Styling */
.blog-post {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-post .blog-date {
  font-size: 0.9rem;
  color: var(--primary-shadow);
  margin-bottom: 1rem;
}

.blog-post .blog-details {
  line-height: var(--line-height);
  color: #333;
}

.blog-post .blog-details a {
  font-weight: var(--bold-font);
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-post .blog-details a:hover {
  color: var(--secondary-color);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Blog Section */
  .blog-container {
    padding: 1.5rem;
  }

  .blog-header {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .blog-post {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .blog-post h3 {
    font-size: 1.3rem;
  }

  .blog-post .blog-date {
    font-size: 0.8rem;
  }

  .blog-post .blog-details {
    font-size: 1rem;
  }

  .blog-post .blog-details a {
    font-size: 1rem;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero img {
    width: 80%;
    max-width: 30rem;
    margin-bottom: 1rem;
  }

  /* Bio Section */
  .bio {
    width: 90%;
    max-width: 40rem;
    margin: auto;
  }

  /* More About Section */
  .more-about {
    padding: 1rem;
  }

  /* Skills Section */
  .skills {
    padding: 2rem 1rem;
  }
}


/* Blog Section */
.blog {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.blog-container {
  max-width: 75rem;
  margin: auto;
  padding: 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Individual Blog Post Styling */
.blog-post {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-post .blog-date {
  font-size: 0.9rem;
  color: var(--primary-shadow);
  margin-bottom: 1rem;
}

.blog-post .blog-details {
  line-height: var(--line-height);
  color: #333;
}

.blog-post .blog-details a {
  font-weight: var(--bold-font);
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-post .blog-details a:hover {
  color: var(--secondary-color);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Blog Section */
  .blog-container {
    padding: 1.5rem;
  }

  .blog-header {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .blog-post {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .blog-post h3 {
    font-size: 1.3rem;
  }

  .blog-post .blog-date {
    font-size: 0.8rem;
  }

  .blog-post .blog-details {
    font-size: 1rem;
  }

  .blog-post .blog-details a {
    font-size: 1rem;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero img {
    width: 80%;
    max-width: 30rem;
    margin-bottom: 1rem;
  }

  /* Bio Section */
  .bio {
    width: 90%;
    max-width: 40rem;
    margin: auto;
  }

  /* More About Section */
  .more-about {
    padding: 1rem;
  }

  /* Skills Section */
  .skills {
    padding: 2rem 1rem;
  }
}

/* Make all section headers blue */
h2, .blog-header, .Experiance-title, .skill-header, .project-header {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--bottom-margin-2);
}

