Spaces:
Running
Running
| /* Reset and Base Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
| background-color: #000; | |
| color: #fff; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| /* Layout */ | |
| .container { | |
| display: flex; | |
| width: 100%; | |
| min-height: 100vh; | |
| } | |
| /* Sidebar Styles */ | |
| .sidebar { | |
| width: 232px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| padding: 10px; | |
| border-right: 1px solid #404040; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 100vh; | |
| overflow: hidden; | |
| background-color: #000; | |
| transform: translateX(0); | |
| transition: transform 0.3s ease-in-out; | |
| z-index: 999; | |
| } | |
| .sidebar-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| width: 99.2px; | |
| padding: 1px 0; | |
| } | |
| .sidebar-header span { | |
| font-size: 27px; | |
| font-weight: 400; | |
| line-height: 32.4px; | |
| } | |
| .nav-items { | |
| display: flex; | |
| flex-direction: column; | |
| width: 100%; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| height: 48px; | |
| padding: 0 12px; | |
| text-decoration: none; | |
| color: #fff; | |
| } | |
| .nav-item.active { | |
| border: 1px solid #7550DC; | |
| } | |
| .nav-item svg { | |
| width: 20px; | |
| height: 21px; | |
| } | |
| .nav-item span { | |
| font-size: 14px; | |
| line-height: 16.8px; | |
| } | |
| .nav-item .indicator { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| width: 14px; | |
| height: 14px; | |
| margin-left: auto; | |
| } | |
| .nav-item .indicator div { | |
| width: 4px; | |
| height: 4px; | |
| background-color: #fff; | |
| border-radius: 2px; | |
| } | |
| /* Close Button Styles */ | |
| .close-menu { | |
| display: none; /* Hidden by default, shown on mobile */ | |
| } | |
| /* Footer Styles */ | |
| .footer { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 11px; | |
| margin-top: auto; | |
| } | |
| .footer .powered-by { | |
| color: #999; | |
| font-size: 9px; | |
| line-height: 10px; | |
| letter-spacing: -0.2px; | |
| } | |
| .footer img { | |
| width: 46px; | |
| height: 26px; | |
| } | |
| .footer .copyright { | |
| display: flex; | |
| gap: 4px; | |
| color: rgba(255, 255, 255, 0.5); | |
| font-size: 12px; | |
| line-height: 14.4px; | |
| } | |
| .footer .copyright .year { | |
| font-weight: 500; | |
| } | |
| /* Main Content Styles */ | |
| .main-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 46px; | |
| padding: 54px 10px 10px 10px; | |
| margin-left: 232px; | |
| } | |
| /* Remove only the top padding for index.html */ | |
| body.index-page .main-content { | |
| padding-top: 0; | |
| } | |
| /* Top Bar Styles */ | |
| .top-bar { | |
| position: fixed; | |
| top: 0; | |
| left: 232px; | |
| right: 0; | |
| background-color: #000; | |
| border-bottom: 1px solid #7550DC; | |
| padding: 10px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| z-index: 1000; | |
| } | |
| .top-bar__hamburger { | |
| display: none; | |
| color: #fff; | |
| font-size: 24px; | |
| padding: 8px; | |
| border: none; | |
| background: transparent; | |
| cursor: pointer; | |
| } | |
| .top-bar__content { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .top-bar__credits { | |
| background-color: #7550DC; | |
| color: #fff; | |
| padding: 2px 10px; | |
| border-radius: 12px; | |
| font-size: 14px; | |
| line-height: 20px; | |
| } | |
| .top-bar__upgrade { | |
| background-color: #7550DC; | |
| color: #fff; | |
| padding: 2px 10px; | |
| border-radius: 12px; | |
| font-size: 14px; | |
| line-height: 20px; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .top-bar__welcome { | |
| color: #fff; | |
| padding: 2px 10px; | |
| border: 1px solid #7550DC; | |
| border-radius: 12px; | |
| font-size: 14px; | |
| line-height: 20px; | |
| } | |
| .top-bar__avatar { | |
| width: 36px; | |
| height: 36px; | |
| background-color: #d9d9d9; | |
| border-radius: 50%; | |
| } | |
| /* Hero Styles */ | |
| .hero { | |
| position: relative; | |
| height: 303px; | |
| width: 100%; | |
| overflow: hidden; | |
| } | |
| .hero video { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .hero h1 { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| font-size: 50px; | |
| font-weight: 600; | |
| line-height: 60px; | |
| letter-spacing: -1.5px; | |
| color: rgba(255, 255, 255, 0.62); | |
| text-align: center; | |
| } | |
| /* Feature Cards Styles */ | |
| .feature-cards { | |
| display: flex; | |
| justify-content: center; | |
| gap: 10px; | |
| } | |
| .feature-card { | |
| width: 180px; | |
| height: 74px; | |
| background-color: rgba(255, 255, 255, 0.14); | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .feature-card .highlight { | |
| width: 44px; | |
| height: 64px; | |
| background-color: #7550DC; | |
| margin-left: 5px; | |
| } | |
| .feature-card .content { | |
| display: flex; | |
| align-items: center; | |
| margin-left: 2px; | |
| } | |
| .feature-card .icon { | |
| width: 40px; | |
| height: 40px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 35px; | |
| } | |
| .feature-card .icon svg { | |
| width: 18px; | |
| height: 18px; | |
| } | |
| .feature-card span { | |
| color: #fff; | |
| font-size: 16px; | |
| line-height: 20px; | |
| letter-spacing: -0.1px; | |
| margin-left: 14px; | |
| } | |
| /* Why Section Styles */ | |
| .why-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 24px; | |
| } | |
| .why-section h2 { | |
| font-size: 32px; | |
| line-height: 44.8px; | |
| } | |
| .bullet-points { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 22px; | |
| } | |
| .bullet-point { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 7px; | |
| } | |
| .bullet-point .bullet { | |
| font-size: 16px; | |
| } | |
| .bullet-point .text { | |
| font-size: 16px; | |
| line-height: 22.4px; | |
| } | |
| /* Content Section Styles */ | |
| .content-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 24px; | |
| } | |
| .content-section h2 { | |
| font-size: 32px; | |
| line-height: 44.8px; | |
| } | |
| .content-section img { | |
| width: 100%; | |
| height: 174px; | |
| object-fit: cover; | |
| } | |
| .content-section .divider { | |
| border-top: 1px solid #404040; | |
| margin-top: 15px; | |
| } | |
| .content-section p { | |
| font-size: 16px; | |
| line-height: 22.4px; | |
| margin-top: 24px; | |
| } | |
| /* Image Generation Section (Face Fusion Page) */ | |
| .image-generation { | |
| padding: 40px 20px; | |
| background-color: #111; | |
| border-bottom: 1px solid #404040; | |
| } | |
| .generation-container { | |
| display: flex; | |
| justify-content: space-between; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| /* Left Column: Inputs */ | |
| .generation-inputs { | |
| width: 40%; | |
| display: flex; | |
| flex-direction: column; | |
| padding-right: 20px; | |
| } | |
| .upload-box { | |
| margin-bottom: 20px; | |
| } | |
| .upload-label { | |
| display: block; | |
| font-size: 16px; | |
| color: #fff; | |
| margin-bottom: 8px; | |
| } | |
| .upload-box input[type="file"] { | |
| width: 100%; | |
| padding: 12px; | |
| background-color: #222; | |
| border: 2px solid #7550DC; | |
| border-radius: 8px; | |
| color: #fff; | |
| font-size: 14px; | |
| cursor: pointer; | |
| } | |
| .upload-box input[type="file"]::-webkit-file-upload-button { | |
| background-color: #7550DC; | |
| color: #fff; | |
| border: none; | |
| padding: 8px 16px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background-color 0.3s; | |
| } | |
| .upload-box input[type="file"]::-webkit-file-upload-button:hover { | |
| background-color: #6440cc; | |
| } | |
| .prompt-box { | |
| margin-bottom: 20px; | |
| } | |
| .prompt-label { | |
| display: block; | |
| font-size: 16px; | |
| color: #fff; | |
| margin-bottom: 8px; | |
| } | |
| #generationPrompt { | |
| width: 100%; | |
| padding: 12px; | |
| background-color: #222; | |
| border: 2px solid #7550DC; | |
| border-radius: 8px; | |
| color: #fff; | |
| font-size: 14px; | |
| resize: none; | |
| outline: none; | |
| } | |
| #generationPrompt::placeholder { | |
| color: #757575; | |
| } | |
| .generate-btn { | |
| padding: 12px; | |
| background-color: #7550DC; | |
| border: none; | |
| border-radius: 8px; | |
| color: #fff; | |
| font-size: 16px; | |
| font-weight: 500; | |
| cursor: pointer; | |
| transition: background-color 0.3s; | |
| } | |
| .generate-btn:hover { | |
| background-color: #6440cc; | |
| } | |
| /* Right Column: Preview */ | |
| .generation-preview { | |
| width: 55%; | |
| } | |
| .preview-box { | |
| width: 100%; | |
| height: 400px; | |
| background-color: #222; | |
| border: 2px solid #7550DC; | |
| border-radius: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| overflow: hidden; | |
| } | |
| .preview-placeholder { | |
| color: #666; | |
| font-size: 16px; | |
| text-align: center; | |
| padding: 20px; | |
| } | |
| /* Introduction Section (Face Fusion Page) */ | |
| .box-border h1 { | |
| font-size: 32px; | |
| margin-bottom: 24px; | |
| } | |
| .box-border div { | |
| font-size: 16px; | |
| line-height: 1.4; | |
| margin-bottom: 48px; | |
| } | |
| /* Image Comparison Section (Face Fusion Page) */ | |
| .image-comparison { | |
| display: flex; | |
| gap: 64px; | |
| padding: 64px; | |
| border-radius: 24px; | |
| } | |
| .comparison-container { | |
| position: relative; | |
| width: 484px; | |
| height: 397px; | |
| } | |
| .comparison-container img { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .comparison-after { | |
| width: 50%; | |
| overflow: hidden; | |
| } | |
| .comparison-divider { | |
| position: absolute; | |
| left: 50%; | |
| width: 2px; | |
| height: 100%; | |
| background-color: rgba(255, 255, 255, 0.8); | |
| transform: translateX(-50%); | |
| cursor: ew-resize; | |
| } | |
| .comparison-handle { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 36px; | |
| height: 36px; | |
| background-color: #fff; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 21px; | |
| font-weight: bold; | |
| color: #666; | |
| transform: translate(-50%, -50%); | |
| cursor: ew-resize; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); | |
| } | |
| .image-comparison .box-border { | |
| flex: 1; | |
| color: #999; | |
| } | |
| .image-comparison .box-border div { | |
| font-size: 19px; | |
| margin-bottom: 20px; | |
| } | |
| .image-comparison ul { | |
| list-style: none; | |
| } | |
| .image-comparison li { | |
| font-size: 19px; | |
| margin-bottom: 20px; | |
| } | |
| .image-comparison li strong { | |
| font-weight: bold; | |
| } | |
| /* Showcase Image (Face Fusion Page) */ | |
| .box-border img { | |
| width: 100%; | |
| border-radius: 24px; | |
| } | |
| /* Features Section (Face Fusion Page) */ | |
| section .box-border { | |
| margin-bottom: 48px; | |
| } | |
| section h2 { | |
| font-size: 32px; | |
| margin-bottom: 24px; | |
| } | |
| section div { | |
| font-size: 16px; | |
| line-height: 1.4; | |
| } | |
| /* Footer (Face Fusion Page) */ | |
| footer { | |
| text-align: center; | |
| padding: 24px; | |
| } | |
| footer .box-border { | |
| display: flex; | |
| gap: 10px; | |
| justify-content: center; | |
| margin-bottom: 40px; | |
| } | |
| footer a { | |
| width: 40px; | |
| height: 40px; | |
| background-color: #000; | |
| border-radius: 5px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: background-color 0.3s; | |
| } | |
| footer a:hover { | |
| background-color: #111; | |
| } | |
| footer img { | |
| width: 20px; | |
| height: 20px; | |
| } | |
| footer div { | |
| display: flex; | |
| gap: 16px; | |
| justify-content: center; | |
| font-size: 12px; | |
| } | |
| footer a { | |
| color: #fff; | |
| text-decoration: none; | |
| } | |
| footer a:hover { | |
| text-decoration: underline; | |
| } | |
| /* Responsive Styles */ | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .close-menu { | |
| display: block; | |
| } | |
| .main-content { | |
| margin-left: 0; | |
| } | |
| .top-bar { | |
| left: 0; | |
| } | |
| .top-bar__hamburger { | |
| display: block; | |
| } | |
| .sidebar-header span, | |
| .nav-item span, | |
| .nav-item .indicator, | |
| .footer .copyright { | |
| display: none; | |
| } | |
| .hero h1 { | |
| font-size: 40px; | |
| } | |
| .feature-cards { | |
| flex-wrap: wrap; | |
| } | |
| .why-section h2, | |
| .content-section h2 { | |
| font-size: 28px; | |
| } | |
| .generation-container { | |
| flex-direction: column; | |
| } | |
| .generation-inputs { | |
| width: 100%; | |
| padding-right: 0; | |
| margin-bottom: 20px; | |
| } | |
| .generation-preview { | |
| width: 100%; | |
| } | |
| .preview-box { | |
| height: 300px; | |
| } | |
| .image-comparison { | |
| flex-direction: column; | |
| padding: 32px; | |
| } | |
| .comparison-container { | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .sidebar { | |
| width: 200px; | |
| } | |
| .hero h1 { | |
| font-size: 30px; | |
| } | |
| .feature-cards { | |
| flex-direction: column; | |
| } | |
| .why-section h2, | |
| .content-section h2 { | |
| font-size: 24px; | |
| } | |
| .image-generation { | |
| padding: 20px 10px; | |
| } | |
| .preview-box { | |
| height: 250px; | |
| } | |
| .image-comparison { | |
| padding: 16px; | |
| } | |
| section { | |
| padding: 0 20px; | |
| } | |
| footer { | |
| padding: 20px; | |
| } | |
| } |