/* General styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem 0;
}

p {
  margin: 0 0 1rem 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  padding: 1rem;
  background: #f4f4f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
}

header nav ul li {
  display: inline;
  margin-right: 1rem;
}

.nav-toggle {
  display: none;
}

.nav-toggle svg {
  fill: #333;
}

/* Main sections */
section {
  padding: 2rem;
}

/* Hero section */
.hero {
  text-align: center;
}

.hero img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Call to action */
.call-to-action {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button {
  background-color: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
}

.cta-button:hover {
  background-color: #555;
  color: #fff;
}

/* Blog */
.blog-post {
  margin-bottom: 1.5rem;
}

.blog-post h3 {
  margin: 0 0 0.5rem 0;
}

.blog-post small {
  color: #999;
}

/* Blog filter */
.blog-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
}

.filter-btn:hover {
  background-color: #555;
  color: #fff;
}

/* Blog post links */
.blog-post-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-link {
  background-color: #f4f4f4;
  padding: 0.5rem 1rem;
  display: inline-block;
  color: #333;
  border: 1px solid #ddd;
}

.post-link:hover {
  background-color: #eee;
}

.post-link.active {
  background-color: #333;
  color: #fff;
}

/* Blog post content */
.blog-post-content {
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.blog-title-clickable {
  cursor: pointer;
}

.cv {
  font-family: 'Exo 2', serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  max-width: 960px;
  margin: 0 auto;
}

.cv h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.cv h3 {
  font-family: 'Garet', serif;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  border-bottom: 1px solid white;
}

.cv h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
}

.duration {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.company {
  font-size: 16px;
  margin: 0;
}

.job-position {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.timeline {
  position: relative;
  padding-left: 40px;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 6px;
  bottom: 0;
  left: -1px;
  width: 2px;
  content: '';
  background-color: #333;
}

.timeline>li {
  padding-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.timeline>li:before {
  position: absolute;
  top: 4px;
  left: -8px;
  width: 12px;
  height: 12px;
  content: '';
  border: 2px solid #333;
  border-radius: 50%;
  background-color: #fff;
}

.cv ul {
  list-style-type: none;
  padding: 0;
}

.cv-layout {
  display: flex;
}

.left-pane {
  background-color: #323b4c;
  flex: 1;
  padding: 24px;
  color: #fff;
}

.right-pane {
  background-color: #fff;
  flex: 2;
  padding: 16px;
  color: #333;
}

.profile-photo {
  /* Add desired styles for your profile photo, for example: */
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.profile-photo img {
  border-radius: 50%;
}

#name {
  font-size: 2rem;
  margin-bottom: 8px;
}

#occupation {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* Add some space between the sections */
.left-pane>div,
.right-pane>div {
  margin-bottom: 24px;
}

.left-pane>div:last-child,
.right-pane>div:last-child {
  margin-bottom: 0;
}

.download-button {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  background-color: #2269d9;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 16px;
}

.download-button:hover {
  background-color: #4CAF50;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #f4f4f4;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  header nav ul li {
    display: block;
    margin-bottom: 0.5rem;
  }

  .nav-toggle {
    display: block;
  }

  nav ul {
    display: none;
  }

  nav ul.open {
    display: block;
  }
}

.slide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
}

.slide {
  width: 80%;
  height: auto;
  margin: 50px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #ddd;
}

.portfolio-button {
  position: fixed;
  top: 20%;
  right: 20px;
  height: 60vh;
  width: 7%;
  background-color: #323b4c;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 10px;
}

.portfolio-button:hover {
  background-color: #51668c;
}