/**
 * RESET STYLES
 */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
    isolation: isolate;
}

/**
 * BASE STYLES
 */
html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    font-size: 16px;
}

body {
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    background-image: url("/assets/Light.png");
    background-size: cover;
    color: #1a1a1a;
    font-family: circular, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100dvh ;
    position: relative;
    justify-content: space-between;
}

footer {
    width: 100%;
    padding-top: 2vw;
    display:none;
}

footer a {
    color: white;
}

footer a svg {
    position: relative;
    top: 4px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index:8;
    pointer-events: none;
}

.relative {
    position: relative;
}

svg {
    display: inline;
}

@media screen and (min-width: 992px) {
    main {
        justify-content: center;
    }
    footer {
        display: block;
    }
}

/**
 * TYPOGRAPHY
 */

@font-face {
    font-weight: 400;
    font-style: normal;
    font-family: circular;

    src: url("chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/fonts/CircularXXWeb-Book.woff2")
        format("woff2");
}

@font-face {
    font-weight: 700;
    font-style: normal;
    font-family: circular;

    src: url("chrome-extension://liecbddmkiiihnedobmlmillhodjkdmb/fonts/CircularXXWeb-Bold.woff2")
        format("woff2");
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1.5vw 0;
    text-align: center;
}

h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

h1 svg {
    display:none;
}

p {
    font-size: 1.25rem;
    margin-top: 60px;
}

.product-header{
    text-align: center;
    margin-bottom: 1rem;
}

.product-header a svg {
    position: relative;
    top: 4px;
}

.product-of-message {
    font-size: 14px;
}


@media screen and (min-width: 768px) {
    h1 {
        font-size: clamp(1.4rem, 1.75vw, 2.4rem);
        margin: 1.2vw 0;
    }

    h3 {
        margin-bottom: .8rem;
    }

}

@media screen and (min-width: 992px) {
    p {
        margin-top: 0;
    }

    h1{
        text-align: left;
    }

    h1 svg {
        display:inline;
    }

    h3 {
        text-align: left;
    }

    .product-header {
        display:none;
    }
}

/**
 * LAYOUT
 */
.container {
    width: 100%;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    z-index:10;
}

.two-columns {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 60px;
}

.two-columns .column {
    width: 100%;
    margin-bottom: 20px;
}

.vertical-center {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.vertical-center > div {
    width: 100%;
}

@media screen and (min-width: 992px) {
    .container {
        width: 80%;
        max-width: 1800px;
    }

    .two-columns {
        flex-direction: row;
        column-gap: 6vw;
        padding-top: 80px;
    }

    .two-columns .column {
        width: 50%;
    }
}

@media screen and (min-width: 1440px) {
    .container {
        width: 65%;
    }
}

/**
 * FORMS
 */
.form-container {
    padding: 30px;
    border-radius: 20px;
    background: white;
    -webkit-box-shadow: 0px 48px 80px -12px rgba(39, 39, 39, 0.2);
    -moz-box-shadow: 0px 48px 80px -12px rgba(39, 39, 39, 0.2);
    box-shadow: 0px 48px 80px -12px rgba(39, 39, 39, 0.2);
    transform: translate3d(-50%, 0, 0);
    left:50%;
    transition: transform 0.3s ease;
    position: fixed;
    width: 100%;
    height: 90dvh;
    bottom: 0;
    z-index:10;
    zoom: 80%;
}

.form-container.mobile-hide {
    transform: translate3d(-50%, 100%, 0);
}

.form-reveal {
    width: calc(100% - 40px);
    padding: 1rem;
    background: #0288F7;
    color: white;
    font-size: 20px;
    text-align: center;
    border: none;
    border-radius: 16px;
    margin-top: 2rem;
    margin-bottom: 40px;
    cursor: pointer;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 9;
}

.form-overlay.hide {
    display:none;
}

@media screen and (min-width: 992px) {
    .form-container {
        position: static;
        padding: 32px 32px 20px 32px;
        width: auto;
        height: auto;
    }

    .form-container.mobile-hide {
        transform: translateY(0);
    }

    .form-reveal {
        display:none;
    }
}

.form-header {
    display: flex;
}
