* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #001e24;
}

header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 5px;
}

nav {
  width: 90%;
  max-width: 60vw;
  padding: 5px 0;
  background: #001e24;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 1rem;
}

nav .menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  padding: 0.8rem;
}

nav .menu li {
  margin: 0;
}

nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.tab-link {
  cursor: pointer;
}

nav .menu li a:hover,
nav .menu li a.active {
  background-color: #f4f4f9;
  color: #001e24;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding-right: 1rem;
}

.fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fullscreen-menu.show {
  display: flex;
}

.fullscreen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu ul li {
  margin: 1rem 0;
}

.fullscreen-menu ul li a {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
}

.fullscreen-menu ul li a:hover {
  color: #ff6f61;
}

.fullscreen-menu .menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tab-content {
  display: none;
  padding: 2rem;
  transition: opacity 0.3s ease;
  width: 100%;
  max-width: 60vw;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

.tab-content.active {
  display: block;
  flex: 1;
}

.image-container {
  position: relative;
}

.overlay {
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  height: 50%;
  /* color: white; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 800px) {
  .overlay h1 {
    font-size: 5vw;
  }
  nav {
    max-width: 100vw;
    padding: 5px 0;
    background: #001e24;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .tab-content.active {
    max-width: 100vw;
  }
  main {
    max-width: 100vw;
  }
  .landing-photo {
    max-width: 100vw !important;
  }
}

.landing-photo {
  display: block;
  width: auto;
  max-width: 60vw;
  height: auto;
}

h1 {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.job-details {
  display: flex;
  margin-bottom: 0.5rem;
  justify-content: space-between;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 5rem;
  padding: 2rem;
  background: #f4f4f9;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-pic {
  width: 150px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  align-self: center;
}

.summary {
  flex: 1;
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bullet {
  text-align: justify;
}

.bullet:before {
  content: "• ";
}

.project,
.job,
.education,
.skill {
  margin: 1rem 0;
  padding: 1rem;
  background: #f4f4f9;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project h2 {
  margin-bottom: 0.2rem;
}

.current-project {
  margin-top: 2rem;
  font-style: italic;
}

footer {
  flex-shrink: 0;
  background: #001e24;
  padding: 1rem 0;
  text-align: center;
}

.footer-container {
  width: 90%;
  max-width: 60vw;
  margin: 0 auto;
  padding: 0 1rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.footer-container .contact-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-container .contact-icons a {
  font-size: 25px;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-container .contact-icons a:hover {
  color: #575757;
}

.footer-container p {
  color: #fff;
  /* margin-top: 1rem; */
}

.project-card {
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background-image: linear-gradient(
    135deg,
    #182a73,
    #218aae 69%,
    #20a7ac 89%
  ) !important;
}

.project-content {
  padding: 15px;
}

.project-card-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.project-title {
  font-size: 1.5em;
  margin: 0 0 10px;
  color: #333;
}

.project-description {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
  text-align: justify;
}

.details-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: 50%;
}

.details-button:hover {
  background-color: #0056b3;
}

.outlined-text {
  color: white; /* Fill color */
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
    1px 1px 0 black; /* Outline effect */

  font-weight: bold;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  nav .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav .menu li {
    width: 100%;
  }

  nav .menu li a {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  nav .menu.show {
    display: flex;
  }

  .fullscreen-menu.show {
    display: flex;
  }

  .fullscreen-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .fullscreen-menu ul li {
    margin: 1rem 0;
  }

  .fullscreen-menu ul li a {
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
  }

  .fullscreen-menu ul li a:hover {
    color: #ff6f61;
  }
}

.project-details {
  width: 60vw;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  color: #333;
  background: #fff;
}

.project-details p {
  margin-bottom: 10px;
}

.test-accounts {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}

.test-accounts div {
  margin-right: 10px;
}

.reactivities-project-info {
  display: flex;
  flex-direction: column;
  justify-content: left;
  background-color: #f4f4f9;
  margin: 1rem 0;
  padding: 1em;
  border-radius: 15px;
  display: none;
}

.close-button {
  border: none;
  padding: 10px 15px;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin: 0 auto;
  border: 1px solid #000000;
  float: right;
}

.reactivities-project-info h1 {
  padding-top: 0.5rem;
}
