* {
  margin: 0;
  padding: 0;
}
body {
  font-family: monospace;
  background: rgb(56,31,94);
  background: linear-gradient(0deg, rgba(56,31,94,1) 0%, rgb(21, 21, 21) 80%);
  padding: 40px;
  min-height: calc(100vh - 40px);
}
.profile {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  background: rgba(255,255,255,.04);
  border-radius: 5px;
  margin: 0 auto;
  padding: 20px;
}
.profile .avatar img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}
.profile .about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: left;
}
.profile .about h1 {
  margin: 0;
  padding: 0;
  color: #f2f2f2;
  font-size: 18px;
}
.profile .about p {
  margin: -10px 0 10px 0;
  font-size: 13px;
  font-style: italic;
  color: #959595;
}
.menu {
  margin: 40px 0 45px 0;
  text-align: center;
}
.menu a {
  font-size: 25px;
  font-weight: bold;
  color: #bbb;
  text-decoration: none;
  padding: 0 10px 10px 10px;
  transition: border-bottom .1s;
}
.menu a.active {
  color: #fefefe;
  padding-bottom: 0;
  border-bottom: 5px solid #f0b609;
}
.menu a:hover {
  color: #fefefe;
  padding-bottom: 0;
  border-bottom: 5px solid #f0b609;
}
.card-container {
  margin: 0px auto 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.card {
  border-radius: 5px;
  overflow: hidden;
  width: 400px;
  position: relative;
  transition: all 0.5s ease;
  background: rgba(255,255,255,.04);
  color:#fbfbfb;
}
.card:hover {
  background-color: #fff;
  color: #381f5e;
}
.card a {
  text-decoration: none;
  color: #fbfbfb;
}
.card:hover a {
  color: #381f5e;
}
.card:hover img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.tags {
  position: absolute;
  top: 0;
  display: flex;
  gap: 5px;
  margin: 5px 0 0 5px;
}
.tags span {
  padding: 2px 4px;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  text-transform: lowercase;
}
.pin-tag {
  font-size: 12px !important;
} 
.twitch-tag {
  background: #6441a5;
}
.mcu-tag {
  background: #fdd70a;
  color: #000 !important;
}
.web-tag {
  background: #408041;
}
.hardware-tag {
  background: #469d91;
}
.obs-tag {
  background: #174cb3;
}
.other-tag {
  background: #3498db;
}
.upd-tag {
  background: #1e1e1e;
  color: #ffe300 !important;
  letter-spacing: .5px;
}
.upd-tag em {
  animation: blink 1.5s linear infinite;
  font-style: normal;
}
.keywords {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.keywords span {
  background: #6441a5;
  padding: 2px 10px;
  border-radius: 5px;
  color: #f2f2f2;
  font-size: 12px;
}
.card h3 {
  font-size: 38px;
  margin: 5px 10px;
  font-weight: 500;
}
.card p {
  font-size: 13px;
  margin: 0 10px 15px;
  font-weight: 300;
}
.footer {
  margin: 0 auto;
  color: #fff;
  font-size: 12px;
  text-align: center;
  border-top: 1px dashed rgba(255,255,255,.2);
  width: 50%;
  padding: 20px 0 0 0;
}
.footer a {
  color: #ffa700;
  text-decoration: none;
  border-bottom: 1px dotted #ffa700;
}
.post {
  max-width: 960px;
  margin: 40px auto;
}
.post h1 {
  color: #fff;
  font-size: 45px;
  margin: 0px auto 40px auto;
  text-decoration: none;  
  text-align: center;   
}
.post article {      
  padding: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 5px;
  font-size: 15px;
  white-space: pre-line;
  word-wrap: break-word;
}
.post h2 {
  padding: 0 0 15px 0;
  font-size: 30px;
  font-weight: bold;
  border-bottom: 2px dashed #d4d0d9;
  border-top: none;
  border-left: none;
  border-right: none;
}
.post hr {
  border-top: 2px dashed #d4d0d9;
  border-bottom: none;
  border-left: none;
  border-right: none;
}
.post a {
  color: #3651bd !important;
  text-decoration: none !important;
  border-bottom: 1px dotted;
  font-weight: bold;
}
.post .image {
  max-width: 700px;
}
.post blockquote {
  margin: 10px 0 0 0;
  background: #2b2b2b;
  color: #fff;
  display: inline-block;
  border-radius: 5px;
  padding: 10px;
  width: fit-content;
  white-space: break-spaces;
}
.post table, td, th {
  border: 1px solid #959595;
  padding: 5px 10px;
  text-align: center;
}
.post table {
  width: fit-content;
  border-collapse: collapse;
}
.post iframe {
  width: 100%;
  height: 400px;
}
span.doton  {
  background: #32cd33;
  height: 10px;
  width: 10px;
  display: inline-block;
}
span.dotoff {
  background: #fe0000;
  height: 10px;
  width: 10px;
  display: inline-block;
}
.err {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - 40px);
  color: #fefefe;
}
.err a {
  color: #fefefe;
  text-decoration: none;
  border-bottom: 1px dotted #fefefe;
}
.err .code {
  font-size: 50px;
  text-align: center;
}
.err .code span {
  font-size: 200px;
}
.err .desc {
  font-size: 18px;
  text-align: center;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Mobile responsiveness */
@media screen and (max-width: 1366px) and (min-width: 1024px){
  .card {
    width: calc(33% - 40px);
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px){
  body {
    padding: 20px;
  }
  .card-container {
    gap: 20px;
  }
  .card {
    width: calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  body {
    padding: 20px;
  }
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card {
    width: 100%;
  }
  .card img {
    height: 200px;
  }
  .profile {
    width: auto;
  }
  .profile .avatar img {
    width: 80px;
    height: 80px;
  }
  .menu {
    margin: 20px 0 25px 0;
    text-align: center;
    display: flex;
    flex-grow: 1;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .menu a {
    font-size: 20px;
  }
  .post {
    margin: 20px auto;
  }
  .post h1 {
    margin: 0px auto 20px auto;
    font-size: 30px;
  }
  .post table, td, th {
    padding: 0px;
  }
  .post .image {
    width: 100% !important;
  }
  .post iframe {
    width: 100%;
    height: 250px;
  }
  .footer {
    width: 100%;
  }
}