body, h1, h2, p, ul, li { margin: 0; padding: 0; } body { font-family:'Gill Sans'; font-size: 18px } header { background: linear-gradient(to right, #7cc0d7, #c6e3eb); color: #3e3b34; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0px 1px 10px 0px black; } .logo img { transition: transform 0.5s ease; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .logo img:hover { transform: rotate(360deg) scale(1.2); } .menu-toggle { font-size: 24px; cursor: pointer; display: none; } .menu { display: flex; z-index: 1000; } .menu ul { list-style: none; display: flex; } .menu li { margin-right: 20px; } .menu a { text-decoration: none; color: #3e3b34; transition: color 0.3s ease; font-weight: bold; } .menu a:hover { color: white; } @media screen and (max-width: 768px) { .menu { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; background: linear-gradient(to right, #7cc0d7, #c6e3eb); width: 100%; border-radius: 25px; } .menu ul { flex-direction: column; align-items: center; } .menu-toggle { display: block; } .menu.show { display: flex; } .menu li { margin-right: 0; padding-top: 15px; padding-bottom: 15px; } } /* Header End */ /* Header End */ .ad-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; margin-top: 0px; } .ad-content { margin-top: 10px; padding: 0; } @media (min-width: 1200px) { .ad-content ins.adsbygoogle { width: 728px; height: 90px; } } @media (min-width: 768px) and (max-width: 1199px) { .ad-content ins.adsbygoogle { width: 468px; height: 60px; } } @media (max-width: 767px) { .ad-content ins.adsbygoogle { width: 320px; height: 50px; } } /* Article start */ /* Article End */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; transition: background-color 0.3s ease, color 0.3s ease; } .bbody { background: #f8f9fa; padding: 20px; min-height: 100vh; } .bcontainer { max-width: 1400px; margin: 0 auto; } .bheader { text-align: center; margin-bottom: 30px; padding: 20px; background: white; border-radius: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); position: relative; /* لجعل الزر موضعًا بالنسبة له */ display: flex; flex-direction: column; } .bheader h1 { color: #2c3e50; margin-bottom: 10px; font-size: 2.5em; } .bheader p { color: #7f8c8d; font-size: 1.1em; } .color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; margin-top: 20px; } .color-box { border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); background: white; transition: all 0.3s ease; position: relative; } .color-box:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.15); } .color-sample { height: 180px; width: 100%; position: relative; } .copy-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: opacity 0.3s ease; cursor: pointer; } .color-sample:hover .copy-overlay { opacity: 1; } .color-info { padding: 20px; background: white; } .color-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #2c3e50; } .color-hex { font-size: 14px; color: #7f8c8d; font-family: monospace; display: flex; justify-content: space-between; align-items: center; } .download-button { background: #f2eded; border: none; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .download-button:hover { background: #bdc3c7; transform: translateY(-1px); } .download-icon { width: 20px; height: 20px; } .color-description { font-size: 12px; color: #7f8c8d; margin-top: 5px; } .notification { position: fixed; bottom: 20px; right: 20px; background: #2155c4; color: white; padding: 15px 25px; border-radius: 8px; display: none; animation: slideIn 0.3s ease; } @keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } } .load-more-container { display: flex; justify-content: center; margin: 20px 0; text-align: center; } .load-more-button { padding: 10px 20px; background: #e0e0e0; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; } .load-more-button:hover { background: #d0d0d0; } @media (max-width: 768px) { .bbody { padding: 10px; } .bcontainer { padding: 0 10px; } .bheader { padding: 15px; margin-bottom: 20px; } .bheader h1 { font-size: 1.8em; margin-bottom: 8px; } .bheader p { font-size: 1em; } .color-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px; margin-top: 15px; } .color-box { border-radius: 10px; } .color-sample { height: 130px; } .color-info { padding: 15px; } .color-name { font-size: 14px; margin-bottom: 5px; } .color-hex { font-size: 12px; } .download-button { width: 28px; height: 28px; } .download-icon { width: 18px; height: 18px; } .color-description { font-size: 11px; margin-top: 3px; } .notification { bottom: 10px; right: 10px; padding: 10px 20px; font-size: 0.9em; } .load-more-container { margin: 10px 0; } .load-more-button { padding: 8px 16px; font-size: 0.9em; } } @media (max-width: 450px) { .color-grid { grid-template-columns: 1fr; } } .dark-mode .bbody { background: #191b28; color: #ecf0f1; } .dark-mode .bheader { background: #1f2837; box-shadow: 0 4px 6px rgba(255,255,255,0.05); } .dark-mode .bheader h1 { color: #ecf0f1; } .dark-mode .bheader p { color: #bdc3c7; } .dark-mode .color-box { background: #1f2837; box-shadow: 0 4px 15px rgba(255,255,255,0.1); } .dark-mode .color-info { background: #1f2837; } .dark-mode .color-name { color: #ecf0f1; } .dark-mode .color-hex { color: #bdc3c7; } .dark-mode .color-description { color: #bdc3c7; } .dark-mode .download-button { background: #bac9de; } .dark-mode .download-button:hover { background: #616f84; } .dark-mode .load-more-button { background: #bac9de; } .dark-mode .load-more-button:hover { background: #616f84; } .theme-toggle { background: #444; border: none; color: white; padding: 10px 15px; border-radius: 5px; cursor: pointer; transition: background-color 0.2s; position: absolute; top: 20px; right: 20px; z-index: 10; } body.light .theme-toggle { background-color: #e0e0e0; color: #2c3e50; } .theme-toggle:hover { background-color: #666; } body.light .theme-toggle:hover { background-color: #d0d0d0; } /* Body End */ /* Footer */ .up-footer { background-color: #343a40; color: #fff; padding: 40px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 50px; } .up-footer .column { flex: 1; margin-bottom: 20px; } .up-footer .column h3 { margin-bottom: 20px; color: #f1f1f1; } .up-footer .social-media { list-style-type: none; padding: 0; display: flex; } .up-footer .social-media li { margin-right: 10px; } .up-footer .social-media a { text-decoration: none; color: #fff; font-size: 24px; } .up-footer .social-media a:hover { text-decoration: none; color: #f1f1f1; } .up-footer .pages a, .up-footer .tools a { color: #f1f1f1; } @media screen and (max-width: 768px) { .up-footer { flex-direction: column; align-items: center; } .up-footer .column { flex: auto; text-align: center; } } .up-footer .hd a{ text-decoration: none; color: #f1f1f1; } .footer-bottom { text-align: center; margin-top: 0px; background: linear-gradient(to right, #7cc0d7, #c6e3eb); padding: 30px; color: black; } .footer-bottom a{ font-weight: bold; text-decoration: none; color: black; } .footer-bottom a:hover { color: white; }