/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  scroll-behavior: smooth;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/*
    Fim do CSS Reset
*/

body {
  background-color: #1c1c1c;
  color: #b0b0b0;
  font-family: "Fira Code", "Courier New", Courier, monospace;
  font-optical-sizing: auto;
  font-style: normal;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .container {
    max-width: 800px;
    margin: 0 auto;
  }
}

.main-content {
  flex: 1;
}

.main-title {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  font-family: "Fira Code", monospace;
  padding-bottom: 8px;
  border-bottom: 1px solid #4a5a61;
}

.falatorio p {
  font-size: small;
}

nav {
  display: flex;
  font-size: small;
  justify-content: space-around;
  min-width: 100%;
  min-height: 60px;
  border-bottom: 1px solid #4a5a6a;
  align-items: center;
}

@media (min-width: 1024px) {
  .container {
    max-width: 800px;
    margin: 0 auto;
  }

  nav {
    font-size: medium;
  }

  /* .main-title {
    font-size: medium;
  } */

  .falatorio p {
    font-size: medium;
  }
}

a {
  /* text-decoration: none; */
  color: #c0c0c0;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  transition: 200ms linear;
  width: 100%;
  text-align: center;
}

nav a:hover {
  background-color: #802020;
}

nav .selecionado {
  background-color: #3c3c3c;
}

.last-posts {
  margin: 1rem;
  text-align: center;
  border-top: 1px solid #4a5a6a;
}

.last-posts-line {
  display: flex;
  width: 100%;
}

.last-posts-single {
  text-align: justify;
  width: 100%;
}
