piquemouche/assets/css/main.css

2281 lines
49 KiB
CSS
Raw Normal View History

2024-02-13 15:33:43 +01:00
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
article,
aside,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
li {
list-style: none;
}
img {
height: auto;
max-width: 100%;
vertical-align: top;
}
button,
input,
select,
textarea {
font: inherit;
}
address {
font-style: normal;
}
::-moz-selection {
background: var(--color);
color: var(--white);
}
::selection {
background: var(--color);
color: var(--white);
}
html {
2024-02-13 15:41:44 +01:00
font-size: clamp(1rem, 1rem + 0.2 * ((100vw - 20rem) / 46), 1.2rem);
2024-02-13 15:33:43 +01:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scroll-behavior: smooth;
}
html.no-scroll {
overflow: hidden;
position: fixed;
}
body {
2024-02-13 15:41:44 +01:00
background: var(--white);
2024-02-13 15:33:43 +01:00
color: var(--text-color);
font-family: var(--body-font);
font-variation-settings: "wght" var(--font-weight-normal);
line-height: var(--line-height);
2024-02-13 15:41:44 +01:00
overflow-x: hidden;
2024-02-13 15:33:43 +01:00
-ms-scroll-chaining: none;
overscroll-behavior: none;
}
2024-02-13 15:36:15 +01:00
a {
2024-02-13 15:33:43 +01:00
color: var(--link-color);
2024-02-13 15:41:44 +01:00
text-decoration: none;
-webkit-transition: all 0.12s linear 0s;
transition: all 0.12s linear 0s;
2024-02-13 15:36:15 +01:00
}
a:hover {
2024-02-13 15:41:44 +01:00
color: var(--link-color);
2024-02-13 15:33:43 +01:00
}
a:active {
2024-02-13 15:41:44 +01:00
color: var(--link-color);
2024-02-13 15:33:43 +01:00
}
a:focus {
2024-02-13 15:41:44 +01:00
color: var(--link-color);
2024-02-13 15:33:43 +01:00
outline: none;
}
2024-02-13 15:41:44 +01:00
.inverse {
color: var(--dark);
text-decoration: none;
-webkit-transition: all 0.12s linear 0s;
transition: all 0.12s linear 0s;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.inverse:hover {
2024-02-13 15:33:43 +01:00
color: var(--link-color);
}
2024-02-13 15:41:44 +01:00
.inverse:active {
2024-02-13 15:33:43 +01:00
color: var(--link-color);
}
2024-02-13 15:41:44 +01:00
.inverse:focus {
color: var(--link-color);
2024-02-13 15:33:43 +01:00
outline: none;
}
p,
ul,
ol,
2024-02-13 15:41:44 +01:00
dl,
table,
pre {
margin-top: calc(1rem + 0.5vw);
2024-02-13 15:33:43 +01:00
}
blockquote,
figure,
2024-02-13 15:41:44 +01:00
hr {
margin-top: calc(1rem + 1vw);
margin-bottom: calc(1rem + 1vw);
2024-02-13 15:33:43 +01:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--headings-color);
font-family: var(--heading-font);
font-variation-settings: "wght" var(--headings-weight);
2024-02-13 15:41:44 +01:00
letter-spacing: 0.03rem;
line-height: 1.1;
margin-top: calc(2.25rem + 0.5vw);
2024-02-13 15:33:43 +01:00
text-transform: var(--headings-transform);
}
h1,
.h1 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1.6758293408rem, 1.6758293408rem + 1.1325746388 * ((100vw - 20rem) / 46), 2.8084039796rem);
2024-02-13 15:33:43 +01:00
}
h2,
.h2 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1.4728968807rem, 1.4728968807rem + 0.6965283404 * ((100vw - 20rem) / 46), 2.1694252211rem);
2024-02-13 15:33:43 +01:00
}
h3,
.h3 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1.2945382732rem, 1.2945382732rem + 0.3812910676 * ((100vw - 20rem) / 46), 1.6758293408rem);
2024-02-13 15:33:43 +01:00
}
h4,
.h4 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1.1377777785rem, 1.1377777785rem + 0.1567604947 * ((100vw - 20rem) / 46), 1.2945382732rem);
2024-02-13 15:33:43 +01:00
}
h5,
.h5 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1rem, 1rem + 0.1377777785 * ((100vw - 20rem) / 46), 1.1377777785rem);
2024-02-13 15:33:43 +01:00
}
h6,
.h6 {
2024-02-13 15:41:44 +01:00
font-size: clamp(1rem, 1rem + 0 * ((100vw - 20rem) / 46), 1rem);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
h1 + *,
2024-02-13 15:33:43 +01:00
h2 + *,
h3 + *,
h4 + *,
h5 + *,
h6 + * {
2024-02-13 15:41:44 +01:00
margin-top: calc(0.5rem + 0.5vw);
2024-02-13 15:33:43 +01:00
}
b,
strong {
font-variation-settings: "wght" var(--font-weight-bold);
}
blockquote {
2024-02-13 15:41:44 +01:00
background: rgba(0, 0, 0, 0.03);
border-left: 0.3rem solid var(--color);
font-style: italic;
padding: 1.5rem 1.5rem 1.5rem 1.75rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
blockquote cite {
2024-02-13 15:33:43 +01:00
color: var(--dark);
2024-02-13 15:41:44 +01:00
display: block;
font-size: 0.9374999997rem;
font-style: normal;
font-variation-settings: "wght" var(--font-weight-bold);
margin-top: 0.75rem;
2024-02-13 15:33:43 +01:00
}
blockquote > :nth-child(1) {
margin-top: 0;
}
ul,
ol {
margin-left: 2rem;
}
ul > li,
ol > li {
list-style: inherit;
2024-02-13 15:41:44 +01:00
padding: 0 0 0.25rem 1rem;
2024-02-13 15:33:43 +01:00
}
dl dt {
font-variation-settings: "wght" var(--font-weight-bold);
}
2024-02-13 15:41:44 +01:00
sup,
sub {
font-size: 55%;
line-height: 1;
}
code {
background-color: rgba(var(--color-rgb), 0.1);
border-radius: 2px;
color: var(--color);
font-size: 0.8239746086rem;
font-family: "Monaco", "Courier New", monospace;
padding: 0.25rem 0.5rem;
}
2024-02-13 15:33:43 +01:00
pre {
background-color: var(--lighter);
2024-02-13 15:41:44 +01:00
border-radius: 3px;
2024-02-13 15:33:43 +01:00
font-size: 0.8239746086rem;
2024-02-13 15:41:44 +01:00
padding: 1.5rem;
white-space: pre-wrap !important;
2024-02-13 15:33:43 +01:00
word-wrap: break-word;
2024-02-13 15:41:44 +01:00
width: 100%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
pre code {
background-color: var(--lighter);
color: inherit !important;
2024-02-13 15:33:43 +01:00
font-size: inherit;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
2024-02-13 15:41:44 +01:00
display: block;
max-width: 100%;
overflow-x: auto;
2024-02-13 15:33:43 +01:00
vertical-align: top;
text-align: left;
2024-02-13 15:41:44 +01:00
white-space: nowrap;
2024-02-13 15:33:43 +01:00
}
table th {
2024-02-13 15:41:44 +01:00
border-bottom: 2px solid var(--light);
padding: 0.75rem 1.25rem;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
table tr:nth-child(2n) {
background: rgba(0, 0, 0, 0.03);
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
table td {
padding: 0.75rem 1.25rem;
2024-02-13 15:33:43 +01:00
}
figcaption {
clear: both;
2024-02-13 15:41:44 +01:00
color: var(--gray-1);
2024-02-13 15:33:43 +01:00
font-style: italic;
font-size: 0.7241964329rem;
2024-02-13 15:41:44 +01:00
margin: 0.75rem 0 0;
2024-02-13 15:33:43 +01:00
text-align: center;
}
hr,
.separator {
background: none;
border: none;
height: auto;
line-height: 1;
max-width: none;
text-align: center;
}
hr::before,
.separator::before {
content: "···";
color: var(--dark);
font-size: 1.2136296308rem;
font-variation-settings: "wght" var(--font-weight-bold);
letter-spacing: 1.1377777785rem;
padding-left: 1.1377777785rem;
}
.separator--dot::before {
content: "·";
color: var(--dark);
font-size: 1.2136296308rem;
font-variation-settings: "wght" var(--font-weight-bold);
letter-spacing: 1.1377777785rem;
padding-left: 1.1377777785rem;
}
.separator--long-line {
position: relative;
}
.separator--long-line::before {
content: "";
height: 1.2136296308rem;
}
.separator--long-line::after {
border-top: 1px solid var(--light);
content: "";
height: 1px;
position: absolute;
width: 100%;
top: 50%;
left: 0;
}
.btn, [type=button],
[type=submit],
button {
2024-02-13 15:41:44 +01:00
background: var(--dark);
border: none;
border-radius: var(--border-radius);
2024-02-13 15:33:43 +01:00
color: var(--white);
cursor: pointer;
display: inline-block;
2024-02-13 15:41:44 +01:00
font: var(--font-weight-bold) 0.7241964329rem var(--body-font);
letter-spacing: 0.05em;
padding: 0.75rem 1.5rem;
vertical-align: middle;
2024-02-13 15:33:43 +01:00
text-align: center;
text-transform: uppercase;
2024-02-13 15:41:44 +01:00
-webkit-transition: all 0.12s linear 0s;
transition: all 0.12s linear 0s;
width: 100%;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 20em) {
2024-02-13 15:36:15 +01:00
.btn, [type=button],
[type=submit],
button {
2024-02-13 15:41:44 +01:00
width: auto;
2024-02-13 15:33:43 +01:00
}
}
.btn:hover, [type=button]:hover,
[type=submit]:hover,
2024-02-13 15:41:44 +01:00
button:hover, .btn:focus, [type=button]:focus,
2024-02-13 15:33:43 +01:00
[type=submit]:focus,
button:focus {
2024-02-13 15:41:44 +01:00
background: var(--color);
2024-02-13 15:33:43 +01:00
color: var(--white);
}
2024-02-13 15:41:44 +01:00
.btn:disabled, [type=button]:disabled,
[type=submit]:disabled,
button:disabled {
background-color: var(--lighter);
border-color: var(--lighter);
color: var(--gray-1);
cursor: not-allowed;
}
.btn:active, [type=button]:active,
[type=submit]:active,
button:active {
background: var(--color);
}
@media all and (max-width: 19.9375em) {
2024-02-13 15:33:43 +01:00
.btn + .btn, [type=button] + .btn,
[type=submit] + .btn,
button + .btn, .btn + [type=button], [type=button] + [type=button],
[type=submit] + [type=button],
button + [type=button],
.btn + [type=submit],
[type=button] + [type=submit],
[type=submit] + [type=submit],
button + [type=submit],
.btn + button,
[type=button] + button,
[type=submit] + button,
button + button {
2024-02-13 15:41:44 +01:00
margin-top: 0.5rem;
2024-02-13 15:33:43 +01:00
}
}
2024-02-13 15:41:44 +01:00
.btn--outline {
background: none;
border: 2px solid var(--dark);
-webkit-box-shadow: none;
box-shadow: none;
color: var(--dark);
}
.btn--outline:hover, .btn--outline:active, .btn--outline:focus {
background: none;
border-color: var(--color);
-webkit-box-shadow: none;
box-shadow: none;
color: var(--color);
2024-02-13 15:33:43 +01:00
}
[type=button],
[type=submit],
button {
-webkit-appearance: none;
-moz-appearance: none;
}
fieldset {
border: 1px solid var(--light);
2024-02-13 15:41:44 +01:00
margin: 0 0 1.5rem;
padding: 1.5rem;
2024-02-13 15:33:43 +01:00
}
fieldset > legend {
margin-left: -1rem;
padding: 0 1rem;
}
legend {
2024-02-13 15:41:44 +01:00
font-variation-settings: "wght" var(--font-weight-bold);
2024-02-13 15:33:43 +01:00
}
label {
2024-02-13 15:41:44 +01:00
font-variation-settings: "wght" var(--font-weight-bold);
margin: 0 1rem 0.75rem 0;
}
option {
font-variation-settings: "wght" var(--font-weight-normal);
2024-02-13 15:33:43 +01:00
}
[type=text],
[type=url],
[type=tel],
[type=number],
[type=email],
[type=search],
textarea,
select {
2024-02-13 15:41:44 +01:00
background-color: var(--white);
2024-02-13 15:33:43 +01:00
border: none;
border: 1px solid var(--light);
2024-02-13 15:41:44 +01:00
border-radius: var(--border-radius);
2024-02-13 15:33:43 +01:00
font-size: 1rem;
outline: none;
2024-02-13 15:41:44 +01:00
padding: 0.375rem 0.75rem;
2024-02-13 15:33:43 +01:00
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
}
@media all and (min-width: 37.5em) {
[type=text],
[type=url],
[type=tel],
[type=number],
[type=email],
[type=search],
textarea,
select {
width: auto;
}
}
[type=text]:focus,
[type=url]:focus,
[type=tel]:focus,
[type=number]:focus,
[type=email]:focus,
[type=search]:focus,
textarea:focus,
select:focus {
2024-02-13 15:41:44 +01:00
border-color: var(--color);
2024-02-13 15:33:43 +01:00
}
input[type=checkbox],
input[type=radio] {
opacity: 0;
position: absolute;
}
input[type=checkbox] + label,
input[type=radio] + label {
position: relative;
margin-left: -1px;
cursor: pointer;
padding: 0;
}
input[type=checkbox] + label:before,
input[type=radio] + label:before {
background-color: var(--white);
border: 1px solid var(--light);
border-radius: 2px;
content: "";
display: inline-block;
2024-02-13 15:41:44 +01:00
height: 1.25rem;
line-height: 1.25rem;
margin-right: 1rem;
2024-02-13 15:33:43 +01:00
vertical-align: middle;
text-align: center;
2024-02-13 15:41:44 +01:00
width: 1.25rem;
2024-02-13 15:33:43 +01:00
}
input[type=checkbox]:checked + label:before,
input[type=radio]:checked + label:before {
content: "";
2024-02-13 15:41:44 +01:00
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3e%3cpolygon points='9.53 0 4.4 5.09 1.47 2.18 0 3.64 2.93 6.54 4.4 8 5.87 6.54 11 1.46 9.53 0' fill='%236B78B4'/%3e%3c/svg%3e");
2024-02-13 15:33:43 +01:00
background-repeat: no-repeat;
background-size: 11px 8px;
background-position: 50% 50%;
}
input[type=radio] + label:before {
border-radius: 50%;
}
input[type=radio]:checked + label:before {
2024-02-13 15:41:44 +01:00
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3ccircle cx='4' cy='4' r='4' fill='%236B78B4'/%3e%3c/svg%3e");
2024-02-13 15:33:43 +01:00
}
[type=file] {
2024-02-13 15:41:44 +01:00
margin-bottom: 1.5rem;
2024-02-13 15:33:43 +01:00
width: 100%;
}
select {
max-width: 100%;
width: auto;
position: relative;
}
select:not([multiple]) {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 6"><polygon points="3 6 3 6 0 0 6 0 3 6" fill="%238a8b8c"/></svg>') no-repeat 90% 50%;
background-size: 8px;
2024-02-13 15:41:44 +01:00
padding-right: 3rem;
2024-02-13 15:33:43 +01:00
}
select[multiple] {
border: 1px solid var(--light);
2024-02-13 15:41:44 +01:00
padding: 1.5rem;
2024-02-13 15:33:43 +01:00
width: 100%;
}
select[multiple]:hover {
border-color: var(--light);
}
select[multiple]:focus {
2024-02-13 15:41:44 +01:00
border-color: var(--color);
2024-02-13 15:33:43 +01:00
}
select[multiple]:disabled {
2024-02-13 15:41:44 +01:00
background-color: var(--lighter);
2024-02-13 15:33:43 +01:00
cursor: not-allowed;
}
select[multiple]:disabled:hover {
border-color: var(--light);
}
textarea {
display: block;
overflow: auto;
resize: vertical;
max-width: 100%;
}
.top {
2024-02-13 15:41:44 +01:00
height: var(--header-height);
left: 0;
2024-02-13 15:33:43 +01:00
position: absolute;
2024-02-13 15:41:44 +01:00
top: 0;
2024-02-13 15:36:15 +01:00
width: 100%;
2024-02-13 15:41:44 +01:00
padding: 0 var(--page-margin);
z-index: 99;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 56.25em) {
.top {
2024-02-13 15:41:44 +01:00
height: auto;
max-height: 9.5rem;
}
}
.top > div {
align-items: center;
display: grid;
height: 100%;
margin: 0 auto;
max-width: var(--page-width);
position: relative;
width: 100%;
}
@media all and (max-width: 56.1875em) {
.top > div {
grid-template-columns: 1fr auto auto;
grid-template-areas: "logo search menu";
2024-02-13 15:33:43 +01:00
}
}
.top.is-visible {
2024-02-13 15:41:44 +01:00
align-items: center;
background: var(--white);
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
height: var(--header-height);
2024-02-13 15:33:43 +01:00
opacity: 1;
2024-02-13 15:41:44 +01:00
padding: 0 var(--page-margin);
2024-02-13 15:33:43 +01:00
position: fixed;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
-webkit-transition: height 0.3s, background 0.3s, opacity 0.24s, -webkit-transform 0.24s;
transition: height 0.3s, background 0.3s, opacity 0.24s, -webkit-transform 0.24s;
transition: transform 0.24s, height 0.3s, background 0.3s, opacity 0.24s;
transition: transform 0.24s, height 0.3s, background 0.3s, opacity 0.24s, -webkit-transform 0.24s;
2024-02-13 15:41:44 +01:00
-webkit-transition-delay: 0.05s;
transition-delay: 0.05s;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 56.25em) {
2024-02-13 15:41:44 +01:00
.top.is-visible > div {
grid-template-columns: 1fr auto auto;
grid-template-areas: "logo menu search";
margin: 0 auto;
max-width: var(--page-width);
2024-02-13 15:33:43 +01:00
}
}
2024-02-13 15:41:44 +01:00
.top.is-visible .logo {
font-size: 1.7875512975rem;
grid-area: logo;
padding: 0;
text-align: left;
}
.top.is-visible .navbar {
text-align: right;
}
.top.is-visible .navbar__toggle {
height: auto;
}
.top.is-visible .search__input {
font-size: 1.4728968807rem;
}
.top.is-visible .search__btn {
position: relative;
margin-left: 1rem;
right: 0;
top: 0;
}
.top.is-hidden {
opacity: 0;
-webkit-transform: translate(0, -86px);
transform: translate(0, -86px);
-webkit-transition: background 0.3s, color 0.3s, opacity 0.24s, -webkit-transform 0.24s;
transition: background 0.3s, color 0.3s, opacity 0.24s, -webkit-transform 0.24s;
transition: transform 0.24s, background 0.3s, color 0.3s, opacity 0.24s;
transition: transform 0.24s, background 0.3s, color 0.3s, opacity 0.24s, -webkit-transform 0.24s;
}
2024-02-13 15:33:43 +01:00
.logo {
2024-02-13 15:41:44 +01:00
color: var(--dark) !important;
display: block;
2024-02-13 15:33:43 +01:00
font-family: var(--logo-font);
2024-02-13 15:41:44 +01:00
font-size: 1.7875512975rem;
letter-spacing: 1px;
}
@media all and (min-width: 56.25em) {
.logo {
font-size: 3.6355864383rem;
padding: 1.5rem 0 0.75rem;
text-align: center;
}
}
.logo:hover {
text-decoration: none;
}
.logo:focus {
outline: none;
2024-02-13 15:33:43 +01:00
}
.logo > img {
2024-02-13 15:41:44 +01:00
height: var(--header-height);
2024-02-13 15:33:43 +01:00
-o-object-fit: contain;
object-fit: contain;
2024-02-13 15:41:44 +01:00
padding: 0.5rem 0;
2024-02-13 15:33:43 +01:00
width: auto;
}
2024-02-13 15:36:15 +01:00
@media all and (min-width: 56.25em) {
2024-02-13 15:41:44 +01:00
.logo > img {
height: 5rem;
}
}
@media all and (max-width: 56.1875em) {
2024-02-13 15:33:43 +01:00
.search {
2024-02-13 15:41:44 +01:00
grid-area: search;
2024-02-13 15:33:43 +01:00
}
}
.search__btn {
border: none !important;
background: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
margin: 0;
2024-02-13 15:41:44 +01:00
padding: 0.5rem;
2024-02-13 15:33:43 +01:00
width: auto;
2024-02-13 15:41:44 +01:00
position: relative;
right: 0;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 56.25em) {
.search__btn {
padding-right: 0;
2024-02-13 15:41:44 +01:00
position: absolute;
top: 40%;
2024-02-13 15:33:43 +01:00
}
}
.search__btn:hover, .search__btn:focus {
-webkit-transform: translateY(0);
transform: translateY(0);
}
.search__btn:hover > svg, .search__btn:focus > svg {
2024-02-13 15:41:44 +01:00
fill: var(--color);
2024-02-13 15:33:43 +01:00
}
.search__btn > svg {
display: block;
2024-02-13 15:41:44 +01:00
fill: var(--dark);
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.24s ease;
transition: all 0.24s ease;
}
.search__form {
flex-basis: 90%;
}
.search__input {
background: none;
border: none !important;
display: none;
font-family: var(--heading-font);
margin: 0 !important;
opacity: 0;
padding: 0;
width: 100%;
2024-02-13 15:41:44 +01:00
font-size: clamp(1.4728968807rem, 1.4728968807rem + 0.6965283404 * ((100vw - 20rem) / 46), 2.1694252211rem);
2024-02-13 15:33:43 +01:00
}
.search__close {
background: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border: none;
color: transparent;
cursor: pointer;
margin: 0 !important;
opacity: 0;
padding: 0;
height: 1.6rem;
width: 1.6rem;
position: relative;
text-indent: -999rem;
}
.search__close:before, .search__close:after {
2024-02-13 15:41:44 +01:00
background-color: var(--dark);
2024-02-13 15:33:43 +01:00
content: "";
left: 1rem;
height: 1.6rem;
opacity: 1;
position: absolute;
width: 1px;
top: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition: all 0.14s ease-out;
transition: all 0.14s ease-out;
}
.search__close:after {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.search__close:hover {
-webkit-transform: translateY(0);
transform: translateY(0);
}
.search__close:hover:before, .search__close:hover:after {
2024-02-13 15:41:44 +01:00
background-color: var(--color);
2024-02-13 15:33:43 +01:00
}
.search__overlay {
2024-02-13 15:41:44 +01:00
background-color: var(--white);
height: 100%;
2024-02-13 15:33:43 +01:00
left: 0;
opacity: 0;
2024-02-13 15:41:44 +01:00
position: absolute;
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.24s ease-out;
transition: all 0.24s ease-out;
top: 0;
visibility: hidden;
width: 100%;
z-index: 2005;
}
.search__overlay-inner {
align-items: center;
display: flex;
2024-02-13 15:41:44 +01:00
height: 100%;
2024-02-13 15:33:43 +01:00
justify-content: space-between;
}
.search__overlay.expanded {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
opacity: 1;
display: block;
visibility: visible;
}
.search__overlay.expanded .search__input {
2024-02-13 15:41:44 +01:00
-webkit-animation: slideininput 0.24s 0.1s forwards;
animation: slideininput 0.24s 0.1s forwards;
2024-02-13 15:33:43 +01:00
display: block;
}
@-webkit-keyframes slideininput {
60% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes slideininput {
60% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.search__overlay.expanded .search__close {
2024-02-13 15:41:44 +01:00
-webkit-animation: slideinclose 0.24s 0.1s forwards;
animation: slideinclose 0.24s 0.1s forwards;
2024-02-13 15:33:43 +01:00
}
@-webkit-keyframes slideinclose {
60% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes slideinclose {
60% {
opacity: 0;
}
100% {
opacity: 1;
}
}
2024-02-13 15:41:44 +01:00
@media all and (max-width: 56.1875em) {
.navbar {
grid-area: menu;
}
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__menu {
display: flex;
2024-02-13 15:41:44 +01:00
justify-content: center;
2024-02-13 15:33:43 +01:00
list-style: none;
margin: 0;
padding: 0;
}
@media all and (max-width: 56.1875em) {
.navbar .navbar__menu {
display: none;
}
}
.navbar .navbar__menu li {
2024-02-13 15:36:15 +01:00
display: block;
2024-02-13 15:41:44 +01:00
font-family: var(--menu-font);
font-size: 0.9374999997rem;
font-variation-settings: "wght" var(--font-weight-bold);
2024-02-13 15:33:43 +01:00
line-height: var(--line-height);
padding: 0;
position: relative;
2024-02-13 15:41:44 +01:00
white-space: nowrap;
2024-02-13 15:33:43 +01:00
width: auto;
}
.navbar .navbar__menu li a,
.navbar .navbar__menu li span[aria-haspopup=true] {
2024-02-13 15:41:44 +01:00
color: var(--dark);
2024-02-13 15:33:43 +01:00
display: block;
2024-02-13 15:41:44 +01:00
padding: 0 0.5rem;
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.24s ease-out;
transition: all 0.24s ease-out;
}
.navbar .navbar__menu li a:active, .navbar .navbar__menu li a:focus, .navbar .navbar__menu li a:hover,
.navbar .navbar__menu li span[aria-haspopup=true]:active,
.navbar .navbar__menu li span[aria-haspopup=true]:focus,
.navbar .navbar__menu li span[aria-haspopup=true]:hover {
2024-02-13 15:41:44 +01:00
color: var(--color);
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__menu li span {
2024-02-13 15:41:44 +01:00
color: var(--dark);
2024-02-13 15:33:43 +01:00
cursor: default;
display: block;
2024-02-13 15:41:44 +01:00
padding: 0 0.5rem;
}
.navbar .navbar__menu > li.active a {
color: var(--color);
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__menu > li:hover > a, .navbar .navbar__menu > li:hover > span[aria-haspopup=true] {
2024-02-13 15:41:44 +01:00
color: var(--color);
2024-02-13 15:33:43 +01:00
}
.navbar .has-submenu:active > .navbar__submenu,
.navbar .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu:hover > .navbar__submenu {
left: 0;
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
visibility: visible;
2024-02-13 15:41:44 +01:00
margin-top: 0.75rem;
2024-02-13 15:33:43 +01:00
}
.navbar .has-submenu:active > .navbar__submenu:before,
.navbar .has-submenu:focus > .navbar__submenu:before,
.navbar .has-submenu:hover > .navbar__submenu:before {
content: "";
2024-02-13 15:41:44 +01:00
height: 0.75rem;
2024-02-13 15:33:43 +01:00
position: absolute;
width: 100%;
2024-02-13 15:41:44 +01:00
top: -0.75rem;
2024-02-13 15:33:43 +01:00
}
.navbar .has-submenu:active > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:focus > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:hover > .navbar__submenu.is-right-submenu {
left: auto;
right: 0;
-webkit-transform-origin: right top;
transform-origin: right top;
}
.navbar .has-submenu .has-submenu:active > .navbar__submenu,
.navbar .has-submenu .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu .has-submenu:hover > .navbar__submenu {
top: 0;
margin-top: 0;
}
.navbar .has-submenu .has-submenu:active > .navbar__submenu.is-right-submenu,
.navbar .has-submenu .has-submenu:focus > .navbar__submenu.is-right-submenu,
.navbar .has-submenu .has-submenu:hover > .navbar__submenu.is-right-submenu {
top: 0;
margin-top: 0;
}
.navbar .navbar__submenu {
2024-02-13 15:41:44 +01:00
background: var(--color);
2024-02-13 15:33:43 +01:00
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
border-radius: var(--border-radius);
left: -9999px;
list-style-type: none;
margin: 0;
2024-02-13 15:41:44 +01:00
padding: 0.5rem 0;
2024-02-13 15:33:43 +01:00
position: absolute;
2024-02-13 15:41:44 +01:00
text-align: left;
2024-02-13 15:33:43 +01:00
visibility: hidden;
white-space: nowrap;
z-index: 1;
opacity: 0;
-webkit-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: 0 top;
transform-origin: 0 top;
-webkit-transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1), -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
}
.navbar .navbar__submenu__submenu {
z-index: 2;
}
.navbar .navbar__submenu li {
line-height: 1.5;
2024-02-13 15:41:44 +01:00
font-size: 0.8789062495rem;
text-transform: none;
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__submenu li a,
.navbar .navbar__submenu li span[aria-haspopup=true] {
2024-02-13 15:41:44 +01:00
color: rgba(255, 255, 255, 0.88) !important;
padding: 0.5rem 1.5rem;
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.24s ease;
transition: all 0.24s ease;
}
.navbar .navbar__submenu li a:active, .navbar .navbar__submenu li a:focus, .navbar .navbar__submenu li a:hover,
.navbar .navbar__submenu li span[aria-haspopup=true]:active,
.navbar .navbar__submenu li span[aria-haspopup=true]:focus,
.navbar .navbar__submenu li span[aria-haspopup=true]:hover {
2024-02-13 15:41:44 +01:00
background: rgba(255, 255, 255, 0.05);
color: var(--white) !important;
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__submenu li span {
2024-02-13 15:41:44 +01:00
color: rgba(255, 255, 255, 0.88) !important;
padding: 0.5rem 1.25rem;
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__submenu li:hover > a, .navbar .navbar__submenu li:hover > span[aria-haspopup=true] {
2024-02-13 15:41:44 +01:00
color: var(--white) !important;
2024-02-13 15:33:43 +01:00
}
.navbar .navbar__toggle {
2024-02-13 15:41:44 +01:00
background: none;
2024-02-13 15:33:43 +01:00
-webkit-box-shadow: none;
box-shadow: none;
border: none;
cursor: pointer;
display: block;
line-height: 1;
2024-02-13 15:41:44 +01:00
height: 4.5rem;
2024-02-13 15:33:43 +01:00
margin: 0;
overflow: visible;
2024-02-13 15:41:44 +01:00
padding: 1rem 0 1rem 1.5rem;
2024-02-13 15:33:43 +01:00
text-transform: none;
z-index: 2004;
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 37.5em) {
.navbar .navbar__toggle {
height: var(--header-height);
}
}
2024-02-13 15:33:43 +01:00
@media all and (min-width: 56.25em) {
.navbar .navbar__toggle {
display: none;
}
}
.navbar .navbar__toggle:hover, .navbar .navbar__toggle:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
-webkit-transform: none;
transform: none;
}
.navbar .navbar__toggle-box {
width: 24px;
height: 14px;
display: inline-block;
position: relative;
}
.navbar .navbar__toggle-inner {
display: block;
top: 50%;
text-indent: -9999999em;
}
.navbar .navbar__toggle-inner::before {
content: "";
display: block;
top: -6px;
}
.navbar .navbar__toggle-inner::after {
content: "";
display: block;
bottom: -6px;
}
.navbar .navbar__toggle-inner, .navbar .navbar__toggle-inner::before, .navbar .navbar__toggle-inner::after {
width: 22px;
height: 2px;
2024-02-13 15:41:44 +01:00
background-color: var(--dark);
2024-02-13 15:33:43 +01:00
position: absolute;
-webkit-transition: opacity 0.14s ease-out, -webkit-transform;
transition: opacity 0.14s ease-out, -webkit-transform;
transition: transform, opacity 0.14s ease-out;
transition: transform, opacity 0.14s ease-out, -webkit-transform;
}
.navbar .navbar__toggle-inner {
-webkit-transition-duration: 0.075s;
transition-duration: 0.075s;
-webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.navbar .navbar__toggle-inner::before {
-webkit-transition: top 0.075s ease 0.12s, opacity 0.075s ease;
transition: top 0.075s ease 0.12s, opacity 0.075s ease;
}
.navbar .navbar__toggle-inner::after {
-webkit-transition: bottom 0.075s ease 0.12s, -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition: bottom 0.075s ease 0.12s, -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition: bottom 0.075s ease 0.12s, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition: bottom 0.075s ease 0.12s, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.navbar .navbar__toggle.is-active .navbar__toggle-inner {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition-delay: 0.12s;
transition-delay: 0.12s;
-webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.navbar .navbar__toggle.is-active .navbar__toggle-inner::before {
top: 0;
opacity: 0;
-webkit-transition: top 0.075s ease, opacity 0.075s ease 0.12s;
transition: top 0.075s ease, opacity 0.075s ease 0.12s;
}
.navbar .navbar__toggle.is-active .navbar__toggle-inner::after {
bottom: 0;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
-webkit-transition: bottom 0.075s ease, -webkit-transform 0.075s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
transition: bottom 0.075s ease, -webkit-transform 0.075s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
transition: bottom 0.075s ease, transform 0.075s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
transition: bottom 0.075s ease, transform 0.075s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s, -webkit-transform 0.075s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
}
.navbar_mobile_overlay {
2024-02-13 15:41:44 +01:00
background: var(--white);
height: calc(100vh - 4.5rem);
2024-02-13 15:33:43 +01:00
left: 0;
opacity: 1;
overflow: auto;
pointer-events: auto;
position: fixed;
2024-02-13 15:41:44 +01:00
top: 4.5rem;
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
width: 100%;
2024-02-13 15:41:44 +01:00
z-index: 998;
}
@media all and (min-width: 37.5em) {
.navbar_mobile_overlay {
height: calc(100vh - var(--header-height));
top: var(--header-height);
}
2024-02-13 15:33:43 +01:00
}
.navbar_mobile_overlay.is-hidden {
opacity: 0;
pointer-events: none;
}
.navbar_mobile_overlay .navbar__menu {
margin: 24px;
}
.navbar_mobile_overlay .navbar__menu li {
2024-02-13 15:41:44 +01:00
font-family: var(--menu-font);
2024-02-13 15:33:43 +01:00
list-style: none;
margin: 0;
padding: 0;
text-align: center;
}
.navbar_mobile_overlay .navbar__menu li a,
2024-02-13 15:41:44 +01:00
.navbar_mobile_overlay .navbar__menu li .is-separator {
2024-02-13 15:33:43 +01:00
color: var(--dark);
display: block;
2024-02-13 15:41:44 +01:00
padding: 10px 20px 10px 0;
2024-02-13 15:33:43 +01:00
position: relative;
}
.navbar_mobile_overlay .navbar__menu li a:active, .navbar_mobile_overlay .navbar__menu li a:focus, .navbar_mobile_overlay .navbar__menu li a:hover,
2024-02-13 15:41:44 +01:00
.navbar_mobile_overlay .navbar__menu li .is-separator:active,
.navbar_mobile_overlay .navbar__menu li .is-separator:focus,
.navbar_mobile_overlay .navbar__menu li .is-separator:hover {
2024-02-13 15:33:43 +01:00
color: var(--dark);
}
.navbar_mobile_overlay .navbar__menu li a[aria-haspopup=true]::after,
2024-02-13 15:41:44 +01:00
.navbar_mobile_overlay .navbar__menu li .is-separator[aria-haspopup=true]::after {
2024-02-13 15:33:43 +01:00
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 5px 5px 0 5px;
2024-02-13 15:41:44 +01:00
border-color: var(--gray-1) transparent transparent transparent;
left: 0.5rem;
top: 14px;
2024-02-13 15:33:43 +01:00
position: relative;
}
.navbar_mobile_overlay .navbar__submenu {
margin: 0;
padding: 0;
visibility: hidden;
}
.navbar_mobile_overlay .navbar__submenu[aria-hidden=false] {
visibility: visible;
}
.navbar_mobile_overlay .navbar__submenu_wrapper {
height: 0;
opacity: 0;
overflow: hidden;
-webkit-transition: all 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: all 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
}
.navbar_mobile_overlay .navbar__submenu_wrapper.is-active {
height: auto;
opacity: 1;
}
.navbar_mobile_sidebar {
2024-02-13 15:41:44 +01:00
background: var(--white);
2024-02-13 15:33:43 +01:00
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
height: 100vh;
left: 0;
max-width: 400px;
overflow: auto;
position: fixed;
top: 0;
-webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
width: 80%;
2024-02-13 15:41:44 +01:00
z-index: 1000;
2024-02-13 15:33:43 +01:00
}
.navbar_mobile_sidebar.is-hidden {
left: -400px;
}
.navbar_mobile_sidebar .navbar__menu {
margin: 24px;
}
.navbar_mobile_sidebar .navbar__menu li {
font-family: var(--menu-font);
font-size: 16px;
list-style: none;
line-height: 1.3;
margin: 0;
padding: 0;
}
.navbar_mobile_sidebar .navbar__menu li a,
.navbar_mobile_sidebar .navbar__menu li .is-separator {
color: var(--dark);
display: block;
padding: 10px 20px 10px 0;
position: relative;
}
.navbar_mobile_sidebar .navbar__menu li a:active, .navbar_mobile_sidebar .navbar__menu li a:focus, .navbar_mobile_sidebar .navbar__menu li a:hover,
.navbar_mobile_sidebar .navbar__menu li .is-separator:active,
.navbar_mobile_sidebar .navbar__menu li .is-separator:focus,
.navbar_mobile_sidebar .navbar__menu li .is-separator:hover {
color: var(--dark);
}
.navbar_mobile_sidebar .navbar__menu li a[aria-haspopup=true]::after,
.navbar_mobile_sidebar .navbar__menu li .is-separator[aria-haspopup=true]::after {
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 5px 5px 0 5px;
2024-02-13 15:41:44 +01:00
border-color: var(--gray-1) transparent transparent transparent;
2024-02-13 15:33:43 +01:00
right: 0;
top: 18px;
position: absolute;
}
.navbar_mobile_sidebar .navbar__submenu {
margin: 0 0 0 24px;
padding: 0;
visibility: hidden;
}
.navbar_mobile_sidebar .navbar__submenu[aria-hidden=false] {
visibility: visible;
}
.navbar_mobile_sidebar .navbar__submenu_wrapper {
height: 0;
opacity: 0;
overflow: hidden;
-webkit-transition: all 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: all 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
}
.navbar_mobile_sidebar .navbar__submenu_wrapper.is-active {
height: auto;
opacity: 1;
}
.navbar_mobile_sidebar__overlay {
background: rgba(0, 0, 0, 0.5);
height: 100%;
opacity: 1;
pointer-events: auto;
position: fixed;
top: 0;
-webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
width: 100%;
z-index: 10;
}
.navbar_mobile_sidebar__overlay.is-hidden {
opacity: 0;
pointer-events: none;
}
2024-02-13 15:41:44 +01:00
.container {
2024-02-13 15:33:43 +01:00
-webkit-box-sizing: content-box;
box-sizing: content-box;
2024-02-13 15:41:44 +01:00
margin-left: auto;
margin-right: auto;
max-width: var(--page-width);
2024-02-13 15:33:43 +01:00
padding: 0 var(--page-margin);
}
2024-02-13 15:41:44 +01:00
@media all and (max-width: 56.1875em) {
.container {
padding-top: var(--header-height);
}
}
2024-02-13 15:33:43 +01:00
2024-02-13 15:41:44 +01:00
.wrapper {
margin-left: auto;
margin-right: auto;
max-width: var(--entry-width);
2024-02-13 15:33:43 +01:00
}
.hero {
background: var(--hero-bg);
2024-02-13 15:41:44 +01:00
margin-bottom: var(--grid-gap);
min-height: var(--hero-min-height);
2024-02-13 15:33:43 +01:00
position: relative;
2024-02-13 15:41:44 +01:00
text-align: center;
2024-02-13 15:33:43 +01:00
top: 0;
z-index: 1;
}
2024-02-13 15:41:44 +01:00
.hero:after {
content: " ";
display: block;
clear: both;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 56.25em) {
.hero {
margin-top: 12.75rem;
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 56.25em) {
.hero--narrow {
left: calc((100% - var(--page-width)) / 2);
width: var(--page-width);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.hero--full {
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.hero > header {
color: var(--white);
max-width: var(--page-width);
padding: 0 4%;
text-align: center;
width: 100%;
z-index: 2;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 56.25em) {
.hero > header {
max-width: calc(var(--page-width) + 8%);
}
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.hero > header * {
color: var(--white);
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.hero > header h1 {
margin-top: 0.5rem;
}
.hero > header a:not(.page__desc a) {
text-decoration: none;
}
.hero > header a:not(.page__desc a):hover {
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
2024-02-13 15:33:43 +01:00
}
.hero__image {
margin: 0;
2024-02-13 15:41:44 +01:00
position: relative;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.hero__image::after {
background: var(--hero-bg);
2024-02-13 15:33:43 +01:00
content: "";
display: block;
height: 100%;
left: 0;
2024-02-13 15:41:44 +01:00
opacity: var(--hero-opacity);
2024-02-13 15:33:43 +01:00
position: absolute;
top: 0;
width: 100%;
}
.hero__image > img {
display: block;
-o-object-fit: cover;
object-fit: cover;
2024-02-13 15:41:44 +01:00
width: 100%;
}
@media all and (max-width: 56.1875em) {
.hero__image > img {
min-height: var(--hero-min-height);
}
}
@media all and (min-width: 56.25em) {
.hero__image > img {
height: var(--hero-max-height);
}
2024-02-13 15:33:43 +01:00
}
.hero__image > figcaption {
2024-02-13 15:41:44 +01:00
background: var(--dark);
border-radius: var(--border-radius);
bottom: 4%;
color: var(--white);
display: inline-table;
padding: 0 0.5rem;
2024-02-13 15:33:43 +01:00
position: absolute;
right: var(--page-margin);
2024-02-13 15:41:44 +01:00
text-align: left;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.l-grid {
display: grid;
grid-gap: var(--grid-gap);
margin: 0;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 37.5em) {
.l-grid {
grid-template-columns: repeat(2, 1fr);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 56.25em) {
.l-grid {
grid-template-columns: repeat(3, 1fr);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 75em) {
.l-grid {
grid-template-columns: repeat(4, 1fr);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 75em) {
.l-grid--1 .c-card:nth-child(7n-2) {
grid-column: span 2;
}
.l-grid--1 .c-card:nth-child(7n-2) h2 {
font-size: 2.1694252211rem;
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.l-grid--1 .c-card:nth-child(6n-5) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 75em) {
.l-grid--2 .c-card:nth-child(5n) {
grid-column: span 2;
}
.l-grid--2 .c-card:nth-child(5n) h2 {
font-size: 2.1694252211rem;
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.l-grid--2 .c-card:nth-child(8n-6) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 75em) {
.l-grid--3 {
grid-template-columns: repeat(3, 1fr);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 75em) {
.l-grid--3 .c-card:nth-child(2n) {
grid-column: span 1;
}
}
.l-grid--3 .c-card:nth-child(8n-6) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
}
@media all and (min-width: 75em) {
.l-grid--4 .c-card:nth-child(5n) {
grid-column: span 4;
}
.l-grid--4 .c-card:nth-child(5n) h2 {
font-size: 2.1694252211rem;
}
}
.l-grid--4 .c-card:nth-child(8n-6) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 37.5em) {
2024-02-13 15:41:44 +01:00
.l-grid--5 {
2024-02-13 15:33:43 +01:00
grid-template-columns: repeat(2, 1fr);
}
}
2024-02-13 15:41:44 +01:00
.l-grid--5 .c-card:nth-child(5n-2) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 37.5em) {
.l-grid--6 {
grid-template-columns: repeat(1, 1fr);
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.l-grid--6 .c-card:nth-child(3n) .c-card__image > a:after {
background: var(--color);
opacity: var(--card-accent-opacity);
}
.c-card {
border-radius: var(--border-radius);
font-size: 0.8239746086rem;
height: var(--card-height);
overflow: hidden;
padding: 0;
position: relative;
text-align: center;
}
.c-card:after {
background: var(--dark);
content: "";
display: inherit;
height: 100%;
z-index: 0;
}
.c-card__image {
margin: 0;
}
.c-card__image > a {
display: block;
overflow: hidden;
position: relative;
}
.c-card__image > a:after {
background: var(--dark);
content: "";
height: 100%;
left: 0;
opacity: var(--card-opacity);
position: absolute;
top: 0;
width: 100%;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.c-card__image img {
display: block;
height: var(--card-height);
-o-object-fit: cover;
object-fit: cover;
width: 100%;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.c-card:hover .c-card__image > a:after {
background: var(--dark);
content: "";
height: 100%;
left: 0;
opacity: var(--card-accent-opacity);
position: absolute;
top: 0;
width: 100%;
}
.c-card:hover .c-card__image img {
-webkit-transform: scale(1.6) rotate(-10deg);
transform: scale(1.6) rotate(-10deg);
}
.c-card__header {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 1;
}
.c-card__header > h2 {
font-size: clamp(1.1377777785rem, 1.1377777785rem + 0.1567604947 * ((100vw - 20rem) / 46), 1.2945382732rem);
margin-top: 0.5rem;
}
.c-card__header > h2 > a {
color: var(--white);
text-decoration: none;
-webkit-transition: all 0.12s linear 0s;
transition: all 0.12s linear 0s;
}
.c-card__header > h2 > a:hover {
color: var(--white);
}
.c-card__header > h2 > a:active {
color: var(--white);
}
.c-card__header > h2 > a:focus {
color: var(--white);
outline: none;
}
.c-card__header > h2 > a::before {
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.c-card__header > p {
color: var(--white);
font-size: 0.6789341556rem;
margin: 0;
text-transform: uppercase;
2024-02-13 15:33:43 +01:00
}
.post__image {
display: inline-block;
}
.post__image > img {
display: inline-block;
}
.post__image--left {
float: left;
2024-02-13 15:41:44 +01:00
margin-bottom: 1.5rem;
margin-right: 1.5rem;
2024-02-13 15:33:43 +01:00
max-width: 50%;
}
.post__image--right {
float: right;
2024-02-13 15:41:44 +01:00
margin-bottom: 1.5rem;
margin-left: 1.5rem;
2024-02-13 15:33:43 +01:00
max-width: 50%;
}
.post__image--center {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.post__image--wide {
display: block;
}
@media all and (min-width: 56.25em) {
.post__image--wide {
2024-02-13 15:41:44 +01:00
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
padding: 0 var(--page-margin);
2024-02-13 15:33:43 +01:00
text-align: center;
}
.post__image--wide a,
.post__image--wide img {
display: block;
height: auto;
2024-02-13 15:41:44 +01:00
margin: auto;
max-width: var(--page-width);
2024-02-13 15:33:43 +01:00
width: 100%;
}
}
.post__image--full {
display: block;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
text-align: center;
}
.post__image--full a,
.post__image--full img {
display: block;
height: auto;
width: 100%;
}
.post__meta {
2024-02-13 15:41:44 +01:00
color: var(--gray-1);
2024-02-13 15:33:43 +01:00
font-size: 0.8239746086rem;
}
2024-02-13 15:41:44 +01:00
.post__entry {
margin: 1.5rem 0 3rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 56.25em) {
.post__entry {
margin: 2.75rem auto;
2024-02-13 15:33:43 +01:00
}
}
.post__entry > :nth-child(1) {
margin-top: 0;
}
2024-02-13 15:41:44 +01:00
.post__entry a:not(.btn):not([type=button]):not([type=submit]):not(button) {
text-decoration: none;
}
.post__entry a:not(.btn):not([type=button]):not([type=submit]):not(button):hover {
2024-02-13 15:33:43 +01:00
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}
2024-02-13 15:41:44 +01:00
.post__video, .post__iframe {
position: relative;
display: block;
margin-top: calc(1rem + 1vw);
margin-bottom: calc(1rem + 1vw);
overflow: hidden;
2024-02-13 15:33:43 +01:00
padding: 0;
2024-02-13 15:41:44 +01:00
width: 100%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__video::before, .post__iframe::before {
display: block;
content: "";
padding-top: var(--embed-aspect-ratio);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__video iframe, .post__video video, .post__iframe iframe, .post__iframe video {
border: none;
height: 100%;
left: 0;
position: absolute;
top: 0;
bottom: 0;
width: 100%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__toc ul {
counter-reset: item;
list-style: decimal;
margin: calc(0.5rem + 0.25vw) 0 calc(1.5rem + 0.25vw) 2ch;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__toc ul li {
counter-increment: item;
padding: 0;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__toc ul ul {
margin-top: 0;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__toc ul ul li {
display: block;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__toc ul ul li:before {
content: counters(item, ".") ". ";
margin-left: -20px;
2024-02-13 15:36:15 +01:00
}
.post__bio {
2024-02-13 15:41:44 +01:00
border-top: 1px solid var(--light);
margin: 1.5rem 0 0;
overflow: hidden;
padding: 2.75rem 0 1.5rem;
text-align: center;
font-size: 0.8789062495rem;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 37.5em) {
2024-02-13 15:41:44 +01:00
.post__bio {
padding-left: 6rem;
text-align: left;
2024-02-13 15:33:43 +01:00
}
}
2024-02-13 15:41:44 +01:00
.post__bio > img {
2024-02-13 15:33:43 +01:00
border-radius: 50%;
2024-02-13 15:41:44 +01:00
height: 4rem;
margin: 0 0 1.5rem;
width: 4rem;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 37.5em) {
2024-02-13 15:41:44 +01:00
.post__bio > img {
float: left;
margin-left: -5.5rem;
2024-02-13 15:33:43 +01:00
}
}
2024-02-13 15:41:44 +01:00
.post__bio > h3 {
2024-02-13 15:33:43 +01:00
margin: 0;
}
2024-02-13 15:41:44 +01:00
.post__bio a {
text-decoration: none;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__bio a:hover {
2024-02-13 15:33:43 +01:00
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}
2024-02-13 15:41:44 +01:00
.post__share {
display: flex;
flex-wrap: wrap;
margin: 2.75rem -0.25rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__share > a {
border-radius: var(--border-radius);
color: var(--white) !important;
display: inline-block;
flex: 1 1 auto;
font: var(--font-weight-bold) 0.6789341556rem var(--body-font);
letter-spacing: 0.5px;
margin: 0 1% 0.25rem 0;
padding: 0.75rem 1rem;
text-transform: uppercase;
text-align: center;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (max-width: 37.4375em) {
.post__share > a {
width: 48%;
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__share > a:hover {
background: var(--dark);
text-decoration: none;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__share svg {
fill: white;
height: 0.9rem;
margin: 0 0.5rem 0 0;
pointer-events: none;
vertical-align: middle;
width: 0.9rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__last-updated {
color: var(--gray-1);
font-size: 0.7724761953rem;
font-style: italic;
margin: -1.5rem 0 2.75rem;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__tag {
border-top: 1px solid var(--light);
margin-top: 1.5rem;
margin-left: 0;
padding-top: 2.75rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__tag > li {
display: inline-block;
list-style: none;
padding: 0;
margin: 0 1% 0.25rem 0;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__tag > li > a {
border-radius: var(--border-radius);
border: 1px solid var(--light);
color: var(--dark);
display: block;
font: var(--font-weight-normal) 0.6789341556rem var(--body-font);
letter-spacing: 0.5px;
padding: 0.5rem 0.75rem;
text-align: center;
text-transform: uppercase;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__tag > li > a:hover {
color: var(--white);
background: var(--dark);
border-color: var(--dark);
text-decoration: none;
2024-02-13 15:33:43 +01:00
}
@media all and (max-width: 37.4375em) {
2024-02-13 15:41:44 +01:00
.post__tag > li {
width: 48%;
2024-02-13 15:33:43 +01:00
}
}
2024-02-13 15:41:44 +01:00
.post__nav {
align-items: flex-start;
border-top: 1px solid var(--light);
color: var(--gray-1);
display: flex;
font-size: 0.7724761953rem;
justify-content: space-between;
margin-top: 2.25rem;
padding: 1.5rem 0;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__nav__prev, .post__nav__next {
width: 50%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__nav__prev {
text-align: left;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__nav__next {
flex-direction: row-reverse;
margin-left: auto;
text-align: right;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__nav h3 {
font-size: 1rem;
margin: 0;
2024-02-13 15:33:43 +01:00
}
.post__nav + .post__related {
margin-top: 0;
}
.post__related {
border-top: 1px solid var(--light);
2024-02-13 15:41:44 +01:00
margin-top: 2.25rem;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap {
display: flex;
flex-wrap: wrap;
margin: 1.5rem -2% 0;
width: 104%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap figure {
flex-basis: 50%;
margin: 0;
padding: 0.75rem 2% 0;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
@media all and (min-width: 37.5em) {
.post__related__wrap figure {
flex-basis: 33.333%;
}
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap figure a {
2024-02-13 15:36:15 +01:00
display: block;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap figure a > img {
border-radius: var(--border-radius);
height: 8rem;
-o-object-fit: cover;
object-fit: cover;
-webkit-transition: all 0.24s ease;
transition: all 0.24s ease;
2024-02-13 15:36:15 +01:00
width: 100%;
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap figure a:hover img {
opacity: 0.8;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap figcaption {
font-style: normal;
margin-top: 1rem;
text-align: left;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.post__related__wrap h4 {
font-size: 1rem;
margin: 0.5rem 0;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.comments-area {
border-top: 1px solid var(--light);
margin-top: 2.25rem;
2024-02-13 15:33:43 +01:00
}
.banner {
text-align: center;
}
2024-02-13 15:41:44 +01:00
.banner--before-post {
margin-bottom: 1.5rem;
}
@media all and (min-width: 56.25em) {
.banner--before-post {
margin-bottom: 3.25rem;
}
}
2024-02-13 15:33:43 +01:00
.banner--after-post {
2024-02-13 15:41:44 +01:00
margin-top: calc(2.25rem + 0.5vw);
2024-02-13 15:33:43 +01:00
}
.page__desc > :nth-child(1) {
2024-02-13 15:41:44 +01:00
margin-top: 0;
2024-02-13 15:33:43 +01:00
}
.page__desc a {
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}
2024-02-13 15:41:44 +01:00
.page__desc a:hover {
text-decoration: none;
2024-02-13 15:36:15 +01:00
}
2024-02-13 15:41:44 +01:00
.page--author__thumb {
border-radius: 50%;
2024-02-13 15:33:43 +01:00
}
.page--author__website {
align-items: center;
display: inline-flex;
2024-02-13 15:41:44 +01:00
margin-top: calc(1rem + 0.5vw);
2024-02-13 15:33:43 +01:00
}
.page--author__website a {
margin-left: 0.4rem;
}
.page--search form {
align-items: flex-start;
display: flex;
flex-wrap: wrap;
2024-02-13 15:41:44 +01:00
margin: 1.5rem 0 -1rem;
}
@media all and (min-width: 56.25em) {
.page--search form {
margin-top: 2.75rem;
}
2024-02-13 15:33:43 +01:00
}
@media all and (max-width: 37.4375em) {
.page--search input {
2024-02-13 15:41:44 +01:00
margin-bottom: 0.5rem;
2024-02-13 15:33:43 +01:00
}
}
@media all and (min-width: 20em) {
.page--search input {
flex: 1 0 auto;
2024-02-13 15:41:44 +01:00
margin-right: 0.5rem;
2024-02-13 15:33:43 +01:00
}
}
@media all and (max-width: 37.4375em) {
.page--search button {
width: 100%;
}
}
2024-02-13 15:41:44 +01:00
.page--error {
text-align: center;
}
2024-02-13 15:33:43 +01:00
.align-left {
text-align: left;
}
.align-right {
text-align: right;
}
.align-center {
text-align: center;
}
.align-justify {
text-align: justify;
}
.msg {
2024-02-13 15:41:44 +01:00
padding: 1rem 1.5rem;
2024-02-13 15:33:43 +01:00
}
.msg--highlight {
2024-02-13 15:41:44 +01:00
background-color: #fff7e5;
2024-02-13 15:33:43 +01:00
}
.msg--info {
2024-02-13 15:41:44 +01:00
background-color: #d9edf7;
2024-02-13 15:33:43 +01:00
}
.msg--success {
2024-02-13 15:41:44 +01:00
background: #d5efc2;
2024-02-13 15:33:43 +01:00
}
.dropcap:first-letter {
float: left;
2024-02-13 15:41:44 +01:00
font-family: var(--heading-font);
font-size: 2.8084039796rem;
line-height: 0.9;
margin-right: 0.5rem;
padding: 0.5rem 0.25rem 0.5rem 0;
2024-02-13 15:33:43 +01:00
}
.pec-wrapper {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.pec-overlay {
align-items: center;
background-color: var(--light);
font-size: 14px;
display: none;
height: inherit;
justify-content: center;
line-height: 1.4;
padding: 1rem;
position: relative;
text-align: center;
}
@media all and (min-width: 37.5em) {
.pec-overlay {
font-size: 16px;
line-height: var(--line-height);
padding: 1rem 2rem;
}
}
.pec-overlay.is-active {
display: flex;
}
.pec-overlay-inner p {
margin: 0 0 1rem;
}
2024-02-13 15:41:44 +01:00
.post__share .facebook {
2024-02-13 15:33:43 +01:00
background: #0866FF;
}
2024-02-13 15:41:44 +01:00
.post__share .twitter {
2024-02-13 15:33:43 +01:00
background: #000000;
}
2024-02-13 15:41:44 +01:00
.post__share .instagram {
2024-02-13 15:33:43 +01:00
background: #000000;
}
2024-02-13 15:41:44 +01:00
.post__share .vimeo {
2024-02-13 15:33:43 +01:00
background: #1ab7ea;
}
2024-02-13 15:41:44 +01:00
.post__share .pinterest {
2024-02-13 15:33:43 +01:00
background: #bd081c;
}
2024-02-13 15:41:44 +01:00
.post__share .youtube {
2024-02-13 15:33:43 +01:00
background: #cd201f;
}
2024-02-13 15:41:44 +01:00
.post__share .linkedin {
2024-02-13 15:33:43 +01:00
background: #007bb6;
}
2024-02-13 15:41:44 +01:00
.post__share .buffer {
2024-02-13 15:33:43 +01:00
background: #333333;
}
2024-02-13 15:41:44 +01:00
.post__share .mix {
2024-02-13 15:33:43 +01:00
background: #fd8235;
}
2024-02-13 15:41:44 +01:00
.post__share .whatsapp {
2024-02-13 15:33:43 +01:00
background: #25D366;
}
.pagination {
display: flex;
2024-02-13 15:41:44 +01:00
justify-content: center;
margin-top: calc(2.25rem + 0.5vw);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.pagination > a + a {
margin-left: 0.5rem;
2024-02-13 15:33:43 +01:00
}
.gallery {
2024-02-13 15:41:44 +01:00
margin: calc(1rem + 1vw) -0.5rem;
2024-02-13 15:33:43 +01:00
}
@media all and (min-width: 20em) {
.gallery {
display: flex;
flex-wrap: wrap;
}
}
@media all and (min-width: 56.25em) {
.gallery-wrapper--wide {
2024-02-13 15:41:44 +01:00
display: flex;
justify-content: center;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
padding: 0 var(--page-margin);
2024-02-13 15:33:43 +01:00
}
.gallery-wrapper--wide .gallery {
2024-02-13 15:41:44 +01:00
max-width: var(--page-width);
2024-02-13 15:33:43 +01:00
}
}
.gallery-wrapper--full {
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
}
@media all and (min-width: 20em) {
.gallery[data-columns="1"] .gallery__item {
flex: 1 0 100%;
}
}
@media all and (min-width: 30em) {
.gallery[data-columns="2"] .gallery__item {
flex: 1 0 50%;
}
}
@media all and (min-width: 37.5em) {
.gallery[data-columns="3"] .gallery__item {
flex: 1 0 33.333%;
}
}
@media all and (min-width: 56.25em) {
.gallery[data-columns="4"] .gallery__item {
flex: 0 1 25%;
}
}
@media all and (min-width: 56.25em) {
.gallery[data-columns="5"] .gallery__item {
flex: 0 1 20%;
}
}
@media all and (min-width: 56.25em) {
.gallery[data-columns="6"] .gallery__item {
flex: 0 1 16.666%;
}
}
@media all and (min-width: 56.25em) {
.gallery[data-columns="7"] .gallery__item {
flex: 1 0 14.285%;
}
}
@media all and (min-width: 56.25em) {
.gallery[data-columns="8"] .gallery__item {
flex: 1 0 12.5%;
}
}
.gallery__item {
margin: 0;
2024-02-13 15:41:44 +01:00
padding: 0.5rem;
2024-02-13 15:33:43 +01:00
position: relative;
}
@media all and (min-width: 20em) {
.gallery__item {
flex: 1 0 50%;
}
}
@media all and (min-width: 30em) {
.gallery__item {
flex: 1 0 33.333%;
}
}
@media all and (min-width: 37.5em) {
.gallery__item {
flex: 1 0 25%;
}
}
.gallery__item a {
display: block;
height: 100%;
width: 100%;
}
.gallery__item a::after {
background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0)));
background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
2024-02-13 15:41:44 +01:00
bottom: 0.5rem;
2024-02-13 15:33:43 +01:00
content: "";
display: block;
opacity: 0;
2024-02-13 15:41:44 +01:00
left: 0.5rem;
height: calc(100% - 1rem);
2024-02-13 15:33:43 +01:00
position: absolute;
2024-02-13 15:41:44 +01:00
right: 0.5rem;
top: 0.5rem;
2024-02-13 15:33:43 +01:00
-webkit-transition: all 0.24s ease-out;
transition: all 0.24s ease-out;
2024-02-13 15:41:44 +01:00
width: calc(100% - 1rem);
2024-02-13 15:33:43 +01:00
}
.gallery__item a:hover::after {
opacity: 1;
}
.gallery__item img {
display: block;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
width: 100%;
}
.gallery__item figcaption {
bottom: 1.2rem;
color: var(--white);
left: 50%;
opacity: 0;
position: absolute;
text-align: center;
-webkit-transform: translate(-50%, 1.2rem);
transform: translate(-50%, 1.2rem);
-webkit-transition: all 0.24s ease-out;
transition: all 0.24s ease-out;
}
.gallery__item:hover figcaption {
opacity: 1;
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
.pswp--dark .pswp__bg {
2024-02-13 15:41:44 +01:00
background: var(--black);
2024-02-13 15:33:43 +01:00
}
.pswp--light .pswp__bg {
background: var(--white);
}
.pswp--light .pswp__counter {
2024-02-13 15:41:44 +01:00
color: var(--dark);
2024-02-13 15:33:43 +01:00
}
.pswp--light .pswp__caption__center {
2024-02-13 15:41:44 +01:00
color: var(--dark);
2024-02-13 15:33:43 +01:00
}
2024-02-13 15:41:44 +01:00
.footer {
background: var(--dark);
overflow: hidden;
padding: calc(2.25rem + 1vw) 0 calc(3rem + 1.5vw);
margin: calc(2.25rem + 0.5vw) 0 0;
text-align: center;
}
.footer a {
color: var(--white);
}
.footer a:hover {
color: rgba(255, 255, 255, 0.7);
}
.footer__copyright {
color: var(--gray-2);
font-size: 0.6789341556rem;
letter-spacing: 1px;
text-transform: uppercase;
}
.footer__social svg {
fill: var(--white);
height: 1rem;
margin: 1.5rem 0.375rem 0;
opacity: 0.6;
-webkit-transition: all 0.12s linear 0s;
transition: all 0.12s linear 0s;
width: 1rem;
}
.footer__social svg:hover {
opacity: 1;
}
.footer__bttop {
bottom: 1.25rem;
border-radius: 50%;
line-height: 1;
opacity: 0;
padding: 0.45rem;
position: fixed;
right: 2rem;
text-align: center;
width: auto !important;
visibility: hidden;
z-index: 999;
}
@media all and (min-width: 56.25em) {
.footer__bttop {
bottom: 2.5rem;
}
}
.footer__bttop:hover {
opacity: 1;
}
.footer__bttop > svg {
fill: var(--white);
height: 23px;
margin: 0;
width: 23px;
}
.footer__bttop.is-visible {
visibility: visible;
opacity: 1;
2024-02-13 15:33:43 +01:00
}