/* Imports */

/* Defaults */
:root {
  color-scheme: light dark;
}

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

/* Global styles */
html {
  margin: 0 auto;
  max-width: 1280px;
}

body {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: black;
}

/* Header */
.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 25px 80px;
}

.nav a {
  text-decoration: none;
}

.left-nav,
.center-nav,
.right-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.center-nav {
  margin-right: -40px;
}

.nav-item {
  transition: 0.2s ease-in;
  font-weight: 500;
}

.nav-item:hover {
  color: #0087ca;
}

.logo {
  font-size: 18px;
  font-weight: 600;
}

.socials a:hover {
  color: #0087ca;
  transition: 0.2s ease-in;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 120px;
}

footer .socials a {
  margin: 0 10px;
}

/* Media Queries */
@media screen and (max-width: 650px) {
  .nav {
    flex-direction: column;
    margin: 25px 0;
  }

  /* .left-nav,
  .center-nav,
  .right-nav {
    gap: 30px;
  } */

  .right-nav {
    margin-top: 20px;
  }

  .center-nav {
    margin-right: 0;
    margin-top: 20px;
  }

  .post-entry {
    margin: 60px auto;
  }

  .projects {
    margin-top: 50px;
  }
}

@media (prefers-color-scheme: dark) {
  .nav-item,
  a {
    color: white;
  }

  body {
    background: black;
    color: white;
  }
}
