/* ========================= General Styles ========================= */ body { font-family: 'Arial', sans-serif; background-color: white; /* Ensures white background across all pages */ color: #333; margin: 0; padding: 0; overflow-x: hidden; /* Prevents horizontal scroll */ } /* ========================= Animated Background ========================= */ .animated-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: linear-gradient(45deg, #3366cc, #6699ff, #3366cc, #003399); background-size: 300% 300%; animation: animateBackground 12s ease infinite alternate; z-index: -2; /* Behind waves and content */ opacity: 0.5; /* Subtle effect */ } /* 🌊 Smooth Color Changing Animation */ @keyframes animateBackground { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* ========================= Floating Waves ========================= */ .floating-waves { position: fixed; /* Always visible at the bottom of the viewport */ bottom: 0; left: 0; width: 100%; height: 150px; background: url("https://raw.githubusercontent.com/creativetimofficial/public-assets/master/wave.svg"); background-repeat: repeat-x; animation: waveMove 8s linear infinite; opacity: 0.8; z-index: -1; /* Above animated-bg but below content */ } /* 🌊 Wave Animation */ @keyframes waveMove { 0% { transform: translateX(0px); } 100% { transform: translateX(-200px); } } /* ========================= Header ========================= */ .header-wrapper { text-align: center; animation: fadeInDown 1s ease-in-out; } .header-wrapper img { width: 160px; height: auto; } /* ========================= White Box Below Title ========================= */ .header-box { background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); text-align: center; margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; min-height: 50px; /* Ensures visibility */ opacity: 0; transform: translateY(-20px); animation: slideDown 0.5s ease-out forwards; } /* Slide Down Animation */ @keyframes slideDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } } /* ========================= Buttons ========================= */ .btn { background-color: #0044cc !important; color: white !important; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: background-color 0.3s, transform 0.2s; display: inline-block; border: none; position: relative; overflow: hidden; } /* Button Hover Effect */ .btn:hover { background-color: #0056d2 !important; color: white !important; transform: scale(1.05); } /* ========================= Logout Button Spacing ========================= */ .logout-container { display: flex; justify-content: center; margin-bottom: 5px; /* Reduce space */ } .logout-btn { display: flex; justify-content: center; align-items: center; margin-bottom: 5px; } /* Reduce gap between logout and service times */ .service-times { margin-top: -10px !important; /* Adjust based on layout */ } /* ========================= Content Boxes ========================= */ .content-box { background: white !important; padding: 20px; border-radius: 8px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); text-align: center; margin: 15px auto; max-width: 600px; } /* Ensuring text inside content-box is always visible */ .content-box p, .content-box a { color: black !important; font-size: 16px; font-weight: 500; } /* Fixing link colors */ .content-box a { color: navy !important; text-decoration: none; } .content-box a:hover { text-decoration: underline; } /* ========================= Footer ========================= */ footer { background: navy; color: white; text-align: center; padding: 15px 0; margin-top: 20px; } /* ========================= Mobile Friendly Adjustments ========================= */ @media (max-width: 768px) { .container { padding: 10px; } .btn { width: 100%; } .content-box { max-width: 100%; padding: 15px; } .header-wrapper img { width: 140px; } /* Adjust animated background and waves for mobile */ .animated-bg { height: 100%; } .floating-waves { height: 100px; /* Smaller height for mobile */ } }