* {
  margin: 0;
  padding: 0;
  border: none;
}

img {
  display: block;
  height: auto;
  margin: auto;
  filter: blur(5px);
  transition: filter 0.5s ease;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol {
  transition: 0.5s;
  color: #382d26;
  font-family: "JetBrains Mono", monospace;
}

h1 {
}

h2 {
  padding-top: 1rem;
  border-bottom: 3px solid #382d26;
  width: fit-content;
}

h3 {
  padding-top: 1rem;
  width: fit-content;
}

ul,
ol {
  margin-left: 0;
  padding-left: 20px;
}

.container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: black;
}

pre {
  margin: 20px 10px 20px 10px;
  white-space: pre-wrap;
  word-break: break-all;
  border: 2px solid black;
  border-color: #382d26 #382d26 #382d26 #382d26;
  border-radius: 5px;
  transition: 1s;
}

code {
  display: inline-block;
  line-height: 1.5;
  padding: 0.5vw 0 0.4vw 1vw;
}

.header {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 15px;
  > h1 {
    transition:
      color 0.3s ease-in-out,
      box-shadow 0.3s ease-in-out;
    > a {
      color: #382d26;
    }
  }

  > h1:hover {
    box-shadow: inset 300px 0 0 0 white;
    > a {
      color: black;
    }
  }
}

.nav {
  padding-bottom: 25px;
  > ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    justify-content: center;
    margin-top: 0%;
    > li {
      flex-wrap: wrap;
      padding-left: 10px;
      padding-right: 10px;

      > a {
        color: rgba(221, 221, 221, 0.35);
        transition: 0.3s;
      }

      > a:hover {
        color: white;
      }
    }
  }
}

a {
  color: rgba(221, 221, 221, 0.35);
}

.content {
  box-sizing: border-box;
  padding: 15px;
  margin: 10px 10px 15px 10px;
  background-color: black;
  border: solid 2pt rgba(221, 221, 221, 0.35);
  border-radius: 10px;
  transition: 0.4s;

  > .article {
    > span > h1 {
      padding-top: 20px;
      padding-bottom: 5px;
      border-bottom: 2px solid #382d26;
      transition: 1s;
    }

    > span > p,
    li {
      padding-top: 10px;
      transition: 0.5s ease-in-out;
    }
  }

  > .article-title {
    padding-top: 15px;
    padding-bottom: 10px;
    > h1 {
      transition: 0.5s;
    }
  }

  > .article-desc {
    display: block;
    width: 100%;
    height: 2.5rem;
    > p {
      transition: 0.5s;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  > .article-tag-container {
    display: flex;

    > .article-tag {
      min-width: 70px;
      box-sizing: border-box;
      border: solid 2pt #382d26;
      border-radius: 10px;
      padding: 5px 10px 5px 10px;
      margin-right: 10px;
      text-align: center;
      transition: 0.5s;

      > a {
        transition: 0.6s;
        color: #382d26;
      }
    }
  }

  > .info {
    display: flex;
    text-align: end;
    justify-content: space-between;
    padding-bottom: 15px;
    > p {
      transition: 0.5s;
      color: rgba(221, 221, 221, 0.35);
    }
  }

  > .read-more {
    text-align: end;
    padding-bottom: 0.5rem;
    > a {
      transition: 0.5s;
      color: rgba(221, 221, 221, 0.35);
    }
  }
}

.footer {
  text-align: center;
  font-size: 0.8em;
  > p {
    padding-top: 30px;
    color: #382d26;
    transition: 0.3s;
    padding-bottom: 40px;
  }

  > p:hover {
    color: white;
  }
}

@media screen and (min-width: 35.5em) {
  .content {
    padding: 30px;
    margin: 10px 10% 2.5% 10%;
  }
  .content:hover {
    box-shadow: 3px 3px white;
  }
}

@media screen and (min-width: 48em) {
  .content {
    padding: 50px;
    margin: 10px 15% 2% 15%;
  }
  .content:hover {
    box-shadow: 3px 3px white;
  }
}

@media screen and (min-width: 64em) {
  .content {
    padding: 50px;
    margin: 10px 19% 1.5% 19%;
  }
  .content:hover {
    box-shadow: 3px 3px white;
  }
}

@media screen and (min-width: 80em) {
  .content {
    padding: 50px;
    margin: 10px 23% 1% 23%;
  }

  .content:hover {
    box-shadow: 3px 3px white;
  }
}

.content:hover .info {
  > p {
    color: white;
  }
}

.content:hover {
  box-shadow: 4px 4px white;
}

.content:hover .article-title {
  > h1 {
    color: white;
  }
}

.content:hover .read-more {
  > a {
    color: white;
  }
}

.content:hover .article-desc {
  > p {
    color: white;
  }
}

.content:hover .article-tag {
  box-shadow: 2px 2px white;
  > a {
    color: white;
  }
}

@media print { 
  * {
    color: black !important; 
  }

  body {
    font-size: 70%;
  }
}
