257 lines
5.6 KiB
SCSS
257 lines
5.6 KiB
SCSS
// Imports
|
|
@import "node_modules/bootstrap/scss/bootstrap";
|
|
|
|
// Fonts
|
|
@font-face {
|
|
font-family: 'Mukta';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('/fonts/mukta-400.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Mukta';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url('/fonts/mukta-600.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Mukta';
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
font-display: swap;
|
|
src: url('/fonts/mukta-800.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Kantumruy Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('/fonts/kantumruy-400.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Kantumruy Pro';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url('/fonts/kantumruy-500.woff2') format('woff2');
|
|
}
|
|
|
|
|
|
@font-face {
|
|
font-family: 'Kantumruy Pro';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url('/fonts/kantumruy-600.woff2') format('woff2');
|
|
}
|
|
|
|
// Defaults
|
|
$van-emous-blue: #A8BBD5;
|
|
$van-emous-orange: #b95913;
|
|
$nav-link-color: #212121;
|
|
$primary: $van-emous-orange;
|
|
|
|
$mukta-font: 'Mukta', system-ui, -apple-system, sans-serif;
|
|
$kantumruy-font: 'Kantumruy Pro', sans-serif;
|
|
|
|
$font-family-base: $mukta-font;
|
|
$headings-font-family: $kantumruy-font;
|
|
$headings-font-weight: 500;
|
|
$headings-color: #212121;
|
|
|
|
h1, h2, h3, h4, h5, h6,
|
|
.h1, .h2, .h3, .h4, .h5, .h6,
|
|
[class^="display-"] {
|
|
font-family: $headings-font-family;
|
|
font-weight: $headings-font-weight;
|
|
color: $headings-color;
|
|
}
|
|
|
|
h1, .display-3 {
|
|
line-height: 1.1;
|
|
margin-bottom: 1.5rem;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
h2, .h2 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
p {
|
|
font-family: $mukta-font;
|
|
font-size: 18px;
|
|
line-height: 30px;
|
|
font-weight: normal;
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.lead {
|
|
font-weight: 400;
|
|
}
|
|
|
|
// Menu
|
|
.top-bar {
|
|
background-color: $van-emous-blue;
|
|
font-size: 0.9rem;
|
|
color: white;
|
|
a { color: white; text-decoration: none; }
|
|
}
|
|
|
|
.navbar-nav .nav-link {
|
|
color: $nav-link-color;
|
|
font-weight: 500;
|
|
&:hover { color: $van-emous-orange; }
|
|
}
|
|
|
|
.navbar {
|
|
transition: all 0.3s ease-in-out;
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
.navbar.sticky-top {
|
|
position: -webkit-sticky !important; // Voor Safari
|
|
position: sticky !important;
|
|
top: 0 !important;
|
|
z-index: 1030 !important;
|
|
background-color: #ffffff !important;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.dropdown-menu {
|
|
border: none;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
|
border-radius: 8px;
|
|
padding: 1rem 0;
|
|
background-color: $van-emous-orange;
|
|
|
|
.dropdown-item {
|
|
font-family: $mukta-font;
|
|
padding: 0.5rem 1.5rem;
|
|
font-weight: 400;
|
|
color: #fff;
|
|
position: relative;
|
|
transition: all 0.2s ease-in-out; // Zorgt voor de vloeiende verschuiving
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
// Het '>' symbool (onzichtbaar in ruststand)
|
|
&::before {
|
|
content: "\F285"; // Bootstrap Icons code voor 'chevron-right'
|
|
font-family: "bootstrap-icons";
|
|
position: absolute;
|
|
left: 0.5rem;
|
|
opacity: 0;
|
|
transition: all 0.2s ease-in-out;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $van-emous-orange;
|
|
color: #fff;
|
|
padding-left: 2.2rem; // Schuift de tekst naar rechts om ruimte te maken voor >
|
|
|
|
&::before {
|
|
opacity: 1;
|
|
left: 1.2rem; // Laat het symbool subtiel 'invliegen'
|
|
}
|
|
}
|
|
|
|
&:active {
|
|
background-color: darken($van-emous-orange, 5%);
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.nav-item.dropdown {
|
|
&:hover {
|
|
> .dropdown-menu {
|
|
display: block;
|
|
margin-top: 0;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
animation: fadeIn 0.2s ease-in;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.hero-section {
|
|
padding-top: 5rem;
|
|
padding-bottom: 5rem;
|
|
|
|
h1 {
|
|
color: #222;
|
|
line-height: 1.1;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.lead {
|
|
font-size: 1.1rem;
|
|
line-height: 1.6;
|
|
border-color: $van-emous-orange !important;
|
|
border-width: 3px !important;
|
|
}
|
|
}
|
|
|
|
// Buttons
|
|
.btn-cta {
|
|
display: inline-block;
|
|
position: relative;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
background-color: $van-emous-orange !important;
|
|
padding: 17px 60px 17px 35px;
|
|
font-size: 16px;
|
|
line-height: normal;
|
|
border-radius: 50px;
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
font-family: $mukta-font;
|
|
border: none;
|
|
text-decoration: none;
|
|
|
|
&::after {
|
|
content: "";
|
|
background-image: url('/img/chevron.svg');
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
display: block;
|
|
width: 7px;
|
|
height: 13px;
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
}
|
|
|
|
&:hover {
|
|
color: #ffffff;
|
|
padding-right: 80px;
|
|
|
|
&::after {
|
|
right: 30px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.cta-wrapper {
|
|
@media (min-width: 992px) {
|
|
min-width: 320px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
} |