@media screen and (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0;
    border-right: none;
  }
  .primary_menu {
    gap: 10px;
  }
  .side_contentmain {
    flex-direction: column;
  }
  #site_content #primary,
  #secondary {
    max-width: 100%;
    padding: 0;
    border-right: none;
  }
  form {
    width: 100%;
  }
  .site_logo img {
    max-width: 220px;
  }
  .ticker-news-title {
    min-width: 100px;
    font-size: 13px;
  }
  .ticker-title {
    font-size: 16px;
  }
  .master-title {
    font-size: 30px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0;
    border-right: none;
  }
  .menu_bar {
    padding: 10px 0;
  }
  nav {
    position: fixed;
    right: -700px;
    top: 0;
    height: 100vh;
    width: 350px;
    background-color: #2b2922;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: 0.3s ease;
    z-index: 1000;
  }
  .site_nav {
    background-color: #000;
    color: #fff;
    padding: 30px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  nav.active {
    right: 0;
  }
  .primary_menu {
    background-color: #2b2922;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle .open-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  nav.active ~ .menu-toggle .open-icon {
    display: none;
  }
  nav.active ~ .menu-toggle .close-icon {
    display: block;
    margin-top: -140px;
  }
  .menu-toggle .close-icon {
    display: none;
    margin-top: -190px;
  }
  .ticker-news-title {
    min-width: 117px;
    padding: 5px;
  }
  .entry-title a {
    font-size: 10px;
    margin: 0;
    font-weight: 500;
  }
  .site_logo img {
    max-width: 180px;
  }
  .entry_content {
    height: auto;
    padding: 15px;
  }
  form {
    width: 100%;
  }
  .entry_content h4 {
    text-align: center;
    font-size: 16px;
  }
  input[type="submit"] {
    width: 100%;
  }
  .master-title {
    font-size: 26px;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-previous,
  .nav-next {
    width: 100%;
    text-align: left;
  }
  .nav-previous a,
  .nav-next a {
    width: 100%;
  }
  .site_title_content h2 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
  }
  .recent_post h2 {
    text-align: center;
  }
  .card2 {
    width: 100%;
  }
  .card2 .card_img {
    width: 100%;
  }
  .card_content {
    justify-content: center;
  }
  .chat-btn {
    z-index: 9999;
  }
  #site_content #home {
    padding: 0px;
  }
  .home_content p {
    margin-bottom: 1em;
    line-height: 1.5;
    font-size: 15px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 8px;
  }
  .ticker-news-title h2 {
    font-size: 16px;
  }
  .entry-title {
    font-size: 14px;
  }
  .primary_menu li a {
    font-size: 14px;
  }
  .entry_content h4 {
    font-size: 14px;
  }
  input[type="submit"] {
    font-size: 14px;
    padding: 8px 12px;
  }
  .master-title {
    font-size: 22px;
  }
  .chat-btn {
    z-index: 9999;
  }
}
