@font-face {
  font-family: "Lora";
  src: url("/fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lora";
}

body {
  color: #222;
  line-height: 1.5;
}

a {
  color: #0b57d0;
  text-decoration: none;
}

strong {
  color: rgb(11, 87, 208);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  .navbar {
    display: flex;
    max-width: 1200px;
    align-items: center;
    margin: 0px auto;
    justify-content: space-between;
    padding: 25px;
    background: rgb(255, 255, 255);
  }

  .mobileview {
    display: flex;
    justify-content: space-between;
  }

  .logo {
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;

    img {
      width: 2rem;
      height: 2rem;
    }
  }

  .nav-center {
    display: flex;
    gap: 28px;
  }

  .nav-center a {
    text-decoration: none;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    transition: .25s;
    position: relative;
  }

  .nav-center a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #0b57d0;
    transition: .3s;
  }

  .nav-center a:hover::after {
    width: 100%;
  }

  .nav-center a:hover {
    color: #0b57d0;
  }

  .menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
  }

  @media(max-width:900px) {
    .navbar {
      display: block;
    }

    .nav-center {
      display: none;
      margin-top: 20px;
    }

    .nav-center.active {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .menu-btn {
      display: block;
    }
  }
}

footer {
  background: #f9f9f9;
  margin-top: 80px;

  .footer-top {
    max-width: 900px;
    width: 95%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0px;
    flex-wrap: wrap;
  }

  .footer-brand {
    max-width: 320px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }

  .logo-icon {
    width: 2rem;
    height: 2rem;
  }

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

  .footer-brand p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 28px;
  }

  .socials {
    display: flex;
    gap: 18px;
  }

  .socials a {
    color: #111;
    font-size: 20px;
    text-decoration: none;
    transition: .3s;

    svg {
      width: 1.5em;
      height: 1.5em;
    }
  }

  .socials a:hover {
    opacity: .6;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
  }

  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 22px;
    font-weight: 600;
  }

  .footer-column a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 15px;
    transition: .3s;
  }

  .footer-column a:hover {
    color: #111;
  }

  .footer-bottom {
    border-top: 1px solid #e5e5e5;
  }

  .footer-bottom-content {
    padding: 24px 0px;
    max-width: 900px;
    width: 95%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .copyright {
    color: #777;
    font-size: 14px;
  }

  .footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
  }

  .footer-bottom-links a:hover {
    color: #111;
  }
}

@media (max-width:900px) {

  footer {
    .footer-top {
      flex-direction: column;
    }

    .footer-links {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
  }
}

@media (max-width:600px) {
  footer {
    .footer-links {
      grid-template-columns: 1fr;
    }

    .footer-bottom-content {
      flex-direction: column;
    }
  }
}

main {
  margin-top: 63.5px;
  padding-top: 1px;

  .posts {
    margin: 0px auto;
    max-width: 900px;
    width: 95%;

    h1,
    h2 {
      margin: 30px 0px 15px;
    }

    p,
    ul,
    ol {
      margin: 15px 0px;
      font-size: 18px;
      line-height: 1.5;
      letter-spacing: .198px;
      color: #575757;
      text-align: justify;
    }

    a {
      text-decoration: underline;
    }

    li {
      margin: 5px 0px;
    }

    ul,
    ol {
      margin-left: 20px;

      ::marker {
        color: #0b57d0;
      }
    }

    .notice {
      margin: 25px 0px;
      border: 1px solid;
      padding: 1.5rem;
      border-color: currentColor;
      border-radius: 8px;
    }

    .notice-head {
      display: flex;
      align-items: center;
    }

    .notice-head svg {
      margin-right: 0.75rem;
    }

    .notice-head p {
      font-size: 1.25rem;
      font-weight: 600;
      color: currentColor;
      margin: 0;
      line-height: 1;
    }

    .notice-body {
      margin-top: 0.75rem;
    }

    .notice-body p {
      margin: 0;
      color: currentColor;
    }

    .notice.note {
      color: #0b57d0;
      background-color: rgba(11, 87, 208, 0.15);
    }

    .notice.abstract {
      color: #0ca68c;
      background-color: rgba(12, 166, 140, 0.15);
    }

    .notice.info {
      color: #09c3ed;
      background-color: rgba(9, 195, 237, 0.15);
    }

    .notice.todo {
      color: #8d05a8;
      background-color: rgba(141, 5, 168, 0.15);
    }

    .notice.tip {
      color: #19cfb0;
      background-color: rgba(25, 207, 176, 0.15);
    }

    .notice.success {
      color: #04d904;
      background-color: rgba(4, 217, 4, 0.15);
    }

    .notice.question {
      color: #e38902;
      background-color: rgba(227, 137, 2, 0.15);
    }

    .notice.warning {
      color: #e38902;
      background-color: rgba(227, 137, 2, 0.15);
    }

    .notice.failure {
      color: #e31a00;
      background-color: rgba(227, 26, 0, 0.15);
    }

    .notice.danger {
      color: #e31a00;
      background-color: rgba(227, 26, 0, 0.15);
    }

    .notice.bug {
      color: #e31a00;
      background-color: rgba(227, 26, 0, 0.15);
    }

    .notice.example {
      color: #b83acf;
      background-color: rgba(184, 54, 207, 0.15);
    }

    .notice.quote {
      color: #918e91;
      background-color: rgba(145, 142, 145, 0.15);
    }

    picture {
      display: block;
      border-radius: 10px;
      overflow: hidden;

      img {
        width: 100%;
        height: auto;
      }
    }

    /* Table Shortcode*/
    table {
      border: 1px solid #eaeaea;
      border-radius: 10px;
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;

      th,
      td {
        padding: 10px;
        border: 1px solid #eaeaea;
        text-align: start;
        border-width: 0px 1px 1px 0px;
      }

      th {
        background-color: #f6f6f6;
      }

      th:last-child,
      td:last-child {
        border-right: none;
      }

      tbody tr:last-child td {
        border-bottom: none;
      }
    }
  }
}

blockquote {
  margin: 50px auto;
  font-style: italic;
  color: #555555;
  padding: 1.2em 30px 1.2em 75px;
  border-left: 8px solid #78C0A8;
  line-height: 1.6;
  position: relative;
  background: #EDEDED;
}

blockquote::before {
  content: "\201C";
  color: #78C0A8;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

.badge {
  border-radius: 20px;
  color: white;
  padding: 2px 10px;
}

.accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 14px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;

  svg {
    min-width: 1rem;
    height: 1rem;
    width: 1rem;
    vertical-align: middle;
    transition: all 0.2s ease;
  }
}

.accordion-header:hover {
  background: #efefef;
}

.accordion-content {
  font-size: 18px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.accordion-body {
  overflow: hidden;

  .accordion-body-inner {
    padding: 20px;
  }
}

.accordion-item.active {
  .accordion-header svg {
    transform: rotate(90deg);
  }

  .accordion-content {
    grid-template-rows: 1fr;
  }
}