body {
  font-family: "Inter", sans-serif;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: #000;
}

h1 {
  margin-bottom: 0;
}

header {
  padding: 40px;
}

section {
  padding-right: 40px;
  padding-left: 40px;
  margin-bottom: 5vh;
  margin-top: 5vh;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 12px;
}

.nickname,
.menu-header,
.light-mode {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 8px 12px;
  background-color: #fff;
}

.contact-btn {
  border: none;
  border-radius: 8px;
  background-color: #ff5500;
  color: #fff;
  padding: 8px 13px;
}

.nickname {
  font-size: 20px;
  font-weight: 600;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 250px;
  font-size: 16px;
}

.menu-header img {
  width: 14px;
}

.hero {
  margin-top: 10vh;
}

.hero img {
  width: 100%;
}

.hero-text {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  font-family: "Azeret Mono", monospace;
  font-size: 14px;
}

.divider {
  height: 12vh;
}

.hero-text ul,
footer ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding-left: 0;
}

.hero-text ul li a {
  text-decoration: underline;
}

.line {
  background-color: #d9d9d9;
  height: 1px;
}

.dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  background-color: #1fc54c;
  border-radius: 100px;
}

.projects {
  font-size: 14px;
  font-family: "Azeret Mono", monospace;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.project-list > div {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-img {
  background-color: #f1f1f1;
  background-size: cover;
  background-position: center;
  border: 1px solid #333;
}

.project-1 {
  height: 350px;
  background-image: url(oporajita.png);
}
.project-2 {
  height: 620px;
  background-image: url(dare.png);
}
.project-3 {
  height: 620px;
  background-image: url(benz.png);
}
.project-4 {
  height: 350px;
  background-image: url(mongol-deep.png);
}

.project h1 {
  font-size: 14px;
}

.project p {
  font-size: 13px;
}

.project-details {
  margin-top: 10px;
}

.project-details h1 {
  margin-bottom: 8px;
}

.projects .dot {
  background-color: #000;
}

.section-title {
  font-size: 14px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.post-info p {
  font-size: 12px;
  margin-bottom: 5px;
  font-family: "Azeret Mono", monospace;
}
.post-info h1 {
  font-size: 14px;
  font-family: "Azeret Mono", monospace;
  max-width: 300px;
  line-height: 20px;
}

.post-img {
  background-color: #f1f1f1;
  height: 220px;
  margin-bottom: 10px;
}

.posts .dot {
  background-color: #000;
}

.skill i {
  font-size: 40px;
}

.skill img {
  height: 40px;
}

.skill {
  border: 1px solid #d9d9d9;
  background-color: #fff;
  text-align: center;
  padding: 20px;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  font-size: 14px;
  font-family: "Azeret Mono", monospace;
}

footer ul li a {
  text-decoration: underline;
}

.skills .dot {
  background-color: #000;
}

.nav-right .light-mode {
  cursor: pointer;
}

.nav-right .dark-theme {
  cursor: pointer;
}

/* dark theme */
/* Dark Theme Styles */
body.dark-theme {
  background-color: #121212;
  color: #f0f0f0;
}

.dark-theme .nickname,
.dark-theme .menu-header,
.dark-theme .light-mode,
.dark-theme .skill {
  background-color: #1e1e1e;
  border-color: #333;
  color: #f0f0f0;
}

.dark-theme a {
  color: #f0f0f0;
}

.dark-theme .project-img,
.dark-theme .post-img {
  background-color: #2a2a2a;
}

.dark-theme .line {
  background-color: #333;
}

.dark-theme .contact-btn {
  background-color: #ff7043; /* Slightly different orange for dark mode */
}

.dark-theme .section-title,
.dark-theme .project-details h1,
.dark-theme .project-details p,
.dark-theme .post-info h1,
.dark-theme .post-info p,
.dark-theme footer p {
  color: #f0f0f0;
}

/* Light mode icon adjustment */
.dark-theme .light-mode i.bi-brightness-high {
  display: none;
}

.dark-theme .light-mode i.bi-moon {
  display: inline !important;
}

.light-mode i.bi-moon {
  display: none;
}

.dark-theme .projects .dot {
  background-color: #fff;
}

.dark-theme .skills .dot {
  background-color: #fff;
}

.dark-theme #logo {
  content: url("name-light.svg");
}

.dark-theme #mysql {
  content: url("mysql-light.svg");
}

.dark-theme #vs {
  content: url("vs-light.svg");
}

.dark-theme #hostinger {
  content: url("hostinger-light.svg");
}
.dark-theme #hostinger {
  content: url("hostinger-light.svg");
}

.dark-theme #nextjs {
  content: url("nextjs-light.svg");
}

@media only screen and (max-width: 800px) {
  section,
  header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .contact-btn {
    display: none;
  }

  .menu-header {
    width: 200px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .skill-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column-reverse;
    align-items: center;
  }

  footer ul {
    gap: 15px;
    justify-content: space-between;
  }

  .hero-text ul {
    gap: 15px;
    justify-content: space-between;
  }

  .hero {
    margin-top: 5vh;
  }

  .divider {
    height: 5vh;
  }

  .project-img {
    height: 250px !important;
  }
  .project-2 {
    height: 320px !important;
  }

  .project-3 {
    height: 350px !important;
  }
}
