/* General styling for project */ body { margin: 0; padding: 0; font-family: 'Roboto'; color: black; background-color: white; } p { font-size: 1rem; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.2rem; } /* Styling for login.html */ .loginContainer { display: flex; height: 100vh; width: 100vw; overflow: hidden; } .loginImage { flex: 8; min-width: 0; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: white; } .loginPane { flex: 2; min-width: 0; display: flex; flex-direction: column; align-items: start; justify-content: flex-start; background-color: #ffffff; padding: 40px; padding-top: 40px; overflow-y: auto; } .loginHeader, .loginForm, .description, .bottomText { width: 100%; text-align: left; } .logo { text-align: center; } .bottomText { padding-top: 60px; } .formGroup { width: 100%; margin-bottom: 20px; } .formGroup label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; } input[type="text"], input[type="password"] { width: 100%; padding: 12px 14px; font-family: 'Roboto'; font-size: 1rem; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; } input[type="text"]:focus, input[type="password"]:focus { outline: none; border-color: #4285f4; box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1); } input[type="text"]::placeholder, input[type="password"]::placeholder { color: #999; } .submitBtn { width: 100%; padding: 12px 14px; font-family: 'Roboto'; font-size: 1rem; font-weight: 500; color: white; background-color: #4285f4; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; margin-top: 10px; } .submitBtn:hover { background-color: #3367d6; } .submitBtn:active { background-color: #2c5aa0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .submitBtn:focus { outline: none; box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3); } /* Media Queries for project */ /* Tablet and below */ @media (max-width: 768px) { .loginContainer { flex-direction: column; } .loginImage { display: none; } .loginPane { flex: 1; padding: 30px 20px; } .loginHeader { margin-bottom: 30px; } } /* Mobile devices */ @media (max-width: 480px) { .loginPane { padding: 20px 16px; justify-content: flex-start; padding-top: 60px; } .loginHeader h2 { font-size: 1.5rem; } .loginHeader h3 { font-size: 0.95rem; } .loginForm { width: 100%; } input[type="text"], input[type="password"], .submitBtn { font-size: 16px; /* Prevents zoom on iOS */ } }