Spaces:
Sleeping
Sleeping
| /* Reset and base styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #f4f4f9; | |
| color: #333; | |
| } | |
| /* Header and Navigation */ | |
| header { | |
| background-color: #00796b; | |
| color: white; | |
| padding: 10px 20px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| flex-wrap: wrap; | |
| max-width: 100%; | |
| overflow-x: visible; | |
| } | |
| .logo { | |
| height: 50px; | |
| } | |
| .nav { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 10px; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .nav-link, .dropdown-button { | |
| color: white; | |
| text-decoration: none; | |
| font-size: 14px; | |
| padding: 6px 12px; | |
| border: 1px solid white; | |
| border-radius: 5px; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| background-color: transparent; | |
| cursor: pointer; | |
| } | |
| .nav-link:hover, .dropdown-button:hover { | |
| background-color: white; | |
| color: #00796b; | |
| } | |
| .nav-welcome { | |
| font-size: 14px; | |
| margin-right: 10px; | |
| } | |
| .dropdown { | |
| position: relative; | |
| display: inline-block; | |
| z-index: 1000; | |
| } | |
| .dropdown-content { | |
| display: none; | |
| position: absolute; | |
| background-color: white; | |
| min-width: 160px; | |
| box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | |
| z-index: 1001; | |
| border-radius: 5px; | |
| right: 0; | |
| top: 100%; | |
| padding: 5px 0; | |
| } | |
| .dropdown.active .dropdown-content { | |
| display: block; | |
| } | |
| .dropdown-content a { | |
| color: #00796b; | |
| padding: 10px 12px; | |
| text-decoration: none; | |
| display: block; | |
| font-size: 13px; | |
| text-align: left; | |
| } | |
| .dropdown-content a:hover { | |
| background-color: #e0f2e9; | |
| color: #005a4f; | |
| } | |
| /* Sections */ | |
| .hero, .about, .features, .contact { | |
| padding: 50px 20px; | |
| text-align: center; | |
| display: block; | |
| visibility: visible; | |
| min-height: 200px; | |
| } | |
| .hero { | |
| background-color: #e0f7fa; | |
| } | |
| .hero h1 { | |
| font-size: 36px; | |
| color: #00796b; | |
| margin-bottom: 20px; | |
| } | |
| .hero p { | |
| font-size: 18px; | |
| color: #555; | |
| } | |
| .about h2, .features h2, .contact h2 { | |
| font-size: 28px; | |
| color: #00796b; | |
| margin-bottom: 20px; | |
| } | |
| .about p, .features p, .contact p { | |
| font-size: 16px; | |
| color: #555; | |
| line-height: 1.6; | |
| margin: 10px 0; | |
| } | |
| .features ul { | |
| list-style-type: none; | |
| padding: 0; | |
| } | |
| .features li { | |
| font-size: 16px; | |
| color: #555; | |
| margin: 10px 0; | |
| padding: 10px; | |
| border-radius: 5px; | |
| transition: background-color 0.3s ease; | |
| } | |
| .features li:hover { | |
| background-color: #e0f2e9; | |
| } | |
| /* Form Container */ | |
| .form-container { | |
| max-width: 400px; | |
| margin: 50px auto; | |
| padding: 20px; | |
| background-color: white; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 8px rgba(0,0,0,0.1); | |
| text-align: center; | |
| } | |
| .form-container h2 { | |
| color: #00796b; | |
| margin-bottom: 20px; | |
| } | |
| .input-field { | |
| width: 100%; | |
| padding: 10px; | |
| margin: 10px 0; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| font-size: 14px; | |
| } | |
| /* Button styles */ | |
| .button { | |
| display: inline-block; | |
| padding: 10px 20px; | |
| background-color: #00796b; | |
| color: white; | |
| text-decoration: none; | |
| border-radius: 5px; | |
| margin: 5px; | |
| transition: background-color 0.3s ease; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 14px; | |
| } | |
| .button:hover { | |
| background-color: #005a4f; | |
| } | |
| /* Flash messages */ | |
| .flash-messages .success { | |
| background-color: #e0f2e9; | |
| color: #00796b; | |
| padding: 10px; | |
| margin: 10px 0; | |
| border-radius: 5px; | |
| } | |
| .flash-messages .danger { | |
| background-color: #ffebee; | |
| color: #c62828; | |
| padding: 10px; | |
| margin: 10px 0; | |
| border-radius: 5px; | |
| } | |
| /* Mobile responsiveness */ | |
| @media (max-width: 768px) { | |
| header { | |
| flex-direction: column; | |
| padding: 10px; | |
| } | |
| .nav { | |
| flex-direction: column; | |
| gap: 8px; | |
| width: 100%; | |
| align-items: stretch; | |
| } | |
| .nav-link, .dropdown-button { | |
| font-size: 12px; | |
| padding: 5px 10px; | |
| width: 100%; | |
| text-align: center; | |
| } | |
| .dropdown-content { | |
| min-width: 100%; | |
| right: 0; | |
| left: 0; | |
| z-index: 1001; | |
| } | |
| .dropdown-content a { | |
| font-size: 12px; | |
| padding: 8px 10px; | |
| } | |
| .hero h1 { | |
| font-size: 28px; | |
| } | |
| .hero p { | |
| font-size: 16px; | |
| } | |
| .about h2, .features h2, .contact h2 { | |
| font-size: 24px; | |
| } | |
| .about p, .features p, .contact p, .features li { | |
| font-size: 14px; | |
| } | |
| .form-container { | |
| max-width: 90%; | |
| padding: 15px; | |
| } | |
| .input-field { | |
| font-size: 12px; | |
| padding: 8px; | |
| } | |
| .button { | |
| font-size: 12px; | |
| padding: 8px 15px; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .logo { | |
| height: 40px; | |
| } | |
| .hero h1 { | |
| font-size: 24px; | |
| } | |
| .hero p { | |
| font-size: 14px; | |
| } | |
| .about h2, .features h2, .contact h2 { | |
| font-size: 20px; | |
| } | |
| .about p, .features p, .contact p, .features li { | |
| font-size: 12px; | |
| } | |
| .form-container { | |
| max-width: 95%; | |
| padding: 10px; | |
| } | |
| .input-field { | |
| font-size: 12px; | |
| padding: 6px; | |
| } | |
| .button { | |
| font-size: 12px; | |
| padding: 6px 10px; | |
| } | |
| } |