@font-face {
    font-family: 'Helvetica-BlackItalic';
    src: url('fonts/Helvetica-BlackItalic Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Consolas';
    src: url('fonts/Consolas.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tahoma';
    src: url('fonts/tahoma.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    /* bg gradient 3 colours*/
    background: linear-gradient(135deg, #0eaf93, #7d1ccf, #9f2e90);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

h1 {
    font-family: 'Helvetica-BlackItalic', Arial, sans-serif;
}

h2, h3, h4, h5, h6, p, a {
    font-family: 'Consolas', Arial, sans-serif;
}

#topLogo {
    width: 300px;
    height: auto;
    margin: 20px 0 10px 0;
}

#navbar {
    display: flex;
    padding: 4px 16px;
    margin-bottom: 10px;
    gap: 12px;

    align-items: center;
    justify-content: center;

    background-color: #d2c6ff65;
    backdrop-filter: blur(16px);

    border: black solid 1px;
    box-shadow: 0 0 10px #d2c6ff;

    a {
        text-decoration: none;
        color: black;
        font-weight: bold;
        font-size: 18px;
    }
}

#navbar a:hover {
    color: #7d1ccf;
}

#windowPanel {
    display: block;
    width: fit-content;
    position: relative;
    isolation: isolate;
    --window-glow-y: -26.6667%;
    --window-copy-y: 15.4%;

    margin-bottom: 0px;
    padding-bottom: 0px;
}

#windowShot {
    width: 920px;
    height: auto;
    z-index: 0;
    position: relative;

    padding: 1px;
    border: 1px solid black;
}

#windowGlow {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(var(--window-glow-y));
    width: 143.4783%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.windowCopy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transform: translateY(var(--window-copy-y));

    h1 {
        font-size: 50px;
        margin-bottom: 0;
    }

    h3 {
        margin-top: 2px;
        font-size: 20px;
    }
}

#headHighlight {
    color: #189fff;
}

.buyNowButton {
    padding: 12px 24px;
    font-size: 18px;
    font-family: 'Consolas', Arial, sans-serif;
    font-weight: bold;
    color: white;
    background-color: #189fff;
    border: 2px solid black;
    border-radius: 32px;
    cursor: pointer;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: #04c9a8;
    }
}

.featureCard {
    background-color: #ffffff65;
    backdrop-filter: blur(16px);
    border: black solid 1px;
    padding: 20px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    width: 1000px;
}

.featureSplit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.featureText {
    align-self: flex-start;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 30px;
    text-align: left;
    box-sizing: border-box;

    h1 {
        color: rgb(238, 238, 238);
        font-size: 42px;
        -webkit-text-stroke: 6px rgb(32, 32, 32);;
        paint-order: stroke fill;
        letter-spacing: 0.05em;
    }

    h3 {
        color: rgb(32, 32, 32);
    }

    p {
        color: rgb(0, 0, 0);
        font-size: 17px;
    }
}

.featureText h1,
.featureText h3,
.featureText p {
    margin-left: 0;
}

.featureImage {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}

.buyHook {
    background-color: #d2c6ff65;
    backdrop-filter: blur(16px);
    border: black solid 1px;
    padding: 40px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    width: 800px;

    h1 {
        color: rgb(238, 238, 238);
        font-size: 32px;
        -webkit-text-stroke: 6px rgb(32, 32, 32);;
        letter-spacing: 0.05em;
        paint-order: stroke fill;
        margin-bottom: 0;
    }
}

.hSplitInner {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.35em;
    flex-wrap: wrap;
}

.hSplitTitles h1 {
    margin: 0;
}

@media (max-width: 1150px) {
    #contents {
        width: 100%;
        max-width: 1040px;
        box-sizing: border-box;
        gap: 32px;
        padding: 20px 20px 32px;
    }

    #windowPanel {
        width: 100%;
        max-width: 920px;
    }

    #windowShot {
        width: 100%;
    }

    .windowCopy h1 {
        font-size: 44px;
    }

    .windowCopy h3 {
        font-size: 18px;
    }

    .featureCard {
        width: 100%;
        box-sizing: border-box;
    }

    .featureText {
        padding-left: 20px;
    }

    .featureImage {
        width: 260px;
    }

    .buyHook {
        width: min(100%, 800px);
        box-sizing: border-box;
    }
}

@media (max-width: 950px) {
    #header {
        gap: 16px;
    }

    #topLogo {
        width: min(240px, calc(100% - 32px));
        margin: 28px 0 12px 0;
    }

    #navbar {
        margin-bottom: 24px;
        padding: 6px 14px;
        gap: 12px;
    }

    #navbar a {
        font-size: 16px;
    }

    #contents {
        gap: 24px;
        padding: 0 16px 24px;
    }

    #windowPanel {
        --window-copy-y: 13%;
    }

    .windowCopy {
        gap: 8px;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .hSplitInner {
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 0.1em;
        flex-wrap: nowrap;
    }

    .windowCopy h1 {
        margin: 0;
        font-size: clamp(26px, 4.4vw, 38px);
        line-height: 0.95;
        white-space: nowrap;
    }

    .windowCopy h3 {
        max-width: 32rem;
        margin: 0 auto;
        font-size: clamp(15px, 2.2vw, 18px);
        line-height: 1.35;
        text-wrap: balance;
    }

    .windowCopy h3 br {
        display: none;
    }

    #headHighlight {
        padding-left: 0;
        text-indent: 0;
    }

    .featureCard {
        padding: 20px 18px;
    }

    .featureSplit {
        flex-direction: column;
        gap: 16px;
    }

    .featureText {
        align-self: stretch;
        padding-left: 0;
        text-align: center;
    }

    .featureText p {
        font-size: 16px;
    }

    .featureImage {
        width: min(100%, 320px);
    }

    .buyHook {
        width: 100%;
        padding: 28px 20px;
    }

    .buyHook h1 {
        font-size: clamp(28px, 5vw, 36px);
    }

    #footer {
        padding: 20px 16px 32px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    #navbar {
        width: calc(100% - 32px);
        box-sizing: border-box;
        flex-wrap: wrap;
        text-align: center;
    }

    #windowPanel {
        --window-copy-y: 11.5%;
    }

    .windowCopy {
        padding: 0 14px;
        gap: 6px;
    }

    .windowCopy h1 {
        font-size: clamp(22px, 7vw, 28px);
    }

    .windowCopy h3 {
        max-width: 19rem;
        font-size: 14px;
        line-height: 1.25;
    }

    .buyNowButton {
        padding: 10px 20px;
        font-size: 16px;
    }

    .featureCard,
    .buyHook {
        padding-left: 16px;
        padding-right: 16px;
    }

    .featureText h1 {
        font-size: 28px;
    }

    .featureText h3 {
        font-size: 18px;
    }
}