website/_sass/base.scss

516 lines
8.0 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;
}
@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-left: 15rem;
margin-right: auto;
margin-top: 6rem;
}
.align-logo {
text-align: left;
margin-left: 15rem;
margin-right: auto;
margin-top: 1rem;
}
.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-top: 1.5rem;
margin-bottom: 3.5rem;
height: clamp(1.5rem, 10vw, 1.9rem);
}
h1 {
font-weight: 600;
font-size: clamp(4rem, 10vw, 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-thanks {
font-size: clamp(1.1rem, 2vw, 1.25rem);
background: rgba(232, 246, 253, 0.6);
border-radius: 1rem;
box-shadow: 0 0 30px 20px rgba(232, 246, 253, 0.7);
font-weight: 300;
margin: 2rem 0 0 0;
word-spacing: 50%;
}
.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 {
background: rgba(232, 246, 253, 0.6);
border-radius: 1rem;
box-shadow: 0 0 30px 20px rgba(232, 246, 253, 0.7);
}
.subtext {
max-width: 700px;
margin-bottom: 22rem;
}
.subtext-thanks {
max-width: 570px;
margin-bottom: 34rem;
}
.info-block,
.info-block-thanks {
font-size: 1rem;
text-transform: uppercase;
max-width: 500px;
margin-right: 15m;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.info-block {
margin-bottom: 1.5rem;
}
.info-block-thanks {
margin-bottom: 7rem;
}
.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;
}
.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;
}
@media (max-width: 1440px) {
.headline {
font-size: clamp(3.5rem, 10vw, 4rem);
}
.align,
.align-logo {
margin-left: 12rem;
}
.logo img {
margin-bottom: 1.5rem;
}
.headline {
font-size: clamp(2.5rem, 10vw, 3.5rem);
}
.subtext {
max-width: 590px;
margin-bottom: 18rem;
}
.subtext,
.subtext-thanks {
font-size: clamp(1.1rem, 2vw, 1.17rem);
}
.subtext-thanks {
max-width: 530px;
margin-bottom: 30rem;
}
}
@media (max-width: 1080px) {
.subtext {
margin-bottom: 10rem;
}
.subtext-thanks {
max-width: 550px !important;
margin-bottom: 21.5rem;
}
}
@media (max-width: 770px) {
.body {
background-color: var(--blue-base);
}
.align-logo,
.align {
margin-left: 5rem;
}
.headline {
font-size: clamp(2.7rem, 10vw, 3rem);
margin-bottom: 1.5rem;
}
.logo img {
margin-top: 1.5rem;
margin-bottom: 3.5rem;
height: 1.4rem;
}
.video-background {
top: 425px;
}
.subtext {
max-width: 380px;
margin-bottom: 17rem;
margin-top: 0rem;
}
.subtext-thanks {
max-width: 380px;
margin-bottom: 32.5rem;
margin-top: 0rem;
}
.email-input {
font-size: 1.1rem;
}
.info-block,
.info-block-thanks {
display: none;
}
.input-wrapper {
margin-top: 0.5rem;
margin-bottom: 2rem;
}
.footer {
display: none;
}
.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: 431px) {
.subtext,
.subtext-thanks {
margin-bottom: 10rem;
}
.logo img {
height: 1.5rem;
}
.pill {
margin: 0 0 2rem 0;
}
.headline {
font-size: clamp(1.5rem, 10vw, 2.5rem);
}
.align-logo,
.align {
margin-left: 1.4rem;
}
.subtext {
margin-bottom: 10rem;
}
.subtext-thanks {
margin-bottom: 24.5rem;
}
}
.input-wrapper {
margin-bottom: 0.5rem;
}