 :root {
            --primary-color: #4a6fa5;
            --secondary-color: #166088;
            --accent-color: #44cfcb;
            --dark-color: #1b3a4b;
            --light-color: #f9f9f9;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --paper-color: #fff;
            --ink-color: #000;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f0f2f5;
            color: #333;
            line-height: 1.6;
        }
  .main {
          text-align: center;
    color: #000000;
    margin-bottom: 30px;
    padding: 20px;
  
    border-radius: 8px;

        }
        
        .main h1 {
            color: #000000;
            font-size: 2.5rem;
             font-family: Helvetica; 
            margin-bottom: 10px;
            font-weight: 700;
         
        }
        
        .main p {
            font-size: 1.1rem;
            margin-bottom: 15px;
             color: #000000;
        }

   /* Header Styles */
        .site-header {
            background-color: white;
            color: black;
            
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
          
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            font-size: 24px;
            color: #e2b88f;
        }
        
        .logo h2 {
            font-size: 20px;
            font-weight: 600;
        }
        .logo h2 a {
    color: white;
    text-decoration: none; /* Optional */
}

        
        .nav-menu {
            display: flex;
            gap: 20px;
        }
        
        .nav-link {
            color: black;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 5px 10px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .nav-link.active {
            background-color: #e2b88f;
            color: #333;
        }

        .container {
            max-width: 1280px;
            margin: 2rem auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: 1fr 2fr;
            grid-gap: 2rem;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }
        }

        .control-panel {
            background-color: white;
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        .preview-panel {
            background-color: white;
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .panel-title {
            font-size: 1.5rem;
            color: var(--dark-color);
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 0.5rem;
        }

        .control-group {
            margin-bottom: 1.5rem;
        }

        .control-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark-color);
        }

        .font-preview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            grid-gap: 1rem;
            margin-bottom: 1rem;
        }

        .font-option {
            text-align: center;
            padding: 0.8rem;
            border-radius: 5px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease;
        }

        .font-option:hover {
            background-color: #f0f2f5;
        }

        .font-option.selected {
            border-color: var(--accent-color);
            background-color: rgba(68, 207, 203, 0.1);
        }

        input[type="text"],
        textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            margin-top: 0.5rem;
        }

        textarea {
            min-height: 150px;
            resize: vertical;
        }

        .slider-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        input[type="range"] {
            flex: 1;
        }

        .value-display {
            min-width: 30px;
            text-align: center;
        }

        input[type="color"] {
            height: 40px;
            width: 60px;
            padding: 2px;
            border: none;
            border-radius: 5px;
            background-color: white;
            cursor: pointer;
        }

        .color-picker {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .color-preview {
            height: 40px;
            width: 60px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        select {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: white;
            cursor: pointer;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        button {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .primary-btn {
            background-color: var(--primary-color);
            color: white;
            flex: 1;
        }

        .primary-btn:hover {
            background-color: var(--secondary-color);
        }

        .secondary-btn {
            background-color: var(--light-color);
            color: var(--dark-color);
            border: 1px solid #ddd;
        }

        .secondary-btn:hover {
            background-color: #e9e9e9;
        }

        .preview-content {
            flex: 1;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
        }

        .paper {
            background-color: var(--paper-color);
            min-height: 900px;
            padding: 2rem;
            position: relative;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            overflow: auto;
            transition: all 0.3s ease;
        }

        .lined-paper {
            background-image: linear-gradient(#ddd 1px, transparent 1px);
            background-size: 100% 30px;
            background-position: 0 0;
        }

        .notebook-paper {
            background-image: 
                linear-gradient(90deg, rgba(255,0,0,0.1) 1px, transparent 1px),
                linear-gradient(#ddd 1px, transparent 1px);
            background-size: 30px 30px, 100% 30px;
            background-position: 30px 0, 0 0;
        }

        .handwriting {
            color: var(--ink-color);
            line-height: 1.5;
            position: relative;
            font-size: 30px;
            transition: all 0.3s ease;
        }

        .paper-effects {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .paper-effect {
            text-align: center;
            padding: 0.5rem;
            border-radius: 5px;
            cursor: pointer;
            border: 2px solid transparent;
            font-size: 0.9rem;
        }

        .paper-effect:hover {
            background-color: #f0f2f5;
        }

        .paper-effect.selected {
            border-color: var(--accent-color);
            background-color: rgba(68, 207, 203, 0.1);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .checkbox-group label {
            margin-bottom: 0;
            font-weight: normal;
        }

        .loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .loading.active {
            visibility: visible;
            opacity: 1;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid var(--accent-color);
            border-top: 5px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .tooltip {
            position: absolute;
            background-color: #333;
            color: white;
            padding: 0.5rem;
            border-radius: 5px;
            font-size: 0.8rem;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s;
            z-index: 100;
        }

        button:hover .tooltip {
            opacity: 1;
            visibility: visible;
        }

        .tabs {
            display: flex;
            border-bottom: 1px solid #ddd;
            margin-bottom: 1rem;
        }

        .tab {
            padding: 0.5rem 1rem;
            cursor: pointer;
            border-bottom: 3px solid transparent;
        }

        .tab.active {
            border-bottom-color: var(--accent-color);
            font-weight: 600;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Animation for button click */
        @keyframes buttonPush {
            0% { transform: scale(1); }
            50% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }

        .push-animation {
            animation: buttonPush 0.3s ease;
        }

        .notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #333;
            color: white;
            padding: 1rem;
            border-radius: 5px;
            box-shadow: var(--shadow);
            z-index: 1000;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .notification.show {
            transform: translateY(0);
            opacity: 1;
        }

        .features-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .feature-item {
            background-color: #f0f2f5;
            padding: 0.8rem;
            border-radius: 5px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark-color);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .feature-item:hover {
            background-color: #e0e2e5;
        }

        .feature-item.active {
            background-color: var(--accent-color);
            color: white;
        }

        #randomnessControls {
            margin-top: 1rem;
            padding: 1rem;
            background-color: #f0f2f5;
            border-radius: 5px;
        }
        
        /* Emoji picker styles */
        .helper-text {
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            color: #666;
        }
        
        .emoji-tabs {
            display: flex;
            overflow-x: auto;
            gap: 0.5rem;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }
        
        .emoji-tab {
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            border-radius: 5px;
            background-color: #f0f2f5;
            transition: all 0.2s ease;
        }
        
        .emoji-tab:hover {
            background-color: #e0e2e5;
        }
        
        .emoji-tab.active {
            background-color: var(--accent-color);
            color: white;
        }
        
        .emoji-content {
            display: none;
            margin-bottom: 1.5rem;
        }
        
        .emoji-content.active {
            display: block;
        }
        
        .emoji-grid {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            gap: 0.5rem;
        }
        
        .emoji-grid-small {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        
        @media (max-width: 768px) {
            .emoji-grid {
                grid-template-columns: repeat(6, 1fr);
            }
        }
        
        .emoji {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
            background-color: #f0f2f5;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .emoji:hover {
            background-color: #e0e2e5;
            transform: scale(1.1);
        }
        
        .custom-icon-input {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        .custom-icon-input input {
            flex: 1;
        }
        
        .custom-icon {
            background-color: #f0f2f5;
            border-radius: 5px;
            padding: 0.5rem;
            cursor: pointer;
            text-align: center;
            font-size: 1.5rem;
        }
        
        .custom-icon:hover {
            background-color: #e0e2e5;
        }
        
        /* Colored icons effect */
        .icon-outline {
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }
        
        .icon-shadow {
            text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        }
        
        .icon-bw {
            filter: grayscale(100%);
        }
        
        
        
        
          

/* Footer Styles */
        .site-footer {
            background-color: #333;
            color: #aaa;
            padding: 30px 0;
            margin-top: 40px;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
        }
        
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }
        
        .footer-column h3 {
            color: white;
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #444;
        }
        
        .footer-column p {
            line-height: 1.6;
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            color: white;
            font-size: 18px;
            transition: color 0.2s;
        }
        
        .social-links a:hover {
            color: #e2b88f;
        }
        
        .quick-links {
            list-style: none;
        }
        
        .quick-links li {
            margin-bottom: 8px;
        }
        
        .quick-links a {
            color: #aaa;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }
        
        .quick-links a:hover {
            color: white;
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            margin-bottom: 12px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
        }
        
        .contact-info i {
            color: #e2b88f;
            font-size: 16px;
            margin-top: 2px;
        }
        
        .newsletter-form {
            display: flex;
            margin-top: 15px;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
        }
        
        .newsletter-button {
            background-color: #e2b88f;
            color: white;
            border: none;
            padding: 0 15px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: 500;
        }
        
        .copyright {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #444;
            font-size: 14px;
        }
  @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .header-container {
                flex-direction: column;
                gap: 10px;
            }
            
            .nav-menu {
                width: 100%;
                justify-content: center;
            }
        } 
.info-section {
    padding: 40px;
    margin: 40px auto;
    max-width: 1200px;
    
}

.info-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.info-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.info-section p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .info-section {
        padding: 25px;
        margin: 20px;
    }
    
    .info-section h2 {
        font-size: 20px;
    }
    
    .info-section p {
        font-size: 14px;
    }
}