/* =============================================================================
   Using Open Props
   ========================================================================== */



@import "https://unpkg.com/normalize.css";
@import "https://unpkg.com/open-props/normalize.min.css";
@import "https://unpkg.com/open-props/open-props.min.css";
@import "https://unpkg.com/open-props/buttons.min.css";



*,
*:after,
*:before {
    box-sizing: border-box;
}


:root {
    --content: 90ch;
    --content-m: 77ch;
    --gutter: 1rem;
    --gap: 0rem;
}

header {
    width: var(--content);
    max-width: calc(100vw - (2 * var(--gutter)));
    margin: 0 auto;
    min-height: 92vh;
    display: grid;
    align-content: baseline;
    padding-bottom: 3vh;
}

header {
    position: relative;
}

@media(max-width: 576px) {
    header {
        min-height: 20vh;
        align-content: baseline;
        padding-bottom: 3vh;
    }
}

main {
    width: var(--content-m);
    max-width: calc(100vw - (2 * var(--gutter)));
    margin: 0 auto;
}

footer {
    padding: 2rem;
    font-size: 0.875rem;
}


h1 {
    font-weight: 900;
    font-family: Inter;
    font-size: calc(var(--font-size-fluid-3) * 2.5);
    line-height: 1;
}


header img {
    position: absolute;
    left: 25%;
    top: 15%;
    width: 60%;
    z-index: 1;
    opacity: 0.65;
    filter: saturate(0.8);
    clip-path: polygon(0 15%, 75% 0, 100% 32%, 80% 100%, 0 67%);
}


@media(max-width: 576px) {
    header img {
        position: absolute;
        left: 1%;
        top: 25%;
    }
}

h1 {
    z-index: 2;
    position: relative;
}

h1 span:nth-of-type(2) {
    color: transparent;
    -webkit-text-stroke: 0.25rem var(--text-1);
}


.under_title {
    font-size: var(--font-size-6);
    font-weight: var(--font-weight-6);
    background-image: var(--gradient-22);

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: var(--animation-fade-in-bloom);

    /*issue with this one , not really working to make h1-h3 entire row*/
    width: 100%;
    max-width: none;

    margin: 0;
    grid-column: 1 / -1;
    display: block;
    max-inline-size: none;
}

.under_title {
    animation: var(--animation-fade-in-bloom);
    animation-duration: 1.8s;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

@media(max-width: 576px) {
    .under_title {
        font-size: var(--font-size-3);
    }
}



.slight-ease {
    animation: fade-in 300ms var(--ease-1);
}

.dramatic-ease {
    animation: fade-in 1s var(--ease-5);
}



.color_text_21 {
    background-image: var(--gradient-21);
}


.button_section {
    animation: fade-in 1s var(--ease-5);
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    font-size: var(--font-size-3);
    font-weight: var(--font-weight-2);
    width: 100%;
    padding-top: 10px;
}


.button_top {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--size-3);
    border-radius: var(--radius-2);
    transition: background 0.3s ease;
    background: var(--surface-2);
}

.button_top:hover {
    background-image: var(--gradient-17);
    /* Gradient on hover */
    background-size: 200%;
    background-position: center;
    color: azure;
}


.button_tab {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--size-2);
    border-radius: var(--radius-2);
    transition: background 0.5s ease;
    background: var(--surface-2);
    border: 1px solid rgb(255, 255, 255);
    /* This is what you want */
}

.button_tab:hover {
    background-image: var(--gradient-17);
    /* Gradient on hover */
    background-size: 200%;
    background-position: center;
    color: azure;
}

.button_demo {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--size-3);
    border-radius: var(--radius-2);
    transition: background 0.3s ease;
    background: var(--surface-2);
    background-image: var(--gradient-22);
    /* Gradient on hover */
}

@media (prefers-color-scheme: dark) {
    .button_demo {
        color: black;
    }
}



@media(max-width: 576px) {
    .button_section {
        font-size: var(--font-size-1);
        font-weight: var(--font-weight-2);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
    }

    .button_demo {
        padding: var(--size-2);
    }

    .button_top {
        padding: var(--size-2);
    }

}

.button_demo svg {
    width: var(--size-8);
    /* Bigger icon */
    height: var(--size-8);
    stroke-width: 2;
}

.button_demo:hover {
    background-image: var(--gradient-21);
    /* Gradient on hover */
    background-size: 200%;
    background-position: center;
    color: azure;
}

.button_demo:hover svg {
    transform: scale(1.1);
}

.button_demo:active {
    transform: scale(0.95);
    /* Slight shrink for press feedback */
    background: var(--surface-3);
    /* Slightly darker surface */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Inner shadow for depth */
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.button_demo:active svg {
    transform: scale(1);
    /* Reset hover scale to avoid conflict */
    opacity: 0.85;
    /* Slight dim for pressed state */
}




/* if screen is small make things dissapear*/
@media(max-width: 576px) {
    .small {
        display: none;
    }
}

.desaturate {
    filter: saturate(0);
}




/* for emojis bulet point list*/

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;

}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    /* your gray400 */
    font-size: 1.225rem;
}

.feature-list li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
    filter: saturate(0);
    /*opacity: 0.7;*/
    /* similar to your "desaturate" class */
}

/* End Page */
.bottom_page {

    width: var(--content);
    max-width: calc(100vw - (2 * var(--gutter)));
    margin: 0 auto;
    min-height: 30vh;
    display: grid;
    align-content: baseline;
    padding-bottom: 3vh;
    padding-top: 5vh;
    display: flex;
}


/* */
.secondp_bottom {
    padding-bottom: 20vh;
}

@media(max-width: 576px) {
    .secondp_bottom {
        padding-bottom: 5vh;
    }

}

/*   */

.content-wrapper-second {
    padding: 2rem;
    border: 1px solid var(--gray-600);
    border-radius: var(--border-radius--small);
    background-color: var(--gray-800);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 300;
    color: #9ca3af;

    @media (prefers-color-scheme: light) {
        color: var(--gray-400);
    }

    align-content: baseline;
    display: flex;
    flex-direction: column;

    p,
    ul,
    li,h2 {
        max-inline-size: none;
    }
}