335 lines
5.6 KiB
CSS
335 lines
5.6 KiB
CSS
@import url(normalize.css);
|
|
@import url(variables.css);
|
|
|
|
@font-face {
|
|
font-family: 'Heebo';
|
|
src: url(./fonts/Heebo-Light.woff2) format('woff2');
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Heebo';
|
|
src: url(./fonts/Heebo-Bold.woff2) format('woff2');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: 'Yantramanav';
|
|
src: url(./fonts/Yantramanav-Bold.woff2) format('woff2');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
|
|
body {
|
|
font-family: var(--font-family-base);
|
|
font-size: 16px;
|
|
line-height: 1.75;
|
|
|
|
color: var(--color-light-gray);
|
|
background-color: var(--color-dark);
|
|
}
|
|
|
|
|
|
.container {
|
|
max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
|
|
margin-inline: auto;
|
|
padding-inline: var(--container-padding-x);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-light);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a,
|
|
button,
|
|
input,
|
|
textarea,
|
|
svg * {
|
|
transition-duration: var(--transition-duration);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--color-light-gray)
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
column-gap: 20px;
|
|
}
|
|
|
|
.header-logo-text {
|
|
position: relative;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
font-size: 24px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-logo-text::before {
|
|
position: absolute;
|
|
top: 7px;
|
|
left: -28px;
|
|
|
|
content: '';
|
|
display: block;
|
|
width: 22px;
|
|
aspect-ratio: 1;
|
|
background: url(images/Logo_Campfire_256x256.png) center/contain no-repeat;
|
|
}
|
|
|
|
.header-logo-staff {
|
|
text-transform: none;
|
|
font-weight: 100;
|
|
color: var(--color-light-gray)
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
column-gap: 20px;
|
|
|
|
min-height: var(--header-height);
|
|
|
|
padding-inline: clamp(20px, 5.2vw, 150px);
|
|
|
|
background-color: var(--color-dark-alternate-2);
|
|
}
|
|
|
|
.header-menu-list {
|
|
display: flex;
|
|
column-gap: 50px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.header-menu-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
column-gap: 7px;
|
|
height: var(--header-height);
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
letter-spacing: 1.2px;
|
|
}
|
|
|
|
.header-menu-link.is-current::after {
|
|
content: '';
|
|
width: 5px;
|
|
aspect-ratio: 1;
|
|
background-color: currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 38px;
|
|
padding-inline: 26px;
|
|
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 2;
|
|
letter-spacing: 1.2px;
|
|
text-transform: uppercase;
|
|
|
|
background-color: var(--color-light);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: default;
|
|
}
|
|
|
|
.button:not(.header-signup-button):hover {
|
|
background-color: var(--color-light-gray);
|
|
}
|
|
|
|
.header-signup-button {
|
|
background-color: transparent;
|
|
color: var(--color-light);
|
|
border: 1px solid var(--color-light);
|
|
}
|
|
|
|
.header-signup-button:hover {
|
|
border: 1px solid var(--color-light-gray);
|
|
color: var(--color-light-gray);
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
margin: -1px !important;
|
|
border: 0 !important;
|
|
padding: 0 !important;
|
|
white-space: nowrap !important;
|
|
clip-path: inset(100%) !important;
|
|
clip: rect(0 0 0 0) !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.banner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: end;
|
|
min-height: calc(95vh - var(--header-height));
|
|
padding: 36px 70px;
|
|
color: var(--color-light);
|
|
background-color: var(--color-dark-alternate);
|
|
user-select: none;
|
|
row-gap: 20px;
|
|
}
|
|
|
|
.banner-body {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.banner-info {
|
|
display: flex;
|
|
align-items: end;
|
|
|
|
font-size: clamp(16px, 1.56vw, 30px);
|
|
line-height: 1.27;
|
|
font-weight: 700;
|
|
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.banner-info::before {
|
|
content: '';
|
|
width: clamp(60px, 10.1vw, 194px);
|
|
aspect-ratio: 1;
|
|
margin-right: 30px;
|
|
background: url(icons/arrow-right-down.svg) center/contain no-repeat;
|
|
}
|
|
|
|
.banner-title {
|
|
font-size: min(15.62vw, 300px);
|
|
line-height: 1;
|
|
}
|
|
|
|
.banner-title::after {
|
|
content: '?';
|
|
font-size: 0.5em;
|
|
margin-left: clamp(5px, 2vh, 30px);
|
|
color: var(--color-dark-alternate-2);
|
|
}
|
|
|
|
.banner-pagination-list {
|
|
display: flex;
|
|
justify-content: center;
|
|
column-gap: 10px;
|
|
}
|
|
|
|
.banner-pagination-item {
|
|
display: flex;
|
|
border-radius: 20%;
|
|
transition-duration: var(--transition-duration);
|
|
}
|
|
.banner-pagination-item:hover {
|
|
background-color: var(--color-dark-alternate-2);
|
|
}
|
|
|
|
.banner-pagination-button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
padding: 14px;
|
|
background-color: transparent;
|
|
border: none;
|
|
|
|
}
|
|
|
|
.banner-pagination-button.is-current::after {
|
|
background-color: var(--color-light);
|
|
}
|
|
|
|
.banner-pagination-button::after {
|
|
content: '';
|
|
width: 10px;
|
|
aspect-ratio: 1;
|
|
|
|
border: var(--border);
|
|
border-radius: var(--border-radius);
|
|
|
|
transition-duration: var(--transition-duration);
|
|
|
|
}
|
|
|
|
.banner-pagination-button:not(.is-current):hover::after {
|
|
border-color: var(--color-light-gray);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1070px) {
|
|
|
|
.header {
|
|
flex-wrap: wrap;
|
|
padding-top: 10px;
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.header,
|
|
.banner {
|
|
padding-inline: 5.2vw;
|
|
}
|
|
|
|
.header-menu {
|
|
order: 1;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.header-menu-link {
|
|
height: 50px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 540px) {
|
|
.header-menu-link {
|
|
height: 32px;
|
|
}
|
|
|
|
.header-menu-list {
|
|
column-gap: 24px;
|
|
}
|
|
|
|
.header-actions {
|
|
column-gap: 10px;
|
|
}
|
|
|
|
.button {
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.header-logo-text {
|
|
font-size: 20px;
|
|
}
|
|
.banner-info::before {
|
|
margin-right: 10px;
|
|
}
|
|
} |