Files
dog_training/static/dist/css/core_home.bundle.css

398 lines
6.6 KiB
CSS

/* Home page
*/
header {
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
/* position: fixed;
top: 0; */
width: 100%;
z-index: 1000;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
.nav-links {
display: flex;
gap: 2rem;
display: flex;
flex-wrap: wrap;
max-width: 58vw;
}
.nav-links a {
text-decoration: none;
color: var(--text);
font-weight: 500;
align-content: center;
font-size: 1rem;
}
.nav-links a.button {
color: white;
margin: 0 auto;
}
.container {
max-width: min(2000px, 90vw);
margin: 0 auto;
padding: 0 5vw;
}
/* Header */
header {
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
/* position: fixed;
top: 0; */
width: 100%;
z-index: 1000;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
.logo {
font-size: 2rem;
font-weight: bold;
color: #8932CB;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
text-decoration: none;
color: var(--text);
font-weight: 500;
align-content: center;
}
.nav-links a.button {
color: white;
}
/* Footer */
.footer {
background: #1f2937;
color: #f3f4f6;
padding: 4rem 0 2rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
color: #fff;
margin-bottom: 1rem;
font-size: 1.2rem;
text-align: center;
}
.footer-section ul {
list-style: none;
padding: 0;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: #f3f4f6;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-section a:hover {
color: #fff;
text-decoration: underline;
}
.footer-bottom {
border-top: 1px solid #374151;
padding-top: 2rem;
text-align: center;
font-size: 0.9rem;
}
.footer-bottom a {
color: aquamarine;
}
.footer-section.contact {
width: 100%;
}
.footer-section .container {
padding: 0;
}
.footer-section .container.row .container.column {
padding: 1vh 2vw;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
}
@media (max-width: 450px) {
.nav-links {
display: none;
}
}
/* Common */
p {
width: 100%;
font-size: 16px;
}
p.section-title,
p.section-subtitle {
margin: 0 auto;
}
.section-subtitle {
font-size: 18px;
}
ul li {
font-size: 16px;
}
section.benefits,
section.solution {
padding: 4rem 0;
background: var(--colour-text-background);
}
section.benefits .card.benefits,
section.solution .card.solution {
padding: 2rem;
background: var(--colour-page-background);
border-radius: 8px;
transition: transform 0.3s ease;
display: block;
}
section.problem,
section.early-access {
padding: 4rem 0;
background: var(--colour-page-background-1);
}
section.problem .card.problem,
section.early-access .card.early-access {
background: var(--colour-text-background);
padding: 2rem;
border-radius: 8px;
max-width: 800px;
margin: 3rem auto 0;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
section.benefits ul li,
section.solution ul li,
section.early-access ul li {
list-style: none;
}
/* Hero Section */
.hero {
padding: 8rem 0 4rem;
background: linear-gradient(45deg, var(--colour-page-background-1), var(--colour-page-background-2)); /* linear-gradient(45deg, #f8fafc, #eff6ff); */
}
.hero-content {
max-width: 600px;
}
.hero h1 {
font-size: 3rem;
line-height: 1.2;
margin-bottom: 1.5rem;
color: var(--colour-text);
}
.hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
color: var(--colour-secondary);
}
/* Problem Section */
/*
section.problem .problem.card:hover {
transform: translateY(-5px);
}
*/
section.problem .section-subtitle {
/* font-size: 18px; */
font-weight: bold;
}
/* Solution Section */
/* Benefits Section * /
section.benefits .section-subtitle {
font-size: 18px;
font-weight: bold;
}
*/
/* Social Proof Section * /
section.social-proof {
padding: 6rem 0;
background: white;
}
section.social-proof .card.social-proof {
background: var(--colour-page-background);
padding: 2rem;
border-radius: 8px;
text-align: center;
max-width: 400px;
margin: 3rem auto 0;
}
section.social-proof ul {
list-style: none;
margin: 0;
}
* /
section.social-proof .section-subtitle {
font-size: 16px;
}
*/
section.social-proof ul li {
font-size: 14px;
}
/* Early Access Section * /
section.early-access {
padding: 6rem 0;
background: white;
}
section.early-access .card.early-access {
background: var(--colour-page-background);
padding: 2rem;
border-radius: 8px;
text-align: center;
max-width: 400px;
margin: 3rem auto 0;
}
section.early-access ul {
list-style: none;
margin: 0;
}
section.early-access a.button {
margin: 0.25rem;
}
*/
/* Features section */
section.features .button {
margin-top: 0;
}
/* CTA Section */
.cta-1,
.cta-2 {
padding: 6rem 0;
background: var(--colour-primary);
color: white;
text-align: center;
}
/* FAQs * /
section.faq .button {
margin-bottom: 0.25rem;
}
*/
/* Animations */
/* Fallback styles to ensure content is visible without JS */
.reveal {
opacity: 1; /* Default visible state */
}
/* Only hide elements if browser supports Intersection Observer */
@supports (animation-name: fade) {
.reveal {
opacity: 0;
}
.reveal.active {
animation: fade-up 0.8s ease-out forwards;
}
}
@keyframes fade-up {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
/* Buttons */
.button {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 6px;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
width: fit-content;
margin: 0.75rem;
font-size: 18px;
}
.button-primary {
background: var(--colour-primary);
color: white;
}
.button-primary:hover {
background: var(--colour-secondary);
}
.button-light {
background: white;
color: var(--colour-primary);
}
.button-light:hover {
background: var(--colour-page-background);
}
.logo:hover{
cursor: pointer;
}
/*# sourceMappingURL=core_home.bundle.css.map*/