160 lines
2.4 KiB
SCSS
160 lines
2.4 KiB
SCSS
// Fonts.
|
|
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Prop+Double+Ink:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
|
|
|
|
// Variables
|
|
:root {
|
|
// colors
|
|
--primary-0: #230C33;
|
|
--primary-1: #592E83;
|
|
--primary-2: #9984D4;
|
|
--primary-3: #CAA8F5;
|
|
--primary-accent: #B27C66;
|
|
}
|
|
|
|
.accent {
|
|
color: var(--primary-accent);
|
|
}
|
|
|
|
.bitcount {
|
|
font-family: "Bitcount Prop Double Ink", system-ui;
|
|
font-optical-sizing: auto;
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-variation-settings:
|
|
"slnt" 0,
|
|
"CRSV" 0.5,
|
|
"ELSH" 0,
|
|
"ELXP" 0,
|
|
"SZP1" 0,
|
|
"SZP2" 0,
|
|
"XPN1" 0,
|
|
"XPN2" 0,
|
|
"YPN1" 0,
|
|
"YPN2" 0;
|
|
}
|
|
|
|
.montserrat {
|
|
font-family: "Montserrat", system-ui;
|
|
}
|
|
|
|
.light {
|
|
font-weight: 100;
|
|
}
|
|
|
|
.regular {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.bold {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.bolder {
|
|
font-weight: 900;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
background-image: url("images/holiday.jpg");
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
color: var(--primary-3);
|
|
font-family: "Montserrat", system-ui;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
|
|
@media (min-width: 768px) {
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--primary-1);
|
|
opacity: 0.85;
|
|
z-index: -1;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--primary-0);
|
|
text-align: center;
|
|
}
|
|
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Montserrat", system-ui;
|
|
font-weight: bold;
|
|
line-height: 1.2;
|
|
|
|
@media (min-width: 768px) {
|
|
line-height: 1.3;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary-accent);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a.btn {
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button, .btn {
|
|
background-color: var(--primary-0);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--primary-text);
|
|
cursor: pointer;
|
|
font-family: "Montserrat", system-ui;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
line-height: 1.2;
|
|
padding: 8px 16px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
background-color: var(--primary-1);
|
|
}
|
|
|
|
&:active {
|
|
background-color: var(--primary-2);
|
|
}
|
|
}
|
|
|
|
.container {
|
|
max-width: 1024px;
|
|
margin: 0 auto;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
// partials
|
|
@import "partials/font-scale";
|
|
@import "partials/cards";
|