
body {
    font-family: "Inter", sans-serif;
    background-color: #F8FAFC;
    background-image: url("../images/background-1200.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    h1 {
        color: #020618;
    }    

}

main {
    
    margin-top: 128px;
    padding-bottom: 128px;
    width: 680px;

    h1 {
        font-family: "Source Serif 4", serif;
        font-weight: 400;
        font-size: 96px;
        line-height: 84px;
        letter-spacing: -4px;            

        span {
            display: inline-block;
        }
    }

    p {
        margin-top: 2rem;
        margin-bottom: 4rem;
        max-width: 446px;

        font-family: "Inter", sans-serif;

        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: -0.4px;        
    }

    form {
        border: 1px solid #D9D6D9;
/*        border-image-source: linear-gradient(91.39deg, #D0D7F4 0%, #D9D6D9 35%, #D7C6C3 65%);*/

        /* Auto layout */
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-left: 32px;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;

        width: 446px;
        height: 64px;
        /*background-color: #F8FAFC;*/
        background-color: #F8FAFC; 

        backdrop-filter: blur(10px);
        /* Note: backdrop-filter has minimal browser support */
        border-radius: 16px;

        input {
            background: transparent;
            border: none;
            width: 260px;
        }
        
        button {
            border: 1px solid black;
            border-radius: 12px;
            width: 136px;
            height: 48px;
            color: #F8FAFC;
            background-color: #020618;

            padding-top: 12px;
            padding-right: 24px;
            padding-bottom: 12px;            
            padding-left: 24px;  
        
            font-family: "Inter", sans-serif;
            font-weight: 400;
            font-style: Regular;
            font-size: 14px;
            line-height: 22px;
            letter-spacing: -0.2px;
            margin-right: -10px;
        }
    }

    form + p {
        font-weight: 400;
        font-style: normal;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: -0.2px;

    }

}

/* Tablet styles (768px - 1023px) */
@media (max-width: 1023px) {
    main {
        margin-top: 96px;
        padding-bottom: 96px;
        width: 100%;
        max-width: 680px;

        h1 {
            font-size: 72px;
            line-height: 68px;
            letter-spacing: -3px;
        }

        p {
            max-width: 100%;
        }

        form {
            width: 100%;
            max-width: 446px;
        }
    }
}

/* Phone styles (up to 767px) */
@media (max-width: 767px) {
    main {
        margin-top: 64px;
        padding-bottom: 64px;
        width: 100%;

        h1 {
            font-size: 48px;
            line-height: 48px;
            letter-spacing: -2px;
        }

        p {
            margin-top: 1.5rem;
            margin-bottom: 2rem;
            max-width: 100%;
        }

        form {
            flex-direction: column;
            align-items: stretch;
            padding: 16px;
            width: 100%;
            height: auto;
            gap: 12px;

            input {
                width: 100%;
            }

            button {
                width: 100%;
                margin-right: 0;
            }
        }
    }
}
