website/_sass/base.scss

446 lines
7.6 KiB
SCSS

@charset "utf-8";
:root {
--dark: #0f0f0f;
--grey: #6f6f6f;
--grey-mid: #ccc;
--grey-light: #e7e7e7;
--blue-base: #ecf6fd;
--blue-light: #e7f1ff;
--blue-mid: #c7e8ff;
--blue-dirty: #2e6aea;
--turq: #a3f1fc;
--violet: #da93ff;
--pink: #f048b5;
--purple: #7c4dff;
--edge: clamp(0.1rem, 9vw, 60rem);
--hero-top: clamp(1rem, 3vh, 2rem);
--gap-logo-align: clamp(2rem, 6vw, 6rem);
--gap-subtext-info: clamp(4rem, 12vh, 14rem);
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-ExtraLight.otf") format("opentype");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-Light.otf") format("opentype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-Regular.otf") format("opentype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-Medium.otf") format("opentype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-SemiBold.otf") format("opentype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-Bold.otf") format("opentype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Plus Jakarta Sans";
src: url("/assets/fonts/PlusJakartaSans-ExtraBold.otf") format("opentype");
font-weight: 800;
font-style: normal;
font-display: swap;
}
$base-font-family: "Plus Jakarta Sans", sans-serif !default;
$base-font-size: 1.3rem !default;
$mobile-font-size: 1.125rem !default;
$base-line-height: 1.5 !default;
$container-width: 90% !default;
$container-max-width: 1280px !default;
html,
body {
height: 100vh;
width: 100vw;
overflow-x: hidden;
overflow-y: auto;
}
html {
scroll-behavior: smooth;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: url("/assets/base/wave.jpeg") no-repeat center center;
background-size: cover;
transform: scaleX(1);
z-index: -1;
opacity: 0.7;
}
body {
position: relative;
background-color: var(--ghost-white);
margin: 0 auto;
padding: 0 auto;
font-family: $base-font-family;
font-size: clamp(1.25rem, 2.5vw, 1.4rem);
color: var(--dark);
text-align: left;
line-height: $base-line-height !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.align {
text-align: left;
margin-inline-start: var(--edge);
margin-inline-end: auto;
margin-block-start: calc(var(--hero-top) + var(--gap-logo-align));
}
.align-logo {
text-align: left;
margin-inline-start: var(--edge);
margin-inline-end: auto;
margin-block-start: var(--hero-top);
}
.video-background-container {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
left: 0;
z-index: -1;
transform: scaleX(-1);
}
.video-background {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
opacity: 0.9;
}
.logo img {
margin-block-start: 0;
margin-block-end: 0;
height: clamp(1.4rem, 3vw, 1.9rem);
}
h1 {
font-weight: 600;
font-size: clamp(2.5rem, 8vw, 4.5rem);
line-height: 1.05;
color: var(--dark);
margin: 0;
padding: 0;
}
.fade-in {
opacity: 0;
animation: fadeIn ease 1.1s forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(7px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.delay-1 {
animation-delay: 0.1s;
}
.delay-2 {
animation-delay: 0.2s;
}
.delay-3 {
animation-delay: 0.3s;
}
.delay-4 {
animation-delay: 0.3s;
}
.subtext,
.subtext-thnx {
background: rgba(232, 246, 253, 0.7);
border-radius: 1rem;
box-shadow: 0 0 30px 20px rgba(232, 246, 253, 0.8);
font-weight: 300;
word-spacing: 50%;
}
.subtext,
.subtext-thnx {
font-size: clamp(1.05rem, 2vw, 1.2rem);
margin-block-start: clamp(0.5rem, 1.5vh, 1rem);
margin-inline: 0;
}
.pill {
padding: 6px 16px;
margin: 0 0 1.5rem 0;
border-radius: 9999px;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: var(--dark);
font-weight: 500;
letter-spacing: 1px;
font-size: 0.8rem;
text-transform: uppercase;
width: fit-content;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
background: radial-gradient(
ellipse at center,
rgb(230, 244, 255, 0.2) 20%,
rgb(199, 232, 255, 0.9) 90%
);
border: 1px solid rgba(218, 147, 255, 0.1);
}
.headline,
.info-block {
background: rgba(232, 246, 253, 0.7);
border-radius: 1rem;
box-shadow: 0 0 30px 20px rgba(232, 246, 253, 0.8);
}
.headline {
margin-block: 0;
margin-block-end: clamp(1rem, 3vh, 2rem);
padding-right: 7px;
}
.subtext {
max-width: clamp(21rem, 72vw, 38rem);
margin-block-end: clamp(4rem, 18vh, 18rem);
}
.subtext-thnx {
max-width: clamp(21rem, 72vw, 38rem);
margin-block-end: clamp(6rem, 44.5vh, 40rem);
}
.info-block,
.info-block-thnx {
font-size: 1rem;
text-transform: uppercase;
max-width: 500px;
margin-right: 15m;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.info-block,
.info-block-thnx {
margin-block-end: clamp(1rem, 3vh, 2rem);
margin-block-start: var(--gap-subtext-info);
}
.spaced-text {
display: inline-block;
margin-right: 1.25rem;
}
.waitlist-form {
width: min(90%, 500px);
}
.email-form {
display: flex;
justify-content: center;
width: 100%;
}
.input-wrapper {
display: flex;
align-items: center;
border: 2px solid var(--dark);
border-radius: 999px;
padding: 0.25rem;
max-width: 400px;
width: 100%;
background: white;
justify-content: space-between;
}
.email-input {
flex: 1;
font-size: 1rem;
padding: 0.75rem 1rem;
background: transparent;
border: none;
padding: 0.25rem;
max-width: 400px;
width: 100%;
background: white;
margin-left: 0.5rem;
}
.email-input:focus {
outline: none !important;
border: none !important;
}
.submit-btn {
background-color: var(--dark);
color: var(--ghost-white);
border: none;
border-radius: 50%;
width: 44px;
height: 44px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.submit-btn .arrow {
font-size: 1.5rem;
transition: transform 0.25s ease;
}
.submit-btn .arrow:hover {
transform: translateX(2.5px);
}
.footer {
font-size: clamp(0.9rem, 10vw, 1rem);
color: var(--dark);
display: flex;
word-spacing: 50%;
justify-content: center;
}
.footer-mobile {
display: none;
margin-block-end: clamp(2rem, 6vw, 5rem);
}
.distrust-link-subtext,
.distrust-link-footer {
text-decoration: underline;
}
.distrust-link-subtext:hover {
color: var(--pink);
}
.distrust-link-footer:hover {
color: var(--pink);
}
a {
text-decoration: none;
color: inherit;
}
.input-wrapper {
margin-bottom: 0.5rem;
}
@media (max-width: 1200px) {
.subtext,
.subtext-thnx,
.info-block {
font-weight: 400 !important;
}
.info-block,
.info-block-thnx {
display: none;
}
.footer {
display: none;
}
.input-wrapper {
margin-top: 0.5rem;
margin-bottom: 2rem;
}
.footer-mobile {
display: block;
word-spacing: 30%;
text-align: center;
color: var(--dark);
max-width: 400px;
font-size: 0.9rem;
margin-bottom: 5rem;
}
}
@media (max-width: 770px) {
.align-logo {
margin-block-end: clamp(0.3rem, 4vh, 0.3rem);
}
.video-background {
top: 425px;
}
.email-input {
font-size: 1.1rem;
}
}
@media (max-width: 431px) {
.logo img {
height: 1.5rem;
}
.pill {
margin: 0 0 2rem 0;
}
}