/* GENERAL */

body {
  background: #000;
  color: #fff;
  font-family: monospace;
  margin: 0;
  padding: 0;
}


/* HEADER */

header {
  width: 100%;
  padding: 30px 0;
  position: relative;
}


/* PERSONAL LOGO */

.personal-logo {
  position: absolute;
  left: 30px;
  top: 30px;
}

.personal-logo img {
  width: 50px;
  height: auto;
  display: block;
}


/* NAVIGATION */

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  color: #ff00aa;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
}

nav a:hover {
  text-decoration: underline;
}


/* MAIN */

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 30px;
}


/* HERO */

.hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero p {
  font-size: 16px;
  line-height: 1.7;
}


/* TITLE IMAGE */

.title-image {
  width: 500px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}


/* LATEST */

.latest {
  margin-top: 150px;
}

.latest h2 {
  font-size: 14px;
  letter-spacing: 3px;
}

.latest a {
  color: #fff;
  text-decoration: none;
}

.latest a:hover {
  text-decoration: underline;
}


/* FOOTER */

footer {
  margin-top: 200px;
  padding: 30px;
  text-align: center;
  font-size: 11px;
  opacity: 0.5;
}


/* PROJECT PAGE */

.project-section {
  margin-bottom: 80px;
}

.project-section h2 {
  color: #ff00aa;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.project-section p {
  max-width: 650px;
  line-height: 1.8;
}


/* CHARACTERS */

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.character img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.character h3 {
  font-size: 13px;
  letter-spacing: 2px;
  margin: 0 0 8px 0;
}

.character p {
  font-size: 11px;
  letter-spacing: 1px;
  margin: 0;
  opacity: 0.6;
}


/* IMAGE GRID */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
}


/* BLOG */

.post {
  max-width: 650px;
  margin: 80px auto 150px auto;
}

.post-date {
  color: #ff00aa;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.post h1 {
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 35px;
}

.post p {
  line-height: 1.8;
}


/* ABOUT */

.about-section {
  max-width: 650px;
  margin: 40px auto 50px auto;
}

.about-section h2 {
  color: #ff00aa;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.about-section p {
  line-height: 1.8;
}

.about-section a {
  color: #fff;
  text-decoration: none;
}

.about-section a:hover {
  color: #ff00aa;
  text-decoration: underline;
}


/* MOBILE */

@media (max-width: 600px) {

  header {
    width: 100%;
    padding: 20px 0 0 0;
  }

  .personal-logo {
    position: static;
    display: block;
    margin-left: 20px;
    margin-bottom: 25px;
  }

  .personal-logo img {
    width: 40px;
  }

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    padding: 0 15px;
  }

  nav a {
    font-size: 10px;
    white-space: nowrap;
  }

  main {
    margin-top: 70px;
    padding: 0 20px;
  }

  .title-image {
    width: 300px;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.5;
  }

  .latest {
    margin-top: 45px;
  }

  .latest h2 {
    margin-bottom: 15px;
  }

  footer {
    margin-top: 60px;
    padding: 20px;
  }
  
.project-section {
  margin-bottom: 50px;
}

.character-grid {
  gap: 30px;
}
  .character-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

}