/* :em Font Face Declarations */ @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Black.tff') format('truetype'); font-weight: 900; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Bold.tff') format('truetype'); font-weight: 700; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; } @font-face { font-family: 'Encode Sans'; src: url('/fonts/EncodeSans-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; } :root { --base-size: 16px; --primary-color: #40916c; --primary-hover: #2d6a4f; } @media (max-width: 768px) { :root { --base-size: 14px; } .passport-header, .live-camera-header, .threedy-header { font-size: 1.25rem !important; } .background-section h1 { font-size: 1.75rem !important; } .background-section p { font-size: 1rem !important; } .button-dpp { font-size: 0.875rem; padding: 8px 16px; } nav .text-xl { font-size: 1rem; } } body { font-family: 'Encode Sans', sans-serif; background-color: #f7fafc; line-height: 1.5; letter-spacing: normal; font-size: var(--base-size); } /* Mobile Navigation */ #mobile-nav { transition: transform 0.3s ease-in-out; } #mobile-nav.active { transform: translateX(0); } .dropdown-menu { display: none; position: absolute; background-color: white; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); z-index: 1000; border-radius: 0.5rem; margin-top: 0.5rem; min-width: 200px; } .dropdown-menu a { padding: 12px 15px; display: block; white-space: nowrap; color: #333; text-decoration: none; min-height: 44px; } .dropdown-menu a:hover { background-color: #f0f4f8; } .background-section { background-image: linear-gradient(to top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('https://i.ibb.co/0hz9NzQ/IMG-7322-2024-02-21-13-39-39-online-video-cutter-com-Trim.gif'); background-size: cover; background-position: center; min-height: 300px; padding: 40px 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; } .text-shadow { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } .live-camera-container, .threedy-container { background-color: white; border-radius: 20px; padding: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); height: 100%; flex: 1; display: flex; flex-direction: column; } .passport-header, .live-camera-header, .threedy-header { text-align: center; color: #274e13; margin-bottom: 20px; font-weight: bold; font-size: calc(var(--base-size) * 1.5); } .passport-body, .dashboard-body { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; padding: 10px; flex-wrap: wrap; flex: 1; } .passport-image, .barcode { width: 100px; height: 100px; border-radius: 10px; object-fit: cover; } .dashboard-image { width: 100%; max-width: 250px; height: auto; border-radius: 10px; object-fit: cover; } .single-button-container { display: flex; justify-content: center; margin-top: auto; padding-top: 20px; } .button-dpp { background-color: var(--primary-color); color: white; padding: 12px 24px; border-radius: 20px; border: none; cursor: pointer; transition: background-color 0.3s; min-height: 44px; min-width: 44px; text-align: center; display: inline-flex; align-items: center; justify-content: center; } .button-dpp:hover { background-color: var(--primary-hover); } .video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin-top: auto; border-radius: 10px; } .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; } .video-section { margin-top: 2rem; } .threedy-iframe { width: 100%; height: 600px; border: none; border-radius: 10px; } @media (max-width: 768px) { .passport-body { flex-direction: row; } .passport-image, .barcode { width: 150px; height: 150px; } .button-dpp { width: 100%; max-width: 300px; } .threedy-iframe { height: 400px; } .video-section .grid { grid-template-columns: repeat(2, 1fr) !important; } } @media (min-width: 768px) { .background-section { min-height: 700px; } }