:root{
    --color-pri: #4D006E;
    --color-pri-light: rgba(77, 0, 110, .5);
    --text-dark: #212121;
}


@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/assets/fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/Oswald/Oswald-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  "Oswald", "Plus Jakarta Sans";
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}


body{
    background: #F5FAFE;
}
h1 {
    font-size: 3.89vw; /* 56px is about 3.89% of 1440px */
    font-size: clamp(24px, 3.89vw, 56px); /* Responsive font size with min and max */
    max-width: 655px;
    font-family: "Oswald";
}
/* ***************** */
/* *****HEADER****** */
/* ***************** */
header{
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #EAEBF0
}
header a{
    text-decoration: none;
    color: var(--color-pri);
    font-size: 0.938rem;
}
.logo{
    width: 10rem;
    height: 2.5rem;
    display: inline-block;
}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.btn{
    padding: 0.75rem 1rem;
    border-radius: .375rem;
    display: inline-block;
    font-weight: 600;
    text-align: center;
}
.btn-pri{
    background-color: var(--color-pri);
    color: #fff;
    border: 1px solid var(--color-pri);
}
.jumbotron{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 5rem;
    margin-top: 48px;
    color: #272D37;
}
.jumbotron h1{
    font-weight: 900;
}
.jumbotron p{
    color: #5F6D7E;
    font-weight: 400;
}
.page-container{
    padding: 0 1rem;
}
/* ***************** */
/* ******FORM******* */
/* ***************** */
.form-container{
    /* padding: 0 1rem; */
    /* background: #EDE6F1; */
    height: 100%;
    /* overflow-y: scroll; */
    position: relative;
}
.layout-2 .form-container{
    background: #FDF8FF;
    padding: 60px 16px;
}
.graphic-element{
    position: absolute;
    left: 0;
    top: 48px;
    width: 100%;
    max-width: 480px;
    height: 560px;
    z-index: -1;
}
.graphic-element img{
    width: 100%;
}
.f-group input{
    color: #919BA7;
}
.f-group label{
    color: #272D37;
    font-family: "Plus Jakarta Sans";
}

form, .f-group-wrapper, .f-group, .form-base, .f-group > div{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.f-group{
    gap: .5rem;
    position: relative;
}
.f-group > div{
    width: 100%;
}
.f-group input{
    padding: 1rem;
    border: 1px solid #DAE0E6;
    border-radius: .5rem;
    color: var(--text-dark);
}
.f-group input::placeholder{
    color: #DAE0E6;
}
.form-container .btn-pri{
    width: 100%;
}
#phone-wrapper{
    display: none;
}
#show-field-text{
    width: fit-content;
    margin-left: auto;
    text-decoration: dashed;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #212121;
    cursor: pointer;
    text-transform: lowercase;
    color: #5F6D7E;
}
.btn-wrapper p{
    padding: 22px 0;
    text-align: center;
    color: #5F6D7E;
}
.btn-wrapper a{
    text-decoration: none;
    color: #FF4400;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
form:invalid .btn-wrapper .btn{
    background-color: var(--color-pri-light);
    border: 1px solid var(--color-pri-light);
}
input:invalid ~ button {
    opacity: 0.5;
    pointer-events: none;
}
.divider, .social-login{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
}
.social-login a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    color: var(--text-dark);
    border: none;
    font-weight: 400;
}
.form-base{
    padding: 25px 0;
}
.form-base hr{
    border: 1px solid #EAEBF0;
    flex: 1;
}
.error-field{
    color: red;
    /* margin-top: 10px; */
    font-size: 12px;
    position: absolute;
    left: 0;
    bottom: -16px;
}
/* ***************** */
/* *****FOOTER****** */
/* ***************** */
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 4rem 1rem;
}
footer a{
    text-decoration: none;
    width: 24px;
    height: 24px;
}
footer div{
    display: flex;
    gap: .5rem;
}
.socials-wrapper img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.page-cta{
    display: none;
}
@media only screen and (min-width: 768px) {
    .page-wrapper, .page-container{
        display: flex;
        justify-content: flex-start;
    }
    .page-container{
        justify-content: space-between;
        gap: 40px;
    }
    .layout-2 .form-container{
        overflow-y: scroll;
        padding: 115px 56px;
    }
    .layout-2 .cta{
        padding: 0 1rem;
    }
    .layout-2 .cta h2{
        max-width: 479px;
    }
    .page-cta{
        display: block;
        width: 33.89%;
        max-width: 488px; 
        min-width: 300px;   
        height: 45.56%;
        max-height: 656px;
        min-height: 400px;
        box-sizing: border-box;
        margin-top: 2rem;
        position: relative;
    }
    .page-cta .cta-bg{
        width: 100%;
        height: 100%;
    }
    .page-cta img.play{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .decorative-container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        width: 20%;
        background-color: red;
        background: url(./assets/auth-image.png) rgba(33, 33, 33, .8);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 0px center;
        background-blend-mode: multiply;
    }
    footer{
        padding: 1.5rem 3rem 4rem 3rem;
    }
    footer div{
        gap: 1.5rem;
    } 
}
@media only screen and (min-width: 992px) {
    .social-login a{
        gap: .5rem;
    }
}
@media only screen and (min-width: 1200px) {
    .social-login a{
        gap: 1.125rem;
    }
    .page-container{
        padding: 0 6.25rem;
        gap: 230px;
    }
}