163 lines
2.5 KiB
CSS
163 lines
2.5 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;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.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: var(--colour-secondary);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
} |