|
Server : LiteSpeed System : Linux lu-shared04.cpanelplatform.com 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64 User : davehame ( 3216) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/davehame/www/go-4it/Fitness-SC1/ | |
|
Path: /home/davehame/www/go-4it/Fitness-SC1/styles.css
Size: 10.64 KB
Permissions: 0644
/* Root font size */
html {
font-size: 16px; /* 1rem = 16px */
}
/* Reset and base */
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: 1.25rem 0 0 0; /* from second file */
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background: #fefefe;
color: #444444;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 1rem;
display: flex;
flex-direction: column;
justify-content: flex-start;
/* NOTE: Removed align-items: center to allow header/container to stretch */
}
/* Container & Layout */
header,
.container {
max-width: 800px;
width: 100%;
margin-left: auto;
margin-right: auto;
box-sizing: border-box;
}
.container {
padding: 0 1rem 0.1rem;
}
.landing-page-container {
/* Empty container, preserved */
}
.quiz-container {
background: #fff;
margin-left: auto;
margin-right: auto;
padding: 2rem 2.5rem; /* 32px 40px */
border-radius: 0.2rem; /* 10px */
max-width: 44rem; /* 832px */
width: 100%;
/* box-shadow commented out from second file */
display: flex;
flex-direction: column;
align-items: flex-start; /* fixed from invalid align-items: left; */
gap: 0.2rem;
}
/* Headings & Text */
h1 {
font-size: 1.9rem;
font-weight: 700;
margin-top: 0;
margin-bottom: 1rem;
text-align: center;
color: #444444;
line-height: 1.2;
}
h2 {
margin: 0;
font-weight: 700;
font-size: 1.5rem;
margin-top: 2.75rem;
margin-bottom: 1rem;
line-height: 1.4;
color: #444444;
}
h3 {
margin: 0;
font-weight: 600;
color: #444444;
font-size: 1rem;
line-height: 1.4;
text-align: left;
}
/* Card h3 overrides */
.card h3 {
margin-top: 0;
margin-bottom: 0.75rem;
color: #44aaff;
font-weight: 700;
font-size: 1.25rem;
}
/* Paragraph */
p {
margin-top: 0;
margin-bottom: 0.8rem;
font-size: 1rem;
color: #444444;
}
/* Question text wrapper */
.question-text-wrapper h3 {
font-size: 1rem;
}
.question-text-wrapper {
height: 4rem;
box-sizing: border-box;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
margin-bottom: 1.2rem;
font-size: 1rem;
line-height: 1.4;
width: 100%;
overflow-wrap: break-word;
word-wrap: break-word;
text-align: left;
align-self: flex-start;
}
/* Buttons */
/* 'btn' is the buttons on Landing Page - 'buttons' is the buttons on Scorecard Page */
/* Buttons wrapper */
.buttons-wrapper {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
gap: 0.5rem;
width: 100%;
}
.buttons-wrapper.vertical-buttons {
flex-direction: column;
flex-wrap: nowrap;
}
.buttons-wrapper.vertical-buttons button {
width: 100%;
margin: 0 0 0.5rem 0;
text-align: left;
}
.btn,
button {
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background: #44aaff;
color: white;
font-weight: 600;
font-size: 1.2rem;
padding: 0.75rem 2rem;
border-radius: 0.44rem;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
user-select: none;
box-sizing: border-box;
width: auto;
display: inline-block;
margin: 0;
}
.btn:hover,
.btn:focus,
button:hover,
button:focus {
background: #008cff;
outline: none;
transform: scale(1.04);
transition: 0.4s;
}
.btn-centered {
text-align: center;
margin: 2rem 0 2.75rem;
}
/* Overrides for second file button */
button {
padding: 0.875rem 1.75rem;
margin: 0;
border-radius: 0.44rem;
font-size: 1rem;
width: 10rem;
flex-grow: 0;
}
/* Inputs */
input[type="text"],
input[type="email"],
textarea {
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
width: 100%;
padding: 0.875rem 1rem;
margin-bottom: 1.25rem;
border: 0.1125rem solid #ccc;
border-radius: 0.4375rem;
font-size: 1rem;
transition: border-color 0.3s;
box-sizing: border-box;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
border-color: #44aaff;
outline: none;
}
/* Checkmark in list items */
.checklist p {
position: relative;
padding-left: 1.8rem;
}
.checklist p::before {
content: "✓";
position: absolute;
left: 0;
top: 0.13rem;
color: #44aaff;
font-weight: 700;
font-size: 1.3rem;
line-height: 1;
user-select: none;
}
/* Cards container */
.cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 2rem;
margin-bottom: 3rem;
}
.card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 15px rgb(68 170 255 / 0.1);
padding: 1.75rem 1.75rem 2rem;
transition: box-shadow 0.3s ease;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.card:hover,
.card:focus-within {
box-shadow: 0 8px 28px rgb(68 170 255 / 0.2);
}
.card p {
margin-bottom: 0.8rem;
color: #444444;
font-size: 1rem;
}
.card a {
color: #44aaff;
font-weight: 600;
}
/* Who Dave wrapper */
.who-dave-wrapper {
margin-top: 3rem;
margin-bottom: 3rem;
}
/* Final CTA container */
.final-cta {
text-align: center;
}
/* Consent Container */
.consent-container {
display: flex;
align-items: center;
font-size: 0.9rem;
margin-bottom: 1.25rem;
color: #444;
}
.consent-container input[type="checkbox"] {
margin-right: 0.625rem;
width: 1.125rem;
height: 1.125rem;
cursor: pointer;
}
.consent-container a {
color: #44aaff;
text-decoration: none;
}
.consent-container a:hover,
.consent-container a:focus {
text-decoration: underline;
}
/* Back link */
.back-link-container {
align-self: flex-start;
width: 100%;
text-align: left;
margin-bottom: 0.5em;
}
#back-link {
font-size: 0.8em;
text-decoration: none;
color: #444;
cursor: pointer;
font-weight: 400;
}
#back-link:hover {
text-decoration: underline;
color: #000;
font-weight: 700;
}
/* Progress Bar */
#progress-bar-container {
width: 100%;
height: 8px;
background: #dddddd;
border-radius: 8px;
overflow: hidden;
margin-bottom: 1rem;
}
#progress-bar {
height: 100%;
width: 0%;
background: #44aaff;
border-radius: 8px;
transition: width 0.3s ease;
}
#question-content {
width: 100%;
}
/* Logo & Header */
header {
background: white;
box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
padding: 1.5rem 1rem;
text-align: center;
margin-bottom: 0.1rem;
box-sizing: border-box;
}
/* Logo text */
.logo {
font-weight: 900;
font-size: 2rem;
user-select: none;
letter-spacing: -0.02em;
max-width: 800px; /* limit width to maintain alignment */
margin-left: auto;
margin-right: auto;
}
.logo .blue {
color: #44aaff;
}
.logo .gray {
color: #444444;
}
/* Pre-headline and Subheadline */
.preheadline {
color: #44aaff;
font-weight: 600;
font-size: 1.1rem;
text-align: center;
margin: 0 0 0.5rem;
letter-spacing: 0.05em;
user-select: none;
}
.subheadline {
color: #444444;
font-size: 1rem;
font-weight: 500;
max-width: 700px;
margin: 0.25rem auto 2rem;
text-align: center;
line-height: 1.4;
}
/* Anchors */
a {
color: #44aaff;
text-decoration: none;
}
a:hover,
a:focus {
text-decoration: underline;
}
#get-report {
width: auto;
min-width: 200px;
max-width: 100%;
white-space: nowrap;
padding: 12px 20px;
font-size: 16px;
border: none;
background-color: #44aaff;
color: white;
border-radius: 8px;
cursor: pointer;
margin-top: 1rem;
}
#get-report:hover {
background-color: #0088ff;
}
.next-steps {
margin: 20px auto;
max-width: 600px;
text-align: center;
}
.next-steps p {
margin-bottom: 1rem;
}
/* Results Messages On Quiz Completion */
/* Base result card styles */
#result-card {
margin: 20px auto; /* auto margins center the box */
border-radius: 16px;
padding: 2rem;
font-size: 1.5rem;
}
/* Score-based styling */
#result-card.message-score-high {
border: 2px solid green;
background-color: #f2fff2;
}
#result-card.message-score-average {
border: 2px solid orange;
background-color: #fff9ef;
}
#result-card.message-score-low {
border: 2px solid red;
background-color: #fff5f5;
}
/* Typography */
#result-card h1 {
margin-top: 0;
font-size: 2.4rem;
margin-bottom: 1rem;
color: #44aaff;
}
#result-card h2 {
text-align: center;
margin-top: 0;
font-size: 1.1rem;
margin-bottom: 1rem;
color: #444444;
}
/* Other elements */
.next-steps {
margin: 20px auto;
max-width: 600px;
text-align: center; /* centers the text and button */
}
.no-thanks-message {
padding: 8px;
margin: 20px 0;
max-width: 600px;
}
/* Email Optin Confirmation Panel */
.confirmation-instructions-panel {
border: 2px solid #ff671d; /* green border, fits your branding */
background-color: #ff681d00; /* light green background */
border-radius: 12px;
padding: 2rem;
font-family: system-ui, sans-serif;
font-size: 1rem;
color: #444444;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.confirmation-instructions-panel h2 {
margin-top: 0;
margin-bottom: 0.75rem;
font-size: 1.25rem;
color: #444444;
}
.confirmation-instructions-panel p {
margin-bottom: 1rem;
line-height: 1.5;
}
.confirmation-instructions-panel ol {
list-style-type: decimal;
padding-left: 1.25rem;
margin: 0;
}
.confirmation-instructions-panel li {
margin-bottom: 0.5rem;
}
/* Responsive adjustments */
@media (max-width: 480px) {
.quiz-container {
padding: 1rem 1rem;
margin-bottom: 1rem;
}
button {
font-size: 0.75rem;
min-width: auto;
flex-grow: 1;
margin: 0.5rem 0.25rem 1.25rem;
width: auto;
}
/* Pre-headline smaller */
.preheadline {
font-size: 0.9rem;
}
.subheadline {
font-size: 0.8rem;
margin-bottom: 1.5rem;
}
/* Headings smaller */
h1 {
font-size: 1.3rem;
}
h2 {
font-size: 1.1rem;
line-height: 1.85;
}
h3 {
font-size: 1.05rem;
}
/* Body paragraphs smaller */
p {
font-size: 0.9rem;
}
.who-dave-wrapper p {
font-size: 0.9rem;
}
.cards p {
font-size: 0.9rem;
}
.question-text-wrapper h3 {
font-size: 0.8rem;
}
#result-card h1 {
font-size: 1.6rem;
margin-bottom: 1rem;
}
#result-card h2 {
font-size: 1rem;
margin-bottom: 1rem;
line-height: 1.6;
}
.cards {
grid-template-columns: 1fr;
}
.question-text-wrapper h3 {
font-size: 0.9rem;
}
/* Logo smaller */
.logo {
font-size: 1.2rem;
}
/* Buttons smaller font and padding */
.btn {
font-size: 0.9rem;
padding: 0.6rem 1.5rem;
}
button {
min-width: unset;
flex-grow: 1;
margin: 0.5rem 0rem;
width: auto;
}
}