 body {
            font-family: sans-serif;
            padding: 0;
            margin: 0;
            background: #F0F0F0;
        }

        .header{background-color:#673AB7;width:100%;margin:0px;border-bottom:2px solid #cfd6ce;}
   
     .sidenav {
      height: 100%;
      width: 0;
      position: fixed;
      z-index:99999;
      top: 0;
      left: 0;
      background-color: #fafafa;
      overflow-x: hidden;
      transition: 0.5s;
      padding-top: 60px;
    }
    
    .sidenav a  ,.sidenav h3{
  padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size:20px;
    color: #222222;
    display: block;
    transition: 0.3s;
    text-align:left;
    }
    
    .sidenav a:hover {
      color:#2A80B9;
    }
    
    .sidenav .closebtn {
      position: absolute;
      top: 0;
      right: 25px;
      font-size: 36px;
      margin-left: 50px;
    }
    .main-menu{background-color:#673AB7;
        overflow: hidden;
        box-shadow: inset;
        margin: 0px auto;width:100%;max-width:1200px;
        color:#fff;}
    @media screen and (max-height: 450px) {
      .sidenav {padding-top: 15px;}
      .sidenav a {font-size: 18px;}
    }
     @media screen and (min-width: 490px) {
 .codiv {padding:20px;}
     
 }
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
        }

        h1 {
            color: #673AB7;
        }

        textarea {
            width: 95%;
            height: 80px;
            font-size: 1.1em;
            margin: 10px auto;
            border: 1px solid #ccc;
            border-radius: 4px;
            padding: 10px;
            display: block;
        }

 .ads-sec {
            display: flex;
            gap: 20px;flex-wrap: wrap;
            flex-direction: column;
            justify-content:left;
            max-width: 1000px;
            margin:20px auto;
            padding:20px 10px;
           
        }
        
        .font-preview-container {
            margin-top: 30px;
            padding:0px;
            background: #fff;
            border-radius: 10px;
        }

        .font-preview-box {
            margin-bottom: 20px;
            padding:0px;
            position: relative;
        }

        .font-header {
            margin-bottom: 15px;
            padding-bottom: 10px;
        }

        .font-name {
            font-weight: bold;
            color: #222;
            font-size: 16px;
        }

        .font-actions {
            margin-top: 5px;
            margin-bottom: 20px;
            text-align: left;
        }

        .btn-small {
            padding: 8px 12px;
            margin: 4px;
            cursor: pointer;
            background-color: #f0f0f0;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }

        .btn-small:hover {
            background-color: #e0e0e0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .btn-small:disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }

        .font-preview-text {
            font-size: 80px;
            line-height: 1.5;
            padding: 30px 0;
            background: #F5F4F5;
            outline:1px solid #ccc;
            border-radius: 4px;
            min-height: 60px;
            word-wrap: break-word;
            direction: ltr;
            text-align: center;
            width: 100%;
            margin: 10px auto;
            color:#525EB7;
        }

        .no-text-message {
            color: #6c757d;
            font-style: italic;
            text-align: center;
        }

        .font-size-controls {
            margin-bottom: 20px;
            text-align: center;
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .font-size-controls label {
            margin-right: 10px;
            font-weight: bold;
        }

        .font-size-controls input[type="range"] {
            width: 100px;
            vertical-align: middle;
        }

        .font-size-controls input[type="color"] {
            width: 40px;
            height: 30px;
            padding: 2px;
            border: 1px solid #ccc;
            border-radius: 4px;
            vertical-align: middle;
        }

        .site-footer {
            background-color: #673AB7;
            color: #fafafa;
            padding: 40px 20px 20px;
            font-family: 'Segoe UI', sans-serif;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            max-width: 1100px;
            margin: auto;
        }

        .footer-content h3,
        .footer-content h4 {
            color: #fff;
        }

        .footer-left p {
            max-width: 300px;
            font-size: 0.95em;
            line-height: 1.6;
        }

        .footer-links ul {
            list-style: none;
            padding: 0;
        }

        .footer-links ul li {
            margin-bottom: 8px;
        }

        .footer-links ul li a {
            color: #ccc;
            text-decoration: none;
        }

        .footer-links ul li a:hover {
            text-decoration: underline;
        }

       
        .footer-social{
          display:flex;  
          justify-content: left;
          flex-direction: column;
          max-width:300px;

        }
         
        .footer-social a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.95em;
        }

        .footer-social a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 30px;
            font-size: 0.85em;
            color: #999;
            border-top: 1px solid #333;
            padding-top: 15px;
        }

        .loading {
            display: none;
            font-size: 12px;
            color: #007BFF;
            margin-top: 5px;
            text-align: right;
        }

        .codiv {
            background: #fff;
            width: 100%;
            max-width: 1200px;
            overflow: auto;
            margin: 20px auto;
            padding:0px;
        }

        .comments {
            border: 0px solid red;
            max-width: 1280px;
            width: 100%;
            margin: auto;
            padding: 10px;
        }

       
    .pagination {
     text-align: center;
     margin: 20px auto;
     font-family: sans-serif;   
     padding-top: 50px;
 
    }

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  margin: 2px 4px;
  text-decoration: none;
  color:#673AB7;
  border: 1px solid #673AB7;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #8365b9;
  color: #fff;
  text-decoration: none;
}

.pagination a.active {
  background-color:#673AB7; 
  color: #fff;
  pointer-events: none;
  cursor: default;
}
