/* Style the navigation bar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  background-color: #f7f7f7;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background-color: #333;
  color: #fff;
}

nav a.active {
  background-color: #333;
  color: #fff;
}

nav a.btn {
  background-color: #5a5ae5;
  color: #fff;
  font-weight: bold;
}

nav a.btn:hover {
  background-color: #8a8aff;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #393e46;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

h3 {
  color: #333;
}

.logo {
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  background-color: #f7f7f7;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background-color: #333;
  color: #fff;
}

nav a.active {
  background-color: #333;
  color: #fff;
}

nav a.btn {
  background-color: #5a5ae5;
  color: #fff;
  font-weight: bold;
}

nav a.btn:hover {
  background-color: #8a8aff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;

  color: #eeeeee;
  line-height: 1.6;
}

main {
  margin: 40px auto;
  max-width: 800px;
}

section {
  background-color: #eeeeee;
  padding: 40px;
  border-radius: 5px;
}

section h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

section p {
  font-size: 18px;
  margin-bottom: 40px;
}

/* Portfolio Page */

.portfolio {
  margin: 80px 0;
}

.portfolio .title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

.portfolio .project {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 60px;
}

.portfolio .project .project-item {
  width: calc(33.33% - 20px);
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.portfolio .project .project-item:hover {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.portfolio .project .project-item .project-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.portfolio .project .project-item .project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.portfolio .project .project-item:hover .project-img img {
  transform: scale(1.1);
}

.portfolio .project .project-item .project-info {
  padding: 20px;
}

.portfolio .project .project-item .project-info .project-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.portfolio .project .project-item .project-info .project-description {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 10px;
}

.portfolio .project .project-item .project-info .project-btn {
  display: inline-block;
  background-color: #00adb5;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}

.portfolio .project .project-item .project-info .project-btn:hover {
  background-color: #393e46;
}

@media (max-width: 767px) {
  .portfolio .project .project-item {
    width: 100%;
  }
}

/* Style the footer */
footer {
  background-color: #393e46;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  bottom: 0;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

footer p {
  font-size: 14px;
  color: #eeeeee;
}

/* Set the background color of the scrollbar */
::-webkit-scrollbar {
  background-color: #eeeeee;
}

/* Set the thumb (the draggable part of the scrollbar) color */
::-webkit-scrollbar-thumb {
  background-color: #5a5ae5;
  border-radius: 10px;
}

/* Set the track (the non-draggable part of the scrollbar) color */
::-webkit-scrollbar-track {
  background-color: #393e46;
}
